beautypg.com

5 packet =

Page 35

background image

Teledyne LeCroy

PETrainer Scripting Language

30

3.5 Packet =


This command initiates transmission of the packet specified by the Template command (see page 68).
User can override packet fields according to the template.

Example 1:

This sequence issues three 32-bit Memory read requests. The address field of TLP header would accept
the values 0, 64, and 128. Every other field in the TLP header would accept the value from the packet
template.


Template = TLP {

Name = “TestPacket”

Type = MRd32

RequesterID = (1:0:0)

Length = 64

Address = 0

}


Packet = “TestPacket”
{
}

Packet = “TestPacket”
{

Address = 64

}

Packet = “TestPacket”
{

Address = 128

}