smc_misc_pkg

Declare register-map select types for the SMC miscellaneous block.

Enumerates the misc register targets the misc wrapper demultiplexes: cold scratch, cold-and-warm scratch, chip_config, NDM reset and the error slave. Exposes NumRegMaps for address decode in smc_misc_wrap; the max() helper is unused by the SMC RTL.

select_e

Enum (logic [$clog2( NumRegMaps )-1:0])

Table 1. select_e
ValueNumberDescription
SCRATCH_COLD3'b000
SCRATCH_COLD_WARM3'b001
CHIP_CONFIG3'b010
NDM_RESET3'b011
ERR_SLV3'b100

max

Function returning int unsigned

Table 2. max
NameDirectionTypeDescription
ainputint unsigned
binputint unsigned