entropy_source_pkg

Define entropy-source register widths, type aliases, lane count, and the error aggregation bus.

RegAddrWidth/RegDataWidth/RegStrbWidth and reg_addr_t/reg_data_t/reg_strb_t serve register access; NRings is the generator-lane count. entropy_source_err_bus_t collects every error and fault that drives INTR_STATUS sticky bits; irq_o is the single OR of those bits masked by INTR_ENABLE.

reg_addr_t

Alias for logic [RegAddrWidth-1:0]

reg_data_t

Alias for logic [RegDataWidth-1:0]

reg_strb_t

Alias for logic [RegStrbWidth-1:0]

entropy_source_err_bus_t

------------------------------------------------------------------------

Packed struct

Table 1. entropy_source_err_bus_t
FieldTypeDescription
health_test_failedlogic|health_status (Rep/APT/Markov).
fifo_errorlogicentropy_fifo.security_alert_o.
fifo_overflowlogicentropy_fifo.overflow_o.
fifo_underflowlogicentropy_fifo.underflow_o.
biw_obs_overflowlogicu_biw_obs_fifo.overflow_o (diagnostic tap drop).
noise_obs_overflowlogicu_noise_obs_fifo.overflow_o (raw-collection gap).
es_cntr_errlogiccounter-fault escalation -> local_escalate_i.
main_sm_alertlogicentropy_src_main_sm.main_sm_alert_o (AlertHang).
main_sm_errlogicentropy_src_main_sm.main_sm_err_o.
persistent_failurelogicalert_thresh_fail fired -> main_sm locked.
autotune_faillogicauto-detune retune fired on a HT failure.