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-536 B - <strong>ModelSim</strong> variables<br />

[lmc] Logic Modeling variables<br />

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

Logic Modeling SmartModels <strong>and</strong> hardware modeler interface<br />

<strong>ModelSim</strong>’s interface with Logic Modeling’s SmartModels <strong>and</strong> hardware modeler are<br />

specified in the [lmc] section of the INI/MPF file; for more information see "VHDL<br />

SmartModel interface" (UM-618) <strong>and</strong> "VHDL hardware model interface" (UM-628)<br />

respectively.<br />

[msg_system] message system variables<br />

The message system variables help you identify <strong>and</strong> troubleshoot problems while using the<br />

application. See also <strong>ModelSim</strong> message system (UM-546).<br />

Variable name Value range Purpose Default<br />

error list of message<br />

numbers<br />

note list of message<br />

numbers<br />

suppress list of message<br />

numbers<br />

warning list of message<br />

numbers<br />

Reading variable values from the INI file<br />

changes the severity of the listed message numbers to<br />

"error"; see "Changing message severity level" (UM-<br />

546) for more information<br />

changes the severity of the listed message numbers to<br />

"note"; see "Changing message severity level" (UM-<br />

546) for more information<br />

suppresses the listed message numbers; see<br />

"Changing message severity level" (UM-546) for more<br />

information<br />

changes the severity of the listed message numbers to<br />

"warning"; see "Changing message severity level"<br />

(UM-546) for more information<br />

You can read values from the modelsim.ini file with the following function:<br />

GetPrivateProfileString <br />

Reads the string value for the specified variable in the specified section. Optionally<br />

provides a default value if no value is present.<br />

Setting Tcl variables with values from the modelsim.ini file is one use of these Tcl<br />

functions. For example,<br />

set MyCheckpointCompressMode [GetPrivateProfileString vsim<br />

CheckpointCompressMode 1]<br />

set PrefMain(file) [GetPrivateProfileString vsim TranscriptFile ""]<br />

none<br />

none<br />

none<br />

none

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

Saved successfully!

Ooh no, something went wrong!