beautypg.com

Teledyne LeCroy Sierra M6-4 SAS_SATA Protocol Analyzer User Manual User Manual

Page 16

background image

Teledyne LeCroy

Contents

14

Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual

5.5 Creating a Traffic Generation File ..................................................................................... 404

5.5.1 Creating a New Generator File................................................................................................................ 404

5.5.2 Editing an Example Generation File....................................................................................................... 405

5.5.3 Converting an SATrainer Traffic Generation File.................................................................................. 406

5.5.4 Opening a Traffic Generation File .......................................................................................................... 406

5.5.5 Layout ....................................................................................................................................................... 407

5.6 Overview of Generation and Global Settings Files ......................................................... 407

5.6.1 Traffic Generation (*.ssg) Files ............................................................................................................... 407

5.6.2 Settings.inc File ....................................................................................................................................... 408

The Global Setting “AutoAlign”....................................................................................................... 409

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

5.7 Primitive and Frame Definitions........................................................................................ 411

5.7.1 Special Conditions for Frames ............................................................................................................... 411

5.7.2 Primitives Decl.inc File ............................................................................................................................ 412

5.7.3 Address FramesDecl.inc File .................................................................................................................. 412

5.7.4 SSPFrames.inc File.................................................................................................................................. 412

5.7.5 SMPFrames.inc File ................................................................................................................................. 412

5.7.6 STPFrames.inc File .................................................................................................................................. 412

5.8 Starting the Script Editor ................................................................................................... 412

5.8.1 Script Editor Toolbar ............................................................................................................................... 413

View Options Menu ........................................................................................................................... 414

Pop-up Menu ..................................................................................................................................... 415

File Tabs............................................................................................................................................. 415

Error Log............................................................................................................................................ 415

Tooltips .............................................................................................................................................. 416

5.9 Multi-Port Trainer Script Assignments to Links .............................................................. 416

5.10 Generating Traffic ............................................................................................................. 417

5.10.1 Stop Traffic Generation ......................................................................................................................... 418

5.10.2 Resume Traffic Generation ................................................................................................................... 418

5.11 Sierra Trainer Generation Language............................................................................... 418

5.11.1 File Structure .......................................................................................................................................... 418

5.11.2 Language ................................................................................................................................................ 419

Comments.......................................................................................................................................... 419

Includes.............................................................................................................................................. 419

Settings .............................................................................................................................................. 419

Constants........................................................................................................................................... 419

Predefined Constants ....................................................................................................................... 419

Data Patterns ..................................................................................................................................... 420

Primitives ........................................................................................................................................... 420

Packets/ Frames................................................................................................................................ 422

5.11.3 Generation Block ................................................................................................................................... 424

5.11.4 Definitions .............................................................................................................................................. 424

Field Variable Declarations .............................................................................................................. 424

Changing Frame Fields .................................................................................................................... 424