Skip to content

Commit d7c2406

Browse files
committed
[WIP] Fix xbar routing
For some reasons to be fully grasped, the AXI xbar generates ports with different endianness than the connection we, i.e., we connect the first xbar output ([0]) to tcdm, but in turns out the port carrying the information is [2]
1 parent 91c67fe commit d7c2406

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rtl/cluster_bus_wrap.sv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ module cluster_bus_wrap
101101
master_resp_t [NB_MASTER-1:0] axi_master_resps;
102102

103103
// assign here your axi masters
104-
`AXI_ASSIGN_REQ_STRUCT(tcdm_master_req_o, axi_master_reqs[0])
105-
`AXI_ASSIGN_RESP_STRUCT(axi_master_resps[0], tcdm_master_resp_i)
104+
`AXI_ASSIGN_REQ_STRUCT(tcdm_master_req_o, axi_master_reqs[2])
105+
`AXI_ASSIGN_RESP_STRUCT(axi_master_resps[2], tcdm_master_resp_i)
106106
`AXI_ASSIGN_REQ_STRUCT(periph_master_req_o, axi_master_reqs[1])
107107
`AXI_ASSIGN_RESP_STRUCT(axi_master_resps[1], periph_master_resp_i)
108-
`AXI_ASSIGN_REQ_STRUCT(ext_master_req_o, axi_master_reqs[2])
109-
`AXI_ASSIGN_RESP_STRUCT(axi_master_resps[2], ext_master_resp_i)
108+
`AXI_ASSIGN_REQ_STRUCT(ext_master_req_o, axi_master_reqs[0])
109+
`AXI_ASSIGN_RESP_STRUCT(axi_master_resps[0], ext_master_resp_i)
110110

111111
// Address Map Rule
112112
typedef struct packed {

0 commit comments

Comments
 (0)