Entity: entropy_src_reg_top

Diagram

clk_i rst_ni tl_i hw2reg devmode_i tl_o reg2hw intg_err_o

Description

Copyright lowRISC contributors. Licensed under the Apache License, Version 2.0, see LICENSE for details. SPDX-License-Identifier: Apache-2.0

Register Top module auto-generated by reggen

Ports

Port name Direction Type Description
clk_i input
rst_ni input
tl_i input
tl_o output
reg2hw output Write
hw2reg input Read
intg_err_o output Integrity check errors
devmode_i input If 1, explicit error return for unmapped register access

Signals

Name Type Description
reg_we logic register signals
reg_re logic
reg_addr logic [AW-1:0]
reg_wdata logic [DW-1:0]
reg_be logic [DBW-1:0]
reg_rdata logic [DW-1:0]
reg_error logic
addrmiss logic
wr_err logic
reg_rdata_next logic [DW-1:0]
reg_busy logic
tl_reg_h2d tlul_pkg::tl_h2d_t
tl_reg_d2h tlul_pkg::tl_d2h_t
intg_err logic incoming payload check
intg_err_q logic
tl_o_pre tlul_pkg::tl_d2h_t outgoing integrity generation
intr_state_we logic Define SW related signals Format: {wd
intr_state_es_entropy_valid_qs logic
intr_state_es_entropy_valid_wd logic
intr_state_es_health_test_failed_qs logic
intr_state_es_health_test_failed_wd logic
intr_state_es_observe_fifo_ready_qs logic
intr_state_es_observe_fifo_ready_wd logic
intr_state_es_fatal_err_qs logic
intr_state_es_fatal_err_wd logic
intr_enable_we logic
intr_enable_es_entropy_valid_qs logic
intr_enable_es_entropy_valid_wd logic
intr_enable_es_health_test_failed_qs logic
intr_enable_es_health_test_failed_wd logic
intr_enable_es_observe_fifo_ready_qs logic
intr_enable_es_observe_fifo_ready_wd logic
intr_enable_es_fatal_err_qs logic
intr_enable_es_fatal_err_wd logic
intr_test_we logic
intr_test_es_entropy_valid_wd logic
intr_test_es_health_test_failed_wd logic
intr_test_es_observe_fifo_ready_wd logic
intr_test_es_fatal_err_wd logic
alert_test_we logic
alert_test_recov_alert_wd logic
alert_test_fatal_alert_wd logic
regwen_re logic
regwen_qs logic
rev_abi_revision_qs logic [7:0]
rev_hw_revision_qs logic [7:0]
rev_chip_type_qs logic [7:0]
conf_we logic
conf_enable_qs logic [1:0]
conf_enable_wd logic [1:0]
conf_boot_bypass_disable_qs logic
conf_boot_bypass_disable_wd logic
conf_repcnt_disable_qs logic
conf_repcnt_disable_wd logic
conf_adaptp_disable_qs logic
conf_adaptp_disable_wd logic
conf_bucket_disable_qs logic
conf_bucket_disable_wd logic
conf_markov_disable_qs logic
conf_markov_disable_wd logic
conf_health_test_clr_qs logic
conf_health_test_clr_wd logic
conf_rng_bit_en_qs logic
conf_rng_bit_en_wd logic
conf_rng_bit_sel_qs logic [1:0]
conf_rng_bit_sel_wd logic [1:0]
conf_extht_enable_qs logic
conf_extht_enable_wd logic
conf_repcnts_disable_qs logic
conf_repcnts_disable_wd logic
rate_we logic
rate_qs logic [15:0]
rate_wd logic [15:0]
entropy_control_we logic
entropy_control_es_route_qs logic
entropy_control_es_route_wd logic
entropy_control_es_type_qs logic
entropy_control_es_type_wd logic
entropy_data_re logic
entropy_data_qs logic [31:0]
health_test_windows_we logic
health_test_windows_fips_window_qs logic [15:0]
health_test_windows_fips_window_wd logic [15:0]
health_test_windows_bypass_window_qs logic [15:0]
health_test_windows_bypass_window_wd logic [15:0]
repcnt_thresholds_re logic
repcnt_thresholds_we logic
repcnt_thresholds_fips_thresh_qs logic [15:0]
repcnt_thresholds_fips_thresh_wd logic [15:0]
repcnt_thresholds_bypass_thresh_qs logic [15:0]
repcnt_thresholds_bypass_thresh_wd logic [15:0]
repcnts_thresholds_re logic
repcnts_thresholds_we logic
repcnts_thresholds_fips_thresh_qs logic [15:0]
repcnts_thresholds_fips_thresh_wd logic [15:0]
repcnts_thresholds_bypass_thresh_qs logic [15:0]
repcnts_thresholds_bypass_thresh_wd logic [15:0]
adaptp_hi_thresholds_re logic
adaptp_hi_thresholds_we logic
adaptp_hi_thresholds_fips_thresh_qs logic [15:0]
adaptp_hi_thresholds_fips_thresh_wd logic [15:0]
adaptp_hi_thresholds_bypass_thresh_qs logic [15:0]
adaptp_hi_thresholds_bypass_thresh_wd logic [15:0]
adaptp_lo_thresholds_re logic
adaptp_lo_thresholds_we logic
adaptp_lo_thresholds_fips_thresh_qs logic [15:0]
adaptp_lo_thresholds_fips_thresh_wd logic [15:0]
adaptp_lo_thresholds_bypass_thresh_qs logic [15:0]
adaptp_lo_thresholds_bypass_thresh_wd logic [15:0]
bucket_thresholds_re logic
bucket_thresholds_we logic
bucket_thresholds_fips_thresh_qs logic [15:0]
bucket_thresholds_fips_thresh_wd logic [15:0]
bucket_thresholds_bypass_thresh_qs logic [15:0]
bucket_thresholds_bypass_thresh_wd logic [15:0]
markov_hi_thresholds_re logic
markov_hi_thresholds_we logic
markov_hi_thresholds_fips_thresh_qs logic [15:0]
markov_hi_thresholds_fips_thresh_wd logic [15:0]
markov_hi_thresholds_bypass_thresh_qs logic [15:0]
markov_hi_thresholds_bypass_thresh_wd logic [15:0]
markov_lo_thresholds_re logic
markov_lo_thresholds_we logic
markov_lo_thresholds_fips_thresh_qs logic [15:0]
markov_lo_thresholds_fips_thresh_wd logic [15:0]
markov_lo_thresholds_bypass_thresh_qs logic [15:0]
markov_lo_thresholds_bypass_thresh_wd logic [15:0]
extht_hi_thresholds_re logic
extht_hi_thresholds_we logic
extht_hi_thresholds_fips_thresh_qs logic [15:0]
extht_hi_thresholds_fips_thresh_wd logic [15:0]
extht_hi_thresholds_bypass_thresh_qs logic [15:0]
extht_hi_thresholds_bypass_thresh_wd logic [15:0]
extht_lo_thresholds_re logic
extht_lo_thresholds_we logic
extht_lo_thresholds_fips_thresh_qs logic [15:0]
extht_lo_thresholds_fips_thresh_wd logic [15:0]
extht_lo_thresholds_bypass_thresh_qs logic [15:0]
extht_lo_thresholds_bypass_thresh_wd logic [15:0]
repcnt_hi_watermarks_re logic
repcnt_hi_watermarks_fips_watermark_qs logic [15:0]
repcnt_hi_watermarks_bypass_watermark_qs logic [15:0]
repcnts_hi_watermarks_re logic
repcnts_hi_watermarks_fips_watermark_qs logic [15:0]
repcnts_hi_watermarks_bypass_watermark_qs logic [15:0]
adaptp_hi_watermarks_re logic
adaptp_hi_watermarks_fips_watermark_qs logic [15:0]
adaptp_hi_watermarks_bypass_watermark_qs logic [15:0]
adaptp_lo_watermarks_re logic
adaptp_lo_watermarks_fips_watermark_qs logic [15:0]
adaptp_lo_watermarks_bypass_watermark_qs logic [15:0]
extht_hi_watermarks_re logic
extht_hi_watermarks_fips_watermark_qs logic [15:0]
extht_hi_watermarks_bypass_watermark_qs logic [15:0]
extht_lo_watermarks_re logic
extht_lo_watermarks_fips_watermark_qs logic [15:0]
extht_lo_watermarks_bypass_watermark_qs logic [15:0]
bucket_hi_watermarks_re logic
bucket_hi_watermarks_fips_watermark_qs logic [15:0]
bucket_hi_watermarks_bypass_watermark_qs logic [15:0]
markov_hi_watermarks_re logic
markov_hi_watermarks_fips_watermark_qs logic [15:0]
markov_hi_watermarks_bypass_watermark_qs logic [15:0]
markov_lo_watermarks_re logic
markov_lo_watermarks_fips_watermark_qs logic [15:0]
markov_lo_watermarks_bypass_watermark_qs logic [15:0]
repcnt_total_fails_re logic
repcnt_total_fails_qs logic [31:0]
repcnts_total_fails_re logic
repcnts_total_fails_qs logic [31:0]
adaptp_hi_total_fails_re logic
adaptp_hi_total_fails_qs logic [31:0]
adaptp_lo_total_fails_re logic
adaptp_lo_total_fails_qs logic [31:0]
bucket_total_fails_re logic
bucket_total_fails_qs logic [31:0]
markov_hi_total_fails_re logic
markov_hi_total_fails_qs logic [31:0]
markov_lo_total_fails_re logic
markov_lo_total_fails_qs logic [31:0]
extht_hi_total_fails_re logic
extht_hi_total_fails_qs logic [31:0]
extht_lo_total_fails_re logic
extht_lo_total_fails_qs logic [31:0]
alert_threshold_we logic
alert_threshold_alert_threshold_qs logic [15:0]
alert_threshold_alert_threshold_wd logic [15:0]
alert_threshold_alert_threshold_inv_qs logic [15:0]
alert_threshold_alert_threshold_inv_wd logic [15:0]
alert_summary_fail_counts_re logic
alert_summary_fail_counts_qs logic [15:0]
alert_fail_counts_re logic
alert_fail_counts_repcnt_fail_count_qs logic [3:0]
alert_fail_counts_adaptp_hi_fail_count_qs logic [3:0]
alert_fail_counts_adaptp_lo_fail_count_qs logic [3:0]
alert_fail_counts_bucket_fail_count_qs logic [3:0]
alert_fail_counts_markov_hi_fail_count_qs logic [3:0]
alert_fail_counts_markov_lo_fail_count_qs logic [3:0]
alert_fail_counts_repcnts_fail_count_qs logic [3:0]
extht_fail_counts_re logic
extht_fail_counts_extht_hi_fail_count_qs logic [3:0]
extht_fail_counts_extht_lo_fail_count_qs logic [3:0]
fw_ov_control_we logic
fw_ov_control_fw_ov_mode_qs logic
fw_ov_control_fw_ov_mode_wd logic
fw_ov_control_fw_ov_entropy_insert_qs logic
fw_ov_control_fw_ov_entropy_insert_wd logic
fw_ov_rd_data_re logic
fw_ov_rd_data_qs logic [31:0]
fw_ov_wr_data_we logic
fw_ov_wr_data_wd logic [31:0]
observe_fifo_thresh_we logic
observe_fifo_thresh_qs logic [6:0]
observe_fifo_thresh_wd logic [6:0]
debug_status_re logic
debug_status_entropy_fifo_depth_qs logic [2:0]
debug_status_sha3_fsm_qs logic [2:0]
debug_status_sha3_block_pr_qs logic
debug_status_sha3_squeezing_qs logic
debug_status_sha3_absorbed_qs logic
debug_status_sha3_err_qs logic
debug_status_main_sm_idle_qs logic
debug_status_main_sm_state_qs logic [7:0]
seed_we logic
seed_qs logic [3:0]
seed_wd logic [3:0]
recov_alert_sts_we logic
recov_alert_sts_es_main_sm_alert_qs logic
recov_alert_sts_es_main_sm_alert_wd logic
recov_alert_sts_es_bus_cmp_alert_qs logic
recov_alert_sts_es_bus_cmp_alert_wd logic
err_code_sfifo_esrng_err_qs logic
err_code_sfifo_observe_err_qs logic
err_code_sfifo_esfinal_err_qs logic
err_code_es_ack_sm_err_qs logic
err_code_es_main_sm_err_qs logic
err_code_fifo_write_err_qs logic
err_code_fifo_read_err_qs logic
err_code_fifo_state_err_qs logic
err_code_test_we logic
err_code_test_qs logic [4:0]
err_code_test_wd logic [4:0]
addr_hit logic [50:0]
shadow_busy logic shadow busy
reg_busy_sel logic register busy
unused_wdata logic Unused signal tieoff wdata / byte enable are not always fully used add a blanket unused statement to handle lint waivers
unused_be logic

Constants

Name Type Value Description
AW int 8
DW int 32
DBW int DW/8 Byte Width

Processes

Type: always_ff

Type: always_comb

Type: always_comb

Description
Check sub-word write is permitted

Type: always_comb

Description
Read data return

Type: always_comb

Instantiations

Description
Register instances
R[intr_state]: V(False)
F[es_entropy_valid]: 0:0

Description
F[es_health_test_failed]: 1:1

Description
F[es_observe_fifo_ready]: 2:2

Description
F[es_fatal_err]: 3:3

Description
R[intr_enable]: V(False)
F[es_entropy_valid]: 0:0

Description
F[es_health_test_failed]: 1:1

Description
F[es_observe_fifo_ready]: 2:2

Description
F[es_fatal_err]: 3:3

Description
R[intr_test]: V(True)
F[es_entropy_valid]: 0:0

Description
F[es_health_test_failed]: 1:1

Description
F[es_observe_fifo_ready]: 2:2

Description
F[es_fatal_err]: 3:3

Description
R[alert_test]: V(True)
F[recov_alert]: 0:0

Description
F[fatal_alert]: 1:1

Description
R[regwen]: V(True)

Description
R[conf]: V(False)
F[enable]: 1:0

Description
F[boot_bypass_disable]: 3:3

Description
F[repcnt_disable]: 4:4

Description
F[adaptp_disable]: 5:5

Description
F[bucket_disable]: 6:6

Description
F[markov_disable]: 7:7

Description
F[health_test_clr]: 8:8

Description
F[rng_bit_en]: 9:9

Description
F[rng_bit_sel]: 11:10

Description
F[extht_enable]: 12:12

Description
F[repcnts_disable]: 13:13

Description
R[rate]: V(False)

Description
R[entropy_control]: V(False)
F[es_route]: 0:0

Description
F[es_type]: 1:1

Description
R[entropy_data]: V(True)

Description
R[health_test_windows]: V(False)
F[fips_window]: 15:0

Description
F[bypass_window]: 31:16

Description
R[repcnt_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[repcnts_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[adaptp_hi_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[adaptp_lo_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[bucket_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[markov_hi_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[markov_lo_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[extht_hi_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[extht_lo_thresholds]: V(True)
F[fips_thresh]: 15:0

Description
F[bypass_thresh]: 31:16

Description
R[repcnt_hi_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[repcnts_hi_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[adaptp_hi_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[adaptp_lo_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[extht_hi_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[extht_lo_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[bucket_hi_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[markov_hi_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[markov_lo_watermarks]: V(True)
F[fips_watermark]: 15:0

Description
F[bypass_watermark]: 31:16

Description
R[repcnt_total_fails]: V(True)

Description
R[repcnts_total_fails]: V(True)

Description
R[adaptp_hi_total_fails]: V(True)

Description
R[adaptp_lo_total_fails]: V(True)

Description
R[bucket_total_fails]: V(True)

Description
R[markov_hi_total_fails]: V(True)

Description
R[markov_lo_total_fails]: V(True)

Description
R[extht_hi_total_fails]: V(True)

Description
R[extht_lo_total_fails]: V(True)

Description
R[alert_threshold]: V(False)
F[alert_threshold]: 15:0

Description
F[alert_threshold_inv]: 31:16

Description
R[alert_summary_fail_counts]: V(True)

Description
R[alert_fail_counts]: V(True)
F[repcnt_fail_count]: 7:4

Description
F[adaptp_hi_fail_count]: 11:8

Description
F[adaptp_lo_fail_count]: 15:12

Description
F[bucket_fail_count]: 19:16

Description
F[markov_hi_fail_count]: 23:20

Description
F[markov_lo_fail_count]: 27:24

Description
F[repcnts_fail_count]: 31:28

Description
R[extht_fail_counts]: V(True)
F[extht_hi_fail_count]: 3:0

Description
F[extht_lo_fail_count]: 7:4

Description
R[fw_ov_control]: V(False)
F[fw_ov_mode]: 0:0

Description
F[fw_ov_entropy_insert]: 1:1

Description
R[fw_ov_rd_data]: V(True)

Description
R[fw_ov_wr_data]: V(True)

Description
R[observe_fifo_thresh]: V(False)

Description
R[debug_status]: V(True)
F[entropy_fifo_depth]: 2:0

Description
F[sha3_fsm]: 5:3

Description
F[sha3_block_pr]: 6:6

Description
F[sha3_squeezing]: 7:7

Description
F[sha3_absorbed]: 8:8

Description
F[sha3_err]: 9:9

Description
F[main_sm_idle]: 16:16

Description
F[main_sm_state]: 31:24

Description
R[seed]: V(False)

Description
R[recov_alert_sts]: V(False)
F[es_main_sm_alert]: 12:12

Description
F[es_bus_cmp_alert]: 13:13

Description
R[err_code]: V(False)
F[sfifo_esrng_err]: 0:0

Description
F[sfifo_observe_err]: 1:1

Description
F[sfifo_esfinal_err]: 2:2

Description
F[es_ack_sm_err]: 20:20

Description
F[es_main_sm_err]: 21:21

Description
F[fifo_write_err]: 28:28

Description
F[fifo_read_err]: 29:29

Description
F[fifo_state_err]: 30:30

Description
R[err_code_test]: V(False)