Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


restore

The restore command restores the state of a simulation that was saved with a checkpoint command during the current invocation of VSIM (called a "warm restore").

The items restored are: simulation kernel state, vsim.wlf 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 (called 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. Compression of the checkpoint file is controlled either by the CheckpointCompressMode variable in the modelsim.ini file or by the -nocompress argument to vsim.

<filename>

Specifies the name of the checkpoint file. Required.

See also

checkpoint, vsim, "The difference between checkpoint/restore and restarting"


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase