axi_alias_remap_wrap

Pack PeakRDL register outs into remap_region_t and drive axi_alias_remap.

Converts the generated register outputs to the remap_table format expected by axi_alias_remap, placing the start, end and offset fields at bit ALIAS_REMAP_IDX_START and tying the bits below it to zero. reg_ctrl_i is one generated out-struct per region; AXI and debug ports pass through to the remapper.

Parameters

Table 1. Parameters
NameTypeDefaultDescription
NUM_REGIONSint unsigned8Number of alias regions.
DEBUG_OUTPUTint unsigned0remap_debug_o is driven when 1 and tied to zero otherwise.
ALIAS_REMAP_IDX_STARTint unsigned12Lowest remapped address bit; register fields map from here up.
AXI_ADDR_WIDTHint unsigned64AXI address width.
NUM_CHUNKS_CARRY_SELECT_ADDERint unsigned2Carry-select adder chunk count.

Ports

Table 2. Ports
NameDirectionTypeDescription
reg_ctrl_iinputalias_remap_reg_pkg::alias_remap__out_tPeakRDL outs for each remap region.
remap_debug_ooutputremap_debug_tLowest-numbered hit region index for AW and AR.
axi_in_req_iinputaxi_req_tPre-remap AXI request.
axi_in_resp_ooutputaxi_resp_tPre-remap AXI response.
axi_out_req_ooutputaxi_req_tPost-remap AXI request.
axi_out_resp_iinputaxi_resp_tPost-remap AXI response.