Technical data
run
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
361
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" (p207)). Time steps and time units may
also be set with the RunLength (p254) and UserTimeUnit (p255) 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
(p371) command,
step -over
command or a
breakpoint. A
run -continue
command may be input manually or used as the last command
in a
bp
(p278) 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.