beautypg.com

Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 21

background image

Teledyne LeCroy

PETrainer Scripting Language

16

Example 2:

This example shows how to send a Completion with Data TLP. This Completion TLP returns
Successful Completion (SC) status.
Requester is Function 0 of Device 0 on Bus 0.
Completer is Function 0 of Device 1 on Bus 0.
This completes the TLP request with Tag Number 4.
This is the last Completion of the Split Transaction, since ByteCount field is equal to the number of bytes
transferred and BCM is not set.


Packet = TLP {

TLPType = CplD
RequesterId = (0:0:0)
CompleterId = (0:1:0)
Tag=4
ComplStatus = SC
ByteCount = 32
Payload = ( 0x00000001, 0x00000002, 0x00000003, 0x00000004,

0x00000005, 0x00000006, 0x00000007, 0x00000008 )

}