@@ -71,6 +71,7 @@ package body tb_instructions_pkg is
7171 append_inst_def(inst_defs, INSTR_INCLUDE, 1 );
7272 append_inst_def(inst_defs, INSTR_LOOP, 1 );
7373 append_inst_def(inst_defs, INSTR_VAR, 2 );
74+ append_inst_def(inst_defs, INSTR_VAR_PAR_CLOSE, 2 );
7475 -- variable
7576 append_inst_def(inst_defs, INSTR_VAR_VERIFY, 3 );
7677 append_inst_def(inst_defs, INSTR_ADD, 2 );
@@ -91,6 +92,7 @@ package body tb_instructions_pkg is
9192 append_inst_def(inst_defs, INSTR_LD, 1 );
9293 -- signal
9394 append_inst_def(inst_defs, INSTR_SIGNAL, 2 );
95+ append_inst_def(inst_defs, INSTR_SIGNAL_PAR_CLOSE, 2 );
9496 append_inst_def(inst_defs, INSTR_SIGNAL_READ, 2 );
9597 append_inst_def(inst_defs, INSTR_SIGNAL_VERIFY, 4 );
9698 append_inst_def(inst_defs, INSTR_SIGNAL_WRITE, 2 );
@@ -100,6 +102,7 @@ package body tb_instructions_pkg is
100102 append_inst_def(inst_defs, INSTR_SIGNAL_POINTER_GET, 2 );
101103 -- bus
102104 append_inst_def(inst_defs, INSTR_BUS, 2 );
105+ append_inst_def(inst_defs, INSTR_BUS_PAR_CLOSE, 2 );
103106 append_inst_def(inst_defs, INSTR_BUS_READ, 4 );
104107 append_inst_def(inst_defs, INSTR_BUS_VERIFY, 6 );
105108 append_inst_def(inst_defs, INSTR_BUS_WRITE, 4 );
@@ -111,6 +114,7 @@ package body tb_instructions_pkg is
111114 append_inst_def(inst_defs, INSTR_BUS_POINTER_GET, 2 );
112115 -- file
113116 append_inst_def(inst_defs, INSTR_FILE, 1 );
117+ append_inst_def(inst_defs, INSTR_FILE_PAR_CLOSE, 1 );
114118 append_inst_def(inst_defs, INSTR_FILE_READABLE, 2 );
115119 append_inst_def(inst_defs, INSTR_FILE_WRITABLE, 2 );
116120 append_inst_def(inst_defs, INSTR_FILE_APPENDABLE, 2 );
@@ -123,6 +127,7 @@ package body tb_instructions_pkg is
123127 append_inst_def(inst_defs, INSTR_FILE_POINTER_COPY_PAR_CLOSE, 2 );
124128 -- label
125129 append_inst_def(inst_defs, INSTR_LABEL, 2 );
130+ append_inst_def(inst_defs, INSTR_LABEL_PAR_CLOSE, 2 );
126131 append_inst_def(inst_defs, INSTR_LABEL_POINTER_COPY, 2 );
127132 append_inst_def(inst_defs, INSTR_LABEL_POINTER_COPY_PAR_CLOSE, 2 );
128133 append_inst_def(inst_defs, INSTR_LABEL_EQU, 2 );
@@ -131,6 +136,7 @@ package body tb_instructions_pkg is
131136 append_inst_def(inst_defs, INSTR_LABEL_SET_PAR_CLOSE, 2 );
132137 -- lines
133138 append_inst_def(inst_defs, INSTR_LINES, 1 );
139+ append_inst_def(inst_defs, INSTR_LINES_PAR_CLOSE, 1 );
134140 append_inst_def(inst_defs, INSTR_LINES_GET_ARRAY, 4 );
135141 append_inst_def(inst_defs, INSTR_LINES_SET_ARRAY, 3 );
136142 append_inst_def(inst_defs, INSTR_LINES_SET_MESSAGE, 2 );
@@ -145,6 +151,7 @@ package body tb_instructions_pkg is
145151 append_inst_def(inst_defs, INSTR_LINES_POINTER_COPY_PAR_CLOSE, 2 );
146152 -- array
147153 append_inst_def(inst_defs, INSTR_ARRAY, 2 );
154+ append_inst_def(inst_defs, INSTR_ARRAY_PAR_CLOSE, 2 );
148155 append_inst_def(inst_defs, INSTR_ARRAY_GET, 3 );
149156 append_inst_def(inst_defs, INSTR_ARRAY_SET, 3 );
150157 append_inst_def(inst_defs, INSTR_ARRAY_SIZE, 2 );
@@ -272,7 +279,10 @@ package body tb_instructions_pkg is
272279 end if ;
273280 elsif itokens(1 )(1 to 4 ) = " file" then
274281 token1_len := 4 ;
275- if itokens(2 )(1 to 8 ) = " readable" then
282+ if itokens(3 )(1 to 1 ) = " )" then
283+ token3_len := 1 ;
284+ token_merge := 13 ;
285+ elsif itokens(2 )(1 to 8 ) = " readable" then
276286 token2_len := 8 ;
277287 token_merge := 12 ;
278288 elsif itokens(2 )(1 to 8 ) = " writable" then
@@ -312,7 +322,10 @@ package body tb_instructions_pkg is
312322 end if ;
313323 elsif itokens(1 )(1 to 5 ) = " label" then
314324 token1_len := 5 ;
315- if itokens(2 )(1 to 3 ) = " equ" then
325+ if itokens(3 )(1 to 1 ) = " )" then
326+ token3_len := 1 ;
327+ token_merge := 13 ;
328+ elsif itokens(2 )(1 to 3 ) = " equ" then
316329 token2_len := 3 ;
317330 token_merge := 12 ;
318331 if itokens(3 )(1 to 1 ) = " )" then
@@ -341,7 +354,10 @@ package body tb_instructions_pkg is
341354 end if ;
342355 elsif itokens(1 )(1 to 5 ) = " lines" then
343356 token1_len := 5 ;
344- if itokens(2 )(1 to 3 ) = " get" then
357+ if itokens(3 )(1 to 1 ) = " )" then
358+ token3_len := 1 ;
359+ token_merge := 13 ;
360+ elsif itokens(2 )(1 to 3 ) = " get" then
345361 token2_len := 3 ;
346362 token_merge := 12 ;
347363 if itokens(3 )(1 to 5 ) = " array" then
@@ -403,7 +419,10 @@ package body tb_instructions_pkg is
403419 end if ;
404420 elsif itokens(1 )(1 to 5 ) = " array" then
405421 token1_len := 5 ;
406- if itokens(2 )(1 to 3 ) = " set" then
422+ if itokens(3 )(1 to 1 ) = " )" then
423+ token3_len := 1 ;
424+ token_merge := 13 ;
425+ elsif itokens(2 )(1 to 3 ) = " set" then
407426 token2_len := 3 ;
408427 token_merge := 12 ;
409428 elsif itokens(2 )(1 to 3 ) = " get" then
@@ -436,7 +455,10 @@ package body tb_instructions_pkg is
436455 end if ;
437456 elsif itokens(1 )(1 to 3 ) = " var" then
438457 token1_len := 3 ;
439- if itokens(2 )(1 to 6 ) = " verify" then
458+ if itokens(3 )(1 to 1 ) = " )" then
459+ token3_len := 1 ;
460+ token_merge := 13 ;
461+ elsif itokens(2 )(1 to 6 ) = " verify" then
440462 token2_len := 6 ;
441463 token_merge := 12 ;
442464 elsif itokens(2 )(1 to 7 ) = " pointer" then
@@ -453,7 +475,10 @@ package body tb_instructions_pkg is
453475 end if ;
454476 elsif itokens(1 )(1 to 6 ) = " signal" then
455477 token1_len := 6 ;
456- if itokens(2 )(1 to 6 ) = " verify" then
478+ if itokens(3 )(1 to 1 ) = " )" then
479+ token3_len := 1 ;
480+ token_merge := 13 ;
481+ elsif itokens(2 )(1 to 6 ) = " verify" then
457482 token2_len := 6 ;
458483 token_merge := 12 ;
459484 elsif itokens(2 )(1 to 4 ) = " read" then
@@ -483,7 +508,10 @@ package body tb_instructions_pkg is
483508 end if ;
484509 elsif itokens(1 )(1 to 3 ) = " bus" then
485510 token1_len := 3 ;
486- if itokens(2 )(1 to 6 ) = " verify" then
511+ if itokens(3 )(1 to 1 ) = " )" then
512+ token3_len := 1 ;
513+ token_merge := 13 ;
514+ elsif itokens(2 )(1 to 6 ) = " verify" then
487515 token2_len := 6 ;
488516 token_merge := 12 ;
489517 elsif itokens(2 )(1 to 4 ) = " read" then
0 commit comments