Packets/ Frames - Teledyne Sierra M6-2 User Manual

Sas/sata protocol analyzer
Table of Contents

Advertisement

Sierra Trainer Generation Language
Example:
Example:

5.12.8 Packets/ Frames

Using the "Frame" or "Packet" keyword, you can define a frame of traffic to use in the
generation stream. Declarations of prolog and epilog may be mixed with field
declarations.
Field Definition
Examples:
Data field Definition
 
Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual
Primitive "CHAIN (TWO)" = 305 2D4 1E4 362
Mixed bytes and 10b codes. This definition might cause running disparity errors.
Primitive "CHAIN (TWO)" = 305 2D4 1E4 362 ["CHAIN (ONE)"]
Frame "name" : "parent name"
{
Field Definition 0: "Field Name : Field Length = Default Value"
...
Field Definition n: "Field Name : Field Length = Default Value"
Primitive Definition 0: "Primitive name, offset, count"
...
Primitive Definition m: "Primitive name, offset, count"
Prolog = "primitive name"
Epilog = "primitive name"
}
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.
Field32
: 32 = 0xAABBFFEE
FrameType
: 8
= 12
HashedDest
: 24 = HEX_DATA
Reserved1
: 8
= 0xDA
Field16
: 16 = 0xAAAA
Reserved2
: 8
= 0xAD
CRC
: 32
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.
Teledyne LeCroy
461

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents