Teledyne Voyager User Manual

Protocol Solutions Group
3385 Scott Blvd., Santa Clara, CA 95054 Tel: +1/408.727.6600 Fax: +1/408.727.6622

Voyager™ USB 3.0 Exerciser

Generation Script Language

Manual Version 1.91
For USB Protocol Suite Software Version 4.75 and above
October 2013
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
Document Disclaimer
The information contained in this document has been carefully checked and is believed to be reliable. However, no responsibility can be assumed for inaccuracies that may not have been detected.
Teledyne LeCroy reserves the right to revise the information presented in this document without notice or penalty.
Trademarks and Servicemarks
CATC Trace, Voyager M3, Voyager ReadyLink, USB Protocol Suite, and BusEngine are trademarks of Teledyne LeCroy.
All other trademarks are property of their respective companies.
Copyright
Copyright © 2009, Teledyne LeCroy, Inc. All Rights Reserved. This document may be printed and reproduced without additional permission, but all copies
should contain this copyright notice.
Version
This is version 1.79 of the Voyager USB 3.0 Exerciser Generation Script Language Reference Manual.
This manual applies to USB Protocol Suite software version 4.75 and higher.
ii
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
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
iii
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
8.2 Field Definitions ............................................................................ 32
8.2.1 Defining a Field at a Specific Offset ............................................ 32
8.2.2 Defining a Field at the Current Offset .......................................... 33
8.2.3 Defining a Field with Variable Length .......................................... 34
8.2.4 Defining a Default Field Value ..................................................... 35
8.2.5 Specifying Byte Order in Field Definitions ................................... 36
8.2.6 Using Byte Stream Literals in Field Assignments........................ 36
8.2.7 List of Possible Field Values Attribute ......................................... 37
8.2.8 Defining Subfields ........................................................................ 38
8.3 Constants/Arithmetic Expressions in Template Declarations ....... 40
8.4 Packet Template Inheritance ........................................................ 42
8.4.1 Packet Template Single Inheritance ............................................ 42
8.4.2 Packet Template Multiple Inheritance ......................................... 43
8.4.3 Packet Template Insert Directive ................................................ 45
8.4.4 Complex Packet Templates ......................................................... 47
8.5 Packet Template Multi-byte Field Byte Order Attribute ................ 49
8.5.1 Big Endian Byte Order ................................................................. 49
8.5.2 Another Example ......................................................................... 50
8.6 Structure Declaration Examples ................................................... 51
9 GENERATION PROCEDURES ............................................ 52
9.1 Transaction Engine Instructions ................................................... 53
9.1.1 SendPipeCommand Instruction ................................................... 54
9.1.2 SetSequenceNumber Instruction................................................. 60
9.1.3 Transaction Engine Scripts supplied with Voyager ..................... 61
9.2 Device Emulation Instructions ...................................................... 61
9.2.1 StartDeviceFrameworkHandler Instruction .................................. 62
9.2.2 InitDevice Instruction ................................................................... 62
9.2.3 AddDescriptor Instruction ............................................................ 63
9.2.4 WaitForDeviceRequest Instruction .............................................. 65
9.2.5 AddDrive Instruction .................................................................... 66
9.3 Send Packet Instruction ................................................................ 68
9.3.1 68
9.4 Using Local Fields in Send Packet Instructions ........................... 69
9.5 Instruction Parameters ................................................................. 70
9.6 Structure Variable Syntax ............................................................. 72
9.6.1 Omitting the Send Keyword ......................................................... 72
9.7 Changing a Generation Setting .................................................... 73
9.8 SetLinkState Instruction ................................................................ 74
9.9 TxSleep Instruction ....................................................................... 79
9.10 SendFile Instruction ...................................................................... 80
9.11 Wait Packet Instruction ................................................................. 80
9.12 Prepare Wait Packet Instruction ................................................... 83
9.13 Wait Event Instruction ................................................................... 84
9.14 Loop Instruction ............................................................................ 85
9.15 BreakLoop Instruction ................................................................... 86
9.16 Exit Instruction .............................................................................. 87
9.17 Analyzer Control Instructions ........................................................ 88
9.17.1 StartRecording Instruction ........................................................... 88
9.17.2 StopRecording Instruction ........................................................... 89
9.17.3 TriggerAnalyzer instruction .......................................................... 90
9.17.4 Trace Instruction .......................................................................... 91
9.17.5 Trace_B Instruction ..................................................................... 92
10 ADVANCED SCRIPT PARSER FEATURES ........................ 93
10.1 Local Numeric Parser Variables ................................................... 93
iv
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
10.2 Local Structure Parser Variables .................................................. 94
10.3 Using Local Fields in Structure Variables ..................................... 96
10.4 Changing Structure Parser Variables ........................................... 97
10.5 Sending Frames using Structure Variables ................................ 101
10.6 Using Special Data Pattern Creators in Field Assignments ....... 102
10.7 Using Structure Variables to Assign Field Values ...................... 103
10.8 Using Multipliers to Assign Field Values .................................... 104
10.9 Using the Append Operator in Field Assignments ..................... 105
10.10 Initializing Struct Variables from Hex Streams ........................... 106
10.10.1 Assignments for Variables with Fixed-length Fields ............. 106
10.10.2 Assignments for Variables with Variable Length Fields ........ 107
10.11 Sizeof Operators ......................................................................... 109
10.12 Preprocessor Integer Arithmetic ................................................. 110
10.13 Preprocessor If Operator ............................................................ 111
10.14 Preprocessor Loop Operators .................................................... 112
10.15 Forward Declarations ................................................................. 112
10.16 RAND Token ............................................................................... 114
10.17 RandStream( n ) Primitive .......................................................... 114
10.18 Global Numeric and Structure Variables .................................... 115
10.19 Using the Call Directive for Generation Procedure Insertions .... 116
10.19.1 Calling a Generation Procedure with Parameters ................ 116
10.19.2 Calling a Generation Procedure with No Parameters ........... 120
10.19.3 Nested Calls Using Global Variables .................................... 121
10.20 Parser Tracing Functions ........................................................... 122
10.20.1 PTrace( ) : Parser Trace ....................................................... 122
10.20.2 PTraceVar( ) : Parser Trace Variable ................................... 123
10.20.3 PTraceVarEx( ) : Parser Trace Variable Extended ............... 124
10.20.4 PtraceTemplate( ) : Parser Trace Template ......................... 127
10.21 Name Aliasing ............................................................................. 130
10.22 Include Path Directive ................................................................. 132
11 APPENDIX A – GENERATION SCRIPT EXAMPLE .......... 133
11.1 Example Script 1......................................................................... 133
11.2 Example Script 2......................................................................... 139
12 APPENDIX B - RAW REGISTER SETTINGS ..................... 141
12.1.1 SKP_TIMER .............................................................................. 142
12.1.2 PM_ACCEPT_MODE ................................................................ 143
12.1.3 CORRUPT_LC .......................................................................... 143
12.1.4 CORRUPT_LMP ....................................................................... 144
12.1.5 CORRUPT_SHP_FRAMING ..................................................... 146
12.1.6 CORRUPT_SDP_FRAMING ..................................................... 147
12.1.7 CORRUPT_END_FRAMING ..................................................... 147
12.1.8 CORRUPT_SLC_FRAMING ..................................................... 148
12.1.9 DELAY_LAU .............................................................................. 150
12.1.10 Insert K-Sym Error (LC and HP) ........................................... 150
12.1.11 LTSSM_SETTING ................................................................ 152
12.1.12 LTSSM_U3EXIT_CONTROL ................................................ 153
12.1.13 LTSSM_HOTRESET_TIME .................................................. 154
12.1.14 LTSSM_RXDETECT_CONTROL ......................................... 155
12.1.15 Generate LFPS Command ................................................... 156
13 HOW TO CONTACT TELEDYNE LECROY ....................... 158
v
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
vi
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

