Added address masking to crossbar switch

This commit is contained in:
Markus Koch 2017-03-02 09:31:05 +01:00
parent 20387479c0
commit 3fffa6efe3
1 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,8 @@ architecture rtl of crossbar is
DAT => acc.DAT or (slave_i(master).DAT and granted_data));
end loop;
-- 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;
-- Select the slave pins the master will receive