Technical data

Preference variable arrays
ModelSim EE/PLUS Reference Manual ModelSim EE Graphic Interface
-
227
The addons variable
In addition to window and batch user_hooks, 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.
Lo
g
ic type mappin
g
preferences
The ListTranslateTable specifies how various enumerations of various types map
into the nine logic types that the List and Wave window know how to display. This
mapping is used for vectors only; scalars are displayed with the original enum
value. The following example values show that the std_logic_1164 types map in
a one-to-one manner, and also shows mappings for boolean and Verilog types.
You can add additional translations for your own user-defined types. These
variables may be set from the command line; see "Setting preferences from the
ModelSim command line" (p215) for more information.
PrefProcess(user_hook) ""
PrefSource(user_hook) ""
PrefList(user_hook) ""
PrefWave(user_hook) ""
PrefDataflow(user_hook) ""
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"}
Variable Example value
ListTranslateTable(LOGIC_U) {‘U’}
ListTranslateTable(LOGIC_X) {‘X’ ‘x’}
Variable Initial value