User`s manual

Environment variables
ModelSim Xilinx Users Manual ModelSim Variables A-255
Environment variables
Before compiling or simulating, several environment variables may be set to
provide the functions described in the table below. The variables are in the
autoexec.bat file on Windows 95/98 machines, and set through the System control
panel on NT machines. The LM_LICENSE_FILE variable is required, all others
are optional.
ModelSim Environment Variables
Variable Description
DOPATH used by VSIM to search for simulator command files (do files); consists of
a colon-separated (semi-colon for Windows) list of paths to directories;
optional; this variable can be overridden by the DOPATH
(A-275) .tcl file
variable
EDITOR specifies the editor to invoke with the edit command
(CR-48)
HOME used by VSIM to look for an optional graphical preference file and
optional location map file; see: "Preference variables located in INI and
MPF files"
(A-259) and "Modeling memory in VHDL" (C-293)
LM_LICENSE_FILE used by the ModelSim license file manager to find the location of the
license file; may be a colon-separated (semi-colon for Windows) set of
paths, including paths to other vendor license files; REQUIRED
MODEL_TECH set by all ModelSim tools to the directory in which the binary executables
reside; YOU SHOULD NOT SET THIS VARIABLE
MODEL_TECH_TCL used by VSIM to find Tcl libraries for: Tcl/Tk 8.0, Tix, and VSIM; defaults
to <install_dir>/../tcl; may be set to an alternate path
MGC_LOCATION_MAP used by ModelSim tools to find source files based on easily reallocated
"soft" paths; optional; see: "Modeling memory in VHDL"
(C-293); also see
the Tcl variables: SourceDir
(A-275), and SourceMap (A-275)
MTI_TF_LIMIT limits the size of the VSOUT temp file (generated by the VSIM 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
PLIOBJS used by VSIM to search for PLI object files for loading; consists of a
space-separated list of file or path names; optional