Product Documentation
Spectre AMS Designer and Xcelium Simulator Mixed-Signal User Guide
Product Version 22.09, September 2022

finish

 The Tcl finish command causes the simulator to exit and returns control to the operating system.

finish Command Syntax

finish [0 | 1 | 2]

finish Command Options

This command takes an optional argument that determines what type of information is displayed.

finish Command Examples

The following command ends the simulation session and prints the simulation time.

xcelium> finish 1
Simulation complete via $finish(1) at time 0 FS + 0
%

The following command ends the simulation session, prints the simulation time, and displays memory and CPU usage statistics.

xcelium> finish 2
Memory Usage - 7.6M program + 2.1M data = 9.8M total
CPU Usage - 0.9s system + 2.5s user = 3.4s total (28.5% cpu)
Simulation complete via $finish(2) at time 500 NS + 0
%

Related Topic



 ⠀
X