Skip to content

Commit

Permalink
Removing default case from unique case in csrnc_reg_top and entropy_s…
Browse files Browse the repository at this point in the history
…rc_reg_top
  • Loading branch information
howardtr committed Sep 9, 2023
1 parent 7bfc833 commit a9f4dbe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/csrng/rtl/csrng_reg_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,6 @@ 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 Expand Up @@ -2059,10 +2058,6 @@ module csrng_reg_top #(
addr_hit[16]: begin
reg_rdata_next[7:0] = main_sm_state_qs;
end

default: begin
reg_rdata_next = '1;
end
endcase
end

Expand Down
5 changes: 0 additions & 5 deletions src/entropy_src/rtl/entropy_src_reg_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -3587,7 +3587,6 @@ 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 Expand Up @@ -3892,10 +3891,6 @@ module entropy_src_reg_top #(
addr_hit[56]: begin
reg_rdata_next[8:0] = main_sm_state_qs;
end

default: begin
reg_rdata_next = '1;
end
endcase
end

Expand Down

0 comments on commit a9f4dbe

Please sign in to comment.