Skip to content

Commit

Permalink
fix: change wire int assignment 2
Browse files Browse the repository at this point in the history
  • Loading branch information
litneet64 committed May 31, 2024
1 parent b45d148 commit a2f160c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/puf_bit.v
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ module puf_bit(
localparam n_half = n_ro / 2;

wire[n_ro-1:0] ro_out;
wire[n_ro-1:0] inter_en;
wire[n_ro-1:0] inter_en = (en) ? n_ro'b1 : n_ro'b0;

wire mux_out_1, mux_out_2;
wire ctr_out_1, ctr_out_2;

assign inter_en = (en) ? 32'b1 : 32'b0;

ring_osc ro_array_1[n_half-1:0] (inter_en[n_half-1:0], ro_out[n_half-1:0]);
ring_osc ro_array_2[n_half-1:0] (inter_en[n_ro-1:n_half], ro_out[n_ro-1:n_half]);

Expand Down

0 comments on commit a2f160c

Please sign in to comment.