Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual
Page 29

Verification Script Engine Reference Manual
24
Format :
SendFCPSeq( type, seq_info = null )
Parameters:
type – This parameter s
pecifies that only FCP sequences with this type will be sent. This
parameter may be one of the following values:
Type
Meaning
_FCP_CMND
FCP CMND Information Unit
_FCP_XFER_RDY
FCP XFER_RDY Information Unit
_FCP_DATA
FCP DATA Information Unit
_FCP_RSP
FCP RSP Information Unit
seq_info – This list parameter specifies some sequence attributes and has the following
structure:
[ s_id , d_id, ox_id, rx_id ]
where
s_id – Source ID,
d_id – Destination ID,
ox_id – Originator Exchange ID,
rx_id – Responder Exchange ID
NOTE: It is allowed to use constant _ANY as a paramter value to specify that any value is
acceptable.
If some of the parameters are missing – it is assumed that they are equal to _ANY.
If the whole seq_info parameter is missing – it is assumed that any combination of the s_id,
d_id, ox_id, rx_id is acceptable.
Example:
# - send FCP CMND sequence.
SendFCPSeq( _FCP_CMND ) ;
…
seq_info = [ 0x700100, 0x683456, _ANY, _ANY ];
SendFCPSeq( _FCP_CMND, seq_info );
seq_info = [ 0x700100, 0x683456 ];
SendFCPSeq( _FCP_CMND, seq_info ); # the same as the previous case.
…
seq_info = [ 0x700100, 0x683456, 0x022D];
SendFCPSeq( _FCP_RSP, seq_info );