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
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 Bit Field library.