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
|
||||
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 =>
|
||||
|
||||
Reference in New Issue
Block a user