Technical data

quit
CR-128 ModelSim Commands ModelSim EE/SE Command Reference
quit
The quit command exits the simulator.
Syntax
quit
[-f or -force] [-sim]
Arguments
-f or -force
Quits without asking for confirmation. Optional; if this argument is omitted,
VSIM asks you for confirmation before exiting. (The -f and -force arguments are
equivalent.)
-sim
Unloads the current design in the simulator without exiting ModelSim. All files
opened by the simulation will be closed including the logfile (vsim.wav).
Note: If you want to stop the simulation using a when command (CR-226), you must use a stop command
(CR-152) within your when statement. DO NOT use an exit command (CR-84) or a quit command. The stop
command acts like a breakpoint at the time it is evaluated.