2 trace event-dependent set of members, 1 all packet/transaction-specific set of members, Race event – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual

Page 17: Dependent set of members, All packet/transaction-specific set of members

Advertising
background image

Teledyne LeCroy

Verification Script Engine Reference Manual

Version 6.6x

12

5.2

Trace event-dependent set of members


This set of members is defined and can be used only for a specific events or after calling some functions filling out
some of the variables:

5.2.1

All packet/transaction-specific set of members

Members of this set are valid for any event.

in.Payload

: Bit source of the frame/sequence payload (you can extract any necessary information using the

GetNBits(), NextNBits(), or PeekNBits() functions. Refer to the CSL Manual for details about these functions.

in.PayloadLength

: Length (in bytes of the retrieved payload)

in.LinkWidth

: Link Width recorded for this packet. Possible values 1, 2, 4, 8, and 16 represent the number of

lanes on the link. Only available at the Packet and Link Transaction levels.

in.Speed

: Speed of this packet or link transaction: 0 = 2.5GT/s, 1 = 5.0 GT/s, or 2 = 8.0 GT/s. The following

constants are defined for the possible values _SPEED_GEN1, _SPEED_GEN2, and _SPEED_GEN3.
Only available at the Packet and Link Transaction levels.

Error-related Variables (used for passing all the detected packet error types to the script)

in.HasErrors

: Indicates the presence of any general error type in the current packet or critical packet-type-

specific errors. It is a logical OR of in.ErrorDisparity, in.ErrorSymbol, in.ErrorDelimiter, in.ErrorEndBad,
in.ErrorAllignment, in.ErrorLength, in.ErrorWrongSymbol, in.BadLCRC
[TLP and DLLP Packet Types],
in.BadECRC [TLP Packet Type], in.MsgErrorG3LenCheck [TLP Packet Type], and in.G3ErrorFraming
[DLLP Packet Type]. If this variable is 1, one or more of the errors indicated are present. If it is 0 (zero), the errors
indicated are not present.

in.ErrorDisparity

: If set to a non-zero value, indicates presence of Running Disparity error(s) in this packet.

in.ErrorSymbol

: If set to a non-zero value, indicates presence of Symbol (10-bit Code) error(s) in this packet.

in.ErrorWrongSymbol

: If set to a non-zero value, indicates a K symbol was received where a D symbol was

expected, or vice versa.

in.ErrorDelimiter

: If set to a non-zero value, indicates presence of Delimiter error(s) in this packet.

in.ErrorEndBad

: If set to a non-zero value, indicates presence of an EDB symbol in this packet.

in.ErrorAlignment

: If set to a non-zero value, indicates presence of Alignment error(s) in this packet.

in.ErrorLength

: If set to a non-zero value, indicates presence of Bad Length error(s) in this TLP packet.

in.HasIdleErrors

: Indicates presence of Idle errors in the current packet. If set, one of the following is set,

indicating the presence of error(s) between this packet and the previous packet on this direction of the link:

in.IdleErrorDisparity

: If set to a non-zero value, indicates presence of Running Disparity error(s).

in.IdleErrorSymbol

: If set to a non-zero value, indicates presence of Symbol (10-bit Code) error(s).

in.IdleErrorSkip

: If set to a non-zero value, indicates presence of Skip error(s).

in.IdleErrorData

: If set to a non-zero value, indicates presence of Logical Idle data pattern error(s).


Note: For CRC error variables, see the specific packet type variable sets below.

Advertising