
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
v
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
Comentários a estes Manuais