24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Virtual regions<br />

Virtual types<br />

Virtual Objects (User-defined buses, <strong>and</strong> more) UM-235<br />

Virtual functions can be created using the virtual function comm<strong>and</strong> (CR-339).<br />

Virtual functions are also implicitly created by <strong>ModelSim</strong> when referencing bit-selects or<br />

part-selects of Verilog registers in the GUI, or when exp<strong>and</strong>ing Verilog registers in the<br />

Objects, Wave, or List window. This is necessary because referencing Verilog register<br />

elements requires an intermediate step of shifting <strong>and</strong> masking of the Verilog "vreg" data<br />

structure.<br />

User-defined design hierarchy regions can be defined <strong>and</strong> attached to any existing design<br />

region or to the virtuals context tree. They can be used to reconstruct the RTL hierarchy in<br />

a gate-level design <strong>and</strong> to locate virtual signals. Thus, virtual signals <strong>and</strong> virtual regions can<br />

be used in a gate-level design to allow you to use the RTL test bench.<br />

Virtual regions are created <strong>and</strong> attached using the virtual region comm<strong>and</strong> (CR-348).<br />

User-defined enumerated types can be defined in order to display signal bit sequences as<br />

meaningful alphanumeric names. The virtual type is then used in a type conversion<br />

expression to convert a signal to values of the new type. When the converted signal is<br />

displayed in any of the windows, the value will be displayed as the enumeration string<br />

corresponding to the value of the original signal.<br />

Virtual types are created using the virtual type comm<strong>and</strong> (CR-354).<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!