Technical data

virtual signal
ModelSim EE/SE Command Reference ModelSim Commands CR-193
virtual signal
The virtual signal command creates a new signal, known only by the GUI (not
the kernel), that consists of concatenations of signals and subelements as specified
in <expressionString>. It cannot handle bit selects and slices of Verilog registers.
Syntax
virtual signal
[-env <path>] [-install <path>] [-implicit] {<expressionString>}
<name>
Arguments
-env <path>
Specifies a hierarchical context for the signal names in <expressionString> so
they dont all have to be full paths. Optional.
-install <path>
Causes the newly-created signal to become a child of the specified region. If -
install is not specified, the newly-created signal becomes a child of the nearest
common ancestor of all objects appearing in <expressionString>. If the
expression references more than one logfile (dataset), the virtual signal will
automatically be placed in region virtuals:/Signals. Optional.
-implicit
Used internally to create virtuals that are automatically saved with the List or
Wave format. Optional.
<expressionString>
A text string expression in the MTI GUI expression format. Required. See (TBD)
for a full and updated description.
<name>
The name you define for the virtual signal. Required. Case is ignored unless
installed in a Verilog region. It is recommended to use alpha, numeric and
underscore characters only. Or, use VHDL extended identifier notation, in which
case <name> needs to be quoted with double quotes or with curly braces.
Examples
virtual signal -env sim:/chip/alu { (range 4 downto 0)(a_04 & a_03 & a_02 & a_01