Skip to content

Commit

Permalink
Add reg_rdata_next = '0 to prevent X prop
Browse files Browse the repository at this point in the history
  • Loading branch information
howardtr committed Sep 9, 2023
1 parent a9f4dbe commit 2a15899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/csrng/rtl/csrng_reg_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1946,6 +1946,7 @@ module csrng_reg_top #(

// Read data return
always_comb begin
reg_rdata_next = '0;
unique case (1'b1)
addr_hit[0]: begin
reg_rdata_next[0] = intr_state_cs_cmd_req_done_qs;
Expand Down
1 change: 1 addition & 0 deletions src/entropy_src/rtl/entropy_src_reg_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -3587,6 +3587,7 @@ module entropy_src_reg_top #(

// Read data return
always_comb begin
reg_rdata_next = '0;
unique case (1'b1)
addr_hit[0]: begin
reg_rdata_next[0] = intr_state_es_entropy_valid_qs;
Expand Down

0 comments on commit 2a15899

Please sign in to comment.