List of Instructions, Comments, Definitions, Directives, Operators, Parameters, Primitives, Procedures, and Settings

aliasing ...................................................................................................................................................... 130
append operator ........................................................................................................................................ 105
block_comment ............................................................................................................................................. 4
BreakLoop ................................................................................................................................................... 86
Call directive .............................................................................................................................................. 116
Comments ..................................................................................................................................................... 4
constants instruction ..................................................................................................................................... 6
CRC16ErrRtryCnt setting ............................................................................................................................ 24
CRC5ErrRtryCnt setting .............................................................................................................................. 24
CustomFlowControl ..................................................................................................................................... 12
DataPattern instruction .................................................................................................................................. 7
declarations ............................................................................................................................................... 112
Delay_parameter ......................................................................................................................................... 79
DelayLBAD .................................................................................................................................................. 13
DelayLBADCnt ............................................................................................................................................ 13
DelayLCRD ................................................................................................................................................. 14
DelayLCRDCnt ............................................................................................................................................ 14
DelayLGOOD .............................................................................................................................................. 13
DelayLGOODCnt ........................................................................................................................................ 13
DisableLDN ................................................................................................................................................. 12
DisableLDNTimeout .................................................................................................................................... 12
DisableLPMA setting ................................................................................................................................... 15
DisableLUP ................................................................................................................................................. 12
DisableLUPTimeout .................................................................................................................................... 11
DisablePMLCTimeout ................................................................................................................................. 15
ErrCorruptEND ............................................................................................................................................ 26
ErrCorruptENDMap ..................................................................................................................................... 26
ErrCorruptLinkCmd setting.......................................................................................................................... 21
ErrCorruptLinkCmdLCRDOnly .................................................................................................................... 21
ErrCorruptLMP setting ................................................................................................................................ 21
ErrCorruptLMPCRC16 ................................................................................................................................ 21
ErrCorruptLMPCRC5 .................................................................................................................................. 21
ErrCorruptLMPHSN .................................................................................................................................... 21
ErrCorruptLMPNoCap ................................................................................................................................. 21
ErrCorruptLMPNoCfg .................................................................................................................................. 22
ErrCorruptSDP ............................................................................................................................................ 25
ErrCorruptSDPMap ..................................................................................................................................... 26
ErrCorruptSHP ............................................................................................................................................ 25
ErrCorruptSHPMap ..................................................................................................................................... 25
ErrCorruptSLC ............................................................................................................................................ 26
ErrCorruptSLCMap ..................................................................................................................................... 27
ErrDisparity setting ...................................................................................................................................... 22
ErrLBAD setting .......................................................................................................................................... 22
ErrLostLCRD setting ................................................................................................................................... 20
ErrLostLCRDAdv ......................................................................................................................................... 23
ErrLostLGOOD setting ................................................................................................................................ 20
ErrLostLGOODAdv ..................................................................................................................................... 23
ErrWrongLCRD setting ............................................................................................................................... 20
ErrWrongLCRDAdv ..................................................................................................................................... 23
ErrWrongLGOOD setting ............................................................................................................................ 20
vii
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
ErrWrongLGOODAdv .................................................................................................................................. 23
ErrWrongSymbol setting ............................................................................................................................. 22
Exit .............................................................................................................................................................. 87
fields_definition ........................................................................................................................................... 32
fld_size_operator ....................................................................................................................................... 109
ForceStopRec_parameter ........................................................................................................................... 89
forward declarations .................................................................................................................................. 112
HSNErrRtryCnt setting ................................................................................................................................ 24
%include directive ..................................................................................................................................... 132
%inline directive ............................................................................................................................................ 5
KeepOldTrace_parameter........................................................................................................................... 88
LDNDetectTimeout ...................................................................................................................................... 11
LDNInterval ................................................................................................................................................. 11
LFPSDutyCycle ........................................................................................................................................... 17
LFPSPeriod ................................................................................................................................................. 17
LFPSPingTBurst ......................................................................................................................................... 18
LFPSPingTRepeat ...................................................................................................................................... 18
LFPSPollingTBurst ...................................................................................................................................... 17
LFPSPollingTRepeat ................................................................................................................................... 17
LFPSU1ExitTBurst ...................................................................................................................................... 18
LFPSU2ExitTBurst ...................................................................................................................................... 18
LFPSU3ExitTBurst ...................................................................................................................................... 18
LFPSWarmResetTBurst .............................................................................................................................. 18
line_comment ................................................................................................................................................ 4
Local instruction .......................................................................................................................................... 93
Loop instruction ........................................................................................................................................... 85
LTSSMSettings ........................................................................................................................................... 10
LUPDetectTimeout ...................................................................................................................................... 11
LUPInterval.................................................................................................................................................. 11
Main procedure ............................................................................................................................................. 3
MaxLoopIterCount _setting ......................................................................................................................... 28
MaxLoopIterCount_parser_setting ............................................................................................................ 112
Mode ............................................................................................................................................................. 8
multiplier instruction .................................................................................................................................. 104
Override_parameter .................................................................................................................................... 70
pkt_size_operator ...................................................................................................................................... 109
PktDelay_setting ......................................................................................................................................... 28
PMLCTimeout ............................................................................................................................................. 16
PortCfgAck setting ...................................................................................................................................... 10
PrepareWaitPacket instruction .................................................................................................................... 83
preprocessor If directive ............................................................................................................................ 111
PTrace instruction ..................................................................................................................................... 122
PTraceTemplate instruction ...................................................................................................................... 127
PTraceVar instruction ................................................................................................................................ 123
PTraceVarEx instruction ........................................................................................................................... 124
pttn_size_operator .................................................................................................................................... 109
PwrStateAccept ........................................................................................................................................... 15
RAND token .............................................................................................................................................. 114
RandSeed_setting ....................................................................................................................................... 28
RandStream_primitive ............................................................................................................................... 114
RecOpt_parameter ...................................................................................................................................... 88
RxDescramble ............................................................................................................................................... 9
RxInvertPolarity ............................................................................................................................................. 9
Send instruction .......................................................................................................................................... 68
SendFile instruction ..................................................................................................................................... 80
Set instruction ............................................................................................................................................. 29
viii
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
SetLinkState instruction .............................................................................................................................. 74
SkipPendingCount ........................................................................................................................................ 9
SkipTimer ...................................................................................................................................................... 9
StartRecording instruction ........................................................................................................................... 88
StopRecording instruction ........................................................................................................................... 89
Struct instruction ......................................................................................................................................... 31
subfields_definition ...................................................................................................................................... 38
Trace instruction .......................................................................................................................................... 91
Trace_B instruction ..................................................................................................................................... 92
TraceName_parameter ............................................................................................................................... 88
TriggerAnalyzer instruction ......................................................................................................................... 90
TS1Time ...................................................................................................................................................... 10
TS2Time ...................................................................................................................................................... 10
TSEQNumber .............................................................................................................................................. 10
TxInvertPolarity ............................................................................................................................................. 9
TxScramble ................................................................................................................................................... 9
TxSleep instruction ...................................................................................................................................... 79
UseMMCXConnectors .................................................................................................................................. 8
WaitForTrace_parameter ............................................................................................................................ 89
WaitPacket instruction ................................................................................................................................. 81
ix
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

