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:
2008-09-20 20:23:54 +00:00
parent c69bccf68b
commit 45af6006a1
+2 -1
View File
@@ -306,7 +306,7 @@ bus_state:
if mem_rdy = '1' then
dmem_mem_out_en <= '1';
if dmem_re = '0' then
dmem_ack <= '1';
sn <= d_bus_finish;
else
sn <= d_bus_access;
end if;
@@ -341,6 +341,7 @@ bus_state:
end if;
when d_bus_finish =>
if mem_rdy = '1' then
dmem_ack <= '1';
sn <= ready;
end if;
when others =>