User`s manual

Preference variables located in TCL files
ModelSim Xilinx Users Manual ModelSim Variables A-275
Individual preference variables
Though most preference variables occur in arrays, the following individual
variables are also found in TCL files.
The addons variable
The PrefVsim(addOns) variable provides a user_hook that allows you to integrate
add-ons with VSIM. Refer to any vendor-supplied instructions for specifics about
connecting third-party add-ons to VSIM.
Variable name Value range Purpose
DOPATH a colon-separated
list of paths to
directories
used by VSIM to search for simulator command files
(DO files); overrides the DOPATH
(A-255)
environment variable
PlotFilterResolution 0.1 + specifies the output resolution for the waveform
postscript file; default is 0.2, which equals 600dpi
resolution; 0.1 equals 1200dpi; 0.4 equals 300dpi,
etc.
SourceDir any valid path a list of alternate directories to search for source
files; separate multiple paths with a colon
SourceMap any valid path a Tcl associative array for mapping a particular
source file path (index) to another source file path
(value)
Variable Description Example value
PrefVsim(addOns) implicitly adds switches to VSIM
invocation; useful for loading
foreign libraries (see example value)
{-f "power_init
$MGC_HOME/lib/libpwr.dl"}