beautypg.com

Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 3

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

iii

Contents

VOYAGER™ USB 3.0 EXERCISER ................................................ I

GENERATION SCRIPT LANGUAGE .............................................. I

LIST OF INSTRUCTIONS, COMMENTS, DEFINITIONS, DIRECTIVES,
OPERATORS, PARAMETERS, PRIMITIVES, PROCEDURES, AND SETTINGS

VII

1

INTRODUCTION ..................................................................... 1

1.1

Declaration Conventions ................................................................ 2

1.1.1

Parentheses................................................................................... 2

1.1.2

Brackets ......................................................................................... 2

1.2

Script Example Highlighting ............................................................ 2

2

SCRIPT LANGUAGE STRUCTURE ....................................... 3

2.1

Generation Script Structure ............................................................ 3

2.2

Main Procedure and Other Procedures .......................................... 3

3

COMMENTS ........................................................................... 4

3.1

Line Comment ................................................................................ 4

3.2

Block Comment .............................................................................. 4

4

FILE-INCLUDING DIRECTIVES ............................................. 5

4.1

Inline Directive ................................................................................ 5

4.2

Include Directive ............................................................................. 5

5

CONSTANT DECLARATIONS ............................................... 6

5.1

Predefined Constants ..................................................................... 6

5.2

Constant Definition Examples ........................................................ 6

6

DATA PATTERN DECLARATIONS ....................................... 7

6.1

Constants and Data Patterns in Declarations ................................ 7

6.2

Leading Zeroes ............................................................................... 7

7

GLOBAL GENERATION SETTINGS ..................................... 8

7.1

Device Mode Settings ..................................................................... 8

7.2

Link Configuration Settings ............................................................. 9

7.3

Link Delay Settings ....................................................................... 13

7.4

Link Power Management Settings ................................................ 15

7.5

LFPS Settings ............................................................................... 17

7.6

Link Error Settings ........................................................................ 20

7.7

Link Advertisement Error Injection Settings ................................. 23

7.8

Send Packet Error Retry Settings................................................. 24

7.9

Framing Error Settings ................................................................. 25

7.10

Script Parser Settings ................................................................... 28

7.11

Transaction Engine Settings ......................................................... 28

7.12

Device Emulation Settings ............................................................ 29

7.13

Generation Settings Syntax .......................................................... 29

7.14

Generation Settings outside Procedures ...................................... 30

7.15

Generation Settings inside Procedures ........................................ 30

7.16

Arithmetic Expressions in Constants ............................................ 30

8

PACKET AND STRUCTURE TEMPLATE DECLARATIONS31

8.1

Predefined Packet/Structure Templates ....................................... 31