Teledyne LeCroy STX M6-1 SAS_SATA Protocol Analyzer User Manual User Manual
Page 413

Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual
411
Sierra Trainer Generation Language
LeCroy Corporation
WF_SOF
primitive
WF_EOF
primitive
WF_SOAF
primitive
WF_EOAF
primitive
WF_ACK
primitive
WF_NAK_CRC_ERROR
primitive
WF_NAK_RESERVED_0
primitive
WF_NAK_RESERVED_1
primitive
WF_NAK_RESERVED_2
primitive
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
Wait Command Name
Description