Skip to content

Commit d29b192

Browse files
author
Shuntaro Tsunoda
committed
fix xbar_switch typo
1 parent 22a65e5 commit d29b192

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pzcorebus_xbar_switch/pzcorebus_request_xbar_switch.sv

+7-7
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ module pzcorebus_request_xbar_switch
6060
.DATA_DEPTH (DATA_DEPTH ),
6161
.SVA_CHECKER (SVA_CHECKER )
6262
) 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])
6969
);
7070
end
7171

@@ -99,7 +99,7 @@ module pzcorebus_request_xbar_switch
9999
.i_arbiter_config (i_arbiter_config ),
100100
.o_response_select (),
101101
.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]),
103103
.master_if (master_if[i] )
104104
);
105105
end

pzcorebus_xbar_switch/pzcorebus_response_xbar_switch.sv

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module pzcorebus_response_xbar_switch
2929
input var i_rst_n,
3030
input var pzbcm_arbiter_config i_arbiter_config,
3131
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,
3333
interface.response_slave slave_if[SLAVES],
3434
interface.response_master master_if[MASTERS]
3535
);

0 commit comments

Comments
 (0)