Allow SoCCore instances to set maximum interrupt number

parent 00827555
......@@ -4,6 +4,7 @@
# This file is Copyright (c) 2019 Gabriel L. Somlo <gsomlo@gmail.com>
# This file is Copyright (c) 2019 Ilia Sergachev <ilia.sergachev@protonmail.ch>
# This file is Copyright (c) 2018 Jean-François Nguyen <jf@lambdaconcept.fr>
# This file is Copyright (c) 2020 Raptor Engineering, LLC <sales@raptorengineering.com>
# This file is Copyright (c) 2015 Robert Jordens <jordens@gmail.com>
# This file is Copyright (c) 2018 Sean Cross <sean@xobs.io>
# This file is Copyright (c) 2018 Stafford Horne <shorne@gmail.com>
......@@ -84,6 +85,8 @@ class SoCCore(LiteXSoC):
csr_data_width = 8,
csr_address_width = 14,
csr_paging = 0x800,
# Interrupt parameters
irq_n_irqs = 32,
# Identifier parameters
ident = "",
ident_version = False,
......@@ -113,7 +116,7 @@ class SoCCore(LiteXSoC):
csr_paging = csr_paging,
csr_reserved_csrs = self.csr_map,
irq_n_irqs = 32,
irq_n_irqs = irq_n_irqs,
irq_reserved_irqs = {},
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment