Update ibex_controller.sv

Vivado gives synthesis error complaining about assignment of irq_nm_int_cause to '0 by saying it is an enum type.

Change the assignment to NMI_INT_CAUSE_ECC, which is defined to 5'b0 in ibex_pkg.sv
This commit is contained in:
mbaykenar 2022-04-12 14:55:21 +03:00 committed by Rupert Swarbrick
parent 1f6bcb9ab5
commit eeedeb003a

View file

@ -357,7 +357,7 @@ module ibex_controller #(
// No integrity checking on incoming load data so no internal interrupts
assign irq_nm_int = 1'b0;
assign irq_nm_int_cause = '0;
assign irq_nm_int_cause = NMI_INT_CAUSE_ECC;
assign irq_nm_int_mtval = '0;
end