beautypg.com

Teledyne LeCroy STX M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 15

background image

    Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual

13

Contents

    LeCroy Corporation

Settings.inc File ...........................................................................................................................................381

The Global Setting “AutoAlign” .......................................................................................................382

Placing Global Settings in the Generation Block ...........................................................................383

Primitive and Frame Definitions.............................................................................................. 384

Special Conditions for Frames...................................................................................................................384

Primitives Decl.inc File ...............................................................................................................................385

Address FramesDecl.inc File .....................................................................................................................385

SSPFrames.inc File .....................................................................................................................................385

SMPFrames.inc File.....................................................................................................................................385

STPFrames.inc File .....................................................................................................................................385

Starting the Script Editor ......................................................................................................... 386

Script Editor Toolbar...................................................................................................................................387

View Options Menu ...........................................................................................................................388

Pop-up Menu .....................................................................................................................................388

File Tabs .............................................................................................................................................388

Error Log ............................................................................................................................................389

Tooltips ..............................................................................................................................................389

Multi-Port Trainer Script Assignments to Links .................................................................... 389

Generating Traffic..................................................................................................................... 391

Stop Traffic Generation...............................................................................................................................391

Resume Traffic Generation.........................................................................................................................391

Sierra Trainer Generation Language ...................................................................................... 392

File Structure ...............................................................................................................................................392

Language......................................................................................................................................................392

Comments ..........................................................................................................................................392

Includes ..............................................................................................................................................392

Settings ..............................................................................................................................................393

Constants ...........................................................................................................................................393

Predefined Constants .......................................................................................................................393

Data Patterns .....................................................................................................................................393

Primitives ...........................................................................................................................................394

Packets/ Frames ................................................................................................................................394

Generation Block.........................................................................................................................................396

Definitions ....................................................................................................................................................397

Field Variable Declarations ..............................................................................................................397

Changing Frame Fields ....................................................................................................................397

Preprocessor Integer Arithmetic .....................................................................................................397

Loops .................................................................................................................................................398

Trainer Script Enhancements.....................................................................................................................399

Variable Definition .............................................................................................................................400

Assigning Variable Values ...............................................................................................................400