15 filtertlptype(), Ilter – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual

Page 42

Advertising
background image

Teledyne LeCroy

Verification Script Engine Reference Manual

Version 6.6x

37

8.15 FilterTlpType()


This function specifies more precise tuning (filtering out) for sending TLP packets to the script.


Format:

FilterTlpType( tlp_type )



Parameters:


tlp_type

Encoding of the TLP type.
This parameter may be one of the values defined for the SendTlpType() function.


Example:

SendTlpType(_TLP_TYPE_CONFIG); # Send all Configuration Request TLPs

# to the script

FilterTlpType(_TLP_TYPE_ID_CFGRD_1); # Don’t send Type 1 requests
FilterTlpType(_TLP_TYPE_ID_CFGWR_1);

# Only Type 0 Configuration Request TLPs are sent to the script

Advertising