Download ModelSim SE User`s Manual - Electrical and Computer Engineering

Transcript
UM-522 B - ModelSim variables
Variable
Description
MTI_TF_LIMIT
limits the size of the VSOUT temp file (generated by the ModelSim kernel); the
value of the variable is the size of k-bytes; TMPDIR (below) controls the location
of this file, STDOUT controls the name; default = 10, 0 = no limit; does not
control the size of the transcript file
MTI_USELIB_DIR
specifies the directory into which object libraries are compiled when using the
-compile_uselibs argument to the vlog command (CR-358)
MTI_VCO_MODE
determines which version of ModelSim to use on platforms that support both 32and 64-bit versions when ModelSim executables are invoked from the modeltech/
bin directory by a Unix shell command (using full path specification or PATH
search); if MTI_VCO_MODE is not set, the preference is given to the highest
performance installed version
NOMMAP
if set to 1, disables memory mapping in ModelSim; this should be used only when
running on Linux 7.1; it will decrease the speed with which ModelSim reads files
PLIOBJS
used by ModelSim to search for PLI object files for loading; consists of a
space-separated list of file or path names
STDOUT
the VSOUT temp file (generated by the simulator kernel) is deleted when the
simulator exits; the file is not deleted if you specify a filename for VSOUT with
STDOUT; specifying a name and location (use TMPDIR) for the VSOUT file will
also help you locate and delete the file in event of a crash (an unnamed VSOUT
file is not deleted after a crash either)
TMPDIR (Unix)
TMP (Windows)
specifies the path to a tempnam() generated file (VSOUT) containing all stdout
from the simulation kernel
Creating environment variables in Windows
In addition to the predefined variables shown above, you can define your own environment
variables. This example shows a user-defined library path variable that can be referenced
by the vmap command to add library mapping to the modelsim.ini file.
Using Windows 98/Me
Open and edit the autoexec.bat file by adding this line:
set MY_PATH=\temp\work
Restart Windows to initialize the new variable.
Using Windows NT/2000/XP
Right-click the My Computer icon and select Properties, then select the Environment
tab (in Windows 2000/XP select the Advanced tab and then Environment Variables). Add
the new variable with this data—Variable:MY_PATH and Value:\temp\work.
Click Set and Apply to initialize the variable.
ModelSim SE User’s Manual