10 sending functions, 1 sendlevel(), 2 sendlevelonly() – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 22: Evel

Advertising
background image

Verification Script Engine Reference Manual

17

10 Sending functions

This topic contains information about the special group of VSE functions designed to specify

which events the verification script should expect to receive.

10.1 SendLevel()

This function specifies that events of specified transaction level should be sent to the script.

Format :

SendLevel( level )



Parameters: level – This parameter can be one of following values:

_FRM – ( value 0 ) send Frame level events

_SEQ – ( value 1 ) send Sequence level events


Example:

SendLevel( _FRM ); # - send frame level events

SendLevel( _SEQ ); # - send sequence level events

To get all frames of a sequence, call SendLevel(_FRM) instead of SendLevel(_SEQ). If other
events such as order sets are not wanted, use SendTraceEvent() method to receive specific
events.
To get all data frames, the following code can be used:
SendLevel(_FRM);
SendTraceEvent(_FRM_FCP); # all FCP frames, including all data frames of a sequence.

Remark:

If no level was specified – events of frame level will be sent to the script by default.



10.2 SendLevelOnly()

This function specifies that ONLY events of specified transaction level should be sent to the
script.

Format :

SendLevelOnly( level )



Parameters: level – This parameter can be one of following values:

_FRM – ( value 0 ) send Frame level events

_SEQ – ( value 1 ) send Sequence level events


Example:

SendLevelOnly( _SEQ ); # - send ONLY sequence level events





Advertising