mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-20 04:07:36 -04:00
peripherals: Assign default to unused interrupts (#618)
Otherwise, the PLIC registers will be poisoned. Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
This commit is contained in:
parent
cffd9debc3
commit
327d17f8c8
2 changed files with 6 additions and 0 deletions
|
@ -63,6 +63,9 @@ module ariane_peripherals #(
|
|||
// ---------------
|
||||
logic [ariane_soc::NumSources-1:0] irq_sources;
|
||||
|
||||
// Unused interrupt sources
|
||||
assign irq_sources[ariane_soc::NumSources-1:7] = '0;
|
||||
|
||||
REG_BUS #(
|
||||
.ADDR_WIDTH ( 32 ),
|
||||
.DATA_WIDTH ( 32 )
|
||||
|
|
|
@ -56,6 +56,9 @@ module ariane_peripherals #(
|
|||
// ---------------
|
||||
logic [ariane_soc::NumSources-1:0] irq_sources;
|
||||
|
||||
// Unused interrupt sources
|
||||
assign irq_sources[ariane_soc::NumSources-1:7] = '0;
|
||||
|
||||
REG_BUS #(
|
||||
.ADDR_WIDTH ( 32 ),
|
||||
.DATA_WIDTH ( 32 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue