The Tcl run command starts simulation or resumes a previously halted simulation.
run Command Syntax
run
-analogsolver
-clean
-delta [cycle_spec]
-next
-phase
-process
-return
-step
-sync
[-timepoint] [time_spec] [-absolute | -relative]
run Command Options
This section describes the options that you can use with the Tcl run command.
|
Reboots the analog solver to the exact setup you left at during the last run. |
|
Runs the simulation to the next point at which it is possible to create a checkpoint snapshot with the save -simulation command. See save. |
|
Runs the simulation for the specified number of delta cycles. If no |
|
Runs one line of source code, stepping over any subprogram calls. If the current execution point is a VHDL non-zero |
|
Runs to the beginning of the next phase of the simulation cycle. A simulation cycle consists of two phases: signal evaluation and process execution. |
|
Runs until the beginning of the next scheduled process or to the beginning of the next delta cycle, whichever comes first. In VHDL, a process is a process statement. In Verilog it is an always block, an initial block, or some other behavior that can be scheduled to run. For the purposes of |
|
Runs until the current subprogram (task, function, procedure) returns. |
|
Runs one behavioral statement, stepping into subprogram calls. The |
|
Runs until the analog solver next hands control to the digital solver. |
|
Runs until the specified time is reached. The time specification can be absolute or relative. Relative is the default. In addition to time units such as fs, ps, ns, us, and so on, you can use
This is the same as If you include a time specification and a breakpoint or interrupt stops simulation before the specified time is reached, the time specification is thrown away. For example, in the following sequence of commands, the last
Using |
run Command Examples
The following command runs the simulation until an interrupt occurs or until simulation completes.
xcelium> run
The following command advances the simulation to 500 ns absolute time. The -timepoint option is not required.
xcelium> run -timepoint 500 ns -absolute
The following command advances the simulation 500 ns relative time. With a time specification, -relative is the default.
xcelium> run 500 ns
The following command runs one behavioral statement, stepping into any subprogram calls.
xcelium> run -step
The following command runs one behavioral statement, stepping over any subprogram calls.
xcelium> run -next
The following command runs until the current subprogram returns. The subprogram can be a task, function, or procedure.
xcelium> run -return
The following two commands are equivalent. They both run the simulation for 5 delta cycles.
xcelium> run -delta 5 xcelium> run 5 deltas
The following command runs the simulation until the digital solver next becomes active.
xcelium> run -sync Ran until 2 NS + 0
The following command reboots the analog solver to the exact setup you left at during the last run.
xcelium> run -analogsolver
