-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd16y.aag
More file actions
executable file
·349 lines (347 loc) · 4.03 KB
/
Copy pathadd16y.aag
File metadata and controls
executable file
·349 lines (347 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
aag 263 48 2 1 213
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
52
54
56
58
60
62
64
66
68
70
72
74
76
78
80
82
84
86
88
90
92
94
96
98 1
100 527
102
102 100 98
104 94 62
106 92 60
108 90 58
110 88 56
112 86 54
114 84 52
116 82 50
118 80 48
120 78 46
122 76 44
124 74 42
126 72 40
128 70 38
130 68 36
132 66 34
134 69 37
136 135 132
138 137 131
140 71 39
142 141 139
144 143 129
146 73 41
148 147 145
150 149 127
152 75 43
154 153 151
156 155 125
158 77 45
160 159 157
162 161 123
164 79 47
166 165 163
168 167 121
170 81 49
172 171 169
174 173 119
176 83 51
178 177 175
180 179 117
182 85 53
184 183 181
186 185 115
188 87 55
190 189 187
192 191 113
194 89 57
196 195 193
198 197 111
200 91 59
202 201 199
204 203 109
206 93 61
208 207 205
210 209 107
212 95 63
214 213 211
216 215 105
218 217 96
220 216 97
222 221 219
224 223 65
226 222 64
228 227 225
230 228 33
232 229 32
234 233 231
236 94 63
238 95 62
240 239 237
242 241 211
244 240 210
246 245 243
248 246 31
250 247 30
252 251 249
254 92 61
256 93 60
258 257 255
260 259 205
262 258 204
264 263 261
266 264 29
268 265 28
270 269 267
272 90 59
274 91 58
276 275 273
278 277 199
280 276 198
282 281 279
284 282 27
286 283 26
288 287 285
290 88 57
292 89 56
294 293 291
296 295 193
298 294 192
300 299 297
302 300 25
304 301 24
306 305 303
308 86 55
310 87 54
312 311 309
314 313 187
316 312 186
318 317 315
320 318 23
322 319 22
324 323 321
326 84 53
328 85 52
330 329 327
332 331 181
334 330 180
336 335 333
338 336 21
340 337 20
342 341 339
344 82 51
346 83 50
348 347 345
350 349 175
352 348 174
354 353 351
356 354 19
358 355 18
360 359 357
362 80 49
364 81 48
366 365 363
368 367 169
370 366 168
372 371 369
374 372 17
376 373 16
378 377 375
380 78 47
382 79 46
384 383 381
386 385 163
388 384 162
390 389 387
392 390 15
394 391 14
396 395 393
398 76 45
400 77 44
402 401 399
404 403 157
406 402 156
408 407 405
410 408 13
412 409 12
414 413 411
416 74 43
418 75 42
420 419 417
422 421 151
424 420 150
426 425 423
428 426 11
430 427 10
432 431 429
434 72 41
436 73 40
438 437 435
440 439 145
442 438 144
444 443 441
446 444 9
448 445 8
450 449 447
452 70 39
454 71 38
456 455 453
458 457 139
460 456 138
462 461 459
464 462 7
466 463 6
468 467 465
470 67 35
472 471 133
474 472 3
476 473 2
478 477 475
480 68 37
482 69 36
484 483 481
486 484 132
488 485 133
490 489 487
492 491 5
494 490 4
496 495 493
498 496 478
500 498 468
502 500 450
504 502 432
506 504 414
508 506 396
510 508 378
512 510 360
514 512 342
516 514 324
518 516 306
520 518 288
522 520 270
524 522 252
526 524 234
i0 controllable_c<0>
i1 controllable_c<1>
i2 controllable_c<2>
i3 controllable_c<3>
i4 controllable_c<4>
i5 controllable_c<5>
i6 controllable_c<6>
i7 controllable_c<7>
i8 controllable_c<8>
i9 controllable_c<9>
i10 controllable_c<10>
i11 controllable_c<11>
i12 controllable_c<12>
i13 controllable_c<13>
i14 controllable_c<14>
i15 controllable_c<15>
i16 a<0>
i17 a<1>
i18 a<2>
i19 a<3>
i20 a<4>
i21 a<5>
i22 a<6>
i23 a<7>
i24 a<8>
i25 a<9>
i26 a<10>
i27 a<11>
i28 a<12>
i29 a<13>
i30 a<14>
i31 a<15>
i32 b<0>
i33 b<1>
i34 b<2>
i35 b<3>
i36 b<4>
i37 b<5>
i38 b<6>
i39 b<7>
i40 b<8>
i41 b<9>
i42 b<10>
i43 b<11>
i44 b<12>
i45 b<13>
i46 b<14>
i47 b<15>
l0 n99
l1 err_out
o0 err
c
bench
This file was written by ABC on Sat Aug 31 20:24:34 2013
For information about AIGER format, refer to http://fmv.jku.at/aiger
-------------------------------
This AIGER file has been created by the following sequence of commands:
> vl2mv add16.v ---gives--> add16.mv
> abc -c "read_blif_mv add16.mv; strash; refactor; rewrite; dfraig; rewrite; dfraig; write_aiger -s add16y.aig" ---gives--> add16y.aig
> aigtoaig add16y.aig add16y.aag ---gives--> add16y.aag (this file)
Content of add16.v:
// realizable
module bench(clk, a, b, controllable_c, err);
input clk;
input [15:0] a;
input [15:0] b;
input [15:0] controllable_c;
output err;
reg err;
initial
begin
err = 1'b0;
end
always @ (posedge clk)
begin
if(controllable_c == a + b)
err = 1'b0;
else
err = 1'b1;
end
endmodule
-------------------------------