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

index 877d00a45298e14cf0ab01257899bab1fc3887ff..b451ef80b184a7207d08c9da789d9f8758a4592f 100644 (file)
@@ -186,11 +186,11 @@ class SoCCore(Module):
 
         # Parameters managment ---------------------------------------------------------------------
 
-        # FIXME: RocketChip reserves the first 256Mbytes for internal use
-        # remap rom to 0x10000000, sram to 0x20000000
+        # FIXME: RocketChip reserves the first 256Mbytes for internal use, change default mem_map
         if cpu_type == "rocket":
             self.soc_mem_map["rom"]  = 0x10000000
-            self.soc_mem_map["sram"] = 0x20000000
+            self.soc_mem_map["sram"] = 0x11000000
+            self.soc_mem_map["csr"]  = 0x12000000
 
         if cpu_type == "None":
             cpu_type = None