diff --git a/src/delta_counter.sv b/src/delta_counter.sv index 415bd11c..6cb40536 100644 --- a/src/delta_counter.sv +++ b/src/delta_counter.sv @@ -31,7 +31,7 @@ module delta_counter #( always_ff @(posedge clk_i or negedge rst_ni) begin - if(rst_ni) begin + if(!rst_ni) begin overflow_q <= 1'b0; end else begin overflow_q <= overflow_d;