Technical data

do
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
303
Using other VSIM commands with macros
If you are executing a macro (DO file) when your simulation hits a breakpoint or
causes a run-time error, VSIM interrupts the macro and returns control to the
command line, where the following commands may be useful. (Any other legal
command may be executed as well.)
See also
VSIM can search for DO files based on the path list specified by the DOPATH
variable (p54).
A DO file can also be called by
modelsim.ini
at startup, see "Using a startup file"
(p423).
The Main transcript can be saved as a macro, see the
write transcript
command
(p407).
command result
run
(p361) -continue continue as if the breakpoint had not been executed, completes the
run
command
(p361) that was interrupted
restore
(p357) continue running the macro
onbreak
(p337) specify a command to run when you hit a breakpoint within a macro
onElabError
(p338) specify a command to run when an error is encountered during elaboration
onerror
(p339) specify a command to run when an error is encountered within a macro
status
(p370) get a traceback of nested macro calls when a macro is interrupted
abort
(p257) terminate a macro once the macro has been interrupted or paused
pause
(p340) cause the macro to be interrupted, the macro can be resumed by entering a
resume
command (p358) via the command line
toggle add
(p374) control echoing of macro commands to the Transcript window