Bit Field Diagrams
Bit Field Diagrams for UVM registers
DVT can render bit field diagrams from UVM register configurations in tooltips and in the Inspect View.
Trigger the tooltip from the Editor, by hovering a register class (a class that extends from uvm_reg) or a field of register class type:
To see the diagram in the Inspect View, simply click on a register class in the Editor, UVM Browser View or UVM Sequence Tree View:
Tip
To save the diagram as an SVG file, right-click on it in the Inspect View.
Tip
To copy the table contents to system clipboard, right-click on it in the Inspect View.
Note
Diagrams are rendered using the BitField library.
Bit Field Diagrams for packed data types
DVT can render bit field diagrams from packed data types declarations in tooltips and in the Inspect View.
Trigger the tooltip from the Editor, by hovering a packed struct or union data type:
Declaration |
Tooltip Window |
Notes |
The memory layout is represented horizontally from MSB to LSB. |
||
Nested types are represented vertically. |
||
Union members are separated with a blank line. |
||
Additional information, for example the type of a member, can be found in the table below the diagram. |
Note
To see the diagram in the Inspect View, simply click on a packed struct or union data type in the Editor:
Tip
To save the diagram as an SVG file, right-click on it in the Inspect View.
Tip
To copy the table contents to system clipboard, right-click on it in the Inspect View.
Tip
Inspect View offers zoom and pan functionality for diagrams which exceed 64 bits.
Note
Diagrams are rendered using the BitField library.