beautypg.com

6 tlptype = cpl, cpllk, cpld, cpldlk – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 20

background image

Teledyne LeCroy

PETrainer Scripting Language

15

3.1.6 TLPType = Cpl, CplLk, CplD, CplDLk


Parameter

Value

Default

Comment

CompleterId

(XX:XX:X) or direct value

0

Identifies the Completer.
This parameter can be set in the following
format: (BusNumber : DeviceNumber :
FunctionNumber
)

ComplStatus

SC
UR
CRS
CA

SC

Indicates the completion status.

BCM

0:1

0

Byte Count Modified: Must not be set by
PCI Express Completers and may only be
set by PCI-X completers.
Indicates that the Byte Count field reports
the size of just the first packet instead of
the entire remaining byte count.

ByteCount

0:4095

0

Remaining byte count for the request

LowerAddr

0:63

0

Lower byte address for the starting byte of
the completion


Note: For the Summit Z2-16 and Summit Z3-16 Trainers you can specify the automatic Tag value
modifiers to make the Completion automatically respond to incoming requests., See the modifier values
for the Tag parameter on page 5, in the Packets = TLP table, for reference.


Example 1:

This example shows how to send a Completion TLP. This Completion TLP returns Unsupported Request
(UR) 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.

Packet = TLP {

TLPType = Cpl
RequesterId = (0:0:0)
CompleterId = (0:1:0)
Tag=4
ComplStatus = UR

}