beautypg.com

Cfg.dec – Teledyne LeCroy LeCroy Analyzers File Based Decoding Manual User Manual

Page 68

background image

File-based Decoding User Manual

62

LeCroy Corporation

cfg.dec

Description: cfg.dec is a configuration 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_CFGRD_0

_TLP_TYPE_ID_CFGRD_1

_TLP_TYPE_ID_CFGWR_0

_TLP_TYPE_ID_CFGWR_1

in.FirstByteEnabled: Index of first enabled byte in data block

in.EnabledByteCount: Number of enabled bytes in data block

in.DeviceID: Device ID

in.Register: Configuration space address

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