Line | |
---|
1 | This directory has the verilog and pif files that are consistent |
---|
2 | with the tutorial on ping_pong. So this directory should be put in |
---|
3 | the examples directory for regression testing. |
---|
4 | |
---|
5 | For the language containment test on properties never_no_balls and |
---|
6 | infinitely_often_hit, these have been put into ping_pong.v as |
---|
7 | monitors. Without their fairness constraints, they have no effect |
---|
8 | (except for expanding the state space). It turns out that the ioh property |
---|
9 | cannot be expressed with just Buchi fairness constraints. So |
---|
10 | there are not special fairness constraints and the property is |
---|
11 | stated in terms of a CTL formula (prop2.ctl). |
---|
12 | |
---|
13 | The various commands that should be run on it are: |
---|
14 | |
---|
15 | read_blif_mv ping_pong.mv |
---|
16 | init |
---|
17 | compute_reach -v 1 |
---|
18 | # reachable # states is 5 |
---|
19 | read_fairness prop1.fair |
---|
20 | compute_reach -v 1 |
---|
21 | # reachable # states is still 5 |
---|
22 | mc lang_empt.ctl |
---|
23 | #this should pass |
---|
24 | |
---|
25 | read_fairness ping_pong.fair |
---|
26 | mc prop2.ctl |
---|
27 | #this should pass |
---|
28 | |
---|
29 | mc lang_empt.ctl |
---|
30 | #this should fail |
---|
31 | |
---|
32 | mc ping_pong.ctl |
---|
33 | # Both formulas should pass |
---|
34 | |
---|
35 | # now flush the fairness constraints. |
---|
36 | read_fairness all.fair |
---|
37 | mc ping_pong.ctl |
---|
38 | #The first one should pass and the last should fail |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.