From 6fcb2a7980bff2814b651408fed5ca3ac537217e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 14 Apr 2022 16:23:31 +0100 Subject: [PATCH] move firmware to address 0x0 to test microwatt xics.bin --- src/ls2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ls2.py b/src/ls2.py index 9f20828..9899ec2 100644 --- a/src/ls2.py +++ b/src/ls2.py @@ -447,7 +447,7 @@ class DDR3SoC(SoC, Elaboratable): # 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, @@ -752,7 +752,7 @@ def build_platform(fpga, firmware): # 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) -- 2.30.2