Technical data
stop
CR-152  ModelSim Commands ModelSim EE/SE Command Reference
stop
The stop command is used with the when command (CR-226) to stop simulation 
in batch files. The stop command has the same effect as hitting a breakpoint. The 
stop command may be placed anywhere within the body of the when command.
Syntax
stop
Arguments
None.
Note: Use the run command (CR-139) with the -continue option to continue the simulation run, or the 
resume command 
(CR-135) to continue macro execution. If you want macro execution to resume 
automatically, put the resume command at the top of your macro file:
onbreak {resume}
Note: If you want to stop the simulation using a when command (CR-226), you must use a stop command 
within your when statement. DO NOT use an exit command 
(CR-84) or a quit command (CR-128). The stop 
command acts like a breakpoint at the time it is evaluated.
See also
bp command 
(CR-40)










