Using macros with restart and checkpoint/restore
The restart command resets and restarts the simulation kernel, and zeros out any user-defined commands, but it does not touch the state of the macro interpreter. This lets you do restart commands within macros.
The pause mode indicates that a macro has been interrupted. That condition will not be affected by a restart, and if the restart is done with an interrupted macro, the macro will still be interrupted after the restart.
The situation is similar for using checkpoint/restore without quitting ModelSim, that is, doing a checkpoint and later in the same session doing a restore of the earlier checkpoint. The restore does not touch the state of the macro interpreter so you may also do checkpoint and restore commands within macros.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |