Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List based block access #138

Merged

Conversation

krcb197
Copy link
Owner

@krcb197 krcb197 commented Jul 9, 2024

Previous versions used the python array.array object to pass around clocks of data, including:

  • callbacks:
    • read_block_callback
    • write_block_callback
  • read and write access functions to memory

The issue is that python array has a maximum width of 64 bits, however, system rdl supports wider memory types. In order to overcome this the functions were charged to using list.

Unfortunately, this would have been a breaking API change, therefore a legacy mode has been preserved to allow people to build the register model without problems but this requires the use of the legacy_block_access which will be removed at some point in the future.

@krcb197 krcb197 linked an issue Jul 9, 2024 that may be closed by this pull request
@krcb197 krcb197 self-assigned this Jul 9, 2024
krcb197 added 27 commits July 9, 2024 23:04
… of a breaking change for users"

This reverts commit 760b49d.
@krcb197 krcb197 changed the base branch from main to 0.9.0 July 13, 2024 15:59
@krcb197 krcb197 merged commit 220624a into 0.9.0 Jul 13, 2024
33 checks passed
@krcb197 krcb197 deleted the 137-error-generating-reading-from-mem-with-memwidth-64-bits branch July 13, 2024 16:00
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.

Error generating & reading from Mem with memwidth > 64 bits.
1 participant