mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
fix soc/integration/soc_core.py
This commit is contained in:
parent
032f5a9620
commit
cf4c7da2e7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue