source: vis_dev/vis-2.1/examples/ping_pong/check_script @ 14

Last change on this file since 14 was 11, checked in by cecile, 13 years ago

Add vis

File size: 536 bytes
Line 
1read_blif_mv ping_pong.mv
2init_verify
3compute_reach -v 1
4print_fairness
5lang_empty -d 0
6# reachable # states is 5
7read_fairness prop1.fair
8print_fairness
9lang_empty -d 0
10#this should pass
11read_fairness ping_pong.fair
12print_fairness
13lang_empty -d 0
14#this should fail
15model_check -d 0 prop2.ctl
16#this should pass
17model_check -d 0 ping_pong.ctl
18# Both formulas should pass
19# now flush the fairness constraints.
20reset_fairness
21print_fairness
22model_check -d 0 ping_pong.ctl
23#The first one should pass and the last should fail
24time
25quit -s
Note: See TracBrowser for help on using the repository browser.