12 sendprotocolerror(), 13 sendprotocolerroronly(), Rotocol – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual

Page 40: Rror, Sendprotocolerror

Advertising
background image


40

9.12 SendProtocolError()

This function specifies that a selected Protocol Error event be sent to the script along with any
other events (if sent any already)


Format :

SendProtocolError(Protocol Error)

Parameters

Protocol Error

Possible values are as follows

_ANY

OOB_SEQUENCE_ERROR

SYMBOL_VIOLATION_ERROR

DISPARITY_ERROR

ALIGN_NOTIFY_ERROR

STP_SIGNALING_LATENCY_ERROR

STP_UNEXPECTED_PRIMITIVE_ERROR

STP_PRIMITIVE_RESPONSE_TIMEOUT_ERROR

FRAME_TYPE_ERROR

FRAME_LENGTH_ERROR

FRAME_DIRECTION_ERROR

CRC_ERROR

ACK_NAK_TIMEPOT_ERROR

Example


SendProtocolErrorOnly( OOB_SEQUENCE_ERROR );

SendProtocolError ( CRC_ERROR );

# This sends OOB_Sequence_Error events and CRC_Error events
# only

9.13 SendProtocolErrorOnly()

This function specifies that ONLY the selected Protocol Error event to be sent to the script and
no other events to be sent.


Format :

SendProtocolError(PError)

Parameters

Protocol Error

Possible values are the same as for SendProtocolError() (see above).


Example


SendProtocolErrorOnly( OOB_SEQUENCE_ERROR );

# This sends OOB_Sequence_Error events only.

Remark

If you send two or more events using SendProtocolErrorOnly(), then only the later
function call will be sent to the script. Previous calls will be ignored. For example:
SendProtocolErrorOnly(CRC_ERROR);
SendProtocolErrorOnly(OOB_SEQUENCE_ERROR);.

Advertising