User`s manual
Preference variables located in TCL files
A-272 ModelSim Variables ModelSim Xilinx User’s Manual
Preference variable arrays
Most preference variables are Tcl procedure lists (arrays), grouped by name
within the TCL file. A unique array is defined for:
• all GUI defaults
• each VSIM window type
• the library browser
• the Code Coverage and Performance Analyzer windows
• logic value translations used in the List window
(7-128) and
Wave window
(7-164)
• the force command
(CR-56)
The most common variable array types are listed in the table below.
Variable array type Description
PrefDefault(<argument>) handles all default GUI preferences such as font attributes, menu
features, and colors
Pref<WindowName>(<argument>) an array exists for each ModelSim window covering fonts, colors,
and window-specific variables such as the (isTrigger) List window
variable
Pref<WindowName>(geometry) (geometry) variables are used for initial window positions with a
new design; one variable for each window
PrefGeometry(<WindowName) if you change the window positions and invoke this command:
write pref ./modelsim.tcl
this additional set of geometry preference variables is written to
modelsim.tcl with a higher priority; on the next invocation of the
vsim
(CR-148) command you will get the newly-saved positions;
(write pref saves all current preference setting)
PrefLibrary(<argument>) library preferences allow you to add color to different design units
within the library browser