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
By clicking on a bit field within the diagram, you can automatically navigate to the corresponding table cell, and vice versa.
Tip
To save the diagram as an SVG file, right-click on it in the Inspect View.
To copy the table contents to system clipboard, right-click on it in the Inspect View.
Tip
Use the view mode button
to toggle the diagram between single-lane and multiple-lanes mode.
Go to the preferences page
to adjust the lane width in multiple-lanes mode.
Note
Diagrams are rendered using the BitField library.