
Verification Script Engine Reference Manual
5.2 Trace event-dependent set of members
This set of members is defined and can be used only for a specific events or after calling some
functions filling out some of variables:
5.2.1 All frame/sequence-specific set of members
Members of this set are valid for any frames.
in.Payload - bit source of the frame/sequence payload ( you can extract any necessary
information using GetNBits(), NextNBits() or PeekNBits() functions – please refer to CSL Manual for
details about these functions )
in.Frm_PldBytes - the length( in bytes of the retrieved frame payload )
NOTE:
Preferably in.Payload and in.Frm_PldBytes should call a function to return
in.Frm_Data/in.Seq_Data ... etc depending on the context.
NOTE: Because a payload may be very large – the VSE sets up the in.Payload member up to
special limit ( by default 16Mb ). All attempts to get data beyond this limit will produce null
values. This limit can be changed via SetTraPayloadLimit () function.
5.2.2 Primitive frame-specific set of members
(valid for primitive frames only, undefined for other events )
in.Byte1 – first byte of primitive
in.Byte2 – second byte of primitive
in.Byte3 – third byte of primitive
in.Byte4 – fourth byte of primitive
in.Primitive – DWORD value of primitive
in.NumOfPackedPrims – Contains the number of packed primitives ( 0 – for regular
primitives )
5.2.3 Data frame-specific set of members
(valid for data frames only, undefined for other events )
in.R_CTL – Routing Control
in.D_ID – Destination ID
in.CS_CTL – Class Specific Control
in.S_ID – Source ID
in.TYPE – Data structure type
in.F_CTL – Frame Control
in.SEQ_ID – Sequence ID
in.D_ID – Destination ID
in.DF_CTL – Data Field Control
in.SEQ_CNT – Sequence Count
in.OX_ID – Originator Exchange ID
in.RX_ID – Responder Exchange ID
in.Param – Parameter
in.CRC – CRC
Comentarios a estos manuales