Skip to content

Commit

Permalink
fix: typo var name
Browse files Browse the repository at this point in the history
  • Loading branch information
litneet64 committed May 31, 2024
1 parent fc8c4aa commit aae6d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/counter.v
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ module counter(
output wire out
);
reg[15:0] ctr;
reg[15:0] threshold = 16'b11111111_11111111;
reg finish;

assign threshold = 'b11111111_11111111;
assign out = (finish) ? 1 : 0;

always @ (posedge clk) begin
Expand Down
2 changes: 1 addition & 1 deletion src/puf_bit.v
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ module puf_bit(
counter cnt_1(mux_out_1, clk, rst, ctr_out_1);
counter cnt_2(mux_out_2, clk, rst, ctr_out_2);

arbiter race_arb(cnt_out_1, cnt_out_2, clk, rst, resp, finish);
arbiter race_arb(ctr_out_1, ctr_out_2, clk, rst, resp, finish);

endmodule

0 comments on commit aae6d99

Please sign in to comment.