Teledyne LeCroy SAS Suite User Manual User Manual
Page 8

Version 6.25
SASSuite User Manual
viii
LeCroy Corporation
Chapter 13 SASTrainer Generation Language
File Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Comments: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Includes: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Predefined Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Data Patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Packets/ Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Generation Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Field Variable Declarations . . . . . . . . . . . . . . . . . . . . . . . . . 225
Changing Frame Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Preprocessor integer arithmetic . . . . . . . . . . . . . . . . . . . . . 226
Loops. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
SASTrainer Generation Commands . . . . . . . . . . . . . . . . . . . . . 228
General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
SATA Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Primitive Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Wait Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Wait Command Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Predefined Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Generation Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Setting Complex "Wait For" Conditions . . . . . . . . . . . . . . . . . . . 252
Setting Conditions with the Generation Options Dialog. . . . 252
Product Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Theory of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Installing the SASTracker Command Analyzer . . . . . . . . . . . . . 256
Changing the BusEngine. . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Preparing to Track a Command Sequence . . . . . . . . . . . . . . . . 258
Tracking Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Misc. Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Tracker Archive Memory Size . . . . . . . . . . . . . . . . . . . . . . . 260
Time Out Triggering Options . . . . . . . . . . . . . . . . . . . . . . . . 260
Command Log Filename . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Saving Tracker Option Settings . . . . . . . . . . . . . . . . . . . . . . 261
Speed Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Channel Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Tracker Sweeping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Viewing Command Log Files . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Command Log File Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Exporting Command Log Files. . . . . . . . . . . . . . . . . . . . . . . . . . 267
Working with Exported Data Files . . . . . . . . . . . . . . . . . . . . 268
Creating a Histogram using Microsoft Excel . . . . . . . . . . . . 270