beautypg.com

Teledyne LeCroy STX M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 397

background image

    

Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual

395

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.

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.