sep_system_csr

Publish SEP system CSRs for remap, filters, straps, and bridge-fault status.

Exposes alias and output remap register hwifs, inbound and outbound filter ctrl/status, aperture address/size outputs, NMI vector, external TRNG source select, Key Manager wipe, and DMA/peripheral bus-error status/clear.

An AXI-Lite demux decodes the local-master alias remap, AP and STEE output remap, outbound and inbound filter, sep_cpu_ctrl, and cold and warm scratch windows; any other address reaches a DECERR slave. The cold scratch registers reset on rst_ni and the warm ones on rst_warm_ni; everything else resets on rst_ni. REFERENCE_COUNTER counts clk_ref_i and is read through a CDC into clk_i; a software write loads it.

Ports

Table 1. Ports
NameDirectionTypeDescription
clk_iinputlogicSystem clock.
clk_ref_iinputlogicFree-running reference clock for REFERENCE_COUNTER.
rst_niinputlogicActive-low reset.
rst_warm_niinputlogicActive-low warm reset of the warm scratch registers only.
test_en_iinputlogicDFT test-enable (scan-enable) to the AXI-Lite demuxes.
scan_rst_niinputlogicDFT scan reset, active-low; unused.
sep_system_csr_axil_req_iinputsep_pkg::sep_system_peripherals_system_csr_axi_lite_req_tAXI-Lite request from sep_system_peripherals_xbar, with absolute addresses.
sep_system_csr_axil_resp_ooutputsep_pkg::sep_system_peripherals_system_csr_axi_lite_resp_tAXI-Lite response to sep_system_peripherals_xbar.
local_masters_alias_remap_reg_ctrl_ooutputalias_remap_reg_pkg::alias_remap__out_tPer-region alias-remap register outputs for local-master requests.
ap_output_remap_reg_ctrl_ooutputoutput_remap_reg_pkg::output_remap__out_tPer-region output-remap register outputs for the AP region window.
stee_output_remap_reg_ctrl_ooutputoutput_remap_reg_pkg::output_remap__out_tPer-region output-remap register outputs for the STEE region window.
outbound_filter_ctrl_ooutputfilter_ctrl_reg_pkg::filter_ctrl__out_tPer-filter control register outputs for the outbound (SEP to SMN) AXI filter.
outbound_filter_status_iinputfilter_ctrl_reg_pkg::filter_ctrl__in_tPer-filter status written back by the outbound AXI filter.
inbound_filter_ctrl_ooutputfilter_ctrl_reg_pkg::filter_ctrl__out_tPer-filter control register outputs for the inbound (SMN to SEP) AXI filter.
inbound_filter_status_iinputfilter_ctrl_reg_pkg::filter_ctrl__in_tPer-filter status written back by the inbound AXI filter.
sep_global_base_addr_ooutputlogic [55:0]SEP_GLOBAL_BASE_ADDR register value: base of the SEP aperture in the global address map.
sep_local_base_addr_ooutputlogic [55:0]SEP_LOCAL_BASE_ADDR register value: base of the SEP local alias window.
sep_region_size_ooutputlogic [55:0]SEP_REGION_SIZE register value, zero-extended: size of the SEP aperture in bytes.
smu_global_base_addr_ooutputlogic [55:0]SMU_GLOBAL_BASE_ADDR register value: base of the SMU aperture in the global address map.
smu_region_size_ooutputlogic [55:0]SMU_REGION_SIZE register value, zero-extended: size of the SMU aperture in bytes.
smc_fuse_sense_done_iinputlogicSMC fuse sense completion, reflected in SMC_FUSE_SENSE_STATUS; requests to the SMC hang while it is low.
sep_fuse_sense_done_iinputlogicSEP fuse sense completion, reflected in SEP_FUSE_SENSE_STATUS.
nmi_vec_ooutputlogic [31:1]SEP_NMI_VEC register value: the address the CPU jumps to on a non-maskable interrupt. Writable only while SEP_NMI_VEC_LOCK.lock is 0.
ext_trng_src_sel_ooutputlogic [2:0]EXT_TRNG_SRC_SEL register value: bit i selects external TRNG (1) or internal DRBG (0) for stream i. Writable only while EXT_TRNG_SRC_SEL_LOCK.lock is 0.
km_wipe_state_ooutputlogicKM_WIPE_CTRL.wipe_state register value; a rising edge wipes the Key Manager.
dma_reg_bus_err_iinputlogicSecure DMA register-path fault, reflected in DMA_BUS_ERR_STATUS.reg_path_err.
dma_host_intg_err_iinputlogicDMA-master-path fault, latched into DMA_BUS_ERR_STATUS.host_path_err.
dma_err_clr_ooutputlogicSingle-cycle clear pulse from DMA_BUS_ERR_CLEAR to both DMA bridge-fault latches.
periph_bus_err_iinputlogic [sep_pkg::NUM_PERIPH_BUS_ERRS-1:0]Per-block peripheral register-bridge faults, reflected in PERIPH_BUS_ERR_STATUS, in sep_pkg::periph_bus_err_e bit order.
periph_bus_err_clr_ooutputlogic [sep_pkg::NUM_PERIPH_BUS_ERRS-1:0]Per-block single-cycle clear pulses from PERIPH_BUS_ERR_CLEAR, in sep_pkg::periph_bus_err_e bit order.