231
Using the Pattern Generator
Building Test Vectors and Functions
The User Macros Menu
The User Macros menu is used to create new functions and edit
existing functions. Function 0 is the default function and always exists.
Functions let you define a pattern sequence once, then insert the
function by name wherever it is needed.
Functions can also have parameters passed to them. Parameters let
you create a generic function. For each instance of a function, you
specify unique values for the parameterized variable. Each function
can have a maximum of 10 parameters. A maximum of 100 different
functions can be defined for use in a single stimulus program.
Differences between User Macros and the INIT and MAIN sequences
are that functions cannot use the If instruction, and a function cannot
call another function.
The User Macros Menu
This section only covers the two unique fields in the User Macros menu
and using parameters. For information about other fields in this menu,
refer to the discussion of these fields in the previous section on the
Sequence Menu.