Run the simulation for the specified time
Syntax
run [‑all] [‑quiet] [‑verbose] [<time>] [<unit>]
Usage
Name | Description |
---|---|
[-all]
|
Runs simulation till a breakpoint, an exception or no events left in the queue |
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
[<time>]
|
Length of simulation time |
[<unit>]
|
Unit for time from the following time units: fs, ps, ns, us, ms, sec |
Categories
Description
Run the current simulation from the current time to the specified time, or until the simulation stops.
A running simulation can be stopped at a predetermined time, at a specific breakpoint in the HDL source code, by encountering a TRUE condition, by evaluating the circuit until there are no remaining events, or by encountering a runtime error such as an out-of-bounds value.
The run
command instructs an existing simulation to run for a specified length of time, or until there are no remaining events. The time is specified as a floating point number indicating a period of time in the current simulation units, or in the specified units.
Arguments
-all
- Run the simulation until no event is left in the event queue, a breakpoint or valid condition is encountered, or a run time exception occurs.
-quiet
- (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose
- (Optional) Temporarily override any message limits and return all messages from this command.
set_msg_config
command.all
.
all
is the same as using the -all
option.<unit> - (Optional) One of the following time units (with or without space between time and unit) can be specified: fs
, ps
, ns
, us
, ms
, or sec
. The default is the value of time_unit
.
Examples
run 1000
run 300 us
run -all