You can create analog mnemonic maps in one of the following methods:
- Use the SimVision TCL command.
You must use the-analogoption with themmapnew SimVision command. The syntax is:
mmap new -analog -name label -contents {{- range { <lowValue> <highValue>} -label “name” -bgcolor}You can define one or more ranges for a given mnemonic map entry using
-range {<lowValue> <highValue>}. Each entry is specified as a list with a range, a label, and background color that specifies how a waveform is drawn when its value matches one of the value ranges for the mnemonic map entry.So, for a signal set with a map with value in one of the value ranges, a box with a label is displayed in the Waveform trace.
For more information on the
mmapcommand, refer to the SimVision Tcl Commands Guide.
- Define analog mnemonic maps in a script file and source it to SimVision.
In the SimVision GUI, choose File – Source Command Script; and in the Select SimVision Command Script dialog box select the command file with Analog Mnemonic Maps.
