Skip to content

Conversation

@Thomas-Vreys
Copy link

Problem

Fields spanning multiple lanes duplicated bits and labels.

Solution

  • Clip fields per lane (half-open interval logic)
  • Slice and shift attributes per lane
  • Use lane bounds for edge labels
    This ensures multi-lane fields render correctly with unique labels and no overlap.

Related Issues

Fixes #59

Fields spanning multiple lanes duplicated bits and labels.
Solution: Clip fields per lane, slice and shift attributes per lane and use lane bounds for edge labels to render accurately across lanes.

This work was sponsored by OIP Sensor Systems

Signed-off-by: Thomas Vreys <thomas.vreys999@gmail.com>
@vermaete
Copy link

vermaete commented Dec 6, 2025

LGTM. I'm using the PR and it did fix the issue that not all fields of the register where at the correct place rendered.
Could it be considered to merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

attr is not correct generated?

2 participants