1 tlptype = mrd32, mrdlk32, mwr32 – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual
Page 14
![background image](/manuals/353570/14/background.png)
Teledyne LeCroy
PETrainer Scripting Language
9
3.1.1 TLPType = MRd32, MRdlk32, MWr32
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.
Address
0x00000000:
0xFFFFFFFF
0
Bytes 8-11 in the TLP header.
Example 1:
This example shows how to send a 32-bit Memory Write TLP.
The Length field is not specified, so it would be calculated by software. (Length = 4 would be used.)
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 = MWr32
LastDwBe = 0xF
FirstDwBe = 0xF
Address = 0x1000
Payload = ( 0x2, 0x4, 0x6, 0x8 )
}
Example 2:
This example shows how to send a 32-bit Memory Write TLP. This command would generate a random
payload of 1024 DWORDs.
Packet = TLP {
TLPType = MWr32
LastDwBe = 0xF
FirstDwBe = 0xF
Address = 0x1000
Length = 0 ; 0 means 1024 DWORDs of payload
Payload = Random
}