1 Introduction

The Voyager USB 3.0 Exerciser Generation Script Language allows you to create USB3 traffic generation scenarios for Voyager USB 3.0 Exerciser devices.
The Generation Script Language provides rich language and preprocessor capabilities and allows you to implement even complicated generation scenarios.
Typically, Generation Script Language constructions do not require special separation symbols (such as the semicolon in C languages) to distinguish between different constructions. Where possible, script parsing uses "context-dependency" rather than separation symbols, thus simplifying writing of generation scripts.
Also, Generation Script Language constructions are not case-sensitive. This document describes the commands and syntax of the Voyager USB 3.0 Exerciser
Generation Script Language. You can start the Voyager USB 3.0 Exerciser script editor by clicking that button in the
USB Protocol Suite application to display an editor user interface, in which you can create and edit generation script files, as well as reuse codes.
Each running module must have at least one function named Main, which starts and ends the generation script.
Voyager ReadyLink™ Emulation
The Teledyne LeCroy Voyager USB 3.0 Exerciser features ReadyLink Emulation Mode. The ReadyLink feature handles all USB 3.0 link training and link flow control, allowing the emulator to operate at full line rate and respond to the DUT as defined by the specification. The ReadyLink Emulation Mode helps simplify development of USB 3.0 test scenarios.
By default, ReadyLink Emulation Mode automatically manages:
Header Packet Acknowledgements (L_GOOD_n) Buffer Credit (L_CRD_x) SKIPs at required intervals (SKP) Link Synchronization
Responds to LFPS (Polling.LFPS) Responds to polling sequence (Polling.RxEQ) Responds to TS1 / TS2 handshaking sequence Responds to SS.Inactive (with RX.Detect)
Power Management Link Commands
Responds to LGO_Un (with LAU) Responds to LAU (with LMPA)
1
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
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.
2
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

