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.

Force comm<strong>and</strong> defaults<br />

Preference variables located in INI files UM-539<br />

The force comm<strong>and</strong> has -freeze, -drive, <strong>and</strong> -deposit options. When none of these is<br />

specified, then -freeze is assumed for unresolved signals <strong>and</strong> -drive is assumed for resolved<br />

signals. But if you prefer -freeze as the default for both resolved <strong>and</strong> unresolved signals,<br />

you can change the defaults in the modelsim.ini file.<br />

[vsim]<br />

; Default Force Kind<br />

; The choices are freeze, drive, or deposit<br />

DefaultForceKind = freeze<br />

Restart comm<strong>and</strong> defaults<br />

The restart comm<strong>and</strong> has -force, -nobreakpoint, -nolist, -nolog, <strong>and</strong> -nowave options.<br />

You can set any of these as defaults by entering the following line in the modelsim.ini file:<br />

DefaultRestartOptions = <br />

where can be one or more of -force, -nobreakpoint, -nolist, -nolog, <strong>and</strong> -nowave.<br />

Example: DefaultRestartOptions = -nolog -force<br />

Note: You can also set these defaults in the modelsim.tcl file. The Tcl file settings will override<br />

the .ini file settings.<br />

VHDL st<strong>and</strong>ard<br />

You can specify which version of the 1076 Std <strong>ModelSim</strong> follows by default using the<br />

VHDL93 variable:<br />

[vcom]<br />

; VHDL93 variable selects language version as the default.<br />

; Default is VHDL-2002.<br />

; Value of 0 or 1987 for VHDL-1987.<br />

; Value of 1 or 1993 for VHDL-1993.<br />

; Default or value of 2 or 2002 for VHDL-2002.<br />

VHDL93 = 2002<br />

Opening VHDL files<br />

You can delay the opening of VHDL files with an entry in the INI file if you wish. Normally<br />

VHDL files are opened when the file declaration is elaborated. If the DelayFileOpen<br />

option is enabled, then the file is not opened until the first read or write to that file.<br />

[vsim]<br />

DelayFileOpen = 1<br />

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

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

Saved successfully!

Ooh no, something went wrong!