beautypg.com
Teledyne LeCroy
Contents
14
Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual
5.12.4 Constants ............................................................................................................................................... 419
5.12.5 Predefined Constants ............................................................................................................................ 419
5.12.6 Data Patterns .......................................................................................................................................... 420
5.12.7 Primitives ................................................................................................................................................ 420
5.12.8 Packets/ Frames..................................................................................................................................... 422
5.12.9 Generation Block ................................................................................................................................... 424
5.12.10 Definitions ............................................................................................................................................ 424
Field Variable Declarations .............................................................................................................. 424
Changing Frame Fields .................................................................................................................... 424
Preprocessor Integer Arithmetic ..................................................................................................... 425
5.13 Trainer Script Enhancements .......................................................................................... 426
5.13.1 Variable Definition ................................................................................................................................. 427
5.13.2 Assigning Variable Values .................................................................................................................... 427
5.13.3 Expression on Variables ....................................................................................................................... 428
5.13.4 If/While in Logical Expressions ............................................................................................................ 428
5.13.5 Using Variable Values in Creating Patterns on Bus ........................................................................... 430
5.13.6 Timer ....................................................................................................................................................... 431
5.13.7 PATTERN Counter ................................................................................................................................. 431
5.13.8 Procedure Definition.............................................................................................................................. 432
5.14 Sierra Trainer Generation Commands ............................................................................ 432
5.14.1 General Commands ............................................................................................................................... 432
5.14.2 SATA Commands................................................................................................................................... 435
5.14.3 Primitive Commands ............................................................................................................................. 435
5.14.4 Primitive Category ................................................................................................................................. 438
5.14.5 Wait Commands ..................................................................................................................................... 438
5.14.6 Wait Command Groups ........................................................................................................................ 445
5.14.7 Predefined Constants ............................................................................................................................ 448
5.14.8 Generation Settings ............................................................................................................................... 449
5.15 Generation Options .......................................................................................................... 457
Generation Rules Toolbar ................................................................................................................ 458
Generation Rules Page: How It Works............................................................................................ 459
Creating Event Buttons .................................................................................................................... 459
Dragging a Button to the Main Display Area .................................................................................. 460
Assigning an Action ......................................................................................................................... 461
5.15.1 Generation Rules Pop-Up Menus ......................................................................................................... 461
5.15.2 Cell Pop-up Menu................................................................................................................................... 462
5.15.3 Action Pop-up Menu .............................................................................................................................. 462
5.15.4 Event Pop-up Menu ............................................................................................................................... 462
5.15.5 Events and Event Properties ................................................................................................................ 463
Data Pattern Mask and Match .......................................................................................................... 463
5.16 Setting Complex “Wait For” Conditions......................................................................... 464
5.16.1 Setting Conditions with the Generation Options Dialog .................................................................... 464
5.17 Find .................................................................................................................................... 465
5.17.1 Data Pattern Mask and Match ............................................................................................................... 468