Memory write now waits for completion (bus_rdy)
git-svn-id: http://moon:8086/svn/vhdl/trunk@14 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -306,7 +306,7 @@ bus_state:
|
|||||||
if mem_rdy = '1' then
|
if mem_rdy = '1' then
|
||||||
dmem_mem_out_en <= '1';
|
dmem_mem_out_en <= '1';
|
||||||
if dmem_re = '0' then
|
if dmem_re = '0' then
|
||||||
dmem_ack <= '1';
|
sn <= d_bus_finish;
|
||||||
else
|
else
|
||||||
sn <= d_bus_access;
|
sn <= d_bus_access;
|
||||||
end if;
|
end if;
|
||||||
@@ -341,6 +341,7 @@ bus_state:
|
|||||||
end if;
|
end if;
|
||||||
when d_bus_finish =>
|
when d_bus_finish =>
|
||||||
if mem_rdy = '1' then
|
if mem_rdy = '1' then
|
||||||
|
dmem_ack <= '1';
|
||||||
sn <= ready;
|
sn <= ready;
|
||||||
end if;
|
end if;
|
||||||
when others =>
|
when others =>
|
||||||
|
|||||||
Reference in New Issue
Block a user