Packets/ frames – Teledyne LeCroy SAS Suite User Manual User Manual

Page 232

Advertising
background image

Version 6.25

SASSuite User Manual

222

LeCroy Corporation

Packets/

Frames

Using the "Frame" or "Packet" keyword, user can define a frame of traffic to be used in
the generation stream. Declarations of prolog and epilog may be mixed with field
declarations.

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 Definition

Field length is in bits, '*' means that the length is variable and will be set
based on the assigned value

Field starting offset is calculated from frame start based on the length of
the previous fields

E

XAMPLES

:

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 will be inserted in
the Frame

Count specifies how many times to repeat the primitive

Advertising