Skip to content

Commit

Permalink
delta_counter: Fix inverted reset (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk authored Oct 9, 2024
1 parent 94d285b commit 554ebbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/delta_counter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 554ebbc

Please sign in to comment.