Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 13 of 35
5.1
Trace event-independent set of members.
This set of members is defined and can be used for any event passed to script:
in.Time
- time of the event( type : list, having format : 2 sec 125 ns -> [2 , 125])
in.Channel
- channel where the event occured. ( can be
_CHANNEL_LEFT
or
_CHANNEL_RIGHT
indicating on which channel event occurred )
in.TraceEvent
- type of trace events( application predefined constants are used. See list of possible
events below )
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 packet-specific set of members.
( valid for any packets - but only after RetrievePktPayload()-function was called – see description of
this function for details )
in.Payload
- bit source of the packet payload ( you can extract any necessary
information using GetNBits(), NextNBits() or PeekNBits() functions – please refer to CSL Manual for
details about these functions )
in.PayloadLength
- the length( in bytes of the retrieved packet payload )
5.2.2 Link packet-specific set of members.
(valid for link packets only, undefined for other events )
in.Opcode
in.VL
in.FCCL
in.FCTBS
in.LPCRC
5.2.3 Link state change notification-specific set of members.
(valid for Link State Change notifications only, undefined for other events )
in.LinkStatePrev
- previous link state(Opcode)