Bit Field Diagrams

DVT can render bit field diagrams from record declarations in tooltips and in the Inspect View.

Trigger the tooltip from the Editor, by hovering a record type:

Tooltip Window

Notes

../../_images/vhdl_bitfield_1.png

The layout of a record type is represented horizontally, with the least significant bit (LSB) being the first declared member.

../../_images/vhdl_bitfield_2.png

Nested types are represented vertically.

../../_images/vhdl_bitfield_3.png

By default, record types that exceed 32 bits are divided into multiple lanes of 32 bits each. For further details such as the type of a member, refer to the table located below the diagram.

To see the diagram in the Inspect View, simply click on a record type in the Editor:

../../_images/vhdl_bitfield_4.png

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 split-button to toggle the diagram between single-lane and multiple-lanes mode.

Go to the preferences page preferences-button to adjust the lane width in multiple-lanes mode.

Note

Diagrams are rendered using the Bit Field library.