beautypg.com

6 config command, 1 config = general, Config command – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 40: Config = general

background image

Teledyne LeCroy

PETrainer Scripting Language

35

6 Config Command


This command configures the PETrainer™.

6.1 Config = General


This command should precede any statement in a PETrainer script file. There should be only one
Config = General command in a PETrainer script file. All Config = General commands from included
files (see page 70) are ignored.

Parameter

Values

Default Comment

AutoDetect

Yes, No

No

Automatically detect link parameters.

LinkWidth

1,4,8,16

4

Ignored in PETrainer ML if AutoDetect
is set.

DirectionRx

Upstream, Downstream

U

DisableScrambleTx

Yes, No

No

Ignored if AutoDetect is set.

DisableDescrambleRx

Yes, No

No

Ignored if AutoDetect is set.

ReverseLanesTx

Yes, No

No

Ignored if AutoDetect is set.

ReverseLanesRx

Yes, No

No

Ignored if AutoDetect is set.

InvertPolarityTx

(X,X,X,X,…)

The array of 1/0 elements.
The size of the array should match the
link width.

InvertPolarityRx

(X,X,X,X,…)

The array of 1/0 elements.
The size of the array should match the
link width.
Ignored if AutoDetect is set.

BaseSpec10

Yes, No

No

SkewTx

(X,X,X,X,…)

The array of integer elements.
The size of the array should match the
link width.
Measured in symbols, valid values are
from 0 to 7.

UseExtRefClock

Yes, No

No

Use external reference clock.
Applicable for PETrainer ML only.

TrainerReset

Yes, No

No

When set, resets PETrainer before
script execution.