2 example script 2, Example script 2 – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual
Page 148
Advertising

Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
139
#---------------------- Generation procedures ----------------------------
Main()
{
# All settings can be changed during run-time.
Set
LFPSU3ExitTBurst =
80
Set
CustomFlowControl =
_1111
# NO_FLOW_CTRL
#...
}
11.2 Example Script 2
# Packet Type constants
const
LMP
=
0x0
const
TP
=
0x4
const
DPH
=
0x8
const
ITP
=
0xC
Packet
USB3Common
{
Type :
5
= LMP
}
struct
LinkCtrlWord
{
Hseq :
3
LcwRsvd :
3
HDepth :
3
D1 :
1
D2 :
1
CRC_5 :
5
# Auto calculated
}
Packet
DataPacket : USB3Common
{
#Dword 0
Type = DPH
RouteStr :
20
DevAddr :
7
Advertising