Rev. 23.1.12, 23 May 2023

23.5 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
The layout of a record type is represented horizontally, with the least significant bit (LSB) being the first declared member.
Nested types are represented vertically.
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:

Tip: To save the diagram as an SVG file, 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.