beautypg.com

Trace event-dependent set of members, Primitives, Sas/sata generic frame members – Teledyne LeCroy SATracer 3G Verification Script Engine manual User Manual

Page 18: Race event, Dependent set of members, 2 trace event-dependent set of members

background image

LeCroy Corporation

Verification Script Engine Reference Manual

Version 1.01

5.2 Trace

event-dependent set of members


This set of members is defined and can be used only for a specific events or after calling some
functions filling out some of the variables:

5.2.1 Primitives

in.Primitive

– 4-byte value of the Primitive

in.Count

– Primitive count

5.2.2 OOB


in.OOBType

– OOB Types are defind as:

SAS_OOB_UNDETERMINED

= 0

SAS_OOB_COMWAKE

= 1

SAS_OOB_COMRESET

= 2

SAS_OOB_COMSAS

= 3

in.OOBBurstIdleList

– list of pairs (, ), where is 0 for

idle and 1 for burst. Example:

oob_burst_idle_list = in.OOBBurstIdleList;

for ( i = 0; i < sizeof( oob_burst_idle_list ); i++ )
{
oob_burst_idle = oob_burst_idle_list[ i ];
report += repIndent;
select
{
oob_burst_idle[ 0 ] == SAS_OOB_ELEMENTTYPE_IDLE :

report += Format( "OOBIdle : %ld oobi\n", i, oob_burst_idle[ 1 ] );

oob_burst_idle[ 0 ] == SAS_OOB_ELEMENTTYPE_BURST :

report += Format( "OOBBurst : %ld oobi\n", i, oob_burst_idle[ 1 ] );

};
}

5.2.3 SAS/SATA

Generic Frame members

in.Payload

- bit source of the frame/sequence payload (you can extract any necessary

information using GetNBits(), NextNBits() or PeekNBits() functions—please refer to the CSL Manual
for details about these functions)

in.PayloadLength

- the length (in bytes of the retrieved payload)


in.SOF
,

in.StartOfFrame

– 4-byte value of Start of frame primitive

in.EOF,
in.EndOfFrame

– 4-byte value of End of frame primitive

in.CRC

– CRC value as transmitted

13