beautypg.com

1 declaration conventions, 1 parentheses, 2 brackets – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 11: 2 script example highlighting, Declaration conventions, Parentheses, Brackets, Script example highlighting

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

2

Test scripts can customize ReadyLink Emulation Mode to include error scenarios, such as:

Header LBADs

Invalid link commands

8B10B / CRC Error

Running Disparity Error

Corrupt Link Commands

Corrupt Flow Control (Wrong L_CRD_x, Wrong L_GOOD_n, Drop L_Good_n)

Corrupt Header Packet acknowledgement (Send LBAD, LRTY)

Corrupt Packet Framing (SHP, SDP, END)

At the packet level, you can send customized data payloads anywhere within the stream to insert
logic errors, perform corner-case, or do stress testing. Commands, such as the Set
ErrWrongLCRD
command, allow link-layer error injection anywhere within the script.

1.1 Declaration Conventions

1.1.1 Parentheses

In declarations and descriptions of Generation Script Language instructions,
the format

"(" ")"

specifies a list of keywords that have the same value and can replace

each other. The declaration

(

Packet

|

Struct

)

Template_Name …

specifies that you can use the "Packet", "Packet", or "Struct" keyword for template name
declarations.

1.1.2 Brackets

In declarations and descriptions of Generation Script Language instructions,
the format "

[

" "

]

" specifies optional parts of declarations or instruction parameters. The declaration

(

Packet

|

Struct

)

Template_Name

[

Ancestor_1, Ancestor_ 2, …

]

[

(Attribute list)

]

specifies that the listed ancestors and attribute lists are optional for template name declarations.

1.2 Script Example Highlighting

Generation Script Language examples in this document show syntax highlighting similar to that in
the Voyager USB 3.0 Exerciser Generation Script Editor.