10 sendtraceeventonly(), Race, Vent – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual
Page 37
Teledyne LeCroy
Verification Script Engine Reference Manual
Version 6.6x
32
8.10 SendTraceEventOnly()
This function specifies that ONLY the event specified in this function is sent to the script.
Format:
SendTraceEventOnly( event )
Parameters:
event
See SendTraceEvent() for all possible values.
Remark: This function may be useful when many events are to be sent, but you need to send only one
kind of event and turn off the rest.
Example:
…
SendLevel( _LINK );
# Send Link Transaction level events
SendTraceEvent ( _LINK_CONFIG ); # Send Configuration transactions
SendTraceEvent ( _LINK_COMPLETION ); # Send Completion transactions
SendTraceEvent ( _LINK_MESSAGE ); # Send Message transactions
…
if( SomeCondition )
{
SendTraceEventOnly (_LINK_MEMORY );
# Only Memory read/write request transactions are sent.
}