File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ module pzcorebus_request_xbar_switch
60
60
.DATA_DEPTH (DATA_DEPTH ),
61
61
.SVA_CHECKER (SVA_CHECKER )
62
62
) u_switch (
63
- .i_clk (i_clk ),
64
- .i_rst_n (i_rst_n ),
65
- .o_mcmd (o_mcmd[i] ),
66
- .i_select (i_select[i] ),
67
- .slave_if (slave_if[i] ),
68
- .master_if (master_if [MASTERS * i: MASTERS * (i+ 1 )- 1 ] )
63
+ .i_clk (i_clk ),
64
+ .i_rst_n (i_rst_n ),
65
+ .o_mcmd (o_mcmd[i] ),
66
+ .i_select (i_select[i] ),
67
+ .slave_if (slave_if[i] ),
68
+ .master_if (slave_switch_if [MASTERS * i: MASTERS * (i+ 1 )- 1 ])
69
69
);
70
70
end
71
71
@@ -99,7 +99,7 @@ module pzcorebus_request_xbar_switch
99
99
.i_arbiter_config (i_arbiter_config ),
100
100
.o_response_select (),
101
101
.i_response_ack ('0 ),
102
- .slave_if (master_switch_if[SLAVES : SLAVES * (i+ 1 )- 1 ] ),
102
+ .slave_if (master_switch_if[SLAVES * i : SLAVES * (i+ 1 )- 1 ]),
103
103
.master_if (master_if[i] )
104
104
);
105
105
end
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module pzcorebus_response_xbar_switch
29
29
input var i_rst_n,
30
30
input var pzbcm_arbiter_config i_arbiter_config,
31
31
output var [MASTERS - 1 : 0 ][BUS_CONFIG .id_width- 1 : 0 ] o_sid,
32
- output var [MASTERS - 1 : 0 ][SELECT_WIDTH - 1 : 0 ] i_select,
32
+ input var [MASTERS - 1 : 0 ][SELECT_WIDTH - 1 : 0 ] i_select,
33
33
interface.response_slave slave_if[SLAVES ],
34
34
interface.response_master master_if[MASTERS ]
35
35
);
You can’t perform that action at this time.
0 commit comments