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
| Field | Type | Description |
|---|---|---|
health_test_failed | logic | |health_status (Rep/APT/Markov). |
fifo_error | logic | entropy_fifo.security_alert_o. |
fifo_overflow | logic | entropy_fifo.overflow_o. |
fifo_underflow | logic | entropy_fifo.underflow_o. |
biw_obs_overflow | logic | u_biw_obs_fifo.overflow_o (diagnostic tap drop). |
noise_obs_overflow | logic | u_noise_obs_fifo.overflow_o (raw-collection gap). |
es_cntr_err | logic | counter-fault escalation -> local_escalate_i. |
main_sm_alert | logic | entropy_src_main_sm.main_sm_alert_o (AlertHang). |
main_sm_err | logic | entropy_src_main_sm.main_sm_err_o. |
persistent_failure | logic | alert_thresh_fail fired -> main_sm locked. |
autotune_fail | logic | auto-detune retune fired on a HT failure. |