beautypg.com

10 transaction packet members, 11 data packet members – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 26

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 26 of 115



5.2.1.3.10 Transaction Packet Members

in.SubType:

SubType value for Transaction Packet. Use constant definitions in VS_constants.inc.


in.Addr
:

Address of the device that receives this Transaction Packet

in.Endp:

Endpoint number on the device that receives this Transaction Packet

in.Dir:

Direction for the specified Endpoint

in.StreamID:

Value of the StreamID field

5.2.1.3.11 Data Packet Members

in.Addr:

Address of the device which is the recipient of this Data Packet

in.Endp:

Endpoint number on the device which is the recipient of this Data Packet

in.Dir:

Direction for the specified Endpoint

in.StreamID:

Value of the StreamID field

in.SeqN:

Value of the Sequence Number for this Data Packett

in.DataLength:

Length of the payload for this Data Packet

in.PayloadLength:

Length of the payload actually recorded for this Data Packet

in.Payload:

Bit source of the packet payload for this Data Packet. Note: You can extract any necessary

information using the GetNBits(), NextNBits(), or PeekNBits() function. (Refer to section 14 in the
USBScriptDecodeManual.pdf.)

in.CRC32:

Value of CRC32 protecting the payload for this Data Packet


Note: In USB Protocol Suite software versions earlier than 3.71 (namely, 3.60 and 3.70), Data Packet Header
and Data Packet Payload were two separate packet types with input context members split accordingly between
them. Those were combined into a single Data Packet starting with version 3.71.