Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual
Page 3

Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
iii
Contents
VOYAGER™ USB 3.0 EXERCISER ................................................ I
GENERATION SCRIPT LANGUAGE .............................................. I
INTRODUCTION ..................................................................... 1
Declaration Conventions ................................................................ 2
Parentheses................................................................................... 2
Brackets ......................................................................................... 2
Script Example Highlighting ............................................................ 2
SCRIPT LANGUAGE STRUCTURE ....................................... 3
Generation Script Structure ............................................................ 3
Main Procedure and Other Procedures .......................................... 3
COMMENTS ........................................................................... 4
Line Comment ................................................................................ 4
Block Comment .............................................................................. 4
FILE-INCLUDING DIRECTIVES ............................................. 5
Inline Directive ................................................................................ 5
Include Directive ............................................................................. 5
CONSTANT DECLARATIONS ............................................... 6
Predefined Constants ..................................................................... 6
Constant Definition Examples ........................................................ 6
DATA PATTERN DECLARATIONS ....................................... 7
Constants and Data Patterns in Declarations ................................ 7
Leading Zeroes ............................................................................... 7
GLOBAL GENERATION SETTINGS ..................................... 8
Device Mode Settings ..................................................................... 8
Link Configuration Settings ............................................................. 9
Link Delay Settings ....................................................................... 13
Link Power Management Settings ................................................ 15
LFPS Settings ............................................................................... 17
Link Error Settings ........................................................................ 20
Link Advertisement Error Injection Settings ................................. 23
Send Packet Error Retry Settings................................................. 24
Framing Error Settings ................................................................. 25
Script Parser Settings ................................................................... 28
Transaction Engine Settings ......................................................... 28
Device Emulation Settings ............................................................ 29
Generation Settings Syntax .......................................................... 29
Generation Settings outside Procedures ...................................... 30
Generation Settings inside Procedures ........................................ 30
Arithmetic Expressions in Constants ............................................ 30
PACKET AND STRUCTURE TEMPLATE DECLARATIONS31
Predefined Packet/Structure Templates ....................................... 31