Mad () – Teledyne LeCroy IBTracer 4X - IBTracer Verification Script Engine Users Manual User Manual
Page 17

Computer Access Technology Corporation
IBTracer Verification Script Engine Manual, version 1.0
Page 17 of 35
8.3
SendLinkPkt ()
This function specifies more precise tuning for sending link packets.
Format :
SendLinkPkt( opcode = _ALL, vl = _ALL )
Parameters:
opcode – This parameter specifies that only link packets with this Opcode will be sent
( _ALL – means that link packets with all opcodes will be sent )
vl – This parameter specifies that only link packets with this VL will be sent
( _ALL – means that link packets with for all VLs will be sent )
Example:
SendLinkPkt(); # - send all link packets – equal to SendEvent( _PKT_LINK );
SendLinkPkt( 0x1 ); # - send all link packets with Opcode = 0x1
SendLinkPkt( 0x1 , 0x7 ); # - send all link packets with Opcode = 0x1 and VL = 0x7
SendLinkPkt( _ALL, 0x7 ); # - send all link packets with VL = 0x7
8.4
SendMAD ()
This function specifies more precise tuning for MAD packets.
Format :
SendMAD( mgmtclass = _ALL,
attrId
= _ALL,
method
= _ALL,
field_name = “” , # means no care about field_name
field_value = 0 )
Parameters:
mgmtclass – This parameter specifies that only MADs with this management class will be sent
( _ALL – means that MADs with all management classes will be sent )
attrId – This parameter specifies that only MADs having AttributeId equal to attrId will be
sent
( _ALL – means that MADs with any AttributeIds will be sent )
method – This parameter specifies that only MADs having Method equal to method will be
sent
( _ALL – means that MADs with any Method will be sent )
field_name – This parameter specifies that only MADs having a field with field_name (how it is