mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
targets: fomu: use memory array for sram address
Use the memory array to find the address for the sram bank. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
348677598d
commit
218bd353c1
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class BaseSoC(SoCCore):
|
|||
# Use this as CPU RAM.
|
||||
spram_size = 128*1024
|
||||
self.submodules.spram = up5kspram.Up5kSPRAM(size=spram_size)
|
||||
self.register_mem("sram", 0x10000000, self.spram.bus, spram_size)
|
||||
self.register_mem("sram", self.mem_map["sram"], self.spram.bus, spram_size)
|
||||
|
||||
if usb_core is not None:
|
||||
# Add USB pads. We use DummyUsb, which simply enumerates as a USB
|
||||
|
|
Loading…
Reference in a new issue