-- VHDL code position: p268_ex9_7_sequence_statement_next2
-- Note : This is code for explaing sequence_statement of VHDL
-- See Also: example 9-6, 9_7,
-- Debug : no debug
---------------------------------------------------------------------------------
-- 3 kinds of loop statement
NEXT --- 1
NEXT LOOP statement mark --- 2
NEXT LOOP statement mark WHEN condition expression --- 3
--- Fellowing is example anbout multi-LOOP statement
......
L_x:
FOR cnt_value IN 1 TO 8 LOOP
S1:
a( cnt_value ) := '0';
K:=0;
L_y:
LOOP
S2:
b( k ) := '0';
NEXT L_x WHEN ( e < f )
S3:
b(k+8):='0';
k:=k+1;
NEXT LOOP L_y;
NEXT LOOP L_x;
......