Teledyne LeCroy Sierra M6-4 SAS_SATA Protocol Analyzer User Manual User Manual
Page 427
Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual
423
Sierra Trainer Generation Language
Teledyne LeCroy
Primitive definition. Primitives are inserted into the frame payload. Primitive definitions
are inherited by descended frame templates.
Assigning '*' clears all previous settings (maybe from parent frame template).
Offset specifies the DWORD offset where this primitive is inserted in the Frame.
Count specifies how many times to repeat the primitive.
Examples:
Primitive : *
Primitive : SOF, 48 # where 48 = offset
Primitive : "CLOSE (NORMAL)", 36, 5 # where 5 = repeat
Prolog and Epilog define Primitive chains to be used at the beginning and end of the
frame.
Examples:
Prolog = SOF # For this frame primitive 'SOF' is a Prolog.
Epilog = EOF # For this frame primitive 'EOF' is an Epilog.
Frames can be derived from other Frames, therefore inheriting the layout of the parent
Frame. In this case, the user may:
Change Prolog and Epilog.
Change default field values.
Add new fields.
Frame Examples
Frame Some_Frame
{
Field32 : 32 = 0xAABBFFEE
FrameType : 8 = 12
HashedDest : 24 = HEX_DATA
Reserved1 : 8 = 0xDA
Field16 : 16 = 0xAAAA
Reserved2 : 8 = 0xAD
Data : * = PATTERN_1
CRC : 32
Primitive : *
Primitive : SOF, 48
Primitive : SOF, 96
Primitive : "CLOSE (NORMAL)", 36, 5
Prolog = SOF
Epilog = EOF
}
Frame Some_Frame_1 : Some_Frame
{
Field32 = "Some Hex Data"
Data = { 11111111 22222222 33333333 44444444 55555555 }
Opcode : 128, 8, 0x2A
LBA : 64
Primitive : *
Primitive : "CLOSE (NORMAL)", 24, 48