Skip to content

Commit

Permalink
[entropy_src/rtl] Fix reg reference and default value for stubbed impl
Browse files Browse the repository at this point in the history
We currently don't use the stubbing anywhere in the codebase but some
lint tools tend to flag issues despite the corresponding parameter being
disabled.

This resolves #24231.

Signed-off-by: Pirmin Vogel <[email protected]>
  • Loading branch information
vogelpi committed Jan 6, 2025
1 parent 39ca65f commit a21be27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hw/ip/entropy_src/rtl/entropy_src.sv
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ module entropy_src
stub_hw2reg.fw_ov_rd_data.d = stub_lfsr_value[31:0];
stub_hw2reg.entropy_data.d = stub_lfsr_value[31:0];
stub_hw2reg.debug_status.main_sm_idle.d = 1'b1;
// need to move this to package so that it can be referenced
stub_hw2reg.debug_status.main_sm_state.d = 8'b01110110;
stub_hw2reg.main_sm_state.d = entropy_src_main_sm_pkg::Idle;

stub_hw2reg.intr_state.es_entropy_valid.de = stub_es_valid;
stub_hw2reg.intr_state.es_entropy_valid.d = 1'b1;
Expand Down

0 comments on commit a21be27

Please sign in to comment.