Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual
Page 66
Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
57
Data Structure
The SendPipeCommand instruction uses a special PipeCommandData data structure (defined
in PipeCommands.ginc) to specify relevant protocol fields for the command. The following is the
definition of this data structure to be used inside the SendPipeCommand instruction:
Packet PipeCommandData
{
#Dword 0
Type : 5 = 0
RouteStr : 20
DevAddr : 7
#Dword 1
SubType : 4 = 0
Rsvd1 : 2 = 0
Rty : 1 = 0
Dir : 1 = 0
Endp : 4
Rsvd2 : 3 = 0
HstErr : 1 = 0
NumP : 5 = 1
SeqN : 5
Rsvd3 : 6 = 0
#Dword 2
StreamID : 16
ForceSeq : 1 = 0 # Special bit, to force the sequential
# processing of this Pipe Command
BrkOnNRDY : 1 = 0 # Special bit, to force break on NRDY for
# this Pipe Command
BrkImmed : 1 = 0 # Special bit, to force break immediately
# for this Pipe Command
Crc32Err : 1 = 0 # Special bit, to force CRC32 error for
# the first Data Packet for this
# Pipe Command. See example on page 57.
Rsvd4 : 7 = 0
PP : 1 = 0
Rsvd5 : 4 = 0
#Dword 3
CRC_16 : 16 = 0
Hseq : 3 = 0
LcwRsvd : 3 = 0
HDepth : 3
D1 : 1 = 0
D2 : 1 = 0
CRC_5 : 5 = 0
# Payload
Data : *
}