Only external memory #875
-
Hi, I am trying to simulate a RiscV neorv32 using only external memory and I have a some concerns:
Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @fpardoseco!
That's right. Basically, you just need the processor itself and (if you want to use the default memory layout) two Wishbone memories - one for data and one for instructions.
That's also correct. Depending on your Wishbone memories you might also need an "interconnect" or switch between the core and the two memories.
Let's stick with the default memory layout here. If you disable the processor-internal IMEM and DMEM all the according accesses are redirected to the external bus interface. Hence, you'll need to map your external memories accordingly:
This address mapping has to be done by your external Wishbone system. If you like, you can use this simple Wishbone memory for building your system (remove the The nice thing about this memory is that is does the address checking internally. Hence, you do not need an extra address decoder / bus switch / interconnect. Just connect all XBUS output signals to all Wishbone devices and OR the read-back signals before they go back to the processor:
|
Beta Was this translation helpful? Give feedback.
-
@stnolting thanks for your answer ! |
Beta Was this translation helpful? Give feedback.
Hey @fpardoseco!
That's right. Basically, you just need the processor itself and (if you want to use the default memory layout) two Wishbone memories - one for data and one for instructions.
That's also correct. Depending on your Wishbone memories you might also need an "interconnect" or switch between the core and the two memories.