
Teledyne LeCroy PETrainer Scripting Language
8
Example 5:
This example shows how to specify reserved fields in the TLP header using the Field parameter:
Packet=TLP {
TLPType=CfgRd0
Register = 0x34
Length = 1
FirstDwBe = 0xF
Field[0] = 0x1
Field[8] = 0x1
Field[12:15] = 0xF
Field[20:21] = 0x3
Field[80:83] = 0xF
}
Example 6:
This example shows how to specify the TLP type directly. Any invalid TLP type can be generated with this
method.
Packet = TLP {
TLPType = 0x4F
}
Example 7:
Repeat this TLP packet 64 times.
Packet = TLP {
TLPType = MRd32
Address = 0x1000
Count = 64
}
Commenti su questo manuale