2 Script Language Structure

2.1 Generation Script Structure

Typically, a generation script has the following structure:
Parser directives  Declarations
o Constants o Data patterns o Global generation settings o Packet/structure templates o Global numeric variables o Global structure variables (declare a template for a variable before declaring a variable) o Aliases
Generation procedures
o List of generation instructions o Global declarations (constants, data patterns, templates, aliases)
Note: The parser can use previously declared objects in later declarations. In generation procedures, the parser can use global objects before their declaration as long as such objects are finally declared outside of generation procedures.
Reminder: The generation parser is NOT case-sensitive.

2.2 Main Procedure and Other Procedures

Although you can create many generation procedures, the major execution entry point is a procedure with the name Main. Therefore, you must have a generation procedure named Main. You can invoke the other generation procedures in the Main generation procedure using the Call directive.
The Call directive makes a "dynamic" insertion, in which the included procedure is re-parsed using the new parser variable values and the latest values of global variables.
3
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

3 Comments

Comments instruct the script parser to exclude the commented parts of the script file from parsing.

3.1 Line Comment

To comment a line, start the line with the symbol #. To comment the end of a line, put the symbol # before the comment. The parser ignores the rest
of the line after the # symbol.
Example
SomeStuff # The text after the # symbol is not parsed.

3.2 Block Comment

To comment a block of text, start with the symbol pair /* and end with the symbol pair */. The parser ignores the part of the file inside the comment block.
Example
/* Example of a block of comments All text between '/' '*' and '*' '/' is ignored. */
4
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

4 File-Including Directives

To include a file in a generation parsing stream, use the %inline or %include directive.

4.1 Inline Directive

The %inline directive instructs the script parser to insert the content of the named file into the parsing stream when the parser sees this directive, even if the file is already inserted.
Examples
%inline "SomeInc1.inc" # Includes the 'SomeInc1.inc' file. %inline "SomeInc1.inc" # Includes the 'SomeInc1.inc' file again.

4.2 Include Directive

The %include directive instructs the script parser to insert the content of the named file into the parsing stream only ONCE, the first time the parser sees the directive with the specified file name.
Examples
%include "SomeInc1.inc" # Includes the 'SomeInc1.inc' file. %include "SomeInc1.inc" # Does nothing.
Note: For details on how the script parser resolves file names, see the Include Path Directive topic.
5
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

5 Constant Declarations

You can declare numeric script constants to use later in assignments or arithmetic operations. The limits of values of constants are from 0 to 0xFFFFFFFF (4294967295 decimal). Constants are DWORD (unsigned integer) values only.

5.1 Predefined Constants

For information about the predefined constants, see the genconstants.ginc file in the Generation\Include folder in the Application directory.

5.2 Constant Definition Examples

Examples
Const SOME_HEX_DATA = 0xAABBFFEE # Define a hexadecimal constant.
Const SOME_DEC_DATA = 12 # Define a decimal constant.
Const "SOME DEC DATA" = 64 # Define a decimal constant.
Const SOME_BIN_DATA = _11110000 # Define a binary constant.
Const "Some Hex Data" = 0xCDCDBEBE
Const LMP_PORT_CFG_ACK = 6
# The parser can use arithmetic operations in constant definitions.
Const TX_PAYLOAD_OFFSET = 16 * 8 # Payload offset(in bits) for
# the Tx packet
# Payload offset(in bits) for the Rx packet
Const SOME_CONST = 16
Const SOME_PAYLOAD_OFFSET = TX_PAYLOAD_OFFSET + SOME_CONST
# Example of a complex name in an expression
Const MY_Data = "Some Hex Data" + 12 - _1111000 /*binary literal*/
6
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

6 Data Pattern Declarations

Data pattern declarations declare named byte strings to use where you use byte vectors. Data pattern declaration starts with the DataPattern keyword.
DataPattern Pattern_Name = { hex_stream }
Example
# Declare a data pattern containing the byte string:
# AA BB CC DD DD EE FF 11 22 33 44 55
DataPattern PATTERN_1 = { AA BB CC DD EE FF 11 22 33 44 55 }
# or
DataPattern PATTERN_1 = { AA BB CC DD EE _11111111 11 22 33 44 55 }

6.1 Constants and Data Patterns in Declarations

You can use constants and previously defined data patterns in data pattern declarations. Place constants and data patterns inside a [] block. (You can omit a [] block for constant insertion,
but for code clarity it is recommended that you use a [] block.) Note: When inserting constants into a data pattern, the script parser uses only the least
significant byte of the constant. For example, if constant 0xAABBCCDD is inserted, only the
0xDD is put into the data pattern.
Examples
Const MY_CONST = 0xCC Const "MY CONST" = 0xDD
# Declare a data pattern containing the byte string: # AA AA BB BB CC CC DD DD
DataPattern PATTERN_1 = { AA AA BB BB [MY_CONST] CC DD ["MY CONST"] }
# Declare a data pattern containing the byte string: # 11 AA AA BB BB CC CC DD DD 88
DataPattern PATTERN_2 = { 11 [ PATTERN_1 ] 88 }

