km_axi_lite_xbar

Route Key Manager CPU AXI4-Lite transactions by address to the ten KM peripheral ports.

Address rules use the Key Manager interface constants defined in km_intf_pkg. Routes to KPV, KMCSR, DRBG sampler, mailbox, OTBN, AES, KMAC, HMAC, Adams Bridge, and the OTP/eFuse pass-through at index 8. Uses the PULP axi_lite_xbar in zero-latency mode. OTP addresses leave this block unchanged; key_manager filters them to the eFuse register maps and remaps them before driving efuse_req_o. An address outside every rule is answered with DECERR by the xbar. The channel type parameters must match the req/resp types.

Ports

Table 1. Ports
NameDirectionTypeDescription
clk_iinputlogicSystem clock.
rst_niinputlogicActive-low asynchronous reset; the warm reset in key_manager.
test_iinputlogicDFT test mode for the PULP xbar.
slv_req_iinputaxil_req_tSlave port request from the KM CPU.
slv_resp_ooutputaxil_resp_tSlave port response to the KM CPU.
kpv_req_ooutputaxil_req_tInternal peripheral master port request to KPV.
kpv_resp_iinputaxil_resp_tMaster port response from KPV.
kmcsr_req_ooutputaxil_req_tInternal peripheral master port request to KMCSR.
kmcsr_resp_iinputaxil_resp_tMaster port response from KMCSR.
drbg_req_ooutputaxil_req_tInternal peripheral master port request to the DRBG sampler.
drbg_resp_iinputaxil_resp_tMaster port response from the DRBG sampler.
mbox_req_ooutputaxil_req_tInternal peripheral master port request to the mailbox.
mbox_resp_iinputaxil_resp_tMaster port response from the mailbox.
otbn_req_ooutputaxil_req_tExternal crypto engine master port request to OTBN.
otbn_resp_iinputaxil_resp_tMaster port response from OTBN.
aes_req_ooutputaxil_req_tExternal crypto engine master port request to AES.
aes_resp_iinputaxil_resp_tMaster port response from AES.
kmac_req_ooutputaxil_req_tExternal crypto engine master port request to KMAC.
kmac_resp_iinputaxil_resp_tMaster port response from KMAC.
hmac_req_ooutputaxil_req_tExternal crypto engine master port request to HMAC.
hmac_resp_iinputaxil_resp_tMaster port response from HMAC.
abr_req_ooutputaxil_req_tExternal crypto engine master port request to Adams Bridge.
abr_resp_iinputaxil_resp_tMaster port response from Adams Bridge.
otp_req_ooutputaxil_req_tOTP/eFuse pass-through port request (index 8, OtpBaseAddr-OtpEndAddr). Addresses are forwarded unchanged; key_manager.sv refuses offsets outside the eFuse register maps and applies the OTP_EFUSE_REMAP_BASE remap before driving efuse_req_o.
otp_resp_iinputaxil_resp_tOTP/eFuse pass-through port response.