22 the vse important script files, 1 example script files, Xample – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual
Page 87: Cript, Iles

Teledyne LeCroy
Verification Script Engine Reference Manual
Version 6.6x
82
22 The VSE Important Script Files
The VSE working files are located in the ..\Scripts\VFScripts subfolder of the main PETracer™ folder.
The current version of VSE includes the following files:
File
Description
VSTools.inc
Main VSE file containing definitions of some generic and PCI Express-specific VSE script
functions provided by Teledyne LeCroy (must be included in every script).
NOTE: The files VS_constants.inc and VS_Primitives.inc are included.
VS_constants.inc
File containing definitions of some important generic and PCI Express-specific VSE global
constants
VSTemplate.pev_
Template file for new verification scripts.
VSUser_globals.inc File of user global variable and constant definitions (In this file, it is useful to enter
definitions of constants, variables, and functions to be used in many scripts you write.)
22.1 Example Script Files
The VSE example files are located in the ..\Scripts\VFScripts\Samples subfolder of the main PETracer
folder. The current version of VSE includes the following files:
File
Description
examp_tlp_data.inc
Sample include file containing definitions and functions used by some other
sample scripts
examp_dllps.pevs
Sample processing script that outputs information about DLLP packets present
in the trace
examp_tlps.pevs
Sample processing script that outputs information about TLP packets present in
the trace
examp_ordered_sets.pevs
Sample processing script that outputs information about Ordered Set and Link
Condition packets present in the trace
examp_check_errors.pevs
Sample PASS/FAIL script that checks all packets in the trace for all the errors
VSE exports and fails in case any error is found
examp_link_transactions.pevs
Sample processing script that outputs information about Link Transactions
present in the trace
examp_split_transactions.pevs Sample processing script that outputs information about Split Transactions
present in the trace
examp_metrics.pevs
Sample processing script that outputs information about Memory Write Link
Transaction metrics and all Split Transaction metrics