Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 2 of 35
Table of Contents
1.
Introduction ................................................................................................................. 4
2.
Verification Script Structure....................................................................................... 4
3.
Interaction between IBTracer and verification script ............................................... 7
4.
Running verification scripts from IBTracer............................................................... 9
4.1 R
UNNING VERIFICATION SCRIPTS
.............................................................................................. 10
4.2 E
DITOR SETTINGS
. .................................................................................................................... 12
5.
Verification Script Engine Input Context members................................................ 12
5.1 T
RACE EVENT
-
INDEPENDENT SET OF MEMBERS
. ....................................................................... 13
5.2 T
RACE EVENT
-
DEPENDENT SET OF MEMBERS
. .......................................................................... 13
6.
Verification Script Engine Output Context members............................................. 14
7.
Verification Script Engine events ............................................................................ 14
7.1 P
ACKET EVENTS
. ...................................................................................................................... 14
7.2 N
OTIFICATION EVENTS
. ............................................................................................................ 15
8.
Sending functions ..................................................................................................... 15
8.1 S
END
C
HANNEL
()...................................................................................................................... 15
8.2 S
END
E
VENT
().......................................................................................................................... 16
8.3 S
END
L
INK
P
KT
() ...................................................................................................................... 17
8.4 S
END
MAD () ........................................................................................................................... 17
9.
Timer functions ......................................................................................................... 19
9.1 VSE
TIME OBJECT
.................................................................................................................... 19
9.2 S
ET
T
IMER
().............................................................................................................................. 19
9.3 K
ILL
T
IMER
() ............................................................................................................................ 19
9.4 G
ET
T
IMER
T
IME
()..................................................................................................................... 20
10.
Time construction functions .................................................................................... 20
10.1 T
IME
() ...................................................................................................................................... 20
10.2 T
IME
F
ROM
S
YMBOLS
() ............................................................................................................. 21
11.
Time calculation functions ....................................................................................... 21
11.1 A
DD
T
IME
()............................................................................................................................... 21
11.2 S
UBTRACT
T
IME
() ..................................................................................................................... 22
11.3 M
UL
T
IME
B
Y
I
NT
().................................................................................................................... 22
11.4 D
IV
T
IME
B
Y
I
NT
() ..................................................................................................................... 23
12.
Time logical functions............................................................................................... 23
12.1 I
S
E
QUAL
T
IME
()........................................................................................................................ 23
12.2 I
S
L
ESS
T
IME
() ........................................................................................................................... 24
12.3 I
S
G
REATER
T
IME
().................................................................................................................... 24
13.
Time text functions ................................................................................................... 25
13.1 T
IME
T
O
T
EXT
()......................................................................................................................... 25
14.
Output functions ....................................................................................................... 25
14.1 R
EPORT
T
EXT
() ......................................................................................................................... 25
14.2 E
NABLE
O
UTPUT
() .................................................................................................................... 26
14.3 D
ISABLE
O
UTPUT
() ................................................................................................................... 26
15.
Common Retrieving functions ................................................................................. 26
15.1 R
ETRIEVE
P
KT
P
AYLOAD
() ........................................................................................................ 26
15.2 I
S
M
AD
() ................................................................................................................................... 27
16.
Packet Header retrieving functions ......................................................................... 27