
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
403
Sierra Trainer Generation Language
LeCroy Corporation
Field Definition
Field length is in bits. '*' means that the length is variable and is set based on the
assigned value.
Field starting offset is calculated from frame start based on the length of the pre
‐
vious fields.
Examples:
Field32 : 32 = 0xAABBFFEE
FrameType : 8 = 12
HashedDest : 24 = HEX_DATA
Reserved1 : 8 = 0xDA
Field16 : 16 = 0xAAAA
Reserved2 : 8 = 0xAD
CRC : 32
Data field Definition
Data
=
{
pattern
}
: Pattern is assigned to Data.
Data
=
count,
value
: A pattern of “count” times “value” is assigned to Data.
Data
=
count,
start
value,
step
: A pattern of values starting with “start value”
with steps of “step” and a length of “count” is assigned to Data.
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.