diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index e2dd457fe..02fe0c9c8 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -171,7 +171,7 @@ class SoCCore(Module): # Add the base SoC's interrupt map for mod_name, interrupt in self.soc_interrupt_map.items(): - assert interrupt not in interrupt_rmap, ( + assert interrupt not in interrupt_rmap or mod_name == interrupt_rmap[interrupt], ( "Interrupt vector conflict for IRQ %s, user defined %s conflicts with SoC inbuilt %s" % ( interrupt, mod_name, interrupt_rmap[interrupt]))