prim_axi_id_prepend_wrap

Zero-extend AW and AR IDs from AXI_IN_ID_WIDTH to AXI_OUT_ID_WIDTH on struct AXI ports.

Truncate response IDs back to the upstream width. Pass every non-ID channel field through unchanged; the module is purely combinational. AXI_OUT_ID_WIDTH must be at least AXI_IN_ID_WIDTH, checked by a simulation assertion at time zero.

Parameters

Table 1. Parameters
NameTypeDefaultDescription
AXI_IN_ID_WIDTHint unsigned6Upstream AXI ID width.
AXI_OUT_ID_WIDTHint unsigned8Downstream AXI ID width after prepend.
AXI_DATA_WIDTHint unsigned32Data-channel width of both ports; declared but not used.
AXI_ADDR_WIDTHint unsigned32Address width of both ports; declared but not used.
AXI_USER_WIDTHint unsigned8User-signal width of both ports; declared but not used.

Ports

Table 2. Ports
NameDirectionTypeDescription
axi_in_req_iinputaxi_in_req_tUpstream AXI request.
axi_in_resp_ooutputaxi_in_resp_tUpstream AXI response.
axi_out_req_ooutputaxi_out_req_tDownstream AXI request with wider IDs.
axi_out_resp_iinputaxi_out_resp_tDownstream AXI response.