Skip to content

dm: Decouple abstract register width from bus width - #191

Merged
phsauter merged 2 commits into
masterfrom
fix/abstract-register-width
Aug 7, 2026
Merged

dm: Decouple abstract register width from bus width #191
phsauter merged 2 commits into
masterfrom
fix/abstract-register-width

Conversation

@phsauter

Copy link
Copy Markdown
Collaborator

Takes #83, cleans it up and adds tests to cover the different cases where the widths do not match.

@phsauter
phsauter force-pushed the fix/abstract-register-width branch 4 times, most recently from 85f4d6e to a68a2d6 Compare August 6, 2026 16:32
phsauter and others added 2 commits August 7, 2026 17:57
Allow integrations to configure the maximum Access Register command width independently from the debug module bus width. Preserve the existing behavior by defaulting the new parameter to BusWidth.

Co-authored-by: jcoulon <jcoulon@gemalto.com>
Add a direct dm_mem regression for 32-bit and 64-bit buses, configurable abstract register widths, and two selected harts sharing a 32-bit bus. Check command acceptance and the generated load/store width without modeling a processor core.
@phsauter
phsauter force-pushed the fix/abstract-register-width branch from a68a2d6 to 51219f9 Compare August 7, 2026 15:57
@phsauter
phsauter merged commit 4f0d2c2 into master Aug 7, 2026
7 checks passed
@phsauter
phsauter deleted the fix/abstract-register-width branch August 8, 2026 14:20
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.

1 participant