sysbus: fix concurrent read & writes
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user