soc_core: rearrange default mem_map
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 28 Jun 2019 21:27:23 +0000 (23:27 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 28 Jun 2019 21:27:23 +0000 (23:27 +0200)
litex/soc/integration/soc_core.py

index a6592044843c67f060b9c1c41d1c623680903e96..877d00a45298e14cf0ab01257899bab1fc3887ff 100644 (file)
@@ -134,9 +134,9 @@ class SoCCore(Module):
     interrupt_map = {}
     mem_map       = {
         "rom":      0x00000000,  # (default shadow @0x80000000)
-        "sram":     0x10000000,  # (default shadow @0x90000000)
+        "sram":     0x01000000,  # (default shadow @0x81000000)
+        "csr":      0x02000000,  # (default shadow @0x82000000)
         "main_ram": 0x40000000,  # (default shadow @0xc0000000)
-        "csr":      0x60000000,  # (default shadow @0xe0000000)
     }
     def __init__(self, platform, clk_freq,
                 # CPU parameters