mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cpu/microwatt: Only add XICS for IRQ variants (fix standard variant).
This commit is contained in:
parent
d5c2f6760c
commit
a51bf60712
1 changed files with 12 additions and 11 deletions
|
@ -117,6 +117,7 @@ class Microwatt(CPU):
|
|||
assert reset_address == 0x00000000
|
||||
|
||||
def add_soc_components(self, soc, soc_region_cls):
|
||||
if "irq" in self.variant:
|
||||
self.submodules.xics = XICSSlave(
|
||||
platform = self.platform,
|
||||
variant = self.variant,
|
||||
|
|
Loading…
Reference in a new issue