From cb7b0f44cfe2045a1337fdf518326bb14c421b6e Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Sep 2021 11:33:16 +0200 Subject: [PATCH] tools/litex_sim: Fix mem_map. --- litex/tools/litex_sim.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litex/tools/litex_sim.py b/litex/tools/litex_sim.py index 961c3635e..633562389 100755 --- a/litex/tools/litex_sim.py +++ b/litex/tools/litex_sim.py @@ -98,9 +98,7 @@ class Platform(SimPlatform): # Simulation SoC ----------------------------------------------------------------------------------- class SimSoC(SoCCore): - mem_map = { - "spiflash" : 0x80000000, - } + mem_map = {**SoCCore.mem_map, **{"spiflash": 0x80000000}} def __init__(self, with_sdram = False, with_ethernet = False,