beautypg.com

4 config = tlp, Config = tlp – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 44

background image

Teledyne LeCroy

PETrainer Scripting Language

39

6.4 Config = TLP


This command facilitates data integrity control.

Parameter

Values

Default Comment

AutoSeqNumber

Yes, No

Yes

If set to 0, overrides automatic
generation of the TLP sequence
number and uses the user-defined
value as set in the Packet = TLP
command (see Page 3).

AutoLCRC

Yes, No

Yes

If set to 0, overrides automatic
generation of the TLP LCRC and uses
the user-defined value as set in the
Packet = TLP command (see Page 3).

ReplayTimer

In ns (rounded to nearest 8), Off

4200

Timeout in the TLP transmitter path that
counts time since the latest Ack or Nak
DLLP was received.
If set, automatically retransmits TLP
packets that were Nak’ed or on replay
timer expiration.

AutoRetrain

Yes, No

Yes

If set, enables automatic retraining of
the link in case the number of
retransmitted TLPs is 4.
Applicable only when the ReplayTimer
is not turned off.

TagGeneration

Manual,
Default,
Extended,
Phantom1,
Phantom2,

Phantom3

Manual

Tag generation policy for posted TLP
packets:
Manual: Tags are taken from the script.
Default: Use lower 5-bits of Tag field.
Zero out higher 3 bits.
Extended: Use 8-bits of Tag field.
Phantom1: Use 1 most significant bit of
the Function field and 8-bits of Tag.
Phantom2: Use 2 most significant bits
of the Function field and 8-bits of Tag.
Phantom3: Use 3 bits of Function field
and 8-bits of Tag.



Example:

This example shows how to turn off automatic PSN and LCRC generation for outgoing TLP packets.
The ReplayTimer, AutoRetrain, and TagGeneration parameters are omitted so the default values are
used.

Config = TLP {

AutoSeqNumber = No

AutoLCRC = No

}