Commit 4ecc4e3e authored by GuillemCabo's avatar GuillemCabo
Browse files

disable RDC interrupt if unit is disabled

parent 8fa97153
......@@ -137,7 +137,7 @@
//output interrupt if new interrupt or already on interrupt state
assign interruption_rdc_o = (|unpacked_vector_rdc_int) || past_interruption_rdc_o;
assign interruption_rdc_o = ((|unpacked_vector_rdc_int) || past_interruption_rdc_o) & enable_i;
//-------------Watermark registers
logic [WEIGHTS_WIDTH-1 : 0] watermark_int [0 : N_COUNTERS-1];
genvar q;
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