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

memory: fix address translation of resources located in dense windows. #85

Merged
merged 1 commit into from
May 13, 2024

Conversation

jfng
Copy link
Member

@jfng jfng commented May 13, 2024

As a breaking change, MemoryMap.add_window(self, window, sparse=False) will fail if self.data_width // window.data_width isn't a power-of-2 or is greater than 2 ** window.alignment.

As a breaking change, MemoryMap.add_window(self, window, sparse=False)
will fail if `self.data_width // window.data_width` isn't a power-of-2
or is greater than `2 ** window.alignment`.
@jfng jfng added this pull request to the merge queue May 13, 2024
Merged via the queue into amaranth-lang:main with commit 2dfd84c May 13, 2024
12 checks passed
@jfng jfng deleted the fix-dense-translation branch May 13, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant