227
Using the Pattern Generator
Building Test Vectors and Functions
Insert
Selecting the Insert field adds another instruction line immediately
below the line that is currently highlighted.
Instructions
User Macro. The User Macro instruction brings up a list of current
user macros you can insert. Functions are inserted at the current line
and expanded at run time.
If the function selected has parameters, a second pop-up menu will be
displayed to allow setting of the passed parameter values. Parameters
are passed as 32 bit values and the most significant bits are truncated
when the data is applied to labels with less than 32 bits.
Once inserted, the passed parameters of a function may be altered by
selecting that function again and changing the data. A function can
only be removed from the sequence by using the delete field.
Repeat Loop. The Repeat Loop instruction inserts the start and end
of a repeat loop using the current vector row as the data. Once the loop
has been created, vectors can be inserted or copied into the loop to
change the size. A repeat loop will be expanded at run time into
individual vectors. The number of repetitions of the loop (maximum
20000) is set when the repeat is first inserted into the sequence and
can be altered by selecting the start of the repeat to get the Repeat
Count pop-up menu. Both the start and end of a repeat loop will be
removed from the sequence if either is included in the delete block.