24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

UM-86 4 - VHDL simulation<br />

Checkpointing <strong>and</strong> restoring simulations<br />

Checkpoint file contents<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong><br />

The checkpoint (CR-93) <strong>and</strong> restore (CR-248) comm<strong>and</strong>s allow you to save <strong>and</strong> restore the<br />

simulation state within the same invocation of vsim or between vsim sessions.<br />

Action Definition Comm<strong>and</strong> used<br />

checkpoint saves the simulation state checkpoint <br />

"warm" restore restores a checkpoint file saved in a<br />

current vsim session<br />

"cold" restore restores a checkpoint file saved in a<br />

previous vsim session (i.e., after<br />

quitting <strong>ModelSim</strong>)<br />

The following things are saved with checkpoint <strong>and</strong> restored with the restore comm<strong>and</strong>:<br />

simulation kernel state<br />

vsim.wlf file<br />

signals listed in the List <strong>and</strong> Wave windows<br />

file pointer positions for files opened under VHDL<br />

file pointer positions for files opened by the Verilog $fopen system task<br />

state of foreign architectures<br />

state of PLI/VPI code<br />

Checkpoint exclusions<br />

restore <br />

vsim -restore <br />

You cannot checkpoint/restore the following:<br />

state of macros<br />

changes made with the comm<strong>and</strong>-line inte rface (such as user-defined Tcl comm<strong>and</strong>s)<br />

state of graphical user interface windows<br />

toggle statistics<br />

If you use the foreign interface, you will need to add additional function calls in order to<br />

use checkpoint/restore. See the FLI Reference <strong>Manual</strong> or Appendix D - Verilog PLI / VPI<br />

/ DPI for more information.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!