Technical data

Preference variable arrays
ModelSim EE/PLUS Reference Manual ModelSim EE Graphic Interface
-
229
Force mappin
g
preferences
The ForceTranslateTable is used only for vectors, and maps how a string of digits
are mapped into enumerations. First, digits 0, 1, X and Z are mapped in the
obvious way into LOGIC_0, LOGIC_1, LOGIC_X and LOGIC_Z. Then the
ForceTranslateTable is used to map from there to the enumeration appropriate for
the type of signal being forced. These variables may be set from the command
line; see "Setting preferences from the ModelSim command line" (p215) for more
information.
LogicStyleTable(LOGIC_DC) {DoubleDash blue 1}
Variable Example value
ForceTranslateTable(LOGIC_U) {‘U’}
ForceTranslateTable(LOGIC_X) {‘X’ ‘x’}
ForceTranslateTable(LOGIC_0) {‘0’ FALSE}
ForceTranslateTable(LOGIC_1) {‘1’ TRUE}
ForceTranslateTable(LOGIC_Z) {‘Z’ ‘z’}
ForceTranslateTable(LOGIC_W) {‘W’}
ForceTranslateTable(LOGIC_L) {‘L’}
ForceTranslateTable(LOGIC_H) {‘H’}
ForceTranslateTable(LOGIC_DC) {‘-’}
Variable Example value