From: Florent Kermarrec Date: Wed, 18 Dec 2019 07:59:35 +0000 (+0100) Subject: cpu/microwatt: set csr to 0xc0000000 (IO region) X-Git-Tag: 24jan2021_ls180~796 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5da0bcbd7a3a52d355c4073036c6b3592d903555;p=litex.git cpu/microwatt: set csr to 0xc0000000 (IO region) --- 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 "