From 2c521a7053f5f7d8e77fd9076df5cf0cb7467963 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 23 Aug 2020 15:18:54 +0100 Subject: [PATCH] comment why litex sim mem map is altered --- src/soc/litex/florent/sim.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/soc/litex/florent/sim.py b/src/soc/litex/florent/sim.py index 68be7702..9d407eec 100755 --- a/src/soc/litex/florent/sim.py +++ b/src/soc/litex/florent/sim.py @@ -58,7 +58,11 @@ class LibreSoCSim(SoCSDRAM): # ram_fname: "0x00000000", # }, "little") ram_init = get_mem_data(ram_fname, "little") + + # remap the main RAM to reset-start-address self.mem_map["main_ram"] = 0x00000000 + + # without sram nothing works, therefore move it to higher up self.mem_map["sram"] = 0x90000000 -- 2.30.2