fix soc/integration/soc_core.py
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sat, 14 Nov 2015 01:44:12 +0000 (02:44 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Sat, 14 Nov 2015 01:44:12 +0000 (02:44 +0100)
litex/soc/integration/soc_core.py

index 21dd937378fb261a84d83e5bc1929268e295679f..bb1d2bf0ea1170f8ad11223d0f2085f99bc10d77 100644 (file)
@@ -197,7 +197,7 @@ class SoCCore(Module):
         # Interrupts
         for k, v in sorted(self.interrupt_map.items(), key=itemgetter(1)):
             if hasattr(self, k):
-                self.comb += self.cpu.interrupt[v].eq(getattr(self, k).ev.irq)
+                self.comb += self.cpu_or_bridge.interrupt[v].eq(getattr(self, k).ev.irq)
 
     def build(self, *args, **kwargs):
         self.platform.build(self, *args, **kwargs)