Atomop.dec – Teledyne LeCroy Protocol Analyzers File-Based Decoding User Manual User Manual

Page 71

Advertising
background image

File-based Decoding User Manual

LeCroy Corporation

65

atomop.dec

Description: atomop.dec is an atomic operation data script decoder.

Input Data Fields

in.Channel: Direction of the traffic: 0 = Upstream, 1 = Downstream. The following
constants are defined for the possible values:

_CHANNEL_UPSTREAM

_CHANNEL_DOWNSTREAM

in.Speed: Speed of the traffic: 0 = 2.5 GT/s, 1 = 5.0 GT/s, 2 = 8.0 GT/s. The following
constants are defined for the possible values:

_SPEED_GEN1

_SPEED_GEN2

_SPEED_GEN3

in.LinkWidth: LinkWidth of the traffic: 1, 2, 4, 8, 16. Represents the number of lanes on
the link.
in.Data: Data block to decode
in.DataLength: Length of data block in bytes
in.PrepareFldsForDlg: If not 0 (zero), means that script should prepare decoded fields
for presenting them in a special dialog.
in.Type: Request type:

_TLP_TYPE_ID_FETCHADD32

_TLP_TYPE_ID_FETCHADD64

_TLP_TYPE_ID_SWAP32

_TLP_TYPE_ID_SWAP64

_TLP_TYPE_ID_CAS32

_TLP_TYPE_ID_CAS64

in.FirstByteEnabled: Index of first enabled byte in data block
in.EnabledByteCount: Number of enabled bytes in data block
in.AddressLo: Address[31:0]
in.AddressHi: Address[63:32]; only for:

_TLP_TYPE_ID_FETCHADD64

_TLP_TYPE_ID_SWAP64

_TLP_TYPE_ID_CAS64

in.TC: TC (Traffic Class) field of TLP header
in.Tag: Tag field of TLP header
in.RequesterID: RequesterID field of TLP header
in.Attr: Attr field of TLP header
in.Length: Length field of TLP header
in.TD: TD (Transport Digest) field of TLP header
in.EP: EP (End-to-end Poisoning) field of TLP header

Advertising