Skip to content

Add cross-field bit range overlap validation#171

Merged
rauhul merged 1 commit intomainfrom
fix-38
Sep 5, 2025
Merged

Add cross-field bit range overlap validation#171
rauhul merged 1 commit intomainfrom
fix-38

Conversation

@rauhul
Copy link
Collaborator

@rauhul rauhul commented Sep 5, 2025

Consolidates BitFieldDescription and RegisterDescription validation into a single file and implements validation for overlapping bit ranges across different bit fields within a register. Previously, the system only validated overlaps within individual bit fields.

The logic now lives in a Validator with overlap detection logic that works for both single bit fields and across multiple bit fields.

Fixes #38

Consolidates BitFieldDescription and RegisterDescription validation
into a single file and implements validation for overlapping bit ranges
across different bit fields within a register. Previously, the system
only validated overlaps within individual bit fields.

The logic now lives in a Validator with overlap detection logic that
works for both single bit fields and across multiple bit fields.

Fixes #38
@rauhul rauhul merged commit 3110213 into main Sep 5, 2025
22 checks passed
@rauhul rauhul deleted the fix-38 branch September 5, 2025 02:31
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.

Validate bit fields within registers do not overlap

1 participant