beautypg.com

Teledyne LeCroy Sierra M122 User Manual User Manual

Page 14

background image

Teledyne LeCroy

Contents

12

Sierra M122 SAS/SATA Protocol Analyzer User Manual

5.8.1 Script Editor Toolbar ............................................................................................................................... 295

View Options Menu ........................................................................................................................... 297

Pop-up Menu ..................................................................................................................................... 297

File Tabs............................................................................................................................................. 297

Error Log............................................................................................................................................ 298

Tooltips .............................................................................................................................................. 298

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

5.10 Generating Traffic............................................................................................................. 300

5.10.1 Stop Traffic Generation ......................................................................................................................... 300

5.10.2 Resume Traffic Generation ................................................................................................................... 300

5.11 Sierra Trainer Generation Language .............................................................................. 300

5.11.1 File Structure .......................................................................................................................................... 300

5.11.2 Language ................................................................................................................................................ 301

Comments.......................................................................................................................................... 301

Includes.............................................................................................................................................. 301

Settings .............................................................................................................................................. 301

Constants........................................................................................................................................... 301

Predefined Constants ....................................................................................................................... 302

Data Patterns ..................................................................................................................................... 302

Primitives ........................................................................................................................................... 302

Packets/ Frames................................................................................................................................ 304

5.11.3 Generation Block ................................................................................................................................... 306

5.11.4 Definitions .............................................................................................................................................. 306

Field Variable Declarations .............................................................................................................. 306

Changing Frame Fields .................................................................................................................... 307

Preprocessor Integer Arithmetic ..................................................................................................... 307

Loops ................................................................................................................................................. 307

5.11.5 Connecting the Trainer.......................................................................................................................... 308

Manual Transmitter Training Commands and Descriptions ......................................................... 308

5.11.6 Trainer Script Enhancements ............................................................................................................... 316

Variable Definition............................................................................................................................. 317

Assigning Variable Values ............................................................................................................... 317

Expression on Variables .................................................................................................................. 318

If/While in Logical Expressions ....................................................................................................... 318

Using Variable Values in Creating Patterns on Bus ...................................................................... 320

Timer .................................................................................................................................................. 321

PATTERN Counter ............................................................................................................................ 322

Procedure Definition......................................................................................................................... 322

5.11.7 Sierra Trainer Generation Commands ................................................................................................. 323

General Commands .......................................................................................................................... 323

SATA Commands.............................................................................................................................. 325