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

To save the diagram as an SVG file, right-click on it in the Inspect View.

Tip

To copy the table contents to clipboard, right-click on it in the Inspect View.

Tip

By clicking on a bit field within the diagram, you can automatically navigate to the corresponding table cell, and vice versa.

Tip

To disable the division of larger types use the Inspect View button or go to Window ‣ Preferences ‣ DVT ‣ Diagrams ‣ Bit Field Diagrams.

Note

Diagrams are rendered using the Bit Field library.