Technical data
run
ModelSim EE/SE Command Reference ModelSim Commands CR-139
run
The run command advances the simulation by the specified number of timesteps.
Syntax
run
[<timesteps> [<time_units>]]| -all | -continue | -next | -step |
-stepover]
Arguments
<timesteps>[<time_units>]
Specifies the number of timesteps for the simulation to run. The number may be
fractional. Optional. In addition, optional <time_units> may be specified as:
fs, ps, ns, us, ms, or sec
The default <timesteps> and <time_units> specifications can be changed during a
VSIM session from the Options > Simulation menu option in the Main window
(see "Setting default simulation options"
(10-260)). Time steps and time units may
also be set with the RunLength
(B-400) and UserTimeUnit (B-401) variables in the
modelsim.ini file.
-all
Causes the simulator to run until there are no events scheduled. Optional.
-continue
Continues the last simulation run after a step (CR-151) command, step -over
command or a breakpoint. A run -continue command may be input manually or
used as the last command in a bp
(CR-40) command string. Optional.
-next
Causes the simulator to run to the next event time. Optional.
-step
Steps the simulator to the next HDL statement. Optional.
-stepover
Specifies that VHDL procedures, functions and Verilog tasks are to be executed
but treated as simple statements instead of entered and traced line by line.
Optional.