6.2 Leading Zeroes

For bytes less than 0x10, it is not necessary to add a leading 0.
Example
DataPattern PATTERN_4 = { B B 6 B B } # Is the same as 0B 0B 06 0B 0B.
7
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
Setting
Description
Mode
Specifies the mode that the Exerciser uses when it performs link management and high-level traffic management.
For link-layer-level mode, “Host” means that the Exerciser port is set
as “upstream” port and link direction is “downstream”. “Device” means that the Exerciser port is set as “downstream” port and link direction is “upstream”.
The Exerciser must perform all actions for each direction, as the USB
3.0 specification requires. Example: Set Mode = HOST (0) Possible values are 0 = HOST or 1 = DEVICE. Default value: HOST
UseMMCXConnectors
Specifies whether the Exerciser uses MMCX connectors or regular USB 3.0 connectors.
Example: Set UseMMCXConnectors = 1 Possible values are:
0 # Use regular USB 3.0 connectors. 1 # Use MMCX connectors,
Default value: 0 (Use regular USB 3.0 connectors.)

7 Global Generation Settings

A generation script can define global parameters, called "generation settings," that affect aspects of script compilation and execution. You set generation settings using the Set script keyword.
First, you can initialize values for some settings like Mode. You can use an instruction like this:
Set Mode = HOST; # HOST is a constant equal to 0.
After typing the keyword Set, get the list of all available settings and set the required value. For some settings, after the keyword = (equals sign), the interface shows fixed constants from
which you can select. For example, after typing Set RxInvertPolarity, you can select one of the three constants Yes, No, or Auto.
Settings are DWORD (unsigned integer) values only. Unless otherwise noted, the limits of values used for settings are from 0 to 0xFFFFFFFF (4294967295 decimal). If values used for a setting are outside the limits prescribed by the USB 3.0 Specification, you are cautioned that unexpected behavior may result.

7.1 Device Mode Settings

This setting specifies the mode that the Voyager USB 3.0 Exerciser uses when it performs link management and high-level traffic management.
8
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
Setting
Description
TxScramble
Specifies whether the Exerciser performs scrambling on the Tx channel.
Example: Set TxScramble = YES Possible values are Yes (1) or No (0). Default value: No (0) Applicable Mode: HOST, DEVICE
RxDescramble
Specifies whether the Exerciser performs scrambling on the Rx channel.
Example: Set RxDescramble = YES Possible values are Yes (1), No (0), or Auto (0xFFFFFFFF). Default value: Auto (set automatically based on the training
sequences passed on the link) Applicable Mode: HOST, DEVICE
TxInvertPolarity
Specifies whether the Exerciser inverts polarity on the Tx channel. Example: Set TxInvertPolarity = YES Possible values are Yes (1) or No (0). Default value: No Applicable Mode: HOST, DEVICE
RxInvertPolarity
Specifies whether the Exerciser inverts polarity on the Rx channel. Example: Set RxInvertPolarity = YES Possible values are Yes (1), No (0), or Auto (0xFFFFFFFF). Default value: Auto (Receiver detects the Rx polarity automatically
through the training sequences.) Applicable Mode: HOST, DEVICE
SkipTimer
Specifies a periodic timer that controls sending of SKP ordered sets at specific intervals.
Example: Set SkipTimer = 4700 Example: Set SkipTimer = AUTO
Possible values are an integer number of nanoseconds or Auto (0xFFFFFFFF).
Default value: Auto (use automatic timing for SKP intervals) Applicable Mode: HOST, DEVICE NOTE: The current skip timer resolution is 6.667 ns, so skip time
values are rounded to that resolution.
SkipPendingCount
Specifies the number of pending SKP requests before sending a SKP sequence.
Example: Set SkipPendingCount = 1 Possible values: 0 to 3
Default value: 0 Applicable Mode: HOST, DEVICE

7.2 Link Configuration Settings

