- always consume command
git-svn-id: http://moon:8086/svn/vhdl/trunk@1303 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -287,7 +287,7 @@ begin
|
||||
|
||||
when load_data =>
|
||||
if xfer_count_busy = '0' then
|
||||
state_next <= idle;
|
||||
state_next <= finish;
|
||||
elsif write_fifo_empty = '0' then
|
||||
data_load_en <= '1';
|
||||
state_next <= shift_write;
|
||||
@@ -301,14 +301,12 @@ begin
|
||||
state_next <= finish;
|
||||
elsif data_count_busy = '1' then
|
||||
if word_cnt_pipe(word_cnt_pipe'left) = '1' then
|
||||
if data_count_busy = '1' then
|
||||
if write_fifo_empty = '0' then
|
||||
data_load_en <= '1';
|
||||
else
|
||||
state_next <= load_data;
|
||||
end if;
|
||||
end if;
|
||||
end if;
|
||||
else
|
||||
state_next <= shift_read;
|
||||
word_cnt_rst <= '1';
|
||||
|
||||
Reference in New Issue
Block a user