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
| Name | Type | Default | Description |
|---|---|---|---|
NUM_REGIONS | int unsigned | 8 | Number of alias regions. |
DEBUG_OUTPUT | int unsigned | 0 | remap_debug_o is driven when 1 and tied to zero otherwise. |
ALIAS_REMAP_IDX_START | int unsigned | 12 | Lowest remapped address bit; register fields map from here up. |
AXI_ADDR_WIDTH | int unsigned | 64 | AXI address width. |
NUM_CHUNKS_CARRY_SELECT_ADDER | int unsigned | 2 | Carry-select adder chunk count. |
Ports
| Name | Direction | Type | Description |
|---|---|---|---|
reg_ctrl_i | input | alias_remap_reg_pkg::alias_remap__out_t | PeakRDL outs for each remap region. |
remap_debug_o | output | remap_debug_t | Lowest-numbered hit region index for AW and AR. |
axi_in_req_i | input | axi_req_t | Pre-remap AXI request. |
axi_in_resp_o | output | axi_resp_t | Pre-remap AXI response. |
axi_out_req_o | output | axi_req_t | Post-remap AXI request. |
axi_out_resp_i | input | axi_resp_t | Post-remap AXI response. |