prim_axi_addr_fixer

Widen or truncate AXI AW and AR addresses between two struct interfaces.

Pass every other AXI channel field through unchanged. INPUT_ADDR_W and OUTPUT_ADDR_W set whether the path zero-pads the upper address bits or drops them. The module is purely combinational.

Parameters

Table 1. Parameters
NameTypeDefaultDescription
INPUT_ADDR_Wint unsigned64Address width on the input AXI side.
OUTPUT_ADDR_Wint unsigned64Address width on the output AXI side.

Ports

Table 2. Ports
NameDirectionTypeDescription
axi_in_req_iinputinput_axi_req_tUpstream AXI request.
axi_in_resp_ooutputinput_axi_resp_tUpstream AXI response.
axi_out_req_ooutputoutput_axi_req_tDownstream AXI request with fixed address.
axi_out_resp_iinputoutput_axi_resp_tDownstream AXI response.