18 fc data frame retrieving functions, 1 getnethfield(), Ield – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual
Page 43
Verification Script Engine Reference Manual
38
18 FC data frame retrieving functions
This group of functions covers VSE capability to extract information about FC data frame headers
other than Frame Header. Frame Header fields are provided as members of input context for data
frame trace event. ( See
Data frame-specific set of members
If either header or field is not present in the frame – all of those functions will return null-value ( see
CSL Manual –for details about null-value ).
18.1 GetNetHField()
Extracts information about Network header field. ( Currently not implemented. )
Format :
GetNetHField ( net_fld )
Parameters:
net_fld - Network header field identifier that can be one of the following values:
identifier
Meaning
_D_NAA_H Network Destination Address (high order bits)
_D_NAA_L Network Destination Address (low order bits)
_S_NAA_H Network Source Address (high order bits)
_S_NAA_L Network Source Address (low order bits)
Example:
val = GetNetHField ( _S_NAA_L );
NOTE : If there are some reserved fields in headers – they can be retrieved by using some
special keywords in header retrieving functions :
Keyword Length
_RES_1
1 bit field
_RES_2
2 bit field
_RES_5
5 bit field
_RES_7
7 bit field
_RES_8
8 bit field
_RES_16 16 bit field