beautypg.com

12 template command, Template command – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 73

background image

Teledyne LeCroy

PETrainer Scripting Language

68

12 Template Command


This command creates a template for a packet that can be used in the Packet command. The fields
specified in the Template command may be overridden in the Packet command.

Example 1:

The following example issues three Memory Read requests.

Template = TLP {

Name = “TestPacket”

Type = MRd32

TC = 0

Tag = 0

RequesterID = (1:0:0)

Length = 64

Address = 0

}

Packet = “TestPacket” {
}

Packet = “TestPacket” {

Address = 64

}

Packet = “TestPacket” {

Address = 128

}