3 wait = payload, Wait = payload – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual
Page 59
Teledyne LeCroy
PETrainer Scripting Language
54
7.3 Wait = Payload
This command waits for TLP payload match.
Parameter
Values
Default
Comment
Data
Mask and Match up to four DWORDs of TLP payload
PETrainer ML: Any offset from the beginning of payload
PETrainer EML: Zero offset from the beginning of payload
Data@
Mask and Match up to four DWORDs of TLP payload
starting from
(PETrainer EML only)
Up to four DWORDs of the payload can be specified.
Note: This command is supported only by ML and EML Trainers.
Example 1:
This command waits for a TLP with data payload 0x12345678.
Note: When this command is executed on PETrainer EML, it matches only the first DWORD of the
TLP payload.
When this command is executed on PETrainer ML, it matches any DWORD from the TLP
payload.
Script execution continues when a TLP with the specified payload is received or after the 1024 ns timeout
expires.
Wait = Payload {
Data = ( 0x12345678 )
Timeout = 1024
}
Example 2:
This command waits for a TLP with a data payload that matches the following criteria:
1) The 1
st
DWORD’s upper-most word must have 0xABCD.
2) The 4
th
DWORD’s lowest word must have 0x1234.
3) The 2
nd
and 3
rd
DWORDs are insignificant.
Only the first four DWORDs of a TLP payload are checked when this command is executed on PETrainer
EML.
Any four subsequent DWORDs of a TLP payload are checked when this command is executed on
PETrainer ML.
Script execution continues when a TLP with specified payload is received or after the 1024 ns timeout
expires.
Wait = Payload {
Data = ( 0xABCDXXXX, 0xXXXXXXXX, 0xXXXXXXXX, 0xXXXX1234 )
Timeout = 1024
}