Chapter 13: sastrainer generation language, File structure, Declarations – Teledyne LeCroy SAS Suite User Manual User Manual
Page 229: Generation blocks, Chapter 13 sastrainer generation language, Declarations generation blocks, Chapter 13: sas trainer generation language

SASSuite User Manual
Version 6.25
LeCroy Corporation
219
Chapter 13: SASTrainer Generation
Language
The SASTrainer File Generation Language is an API that allows you to separate traffic
into text commands. These commands are used construct primitives and frames that are
sent to the host or the device.
File Structure
Traffic Generation files (*.ssg) should have the following structure:
Declarations
•
Global generation settings
•
Constants
•
Data patterns
•
Chain of symbols (primitives, raw data, etc)
•
Packet templates
Note: Some declared objects could be used in further declarations as long
as they are previously declared. No forward declarations are
allowed at this time.
Generation
blocks
•
List of generation instructions
Note: It is possible to create many generation blocks - but at current time
only a block with the name 'Generation' will be executed. (Calls of
some blocks from another blocks are not currently allowed)