Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


restart

The restart command reloads the design elements and resets the simulation time to zero. Only design elements that have changed are reloaded. (Note that SDF files are always reread during a restart.) Shared libraries are handled as follows during a restart:

To handle restarts with Verilog PLI applications, you need to define a Verilog user-defined task or function, and register a misctf class of callback. See "Verilog PLI/VPI" for more information on the Verilog PLI.

Syntax

restart

[-force] [-nobreakpoint] [-nolist] [-nolog] [-nowave]

Arguments

-force

Specifies that the simulation will be restarted without requiring confirmation in a popup window. Optional.

-nobreakpoint

Specifies that all breakpoints will be removed when the simulation is restarted. Optional. The default is for all breakpoints to be reinstalled after the simulation is restarted.

-nolist

Specifies that the current List window environment will not be maintained after the simulation is restarted. Optional. The default is for all currently listed HDL items and their formats to be maintained.

-nolog

Specifies that the current logging environment will not be maintained after the simulation is restarted. Optional. The default is for all currently logged items to continue to be logged.

-nowave

Specifies that the current Wave window environment will not be maintained after the simulation is restarted. Optional. The default is for all items displayed in the Wave window to remain in the window with the same format.


Note: You can configure defaults for the restart command by setting the DefaultRestartOptions variable in the modelsim.ini file. See "Restart command defaults" .

See also

checkpoint, restore, vsim, "How to use checkpoint/restore" , "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