smc_reset_unit_pkg

Declare types and helpers for the SMC reset unit.

Defines reset_ctrl_t, the per-subsystem cold and warm resets, hold qualifiers and force-to-reference-clock select. Also declares a select_e enumeration of the reset-unit and FLR register maps and a max() helper; the SMC RTL references neither.

reset_ctrl_t

////////////////

Packed struct

Table 1. reset_ctrl_t
FieldTypeDescription
force_to_ref_clk_nlogic
cold_reset_nlogic
warm_reset_nlogic
config_state_holdlogic
critical_signal_holdlogic
sram_holdlogic
debug_holdlogic

select_e

Enum (logic [NumRegMaps-1:0])

Table 2. select_e
ValueNumberDescription
RESET_UNIT2'd0
FLR2'd1

max

Function returning int unsigned

Table 3. max
NameDirectionTypeDescription
ainputint unsigned
binputint unsigned