Added address masking to crossbar switch
This commit is contained in:
parent
20387479c0
commit
3fffa6efe3
@ -174,6 +174,7 @@ 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
|
||||||
|
acc.ADR := acc.ADR and not mask(slave); -- Address masking
|
||||||
o <= acc;
|
o <= acc;
|
||||||
end slave_logic;
|
end slave_logic;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user