From c64c6e40564daee3014a21659926a3a2b922a6ad Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 20 Jul 2021 12:05:12 +0200 Subject: [PATCH] cpu/blackparrot: Re-map csr and keep the lower 128MBs for the SoC IO auto-allocation. --- litex/soc/cores/cpu/blackparrot/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/soc/cores/cpu/blackparrot/core.py b/litex/soc/cores/cpu/blackparrot/core.py index a34c60dc6..930fab8f2 100644 --- a/litex/soc/cores/cpu/blackparrot/core.py +++ b/litex/soc/cores/cpu/blackparrot/core.py @@ -68,8 +68,9 @@ class BlackParrotRV64(CPU): # Memory Mapping. @property def mem_map(self): + # Keep the lower 128MBs for SoC IOs auto-allocation. return { - "csr" : 0x50000000, + "csr" : 0x58000000, "rom" : 0x70000000, "sram" : 0x71000000, "main_ram" : 0x80000000,