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
| Field | Type | Description |
|---|---|---|
force_to_ref_clk_n | logic | |
cold_reset_n | logic | |
warm_reset_n | logic | |
config_state_hold | logic | |
critical_signal_hold | logic | |
sram_hold | logic | |
debug_hold | logic |
select_e
Enum (logic [NumRegMaps-1:0])
| Value | Number | Description |
|---|---|---|
RESET_UNIT | 2'd0 | |
FLR | 2'd1 |
max
Function returning int unsigned
| Name | Direction | Type | Description |
|---|---|---|---|
a | input | int unsigned | |
b | input | int unsigned |