10 generating traffic, 1 stop traffic generation, 2 resume traffic generation – Teledyne LeCroy Sierra M122 User Manual User Manual
Page 302: 11 sierra trainer generation language, 1 file structure

Teledyne LeCroy
Generating Traffic
300
Sierra M122 SAS/SATA Protocol Analyzer User Manual
5.10 Generating
Traffic
After the .ssg file has been opened onscreen, recording and traffic generation can begin
at any time.
1. (optional) Click
to begin the recording.
2. If the script does not have a connect block built into it, connect the exerciser to the
DUT by clicking the Connect Link button
. Clicking this button causes the
generator to invoke the various settings in your script (for example, the global
settings) and then establish a connection.
3. Click the Start Generation button
on the Toolbar.
While generating traffic, a bar appears on the right of the trace view, indicating that
traffic generation is taking place. (The green light on the Traffic signal button also blinks
during traffic generation).
5.10.1
Stop Traffic Generation
Normally, traffic generation stops automatically when the application reaches the end of
the Generator file.
To manually stop traffic generation, click the Stop Generation button
.
5.10.2
Resume Traffic Generation
If traffic generation is stopped prior to the end of the script, it can be resumed.
To resume traffic generation, click the Resume Generation button
.
5.11
Sierra Trainer Generation Language
The Sierra Trainer 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.
5.11.1
File Structure
Traffic Generation files (*.ssg) should have the following structure:
Declarations
Global generation settings
Constants
Data patterns
Chain of symbols (primitives, raw data)
Packet templates