3 tlp-specific set of members, Tlp-specific set of members – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual
Page 19

Teledyne LeCroy
Verification Script Engine Reference Manual
Version 6.6x
14
5.2.3
TLP-specific set of members
Valid for TLPs only, undefined for other events.
All TLPs
in.TLPType:
Contains the numeric encoding of the TLP type. The following possible values are defined by VSE
and the corresponding constants can be used by scripts:
TLP_TYPE_ID_INVALID = 0;
TLP_TYPE_ID_MRD32 = 1;
TLP_TYPE_ID_MRDLK32 = 2;
TLP_TYPE_ID_MWR32 = 3;
TLP_TYPE_ID_MRD64 = 4;
TLP_TYPE_ID_MRDLK64 = 5;
TLP_TYPE_ID_MWR64 = 6;
TLP_TYPE_ID_IORD = 7;
TLP_TYPE_ID_IOWR = 8;
TLP_TYPE_ID_CFGRD_0 = 9;
TLP_TYPE_ID_CFGWR_0 = 10;
TLP_TYPE_ID_CFGRD_1 = 11;
TLP_TYPE_ID_CFGWR_1 = 12;
TLP_TYPE_ID_MSG = 13;
TLP_TYPE_ID_MSGD = 14;
TLP_TYPE_ID_MSGAS = 15;
TLP_TYPE_ID_MSGASD = 16;
TLP_TYPE_ID_CPL = 17;
TLP_TYPE_ID_CPLD = 18;
TLP_TYPE_ID_CPLLK = 19;
TLP_TYPE_ID_CPLDLK = 20;
TLP Error-related Variables
in.InvalidEncoding
: If set to a non-zero value, indicates an invalid TLP encoding.
in.ErrorRsvdFld
: If set to a non-zero value, indicates a reserved field is non-zero or in use.
in.ErrorPayload
: If set to a non-zero value, indicates the TLP Payload does not match the Length field, so that
the TD field value does not correspond with the observed size.
in.ErrorLengthField
: If set to a non-zero value, indicates the Length field is invalid.
in.ErrorTCField
: If set to a non-zero value, indicates the TC field is invalid.
in.ErrorAttrField
: If set to a non-zero value, indicates the Attr field is invalid.
in.ErrorByteEnables
: If set to a non-zero value, indicates the TLP violates the Byte Enable rules.
in.MemErrorAddrLength
: If set to a non-zero value, indicates the Address/Length combination causes a Memory
Space access to cross a 4-KB boundary.
in.MemErrorWrongType
: If set to a non-zero value, indicates the wrong bit format is being used. For example,
for addresses below 4 GB, Requesters must use 32 bit format.
in.CfgErrorRegister
: If set to a non-zero value, indicates an invalid register field for Cfg. Must be DWORD
aligned.
in.MsgErrorRouting
: If set to a non-zero value, indicates invalid Msg or MsgD routing.