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