2 trace event-dependent set of members, 1 primitives, 2 oob – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual

Page 17: Race, Vent, Dependent, Et of, Embers, Primitives

Advertising
background image


17

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:
Note: As a general rule for all fields' value, if the field length is less than or equal to 4 bytes (32

bits), it is returned as an integer value, but if it is larger than 4 bytes, it is returned as raw
data type.
For example:
- In.CRC: 4-Byte value returned as an Integer.

-

in.Lnk_SourceSASAddress: 8-Byte value returned as a Raw Data.

To format raw to to string, please see

FormatRawBytes(RawBytes)

5.2.1

Primitives

in.Primitive

4-byte value of the Primitive

in.PrimCode

Primitive Code (refer to

Appendix A

)

in.PrimCount

Primitive count

5.2.2

OOB

in.OOBType

OOB Types are defined as:

SAS_OOB_COMWAKE
SAS_OOB_COMRESET
SAS_OOB_COMSAS
SAS_OOB_KEEP_ALIVE_ACTIVITY

in.OOBBurstIdleList

List of pairs (<burst_or_idle>, <count>),

where <burst_or_idle> is 0 for idle and 1 for burst. For 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 ] );
};
}

Advertising