beautypg.com

9 generation procedures, Generation procedures, 9generation procedures – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 61

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

52

9

Generation Procedures

A generation (or instruction) procedure typically contains a list of generation scenario instructions,
global declarations (constants, data patterns, aliases, and templates), and script parser
"preprocessor" directives.

Generation scenario instructions are translated into generation instructions executed by
the Voyager USB 3.0 Exerciser (for example, Send Packet).

Global declarations are used to declare script parser global objects.

Script parser "preprocessor" directives are executed during parsing and are not sent to
the Voyager USB 3.0 Exerciser (for example, parser arithmetic expressions and loops).

Note 1: The procedure with the name Main is the entry point of the generation stream and must
be present.

Note 2: Global object declarations made inside generation procedures must precede first usage
of such objects. Otherwise, the script parser issues a compile error.