10 sendtraceeventonly(), 11 sendalltraceevents(), Race – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 27: Vent, Vents

Advertising
background image

Verification Script Engine Reference Manual

22

10.10 SendTraceEventOnly()

This function specifies that ONLY the event specified in this function will be sent to script.


Format :

SendTraceEventOnly( event )



Parameters: event – See

SendTraceEvent ()

for all possible values.

Remark: This function may be useful when there are many events to be sent and it is needed to
send

only one kind of events and turn off the other ones.


Example:

SendLevel( _SEQ );

# Send sequence level events

SendTraceEvent ( _SEQ_FCP ); # Send FCP sequences

SendTraceEvent ( _SEQ_GS );

# Send GS sequences

SendTraceEvent ( _SEQ_SW );

# Send SW sequences

if( SomeCondition )
{

SendTraceEventOnly ( _SEQ_FCP );

# Only FC-FCP sequences will be sent.

}



10.11 SendAllTraceEvents()

This function specifies that ALL trace event relevant for the selected transaction level will be

sent to script.

Format :

SendAllTraceEvents ()




Example:

SendLevel( _SEQ ); # Send sequence level events

SendAllTraceEvents ( ); # Send FCP, SW, GS and other sequences

Advertising