# additional SRAM at address if DRAM is not also at 0x0
# (TODO, check Flash, and HyperRAM as well)
- if ddr_pins is None or ddr_addr != 0x0:
+ if (ddr_pins is None or ddr_addr != 0x0) and fw_addr != 0:
print ("SRAM 0x8000 at address 0x0")
sram_width = 32
self.sram = SRAMPeripheral(size=0x8000,
# select a firmware address
fw_addr = None
if firmware is not None:
- fw_addr = 0xff00_0000 # firmware at HI address, now
+ fw_addr = 0x00000000 # firmware at HI address, now
print ("fpga", fpga, "firmware", firmware)