sysbus: fix concurrent read & writes

This commit is contained in:
Paul Mathieu 2021-04-24 08:55:51 -07:00
parent 3294e7082b
commit 84cbd185bb

View File

@ -130,6 +130,8 @@ begin
bus_we <= '0'; bus_we <= '0';
bus_re <= '1'; bus_re <= '1';
m1_busy <= '1';
when "0001" => when "0001" =>
state_next <= READING; state_next <= READING;
owner_next <= "01"; owner_next <= "01";
@ -138,6 +140,8 @@ begin
bus_we <= '0'; bus_we <= '0';
bus_re <= '1'; bus_re <= '1';
m0_busy <= '1';
when "0011" => when "0011" =>
state_next <= READING; state_next <= READING;
owner_next <= "10"; owner_next <= "10";