update
This commit is contained in:
1 parent
8e74022cc6
commit
86a615148a
1 file changed
+9
-2
@@ -124,8 +124,15 @@ begin
|
|||||||
end if; -- #
|
end if; -- #
|
||||||
|
|
||||||
when ADD_WRITE => -- #
|
when ADD_WRITE => -- #
|
||||||
index <= index + 1; -- #
|
if ( index < work.task.STREAM_LEN - 1 ) then -- #
|
||||||
current_add_state <= ADD_IDLE; -- #
|
index <= index + 1; -- #
|
||||||
|
current_add_state <= ADD_IDLE; -- #
|
||||||
|
else -- #
|
||||||
|
current_add_state <= ADD_DONE_WAIT; -- #
|
||||||
|
end if; -- #
|
||||||
|
|
||||||
|
when ADD_DONE_WAIT => -- #
|
||||||
|
index <= index + 1; -- #
|
||||||
|
|
||||||
when others => -- #
|
when others => -- #
|
||||||
current_add_state <= ADD_IDLE; -- #
|
current_add_state <= ADD_IDLE; -- #
|
||||||
|
|||||||
Reference in new issue
Block a user