sysbus: fix reading not holding address

This commit is contained in:
Paul Mathieu 2021-03-13 15:49:00 -08:00
parent 960c8956b2
commit 5d5eeb45cc

View File

@ -73,9 +73,11 @@ begin
case state is
when READING =>
if owner = "10" then
bus_addr <= m0_addr;
m0_rdata <= bus_rdata;
m1_busy <= '1';
else
bus_addr <= m1_addr;
m1_rdata <= bus_rdata;
m0_busy <= '1';
end if;