These settings specify the USB 3.0 Link Configuration settings that the Voyager USB 3.0 Exerciser uses for link management.
9
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
PortCfgAck
Specifies whether the Exerciser responds to Port Config LMPs or not. Example: Set PortCfgAck = 0 Possible values are:
0 # Do not respond to PortConfig LMPs. 1 # Automatically respond to PortConfig LMPs.
Default value: 1 Applicable Mode: HOST, DEVICE
LTSSMSettings
LTSSM Setting flags. Example: Set LTSSMSettings = CUSTOM_TS1 Possible values are any combinations of the following flags:
0 # AUTO. DISABLE_LFPS = 0x1 # Disable Polling.LFPS detection. CUSTOM_TSEQ = 0x2 # Send specified number of TSEQ
(TSEQNumber setting), then go to the next state. CUSTOM_TS1 = 0x4 # Send TS1 for specified period of time (TS1Time setting), then go to the next state. CUSTOM_TS2 = 0x8 # Send TS2 for specified period of time (TS2Time setting), then go to the next state. DISABLE_IDLE = 0x10 # Disable Logical Idle handshake, so LTSSM jumps over relevant sub-state.
Default value: 0 (auto) Applicable Mode: DEVICE, HOST
TSEQNumber
Specifies number of TSEQ Ordered Sets to be sent in Polling.RxEQ sub-state. Applies only if CUSTOM_TSEQ bit is set in the LTSSMSettings setting.
Example: Set TSEQNumber = 64000 Possible values are any values from 0 to 65535 (0xFFFF). Default value: 65535 Applicable Mode: DEVICE, HOST
TS1Time
Specifies the time in nanoseconds to stay in the Polling.Active or Recovery.Active sub-states, regardless of received pattern. Applies only if bit CUSTOM_TS1 of the LTSSMSettings is set.
Example: Set TS1Time = 2000 Possible values are from 0 to 5000000 (5 ms). It is recommended not
to use values < 267 ns (required time for sending 8 TS1s) Default value: 1000 (1 us) Applicable Mode: DEVICE, HOST
TS2Time
Specifies the time to stay in the Polling.Active or Recovery.Active sub-states, regardless of received pattern. Applies only if bit CUSTOM_TS2 of the LTSSMSettings is set.
Example: Set TS2Time = 1000 Possible values are from 0 to 5000000 (5 ms). It is recommended not
to use values < 267 ns (required time for sending 8 TS2s) Default value: 1000 (1 us) Applicable Mode: DEVICE, HOST
10
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
LUPInterval
Controls the timing schedule of LUP generation. Example: Set LUPInterval = 80 Possible values are:
number of nanoseconds for the LUP interval. 0xFFFFFFFF # AUTO (as defined by spec)
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE
LDNInterval
Controls the timing schedule of LDN generation. Example: Set LDNInterval = 80 Possible values are:
number of nanoseconds for the LDN interval. 0xFFFFFFFF # AUTO (as defined by spec)
Default value: AUTO (0xFFFFFFFF) Applicable Mode: HOST
LUPDetectTimeout
Controls the timeout of receiving LUP. If the time passes without any LUP received, an error is raised, and LTSSM is directed to the Recovery state.
Example: Set LUPDetectTimeout = 20 Possible values are:
positive integer # number of nanoseconds for LUP Detect timeout. 0xFFFFFFFF # AUTO (as defined by spec)
Default value: AUTO (0xFFFFFFFF) Applicable Mode: HOST
LDNDetectTimeout
Controls the timeout of receiving LDN. If the time passes without any LDN received, an error is raised, and LTSSM is directed to the Recovery state.
Example: Set LDNDetectTimeout = 20 Possible values are:
positive integer # number of nanoseconds for LDN Detect timeout. 0xFFFFFFFF # AUTO (as defined by spec)
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE
DisableLUPTimeout
Specifies whether the Exerciser raises an error if the LUP is not received during specified timeout (the connected device port does not indicate its presence in the U0 Link state as part of transition to the U0 state), in the Exerciser link layer.
Example: Set DisableLUPTimeout = 0 Possible values are:
0 # Enables error raising. 1 # Disables error raising and assumes that Link partner is present.
Default value: 0 Applicable Mode: HOST
11
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
DisableLDNTimeout
Specifies whether the Exerciser raises an error if the LDN is not received during specified timeout (the connected device port does not indicate its presence in the U0 Link state as part of transition to the U0 state), in the Exerciser link layer.
Example: Set DisableLDNTimeout = 0 Possible values are:
0 # Enables error raising. 1 # Disables error raising and assumes that Link partner is present.
Default value: 0 Applicable Mode: DEVICE
DisableLUP
Specifies whether the Exerciser should disable LUP generation. Example: Set DisableLUP = 0 Possible values are:
0 # Enables LUP generation. 1 # Disables LUP generation.
Default value: 0 Applicable Mode: DEVICE
DisableLDN
Specifies whether the Exerciser should disable LDN generation. Example: Set DisableLDN = 0 Possible values are:
0 # Enables LDN generation. 1 # Disables LDN generation.
Default value: 0 Applicable Mode: HOST
CustomFlowControl
Custom USB 3.0 link flow control flags. Example: Set CustomFlowControl = NO_LCRD_DETECT Possible values are combinations of the following flags:
0 # Automatic link flow control NO_LGOOD_DETECT = _0001 # LGOOD/LBAD detection is disabled, so any packet is sent immediately. NO_LCRD_DETECT = _0010 # The Exerciser assumes that the Link
partner always has enough credits for receiving packets. NO_LGOOD_GENERATION = _0100 # The Exerciser ignores any error checking and assumes that all received packets are good packets, without sending LGOOD. NO_LCRD_GENERATION = _1000 # The Exerciser ignores Rx buffer space check and also does not respond with LCRD. NO_FLOW_CTRL = _1111 # Combination of all flags.
Default value: 0 (automatic link flow control) Applicable Mode: DEVICE, HOST
12
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
DelayLGOOD
Allows adding a specific delay to the response time of LGOODn. Note that the requested time is added to the normal (minimum)
response time of the system. Also note that time delay currently has 100 ns granularity. Example: Set DelayLGOOD = 200 Possible values are:
delay in nanoseconds # delay to add. 0 # no delay
Default value: 0 Applicable Mode: DEVICE, HOST
DelayLGOODCnt
Specifies number of times to add DelayLGOOD. Example: Set DelayLGOODCnt = 4 Possible values are:
positive integer # number of times to apply. 0 # no adding 0xFFFFFFFF # Apply this setting an infinite number of times.
Default value: 0 Applicable Mode: DEVICE, HOST
DelayLBAD
Allows adding a specific delay to the response time of LBADn. Note that the requested time is added to the normal (minimum)
response time of the system. Also note that time delay currently has 100 ns granularity. Example: Set DelayLBAD = 300 Possible values are:
delay in nanoseconds # delay to add. 0 # no delay
Default value: 0 Applicable Mode: DEVICE, HOST
DelayLBADCnt
Specifies number of times to add DelayLBAD. Example: Set DelayLBADCnt = 7 Possible values are:
positive integer # number of times to apply. 0 # no adding 0xFFFFFFFF # Apply this setting an infinite number of times.
Default value: 0 Applicable Mode: DEVICE, HOST

