
File-based Decoding User Manual
LeCroy Corporation 63
msg.dec
Description: msg.dec is a message 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, means that script should prepare decoded fields for
presenting them in a special dialog.
in.Type: Request type:
• _TLP_TYPE_ID_IORD
• _TLP_TYPE_ID_IOWR
in.FirstByteEnabled: Index of first enabled byte in data block
in.EnabledByteCount: Number of enabled bytes in data block
in.MessageCode: Message code:
• _TLP_MSGCODE_ASSERT_INTA
• _TLP_MSGCODE_ASSERT_INTB
• _TLP_MSGCODE_ASSERT_INTC
• _TLP_MSGCODE_ASSERT_INTD
• _TLP_MSGCODE_DEASSERT_INTA
• _TLP_MSGCODE_DEASSERT_INTB
• _TLP_MSGCODE_DEASSERT_INTC
• _TLP_MSGCODE_DEASSERT_INTD
• _TLP_MSGCODE_PM_ACTIVESTATENAK
• _TLP_MSGCODE_PM_PME
•_TLP_MSGCODE_PM_TURNOFF
• _TLP_MSGCODE_PM_TOACK
• _TLP_MSGCODE_ERR_COR
• _TLP_MSGCODE_ERR_NONFATAL
• _TLP_MSGCODE_ERR_FATAL
Commentaires sur ces manuels