Technical data

Preference variable arrays
228
-
ModelSim EE Graphic Interface ModelSim EE/PLUS Reference Manual
Lo
g
ic type display preferences
The next group of preference variables allow you to control how each of the nine
internal logic types are graphically displayed in the Wave window. For each of the
nine internal logic types, a three-element Tcl list specifies: the line type, the line
color, and the line vertical location; the line type may be Solid, OnOffDash, or
DoubleDash. For vertical location, 0 is at the bottom of the waveform, 1 is at the
middle, and 2 is at the top. These variables may be set from the command line; see
"Setting preferences from the ModelSim command line" (p215) for more
information.
ListTranslateTable(LOGIC_0) {‘0’ FALSE}
ListTranslateTable(LOGIC_1) {‘1’ TRUE}
ListTranslateTable(LOGIC_Z) {‘Z’ ‘z’}
ListTranslateTable(LOGIC_W) {‘W’}
ListTranslateTable(LOGIC_L) {‘L’}
ListTranslateTable(LOGIC_H) {‘H’}
ListTranslateTable(LOGIC_DC) {‘-’}
Variable Example value
LogicStyleTable(LOGIC_U) {Solid red 1}
LogicStyleTable(LOGIC_X) {Solid red 1}
LogicStyleTable(LOGIC_0) {Solid green 0}
LogicStyleTable(LOGIC_1) {Solid green 2}
LogicStyleTable(LOGIC_Z) {Solid blue 1}
LogicStyleTable(LOGIC_W) {DoubleDash red 1}
LogicStyleTable(LOGIC_L) {DoubleDash grey90 0}
LogicStyleTable(LOGIC_H) {DoubleDash grey90 2}
Variable Example value