vexriscv: Fix some floating signals
authorDavid Shah <dave@ds0.me>
Sat, 4 May 2019 16:27:21 +0000 (17:27 +0100)
committerDavid Shah <dave@ds0.me>
Sat, 4 May 2019 16:27:21 +0000 (17:27 +0100)
Signed-off-by: David Shah <dave@ds0.me>
litex/soc/cores/cpu/vexriscv/core.py

index e40a2d38e8aa8e4b851d3880c2bb807e7d566092..de30de8d5423c414740c86e5ac31727bfe9448e8 100644 (file)
@@ -126,6 +126,9 @@ 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: