From: Florent Kermarrec Date: Mon, 13 May 2019 08:59:26 +0000 (+0200) Subject: cpu/vexriscv/core: update X-Git-Tag: 24jan2021_ls180~1215 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb6fa45833f957d78d5156347e62a808d5e3646a;p=litex.git cpu/vexriscv/core: update --- diff --git a/litex/soc/cores/cpu/vexriscv/core.py b/litex/soc/cores/cpu/vexriscv/core.py index 3d904f86..c7931401 100644 --- a/litex/soc/cores/cpu/vexriscv/core.py +++ b/litex/soc/cores/cpu/vexriscv/core.py @@ -16,6 +16,7 @@ CPU_VARIANTS = { "full": "VexRiscv_Full", "full+debug": "VexRiscv_FullDebug", "linux": "VexRiscv_Linux", + "linux+debug": "VexRiscv_LinuxDebug", } @@ -36,6 +37,7 @@ GCC_FLAGS = { "full": "-march=rv32im -mabi=ilp32", "full+debug": "-march=rv32im -mabi=ilp32", "linux": "-march=rv32ima -mabi=ilp32", + "linux+debug": "-march=rv32ima -mabi=ilp32", } @@ -104,6 +106,7 @@ class VexRiscv(Module, AutoCSR): i_externalResetVector=self.cpu_reset_address, i_externalInterruptArray=self.interrupt, i_timerInterrupt=0, + i_softwareInterrupt=0, o_iBusWishbone_ADR=ibus.adr, o_iBusWishbone_DAT_MOSI=ibus.dat_w, @@ -130,9 +133,6 @@ class VexRiscv(Module, AutoCSR): i_dBusWishbone_ERR=dbus.err) if "linux" in variant: - # Tie zero to prevent 1'bx here - self.cpu_params["i_softwareInterrupt"] = 0 - self.cpu_params["i_externalInterruptS"] = 0 self.add_timer() if "debug" in variant: