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

Implementing rv64 for the sodor core: Purpose of SodorScratchpadAdapter's restriction to 32-bit addresses? #83

Closed
viniul opened this issue Jul 21, 2024 · 0 comments

Comments

@viniul
Copy link

viniul commented Jul 21, 2024

I am trying port the sodor core to rv64 -- However, I am stumbling upon the line with hardcoded size of 32-bits:

require(io.slavePort.req.bits.addr.getWidth == 32, "Slave port only support 32 bit address")

in generators/riscv-sodor/src/main/scala/sodor/common/scratchpad_adapter.scala, class SodorScratchpadAdapter.

Could you point to more documentation regarding the adapter and the reason behind this line of code? A simple XLEN and SystemBusKey change in the sodor core triggered this assertion -- but I struggle to find the context behind the adapter's restriction to a 32-bit wide address.

@viniul viniul closed this as completed Sep 15, 2024
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

No branches or pull requests

1 participant