From a9f4dbedfd3ccb96c8d10ab5c9daadb4c1bd623d Mon Sep 17 00:00:00 2001 From: Howard Tran Date: Fri, 8 Sep 2023 20:58:12 -0700 Subject: [PATCH] Removing default case from unique case in csrnc_reg_top and entropy_src_reg_top --- src/csrng/rtl/csrng_reg_top.sv | 5 ----- src/entropy_src/rtl/entropy_src_reg_top.sv | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/csrng/rtl/csrng_reg_top.sv b/src/csrng/rtl/csrng_reg_top.sv index efa24f788..5c5cf36cc 100644 --- a/src/csrng/rtl/csrng_reg_top.sv +++ b/src/csrng/rtl/csrng_reg_top.sv @@ -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; @@ -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 diff --git a/src/entropy_src/rtl/entropy_src_reg_top.sv b/src/entropy_src/rtl/entropy_src_reg_top.sv index 0abcc3d6e..7151fff8c 100644 --- a/src/entropy_src/rtl/entropy_src_reg_top.sv +++ b/src/entropy_src/rtl/entropy_src_reg_top.sv @@ -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; @@ -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