7.3 Link Delay Settings

These settings specify delays that the Voyager USB 3.0 Exerciser adds when it performs link management and packet transmission.
13
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
DelayLCRD
Allows adding a specific delay to the response time of LCRDn. Note that the requested time is added to the normal (minimum)
response time of the system. Also note that time delay currently has 100 ns granularity. Example: Set DelayLCRD = 100 Possible values are:
delay in nanoseconds # delay to add. 0 # no delay
Default value: 0 Applicable Mode: DEVICE, HOST
DelayLCRDCnt
Specifies number of times to add DelayLCRD. Example: Set DelayLCRDCnt = 4 Possible values are:
positive integer # number of times to apply. 0 # no adding 0xFFFFFFFF # Apply this setting an infinite number of times.
Default value: 0 Applicable Mode: DEVICE, HOST
14
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
PwrStateAccept
Specifies how the Exerciser replies in response to a Power Management states entry request in power state change link commands (LGO_U1, LGO_U2, and LGO_U3).
Bit 0 specifies that the Exerciser replies with the LAU link command on LGO_U1. Otherwise, it replies with the LXU link command.
Bit 1 specifies that the Exerciser replies with the LAU link command on LGO_U2. Otherwise, it replies with the LXU link command.
Bit 2 specifies that the Exerciser replies with the LAU link command on LGO_U3. Otherwise, it replies with the LXU link command.
Example: Set PwrStateAccept = AU1 Possible values are any combination of the following flags:
AU1 = 0x1 # Accept the request of entering U1 by sending LAU. AU2 = 0x2 # Accept the request of entering U2 by sending LAU. AU3 = 0x4 # Accept the request of entering U3 by sending LAU. AU_ALL = (AU1 | AU2 | AU3) AU_AUTO = 0x7 # AUTO mode. Reply to LGO_U1, LGO_U2, or
LGO_U3 based on the configured value through LMPs. Default value: AUTO (0x7), so that the Exerciser accepts all power
state change requests. Applicable Mode: HOST, DEVICE
DisableLPMA
Specifies whether the Exerciser responds with the LPMA link command in response to LAU link commands. (This command is used in conjunction with LGO_Ux and LAU handshakes to guarantee that both ports are in the same state.)
Example: Set DisableLPMA = 0 Possible values are:
0 # Disables sending of LPMA in response to LAU. 1 # Enables sending of LPMA in response to LAU.
Default value: 1 Applicable Mode: HOST, DEVICE
DisablePMLCTimeout
Specifies whether the Exerciser link layer raises an error if the PM Link command is not received during specified timeout.
Example: Set DisablePMLCTimeout = 1 Possible values are:
0 # Enables detection of timeout on receiving response to PM Link command. 1 # Disables detection of timeout on receiving response to PM Link command.
Default value: 0 Applicable Mode: HOST

7.4 Link Power Management Settings

These settings specify the USB 3.0 Link settings that the Voyager USB 3.0 Exerciser uses for link power management.
15
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
PMLCTimeout
Controls the timeout of receiving LC response during PM entry handshake, which is the time between LGO_U1, LGO_U2, or LGO_U3 to LAU or LXU and the time between LAU to LPMA.
Example: Set PMLCTimeout = 40 Possible values are:
number of nanoseconds for PMLC timeout. 0xFFFFFFFF # AUTO (as defined by spec)
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
16
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
LFPSDutyCycle
LFPS duty cycle flags. Example: Set LFPSDutyCycle = DC_60_PERCENT Possible values are:
DC_50_PERCENT = 0 # 50 percent DC_60_PERCENT = 1 # 60 percent DC_40_PERCENT = 2 # 40 percent
Default value: DC_50_PERCENT Applicable Mode: DEVICE, HOST
LFPSPeriod
LFPS period flags. Example: Set LFPSPeriod = PD_24_NS Possible values are:
PD_16_NS = 0 # 16 nanoseconds PD_20_NS = 1 # 20 nanoseconds PD_24_NS = 2 # 24 nanoseconds PD_32_NS = 3 # 32 nanoseconds PD_40_NS = 4 # 40 nanoseconds PD_48_NS = 5 # 48 nanoseconds PD_56_NS = 6 # 56 nanoseconds PD_64_NS = 7 # 64 nanoseconds PD_72_NS = 8 # 72 nanoseconds PD_80_NS = 9 # 80 nanoseconds PD_88_NS = 10 # 88 nanoseconds PD_96_NS = 11 # 96 nanoseconds PD_100_NS = 12 # 100 nanoseconds PD_104_NS = 13 # 104 nanoseconds PD_112_NS = 14 # 112 nanoseconds PD_120_NS = 15 # 120 nanoseconds
Default value: PD_40_NS Applicable Mode: DEVICE, HOST
LFPSPollingTBurst
Specifies the value of tBurst of Polling.LFPS in nanoseconds. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSPollingTBurst = 64 Possible values are:
number of nanoseconds for tBurst of Polling.LFPS 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
LFPSPollingTRepeat
Specifies the value of tRepeat of Polling.LFPS in nanoseconds. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSPollingTRepeat = 128 Possible values are:
number of nanoseconds for tRepeat of Polling.LFPS 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST

7.5 LFPS Settings

