source: cegar_dev/cegar/concrete_model/concret_main.mv @ 91

Last change on this file since 91 was 4, checked in by syed, 14 years ago

input files added

File size: 4.6 KB
Line 
1# vl2mv Concret_Main.v
2# version: 1.4
3# date:    13:18:30 09/06/2010 (CEST)
4.model main
5# I/O ports
6.outputs o1
7.outputs o2
8.inputs i1
9.outputs r_i1
10.subckt machine_concret machine_concret1 i1=i1  o1=o1  o2=o2  r_i1=r_i1 
11# conflict arbitrators
12# non-blocking assignments
13# latches
14# quasi-continuous assignment
15.end
16
17
18.model machine_concret
19# I/O ports
20.outputs o1
21.outputs o2
22.inputs i1
23.outputs r_i1
24.mv m_state 4 S0 S1 S2 S3
25# m_state  = 0
26.mv m_state$raw_n0 4 S0 S1 S2 S3
27.names m_state$raw_n0
28S0
29# o1  = 0
30.names o1$raw_n1
310
32# o2  = 0
33.names o2$raw_n2
340
35# r_i1  = i1
36.names i1 r_i1$raw_n3
37- =i1
38# non-blocking assignments for initial
39# r_i1  = i1
40.names i1 r_i1$raw_n4
41- =i1
42.mv _n7 4 S0 S1 S2 S3
43.names _n7
44S0
45.names m_state _n7 _n6
46.def 0
47- =m_state 1
48.names _n6  _n5
491 1
500 0
51.names _n9
521
53# i1  == 1
54.names i1 _n9 _na
55.def 0
560 1 1
571 0 1
58.names _na _n8
590 1 
601 0 
61.names _n8 _nc
62- =_n8
63# m_state  = 1
64.mv m_state$_n8_nd$true 4 S0 S1 S2 S3
65.names m_state$_n8_nd$true
66S1
67# o1  = 1
68.names o1$_n8_ne$true
691
70# o2  = 0
71.names o2$_n8_nf$true
720
73# o1  = 0
74.names o1$_n8_n10$false
750
76# o2  = 0
77.names o2$_n8_n11$false
780
79# m_state  = 0
80.mv m_state$_n8_n12$false 4 S0 S1 S2 S3
81.names m_state$_n8_n12$false
82S0
83# if/else (i1  == 1)
84.names o1$_n8_ne$true o1$_n8_n10$false _n8 o1$_n8$raw_n17
850 - 1 0
861 - 1 1
87- 0 0 0
88- 1 0 1
89.names o2$_n8_nf$true o2$_n8_n11$false _n8 o2$_n8$raw_n19
900 - 1 0
911 - 1 1
92- 0 0 0
93- 1 0 1
94.mv m_state$_n8$raw_n1b 4 S0 S1 S2 S3
95.names m_state$_n8_nd$true m_state$_n8_n12$false _n8 m_state$_n8$raw_n1b
96- - 0 =m_state$_n8_n12$false
97- - 1 =m_state$_n8_nd$true
98.mv _n27 4 S0 S1 S2 S3
99.names _n27
100S1
101.names m_state _n27 _n26
102.def 0
103- =m_state 1
104.names _n26  _n25
1051 1
1060 0
107# m_state  = 2
108.mv m_state$_n25_n28$true 4 S0 S1 S2 S3
109.names m_state$_n25_n28$true
110S2
111# o1  = 0
112.names o1$_n25_n29$true
1130
114# o2  = 1
115.names o2$_n25_n2a$true
1161
117.mv _n2d 4 S0 S1 S2 S3
118.names _n2d
119S2
120.names m_state _n2d _n2c
121.def 0
122- =m_state 1
123.names _n2c  _n2b
1241 1
1250 0
126# m_state  = 3
127.mv m_state$_n2b_n2e$true 4 S0 S1 S2 S3
128.names m_state$_n2b_n2e$true
129S3
130# o1  = 1
131.names o1$_n2b_n2f$true
1321
133# o2  = 1
134.names o2$_n2b_n30$true
1351
136.mv _n33 4 S0 S1 S2 S3
137.names _n33
138S3
139.names m_state _n33 _n32
140.def 0
141- =m_state 1
142.names _n32  _n31
1431 1
1440 0
145# o1  = 1
146.names o1$_n31_n34$true
1471
148# o2  = 1
149.names o2$_n31_n35$true
1501
151# m_state  = 3
152.mv m_state$_n31_n36$true 4 S0 S1 S2 S3
153.names m_state$_n31_n36$true
154S3
155# case (m_state )
156.names o1$_n31_n34$true o1 _n31 o1$_n31$raw_n3f
1570 - 1 0
1581 - 1 1
159- 0 0 0
160- 1 0 1
161.names o2$_n31_n35$true o2 _n31 o2$_n31$raw_n41
1620 - 1 0
1631 - 1 1
164- 0 0 0
165- 1 0 1
166.mv m_state$_n31$raw_n43 4 S0 S1 S2 S3
167.names m_state$_n31_n36$true m_state _n31 m_state$_n31$raw_n43
168- - 0 =m_state
169- - 1 =m_state$_n31_n36$true
170.names o1$_n2b_n2f$true o1$_n31$raw_n3f _n2b o1$_n2b$raw_n46
1710 - 1 0
1721 - 1 1
173- 0 0 0
174- 1 0 1
175.names o2$_n2b_n30$true o2$_n31$raw_n41 _n2b o2$_n2b$raw_n48
1760 - 1 0
1771 - 1 1
178- 0 0 0
179- 1 0 1
180.mv m_state$_n2b$raw_n4a 4 S0 S1 S2 S3
181.names m_state$_n2b_n2e$true m_state$_n31$raw_n43 _n2b m_state$_n2b$raw_n4a
182- - 0 =m_state$_n31$raw_n43
183- - 1 =m_state$_n2b_n2e$true
184.names o1$_n25_n29$true o1$_n2b$raw_n46 _n25 o1$_n25$raw_n58
1850 - 1 0
1861 - 1 1
187- 0 0 0
188- 1 0 1
189.names o2$_n25_n2a$true o2$_n2b$raw_n48 _n25 o2$_n25$raw_n5a
1900 - 1 0
1911 - 1 1
192- 0 0 0
193- 1 0 1
194.mv m_state$_n25$raw_n5c 4 S0 S1 S2 S3
195.names m_state$_n25_n28$true m_state$_n2b$raw_n4a _n25 m_state$_n25$raw_n5c
196- - 0 =m_state$_n2b$raw_n4a
197- - 1 =m_state$_n25_n28$true
198.names o1$_n8$raw_n17 o1$_n25$raw_n58 _n5 o1$_n5$raw_n6a
1990 - 1 0
2001 - 1 1
201- 0 0 0
202- 1 0 1
203.names o2$_n8$raw_n19 o2$_n25$raw_n5a _n5 o2$_n5$raw_n6c
2040 - 1 0
2051 - 1 1
206- 0 0 0
207- 1 0 1
208.mv m_state$_n5$raw_n6e 4 S0 S1 S2 S3
209.names m_state$_n8$raw_n1b m_state$_n25$raw_n5c _n5 m_state$_n5$raw_n6e
210- - 0 =m_state$_n25$raw_n5c
211- - 1 =m_state$_n8$raw_n1b
212# conflict arbitrators
213.names _n5 _nc _n25 _n2b _n31 _n7c
214.def 0
215 1 1 - - - 1
216 1 0 - - - 1
217 0 - 1 - - 1
218 0 - 0 1 - 1
219 0 - 0 0 1 1
220.names _n7c o1$_n5$raw_n6a o1 _n7d
2211 0 - 0
2221 1 - 1
2230 - 0 0
2240 - 1 1
225.names _n5 _nc _n25 _n2b _n31 _n7e
226.def 0
227 1 1 - - - 1
228 1 0 - - - 1
229 0 - 1 - - 1
230 0 - 0 1 - 1
231 0 - 0 0 1 1
232.names _n7e o2$_n5$raw_n6c o2 _n7f
2331 0 - 0
2341 1 - 1
2350 - 0 0
2360 - 1 1
237.names _n5 _nc _n25 _n2b _n31 _n80
238.def 0
239 1 1 - - - 1
240 1 0 - - - 1
241 0 - 1 - - 1
242 0 - 0 1 - 1
243 0 - 0 0 1 1
244.mv _n81 4 S0 S1 S2 S3
245.names _n80 m_state$_n5$raw_n6e m_state _n81
2461 - - =m_state$_n5$raw_n6e
2470 - - =m_state
248.names _n82
249.def 0
250 1
251.names _n82 r_i1$raw_n4 _n83
252.def 0
2531 0 0
2541 1 1
255# non-blocking assignments
256# latches
257.r o1$raw_n1 o1
2580 0
2591 1
260.latch _n7d o1
261.r o2$raw_n2 o2
2620 0
2631 1
264.latch _n7f o2
265.r m_state$raw_n0 m_state
266- =m_state$raw_n0
267.latch _n81 m_state
268.r r_i1$raw_n3 r_i1
2690 0
2701 1
271.latch _n83 r_i1
272# quasi-continuous assignment
273.end
274
275
Note: See TracBrowser for help on using the repository browser.