Closed mattvenn closed 2 years ago
still needs to be accessible to the other projects.
we already have the openram definition in projects.yaml->interfaces
also missing from wrapper.v template. Update for MPW4 need to add this.
Then the wires need to be connected:
Matt's suggestion
pros: simple cons: caravel can't write to ram, so user project would have to provide an arbiter
frame buffer example
Pawel's suggestion:
pros: caravel can write directly to sram, reduces complexity from user projects, sram can be used as a shared memory cons: more complex
qs from Urish
What does the address space for the SRAM WB bus look like?
What's the width of the SRAM data / address wires? (SRAM 1k is organised 32x256)
What's the minimum write width?
other qs
left to be done for MPW4
left to be done for future
from caravel, upper 1 k. we can do what we want. this address will be set in the shim (see pic above)
From our projects too?
edit: nvm, I see the address bus is 8-bit wide, so the ram occupies the entire address space
we are documenting progress/ideas here https://docs.google.com/document/d/1-8AeNIIzsXWtidUxx8xsDvId14Mii2BdkWXOwrHh3jc/edit#
@embelon is working on this.