Skip to content

cpu_ibex: Fix wishbone address semantics#5

Merged
DawidPietrykowski merged 1 commit intoantmicro:masterfrom
Arusekk:wishbone-adr
Feb 6, 2025
Merged

cpu_ibex: Fix wishbone address semantics#5
DawidPietrykowski merged 1 commit intoantmicro:masterfrom
Arusekk:wishbone-adr

Conversation

@Arusekk
Copy link
Copy Markdown
Contributor

@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.

2 participants