From 5da0bcbd7a3a52d355c4073036c6b3592d903555 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 18 Dec 2019 08:59:35 +0100 Subject: [PATCH] cpu/microwatt: set csr to 0xc0000000 (IO region) --- litex/soc/cores/cpu/microwatt/core.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litex/soc/cores/cpu/microwatt/core.py b/litex/soc/cores/cpu/microwatt/core.py index f8202d3b..9fd41ea0 100644 --- a/litex/soc/cores/cpu/microwatt/core.py +++ b/litex/soc/cores/cpu/microwatt/core.py @@ -21,6 +21,10 @@ class Microwatt(CPU): linker_output_format = "elf64-powerpc64le" io_regions = {0xc0000000: 0x10000000} # origin, length + @property + def mem_map(self): + return {"csr": 0xc0000000} + @property def gcc_flags(self): flags = "-m64 " -- 2.30.2