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

mmap: remove offset logic #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maass-hamburg
Copy link
Contributor

remove offset logic, this is now handled centrally here:
enjoy-digital/litex#2166

By the way, the former implementation for the offset was done wrong.
That offset was applied to the wishbone adr only, but it should have been shifted by 2,
as it is word aligned.

source.data.eq(Cat(byte_count, bus.adr - offset)), should have been source.data.eq(Cat(byte_count, bus.adr) - offset),

remove offset logic, this is now handled centrally here:
enjoy-digital/litex#2166

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
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