fixed ID concatenation
This commit is contained in:
parent
c660af5df0
commit
8bd0e57738
@ -54,7 +54,7 @@ begin
|
||||
masters_in(i).arready <= '0';
|
||||
-- Write request to slave
|
||||
slaves_in(slave_idx(i)).araddr <= masters_out(i).araddr;
|
||||
slaves_in(slave_idx(i)).arid <= std_logic_vector(to_unsigned(i, WID_SLAVE_BITS - WID_MASTER_BITS - 1)) & masters_out(i).arid;
|
||||
slaves_in(slave_idx(i)).arid <= std_logic_vector(to_unsigned(i, WID_SLAVE_BITS - WID_MASTER_BITS)) & masters_out(i).arid;
|
||||
slaves_in(slave_idx(i)).arburst <= masters_out(i).arburst;
|
||||
slaves_in(slave_idx(i)).arcache <= masters_out(i).arcache;
|
||||
slaves_in(slave_idx(i)).arlen <= masters_out(i).arlen;
|
||||
|
@ -69,7 +69,7 @@ begin
|
||||
awready_s(i) <= '0';
|
||||
-- output request to slave
|
||||
slaves_in(slave_idx).awaddr <= masters_out(i).awaddr;
|
||||
slaves_in(slave_idx).awid <= std_logic_vector(to_unsigned(i, WID_SLAVE_BITS - WID_MASTER_BITS - 1)) & masters_out(i).awid;
|
||||
slaves_in(slave_idx).awid <= std_logic_vector(to_unsigned(i, WID_SLAVE_BITS - WID_MASTER_BITS)) & masters_out(i).awid;
|
||||
slaves_in(slave_idx).awburst <= masters_out(i).awburst;
|
||||
slaves_in(slave_idx).awcache <= masters_out(i).awcache;
|
||||
slaves_in(slave_idx).awlen <= masters_out(i).awlen;
|
||||
|
Loading…
Reference in New Issue
Block a user