Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 32 of 35
Identifier Meaning
_IMMDT
Immediate Data
_VCRC
VCRC
_ICRC
ICRC
Example:
val = GetPostHdrField (
_VCRC
); # extract VCRC field
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
Example:
val = GetLRHField ( _RES_2 ); # extract reserved 2-bit field from LRH header
17. MAD decoded fields retrieving functions
This group of functions covers VSE capability to extract information about MAD decoded fields.
17.1 GetDecodedMADField()
Extracts information about MAD decoded field how it is shown in IBTracer trace view or
“View MAD” dialog.
Format
:
GetDecodedMADField (
mad_fld_name
)
Parameters:
mad_fld_name
- name of the MAD field supposedly existing in the MAD being processed:
Return Values:
The text value of the decoded field how it is seen in the trace if field name asked is present in
current MAD, empty string otherwise.
Example: