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

Enforce non-overlapping MemoryMap for all DMA peripherals, DelayLines, etc. #63

Open
vk2seb opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vk2seb
Copy link
Member

vk2seb commented Oct 14, 2024

Currently Tiliqua SoCs may contain quite a few DMA peripherals that have access to PSRAM (DelayLine, FramebufferPHY, Stroke and so on). There is no enforcement that these peripherals exist in the correct regions and/or are not unexpectedly overlapping.

For example, it's likely never desirable for the framebuffer to overlap with delay lines (even though this would be visually interesting). Similarly, delaylines should likely never have overlapping backing stores.

amaranth-soc provides abstractions to deal with this. We're currently using this only for the SoC peripherals (CSR registers), but likely it's desirable in any case where the PSRAM is touched.

@vk2seb vk2seb added the enhancement New feature or request label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant