5 verification script engine input context members, 1 trace event-independent set of members, Race event – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual
Page 16: Independent set of members

Teledyne LeCroy
Verification Script Engine Reference Manual
Version 6.6x
11
5 Verification Script Engine Input Context Members
All verification scripts have input contexts – some special structures whose members are filled by the
application and can be used inside of the scripts (for more details about input contexts – please refer to the CATC
Script Language(CSL) Manual). The verification script input contexts have two sets of members:
• Trace event-independent set of members.
• Trace event -dependent set of members.
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.Level
: Transaction level of the trace event (0 = packets, 1 = link transactions, 2 = split transactions)
in.Index
: Index of the event in the trace file (frame number for frames, sequence number for sequences)
in.Time
: Time of the event (type: list, having the format: 2 sec 125 ns -> [2 , 125]. (See
details)
in.Channel
: Channel where the event occured. (may be _CHANNEL_1 (1) or _CHANNEL_2 (2) indicating which
direction of the PE link the event occurred)
in.TraceEvent
: Type of trace event (application predefined constants are used. See the list of possible events,
below)
in.Notification:
Type of notification (application predefined constants are used. Currently, no notifications are
defined)