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

cpu_ibex: Fix wishbone address semantics #5

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

Conversation

Arusekk
Copy link

@Arusekk Arusekk commented Jan 10, 2025

While IBEX supplies addresses as they are, the Wishbone spec mandates that ADR_O be addressed in units of data port size, the lower bits being determined by SEL_O. A similar misrepresentation is present in Renode cosimulation integration, these fixes need to go in tandem.

Upstream PR: renode/renode#727

The upstream change is intended to be used by CoreBlocks Open Source RISC-V CPU for integration with Renode. Currently it would need to be worked around by using extra conversion, like the suggested one here, but inverted.

Context: kuznia-rdzeni/coreblocks#778

@DawidPietrykowski DawidPietrykowski self-requested a review February 3, 2025 10:55
While IBEX supplies addresses as they are, the [Wishbone spec][1]
mandates that ADR_O be addressed in units of data port size, the lower
bits being determined by SEL_O.  A similar misrepresentation is present
in Renode cosimulation integration, these fixes need to go in tandem.

[1]: https://wishbone-interconnect.readthedocs.io/en/latest/02_interface.html#master-signals
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