These settings specify LFPS parameters that the Voyager USB 3.0 Exerciser uses when it performs LFPS signaling.
17
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
LFPSPingTBurst
Specifies the value of tBurst of Ping.LFPS in nanoseconds. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSPingTBurst = 256 Possible values are:
number of nanoseconds for tBurst of Ping.LFPS 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
LFPSPingTRepeat
Specifies the value of tRepeat of Ping.LFPS in nanoseconds. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSPingTRepeat = 4000 Possible values are:
number of nanoseconds for tBurst of Ping.LFPS 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
LFPSWarmResetTBurst
Specifies the value of tBurst of WarmReset. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSWarmResetTBurst = 625 Possible values are:
number of nanoseconds for tBurst of WarmReset 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
LFPSU1ExitTBurst
Specifies the value of tBurst of U1 Exit. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSU1ExitTBurst = 8 Possible values are:
number of nanoseconds for tBurst of U1 Exit 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
LFPSU2ExitTBurst
Specifies the value of tBurst of U2 Exit. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSU2ExitTBurst = 16 Possible values are:
number of nanoseconds for tBurst of U2 Exit 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
LFPSU3ExitTBurst
Specifies the value of tBurst of U3 Exit. Note that time value for this setting currently has 8 ns granularity. Example: Set LFPSU3ExitTBurst = 24 Possible values are:
number of nanoseconds for tBurst of U3 Exit 0xFFFFFFFF # AUTO. Use the spec value.
Default value: AUTO (0xFFFFFFFF) Applicable Mode: DEVICE, HOST
18
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
19
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
ErrLostLGOOD
Specifies that the Exerciser does not reply with an LGOODn link command when it receives the next Header Packet (HP).
Example: Set ErrLostLGOOD = 15 Possible values are Disabled (0), number of times (1 to 255),
or Infinite (0xFFFFFFFF). Default value: Disabled (0) Applicable Mode: HOST, DEVICE Note: This setting is NOT applicable during link
advertisement stages.
ErrWrongLGOOD
Specifies that the Exerciser replies with a wrong LGOODn link command when it receives the next Header Packet (HP).
Example: Set ErrWrongLGOOD = 15 Possible values are Disabled (0), number of times (1 to 255),
or Infinite (0xFFFFFFFF). Default value: Disabled (0) Applicable Mode: HOST, DEVICE Note: This setting is NOT applicable during link
advertisement stages.
ErrLostLCRD
Specifies that the Exerciser does not reply with an LCRDn link command when it receives the next Header Packet (HP).
Example: Set ErrLostLCRD = 15 Possible values are Disabled (0), number of times (1 to 255),
or Infinite (0xFFFFFFFF). Default value: Disabled (0) Applicable Mode: HOST, DEVICE Note: This setting is NOT applicable during link
advertisement stages.
ErrWrongLCRD
Specifies that the Exerciser replies with a wrong LCRDn link command when it receives the next Header Packet (HP).
Example: Set ErrWrongLCRD = 15 Possible values are Disabled (0), number of times (1 to 255),
or Infinite (0xFFFFFFFF). Default value: Disabled (0) Applicable Mode: HOST, DEVICE Note: This setting is NOT applicable during link
advertisement stages.

7.6 Link Error Settings

These settings specify the USB 3.0 link error injection options that the Voyager USB 3.0 Exerciser uses when it performs link management and packet transmission.
20
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
ErrCorruptLinkCmd
Specifies that the Exerciser sends Link Commands with wrong CRC-5.
Example: Set ErrCorruptLinkCmd = 15 Possible values are Disabled (0), number of times (1 to 255),
or Infinite (0xFFFFFFFF). Default value: Disabled (0) Applicable Mode: HOST, DEVICE Note: This setting is NOT applicable during link
advertisement stages.
ErrCorruptLinkCmdLCRDOnly
Specifies that the Link Command corruption setting should be applied to LCRD Link Commands only.
Example: Set ErrCorruptLinkCmdLCRDOnly = 1 Possible values: 0 or 1
Default value: 0 Applicable Mode: HOST, DEVICE
ErrCorruptLMP
Specifies that the Exerciser sends Link Management Packets (LMP) Commands with wrong CRC-16.
Example: Set ErrCorruptLMP = 15 Possible values are Disabled (0), number of times (1 to 255),
or Infinite (0xFFFFFFFF). Default value: Disabled (0) Applicable Mode: HOST, DEVICE
ErrCorruptLMPCRC5
Specifies that LMP packets sent by the Exerciser should include a wrong CRC5 value. The number of times to apply this error is specified by the CRC5ErrRtryCnt Setting.
Example: Set ErrCorruptLMPCRC5 = 1 Possible values: 0 or 1
Default value: 0 Applicable Mode: HOST, DEVICE
ErrCorruptLMPCRC16
Specifies that LMP packets sent by the Exerciser should include a wrong CRC16 value. The number of times to apply this error is specified by the CRC16ErrRtryCnt Setting.
Example: Set ErrCorruptLMPCRC16 = 1 Possible values: 0 or 1
Default value: 0 Applicable Mode: HOST, DEVICE
ErrCorruptLMPHSN
Specifies that LMP packets sent by the Exerciser should include a wrong Header Sequence Number value. The number of times to apply this error is specified by the
HSNErrRtryCnt Setting.
Example: Set ErrCorruptLMPHSN = 1 Possible values: 0 or 1
Default value: 0 Applicable Mode: HOST, DEVICE
ErrCorruptLMPNoCap
Specifies that the Exerciser should not send the LMP Capability packet during link initialization.
Example: Set ErrCorruptLMPNoCap = 1 Possible values: 0 or 1
Default value: 0 Applicable Mode: HOST, DEVICE
21
Loading...
+ 137 hidden pages