beautypg.com

2 verification script structure, Verification script structure, 2verification script structure – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 7

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 7 of 115



2

Verification Script Structure

Writing verification scripts is easy, if you understand how the application interacts with running scripts and if you
follow some rules imposed by the verification script syntax.

The main file with the text of the verification script must have extension .vse. It must be located in the subfolder
..\Scripts\VFScripts of the main folder. Some other files must be included in the main script file using the
directive %include.

The following schema presents a common structure of a verification script. It is similar to the script template
VSTemplate.vs_, which is included with VSE.

#
# VS1.vse
#
# Verification script
#
# Brief Description:
# Verify something.
#
############################################################################################
# Module info #
############################################################################################
# Filling of this block is necessary for proper verification script operation... #


set DecoderDesc = "<Your Verification Script description>";

# Optional


#
# Include main Verification Script Engine definitions.
#
%include "VSTools.inc"

# Should be set for all verification scripts.