Skip to content

Commit

Permalink
credit_counter: replace FFLARNC with FFARNC
Browse files Browse the repository at this point in the history
Co-authored-by: Nils Wistoff <[email protected]>
  • Loading branch information
micprog and niwis committed Jul 18, 2024
1 parent d99b266 commit 483b3dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/credit_counter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ module credit_counter #(
else if (increment) credit_d = credit_q + 1;
end

logic credit_load;
assign credit_load = 1'b1;
`FFLARNC(credit_q, credit_d, credit_load, credit_init_i, InitNumCredits, clk_i, rst_ni)
`FFARNC(credit_q, credit_d, credit_init_i, InitNumCredits, clk_i, rst_ni)

assign credit_o = credit_q;
assign credit_left_o = (credit_q != '0);
Expand Down

0 comments on commit 483b3dd

Please sign in to comment.