Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 | <html> | |
3 | <head> | |
4 | <title>SPARC Architectural Model: User Commands</title> | |
5 | </head> | |
6 | <body bgcolor="#FFFFFF" LANG="en-US"> | |
7 | <div STYLE="margin-bottom: 0cm"></div> | |
8 | ||
9 | <h2> | |
10 | expect | |
11 | </h2> | |
12 | ||
13 | <h4> | |
14 | NAME | |
15 | </h4> | |
16 | <ul> | |
17 | expect - fail if not equal | |
18 | </ul> | |
19 | ||
20 | <h4>SYNOPSIS</h4> | |
21 | <tt> | |
22 | <ul> | |
23 | expect i1 i2 | |
24 | </ul> | |
25 | </tt> | |
26 | If values i1 and i2 are not equal the simulator will print them and exit | |
27 | with error exit(1). Useful when writing scripts that want to check some | |
28 | state in the simulator. Works only with integer arguments. | |
29 | <h4>DESCRIPTION</h4> | |
30 | <ul> | |
31 | ||
32 | </ul> | |
33 | ||
34 | <h4>RETURN VALUES</h4> | |
35 | <ul> | |
36 | Invokes exit(1) if (i1 != i2). | |
37 | </ul> | |
38 | ||
39 | <hr> | |
40 | </body> | |
41 | </html> |