beautypg.com

Mem.dec, Input data fields, Output data fields – Teledyne LeCroy LeCroy Analyzers File Based Decoding Manual User Manual

Page 70

background image

File-based Decoding User Manual

64

LeCroy Corporation

mem.dec

Description: mem.dec is a memory data script decoder.

Input Data Fields

in.Data: Data block to decode

in.DataLength: Length of data block in bytes

in.PrepareFldsForDlg: If not 0, means that script should prepare decoded fields for
presenting them in a special dialog.

in.Type: Request type:

_TLP_TYPE_ID_MRD32

_TLP_TYPE_ID_MRDLK32

_TLP_TYPE_ID_MWR32

_TLP_TYPE_ID_MRD64

_TLP_TYPE_ID_MRDLK64

_TLP_TYPE_ID_MWR64

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_MRD64

_TLP_TYPE_ID_MRDLK64

_TLP_TYPE_ID_MWR64

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

Output Data Fields

out.Decoded: Amount of data (in bytes) that has been decoded