2 tlptype = mrd64, mrdlk64, mwr64 – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual
Page 15

Teledyne LeCroy
PETrainer Scripting Language
10
3.1.2 TLPType = MRd64, MRdLk64, MWr64
Parameter
Value
Default Comment
LastDwBe
0:15
0
Byte 7 in the TLP header. See rules for
Last DW BE in the PCI Express
Specification.
FirstDwBe
0:15
0
Byte 7 in the TLP header. See rules for
1st DW BE in the PCI Express
Specification.
AddressLo
0x00000000:
0xFFFFFFFF
0
Bytes 8-11 in the TLP header.
AddressHi
0x00000000:
0xFFFFFFFF
0
Bytes 12-15 in the TLP header.
Example 1:
This example shows how to send a 64-bit Memory Write TLP.
Length parameter is set to 3 intentionally in order to generate a TLP with incorrect length.
TC, TD, EP, Ordering, Snoop, and Tag parameters are not specified, so the default value of 0 is used.
LCRC is not specified, so the LCRC is calculated by software.
Packet = TLP {
TLPType = MWr64
LastDwBe = 0xF
FirstDwBe = 0xF
AddressLo = 0x1000
AddressHi = 0x60000000
Payload = ( 0x2, 0x4, 0x6, 0x8, 0x2, 0x4, 0x6, 0x8 )
Length = 3
}