From a2f160cbecc62a74d86610e2071a6061500d5033 Mon Sep 17 00:00:00 2001 From: litneet64 Date: Fri, 31 May 2024 08:27:28 -0400 Subject: [PATCH] fix: change wire int assignment 2 --- src/puf_bit.v | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/puf_bit.v b/src/puf_bit.v index dce4616..c11609b 100644 --- a/src/puf_bit.v +++ b/src/puf_bit.v @@ -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]);