Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual

Page 442

Advertising
background image

Teledyne LeCroy

Sierra Trainer Generation Commands

440

 

 

Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

WF_CREDIT_AVAIL

Credit Available
This function is based on a 10‐bit
counter whose value can range from ‐
512 to +511 (twos‐complement). This
counter is cleared by sending or
receiving an OPEN_ACCEPT primitive,
or by execution of a
CLEAR_CREDIT_AVAIL command in the
script.

This counter is incremented by
receiving any SAS RRDY primitive and
is decremented by sending SAS SOF.
The wait_for command will wait for
this counter to have a positive value
between +1 and +511. This wait_for
condition is intended to be used
before sending a SAS frame within a
connection.
ClEAR_CREDIT_AVAIL clears this credit
function.

WF_CREDIT_BLOCKED_RECEIVED

CreditBlocked Received
This function is based on a flip‐flop
which is cleared by sending or
receiving an OPEN_ACCEPT primitive.
It is set by receiving a
CREDIT_BLOCKED primitive. It is
intended to be used in conjunction
with wf_credit_avail to prevent script
hangs in those cases where there is
not going to be any more credit
granted.

WF_CREDIT_BLOCKED

primitive

WF_RRDY_NORMAL

primitive

WF_RRDY_RESERVED_0

primitive

WF_RRDY_RESERVED_1

primitive

WF_BREAK

primitive

WF_CLOSE_CLEAR_AFFILIATION

primitive

WF_CLOSE_NORMAL

primitive

WF_CLOSE_RESERVED_0

primitive

WF_CLOSE_RESERVED_1

primitive

WF_DONE_ACK_NAK_TIMEOUT

primitive

WF_DONE_CREDIT_TIMEOUT

primitive

WF_DONE_NORMAL

primitive

Wait Command Name

Description

Advertising