7 verification script engine events – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 20

Advertising
background image

Verification Script Engine Reference Manual

15

6 Verification Script Engine Output Context members

All verification scripts have output contexts – some special structures which members are filled

by the script and can be used inside of the application ( For more details about output contexts –
please refer to the CATC Script Language(CSL) Manual ). The verification script output contexts have
only one member:

out.Result

- the result of the whole verification program defined in the verification script.


This member is supposed to have 3 values:
_VERIFICATION_PROGRESS,( is set by default when script starts running )
_VERIFICATION_PASSED,
_VERIFICATION_FAILED

The last two values should be set if you decide that recorded trace does ( or not ) satisfy the

imposed verification conditions. In both cases the verification script will stop running.

If you don't specify any of those values - the result of script execution will be set as
VERIFICATION_FAILED at exit.

NOTE: If you don’t care about result of script running please call function

ScriptForDisplayOnly()

one time before stopping script – then the result will be DONE.




7 Verification Script Engine events

VSE defines a large group of trace “events” – both on frame and sequence levels – that can

be passed to a verification script for evaluation or retrieving and displaying some contained
information. The information about the type of event can be seen in in.TraceEvent. Please refer to the
topic “Sending functions” in this manual for details about how to specify transaction levels and which
events should be sent to verification scripts.

Advertising