3 generation block, 4 definitions, Field variable declarations – Teledyne LeCroy Sierra M122 User Manual User Manual
Page 308

Teledyne LeCroy
Sierra Trainer Generation Language
306
Sierra M122 SAS/SATA Protocol Analyzer User Manual
Field32 = "Some Hex Data"
Data = { 11111111 22222222 33333333 44444444 55555555 }
Opcode : 128, 8, 0x2A
LBA : 64
Primitive : *
Primitive : "CLOSE (NORMAL)", 24, 48
Prolog = "CHAIN (ONE)"
Epilog = "CHAIN (ONE)"
}
5.11.3
Generation Block
Sierra Trainer generates the stream that is defined in this block.
Generation
{
Chain Definition (Repeat = N, Idle = M)
Chain Definition (N, M)
Chain Definition
Frame Definition
Frame Definition (RunningDisp = ON/OFF)
Frame Definition
{
Field Definition
Data Definition
} (Repeat = N, Idle = M, RunningDisp = ON/OFF)
5.11.4
Definitions
Chain Definition:
Without any parameters, the chain is sent once.
With “Repeat” and “Idle” parameters, the chain is sent N times and then noth‐
ing is sent (idle) M times. “Repeat” and “Idle” are optional.
Frame Definition
Without any parameters, send the frame based in default values.
With “RunningDisp” ON, send the frames based on default values and insert a
running disparity error.
With parameters overriding or adding to a template frame, with or without
injection of an overriding or adding to a template frame, with or without injec‐
tion of running disparity error.
Field Variable Declarations
You can declare a variable (var_name) as a frame of type (frame_type):
$var_name = frame_type
Note:
Frame variables can be declared/re‐declared and used many times.