Added address masking to crossbar switch
This commit is contained in:
parent
20387479c0
commit
3fffa6efe3
@ -174,7 +174,8 @@ architecture rtl of crossbar is
|
|||||||
DAT => acc.DAT or (slave_i(master).DAT and granted_data));
|
DAT => acc.DAT or (slave_i(master).DAT and granted_data));
|
||||||
end loop;
|
end loop;
|
||||||
-- acc.ADR := std_logic_vector(unsigned(acc.ADR) - unsigned(address(slave))); -- Address translation
|
-- acc.ADR := std_logic_vector(unsigned(acc.ADR) - unsigned(address(slave))); -- Address translation
|
||||||
o <= acc;
|
acc.ADR := acc.ADR and not mask(slave); -- Address masking
|
||||||
|
o <= acc;
|
||||||
end slave_logic;
|
end slave_logic;
|
||||||
|
|
||||||
-- Select the slave pins the master will receive
|
-- Select the slave pins the master will receive
|
||||||
|
Loading…
Reference in New Issue
Block a user