Technical data
restore
CR-134  ModelSim Commands ModelSim EE/SE Command Reference
restore
The restore command restores the state of a simulation that was saved with a 
checkpoint command 
(CR-53) during the current invocation of VSIM (called a 
"warm restore").
The items restored are: simulation kernel state, vsim.wav file, HDL items listed in 
the List and Wave windows, file pointer positions for files opened under VHDL 
and under Verilog $fopen, and the saved state of foreign architectures.
If you want to restore while running VSIM, use this command. If you want to start 
up VSIM and restore a previously-saved checkpoint, use the -restore switch with 
the vsim command 
(CR-208), this we call a "cold restore".
Note: Checkpoint/restore allows a cold restore, followed by simulation activity, followed by a warm 
restore back to the original cold-restore checkpoint file. Warm restores to checkpoint files that were not 
created in the current run are not allowed except for this special case of an original cold restore file.
Syntax
restore
[-nocompress] <filename>
Arguments
-nocompress
Specifies that the checkpoint file was not compressed when saved. Optional.
<filename>
Specifies the name of the checkpoint file. Required.
See also
checkpoint command 
(CR-53), and "The difference between checkpoint/restore 
and restarting" 
(E-439).










