-
Notifications
You must be signed in to change notification settings - Fork 0
/
lec25dscc25.v
11102 lines (10981 loc) · 440 KB
/
lec25dscc25.v
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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2-input and, 1x
// Q = DIN1 & DIN2
module and2s1 (Q, DIN1, DIN2);
output Q;
input DIN1;
input DIN2;
and _i0 (Q,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2-input AND, 2x
// Q = DIN1 & DIN2
module and2s2 (Q, DIN1, DIN2);
output Q;
input DIN1;
input DIN2;
and _i0 (Q,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2-input AND, 3x
// Q = DIN1 & DIN2
module and2s3 (Q, DIN1, DIN2);
output Q;
input DIN1;
input DIN2;
and _i0 (Q,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 3-input AND, 1x
// Q = DIN1 & DIN2 & DIN3
module and3s1 (Q, DIN1, DIN2, DIN3);
output Q;
input DIN1;
input DIN2;
input DIN3;
and _i0 (Q,DIN3,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 3-input AND, 2x
// Q = DIN1 & DIN2 & DIN3
module and3s2 (Q, DIN1, DIN2, DIN3);
output Q;
input DIN1;
input DIN2;
input DIN3;
and _i0 (Q,DIN3,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 3-input AND, 3x
// Q = DIN1 & DIN2 & DIN3
module and3s3 (Q, DIN1, DIN2, DIN3);
output Q;
input DIN1;
input DIN2;
input DIN3;
and _i0 (Q,DIN3,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 4-input AND, 1x
// Q = DIN1 & DIN2 & DIN3 & DIN4
module and4s1 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (Q,DIN4,DIN3,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 4-input AND, 2x
// Q = DIN1 & DIN2 & DIN3 & DIN4
module and4s2 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (Q,DIN4,DIN3,DIN1,DIN2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/1/1/2 AND-OR-AND-Invert Gate, 1x
// Q = !(DIN1 & DIN2 & (DIN3 | (DIN4 & DIN5)))
module aoai1112s1 (Q, DIN1, DIN2, DIN3, DIN4, DIN5);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
and _i0 (_n2,DIN4,DIN5);
or _i1 (_n1,DIN3,_n2);
nand _i2 (Q,DIN1,DIN2,_n1);
not _wi0 (_wn2,DIN3);
and _wi1 (_wn1,DIN5,_wn2,DIN4);
not _wi2 (_wn6,DIN5);
and _wi3 (_wn5,DIN4,_wn6);
not _wi4 (_wn7,DIN4);
or _wi5 (_wn4,_wn5,_wn7);
and _wi6 (_wn3,DIN3,_wn4);
or _wi7 (DIN1Qstate0,_wn1,_wn3);
and _wi9 (_wn9,_wn7,DIN5);
or _wi12 (DIN3Qstate0,_wn9,_wn5);
or _wi20 (DIN2Qstate0,_wn1,_wn3);
specify (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN4&!DIN5) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3&DIN4&DIN5) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3&DIN4&DIN5) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/1/1/2 AND-OR-AND-Invert Gate, 2x
// Q = !(DIN1 & DIN2 & (DIN3 | (DIN4 & DIN5)))
module aoai1112s2 (Q, DIN1, DIN2, DIN3, DIN4, DIN5);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
and _i0 (_n2,DIN4,DIN5);
or _i1 (_n1,DIN3,_n2);
nand _i2 (Q,DIN1,DIN2,_n1);
not _wi0 (_wn2,DIN3);
and _wi1 (_wn1,DIN5,_wn2,DIN4);
not _wi2 (_wn6,DIN5);
and _wi3 (_wn5,DIN4,_wn6);
not _wi4 (_wn7,DIN4);
or _wi5 (_wn4,_wn5,_wn7);
and _wi6 (_wn3,DIN3,_wn4);
or _wi7 (DIN1Qstate0,_wn1,_wn3);
and _wi9 (_wn9,_wn7,DIN5);
or _wi12 (DIN3Qstate0,_wn9,_wn5);
or _wi20 (DIN2Qstate0,_wn1,_wn3);
specify (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN4&!DIN5) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3&DIN4&DIN5) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3&DIN4&DIN5) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/1/1/2 AND-OR-AND-Invert Gate, 3x
// Q = !(DIN1 & DIN2 & (DIN3 | (DIN4 & DIN5)))
module aoai1112s3 (Q, DIN1, DIN2, DIN3, DIN4, DIN5);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
and _i0 (_n2,DIN4,DIN5);
or _i1 (_n1,DIN3,_n2);
nand _i2 (Q,DIN1,DIN2,_n1);
not _wi0 (_wn2,DIN3);
and _wi1 (_wn1,DIN5,_wn2,DIN4);
not _wi2 (_wn6,DIN5);
and _wi3 (_wn5,DIN4,_wn6);
not _wi4 (_wn7,DIN4);
or _wi5 (_wn4,_wn5,_wn7);
and _wi6 (_wn3,DIN3,_wn4);
or _wi7 (DIN1Qstate0,_wn1,_wn3);
and _wi9 (_wn9,_wn7,DIN5);
or _wi12 (DIN3Qstate0,_wn9,_wn5);
or _wi20 (DIN2Qstate0,_wn1,_wn3);
specify (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN4&!DIN5) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3&DIN4&DIN5) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3&DIN4&DIN5) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/2/3 and-or-invert gate, 1x
// Q = !(DIN1 | (DIN2 & DIN3) | (DIN4 & DIN5 & DIN6))
module aoi123s1 (Q, DIN1, DIN2, DIN3, DIN4, DIN5, DIN6);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
input DIN6;
and _i0 (_n1,DIN2,DIN3);
and _i1 (_n2,DIN6,DIN4,DIN5);
nor _i2 (Q,DIN1,_n1,_n2);
not _wi0 (_wn2,DIN2);
not _wi1 (_wn5,DIN4);
and _wi2 (_wn4,DIN6,_wn5,DIN5);
not _wi3 (_wn9,DIN5);
and _wi4 (_wn8,_wn9,DIN6);
not _wi5 (_wn11,DIN6);
and _wi6 (_wn10,DIN5,_wn11);
or _wi7 (_wn7,_wn8,_wn10);
and _wi8 (_wn6,DIN4,_wn7);
or _wi9 (_wn3,_wn4,_wn6);
and _wi10 (_wn1,_wn2,DIN3,_wn3);
not _wi11 (_wn13,DIN3);
and _wi21 (_wn12,DIN2,_wn13,_wn3);
or _wi22 (DIN1Qstate0,_wn1,_wn12);
or _wi27 (_wn26,_wn10,_wn9);
and _wi28 (_wn24,_wn5,_wn26);
and _wi31 (_wn30,_wn11,DIN4,_wn9);
or _wi32 (DIN3Qstate1,_wn24,_wn30);
or _wi42 (DIN2Qstate1,_wn24,_wn30);
and _wi54 (_wn47,_wn13,_wn3);
and _wi65 (_wn58,DIN3,DIN2Qstate1);
or _wi66 (_wn46,_wn47,_wn58);
and _wi67 (_wn44,_wn2,_wn46);
and _wi79 (_wn69,DIN2,_wn13,DIN2Qstate1);
or _wi80 (DIN1Qstate1,_wn44,_wn69);
and _wi93 (DIN1Qstate2,_wn2,_wn13,DIN2Qstate1);
and _wi95 (_wn95,_wn2,DIN3);
and _wi97 (_wn97,DIN2,_wn13);
or _wi98 (DIN6Qstate0,_wn95,_wn97);
or _wi103 (DIN5Qstate0,_wn95,_wn97);
or _wi108 (DIN4Qstate0,_wn95,_wn97);
or _wi117 (DIN3Qstate0,_wn4,_wn6);
or _wi126 (DIN2Qstate0,_wn4,_wn6);
specify if(!DIN2&!DIN3) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN2&!DIN3) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN2&!DIN3) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate1) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate2) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate1) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate1) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate0) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate0) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate0) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/2/3 and-or-invert gate, 2x
// Q = !(DIN1 | (DIN2 & DIN3) | (DIN4 & DIN5 & DIN6))
module aoi123s2 (Q, DIN1, DIN2, DIN3, DIN4, DIN5, DIN6);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
input DIN6;
and _i0 (_n1,DIN2,DIN3);
and _i1 (_n2,DIN6,DIN4,DIN5);
nor _i2 (Q,DIN1,_n1,_n2);
not _wi0 (_wn2,DIN2);
not _wi1 (_wn5,DIN4);
and _wi2 (_wn4,DIN6,_wn5,DIN5);
not _wi3 (_wn9,DIN5);
and _wi4 (_wn8,_wn9,DIN6);
not _wi5 (_wn11,DIN6);
and _wi6 (_wn10,DIN5,_wn11);
or _wi7 (_wn7,_wn8,_wn10);
and _wi8 (_wn6,DIN4,_wn7);
or _wi9 (_wn3,_wn4,_wn6);
and _wi10 (_wn1,_wn2,DIN3,_wn3);
not _wi11 (_wn13,DIN3);
and _wi21 (_wn12,DIN2,_wn13,_wn3);
or _wi22 (DIN1Qstate0,_wn1,_wn12);
or _wi27 (_wn26,_wn10,_wn9);
and _wi28 (_wn24,_wn5,_wn26);
and _wi31 (_wn30,_wn11,DIN4,_wn9);
or _wi32 (DIN3Qstate1,_wn24,_wn30);
or _wi42 (DIN2Qstate1,_wn24,_wn30);
and _wi54 (_wn47,_wn13,_wn3);
and _wi65 (_wn58,DIN3,DIN2Qstate1);
or _wi66 (_wn46,_wn47,_wn58);
and _wi67 (_wn44,_wn2,_wn46);
and _wi79 (_wn69,DIN2,_wn13,DIN2Qstate1);
or _wi80 (DIN1Qstate1,_wn44,_wn69);
and _wi93 (DIN1Qstate2,_wn2,_wn13,DIN2Qstate1);
and _wi95 (_wn95,_wn2,DIN3);
and _wi97 (_wn97,DIN2,_wn13);
or _wi98 (DIN6Qstate0,_wn95,_wn97);
or _wi103 (DIN5Qstate0,_wn95,_wn97);
or _wi108 (DIN4Qstate0,_wn95,_wn97);
or _wi117 (DIN3Qstate0,_wn4,_wn6);
or _wi126 (DIN2Qstate0,_wn4,_wn6);
specify if(!DIN2&!DIN3) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN2&!DIN3) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN2&!DIN3) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate1) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate2) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate1) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate1) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate0) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate0) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate0) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/2/3 and-or-invert gate, 3x
// Q = !(DIN1 | (DIN2 & DIN3) | (DIN4 & DIN5 & DIN6))
module aoi123s3 (Q, DIN1, DIN2, DIN3, DIN4, DIN5, DIN6);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
input DIN6;
and _i0 (_n1,DIN2,DIN3);
and _i1 (_n2,DIN6,DIN4,DIN5);
nor _i2 (Q,DIN1,_n1,_n2);
not _wi0 (_wn2,DIN2);
not _wi1 (_wn5,DIN4);
and _wi2 (_wn4,DIN6,_wn5,DIN5);
not _wi3 (_wn9,DIN5);
and _wi4 (_wn8,_wn9,DIN6);
not _wi5 (_wn11,DIN6);
and _wi6 (_wn10,DIN5,_wn11);
or _wi7 (_wn7,_wn8,_wn10);
and _wi8 (_wn6,DIN4,_wn7);
or _wi9 (_wn3,_wn4,_wn6);
and _wi10 (_wn1,_wn2,DIN3,_wn3);
not _wi11 (_wn13,DIN3);
and _wi21 (_wn12,DIN2,_wn13,_wn3);
or _wi22 (DIN1Qstate0,_wn1,_wn12);
or _wi27 (_wn26,_wn10,_wn9);
and _wi28 (_wn24,_wn5,_wn26);
and _wi31 (_wn30,_wn11,DIN4,_wn9);
or _wi32 (DIN3Qstate1,_wn24,_wn30);
or _wi42 (DIN2Qstate1,_wn24,_wn30);
and _wi54 (_wn47,_wn13,_wn3);
and _wi61 (_wn60,_wn5,_wn7);
or _wi65 (_wn59,_wn60,_wn30);
and _wi66 (_wn58,DIN3,_wn59);
or _wi67 (_wn46,_wn47,_wn58);
and _wi68 (_wn44,_wn2,_wn46);
and _wi80 (_wn70,DIN2,_wn13,DIN2Qstate1);
or _wi81 (DIN1Qstate1,_wn44,_wn70);
and _wi86 (DIN1Qstate2,_wn11,_wn9,_wn5,_wn2,DIN3);
and _wi88 (_wn88,_wn2,DIN3);
and _wi90 (_wn90,DIN2,_wn13);
or _wi91 (DIN6Qstate0,_wn88,_wn90);
or _wi96 (DIN5Qstate0,_wn88,_wn90);
or _wi101 (DIN4Qstate0,_wn88,_wn90);
or _wi110 (DIN3Qstate0,_wn4,_wn6);
and _wi123 (DIN1Qstate3,_wn2,_wn13,DIN2Qstate1);
or _wi132 (DIN2Qstate0,_wn4,_wn6);
specify if(!DIN2&!DIN3) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN2&!DIN3) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN2&!DIN3) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate1) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate2) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate3) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate1) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate1) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate0) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate0) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate0) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/3 and-or-invert gate, 1x
// Q = !(DIN1 | (DIN2 & DIN3 & DIN4))
module aoi13s1 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (_n1,DIN4,DIN2,DIN3);
nor _i1 (Q,DIN1,_n1);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/3 and-or-invert gate, 2x
// Q = !(DIN1 | (DIN2 & DIN3 & DIN4))
module aoi13s2 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (_n1,DIN4,DIN2,DIN3);
nor _i1 (Q,DIN1,_n1);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 1/3 and-or-invert gate, 3x
// Q = !(DIN1 | (DIN2 & DIN3 & DIN4))
module aoi13s3 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (_n1,DIN4,DIN2,DIN3);
nor _i1 (Q,DIN1,_n1);
not _wi0 (_wn2,DIN2);
not _wi1 (_wn5,DIN3);
and _wi2 (_wn4,_wn5,DIN4);
or _wi3 (_wn3,_wn4,DIN3);
and _wi4 (_wn1,_wn2,_wn3);
not _wi5 (_wn9,DIN4);
and _wi6 (_wn8,DIN3,_wn9);
or _wi8 (_wn7,_wn8,_wn5);
and _wi9 (_wn6,DIN2,_wn7);
or _wi10 (DIN1Qstate0,_wn1,_wn6);
specify (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(!DIN2&!DIN3&!DIN4) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/1/1 and-or-invert gate, 1x
// Q = !((DIN1 & DIN2) | DIN3 | DIN4)
module aoi211s1 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (_n1,DIN1,DIN2);
nor _i1 (Q,DIN4,_n1,DIN3);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/1/1 and-or-invert gate, 2x
// Q = !((DIN1 & DIN2) | DIN3 | DIN4)
module aoi211s2 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (_n1,DIN1,DIN2);
nor _i1 (Q,DIN4,_n1,DIN3);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/1/1 and-or-invert gate, 3x
// Q = !((DIN1 & DIN2) | DIN3 | DIN4)
module aoi211s3 (Q, DIN1, DIN2, DIN3, DIN4);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
and _i0 (_n1,DIN1,DIN2);
nor _i1 (Q,DIN4,_n1,DIN3);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/1 and-or-invert gate, 1x
// Q = !((DIN1 & DIN2) | DIN3)
module aoi21s1 (Q, DIN1, DIN2, DIN3);
output Q;
input DIN1;
input DIN2;
input DIN3;
and _i0 (_n1,DIN1,DIN2);
nor _i1 (Q,_n1,DIN3);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/1 and-or-invert gate, 2x
// Q = !((DIN1 & DIN2) | DIN3)
module aoi21s2 (Q, DIN1, DIN2, DIN3);
output Q;
input DIN1;
input DIN2;
input DIN3;
and _i0 (_n1,DIN1,DIN2);
nor _i1 (Q,_n1,DIN3);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/1 and-or-invert gate, 3x
// Q = !((DIN1 & DIN2) | DIN3)
module aoi21s3 (Q, DIN1, DIN2, DIN3);
output Q;
input DIN1;
input DIN2;
input DIN3;
and _i0 (_n1,DIN1,DIN2);
nor _i1 (Q,_n1,DIN3);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/2/1 and-or-invert gate, 1x
// Q = !((DIN1 & DIN2) | (DIN3 & DIN4) | DIN5)
module aoi221s1 (Q, DIN1, DIN2, DIN3, DIN4, DIN5);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
and _i0 (_n1,DIN1,DIN2);
and _i1 (_n2,DIN3,DIN4);
nor _i2 (Q,DIN5,_n1,_n2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/2/1 and-or-invert gate, 2x
// Q = !((DIN1 & DIN2) | (DIN3 & DIN4) | DIN5)
module aoi221s2 (Q, DIN1, DIN2, DIN3, DIN4, DIN5);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
and _i0 (_n1,DIN1,DIN2);
and _i1 (_n2,DIN3,DIN4);
nor _i2 (Q,DIN5,_n1,_n2);
not _wi0 (_wn1,DIN4);
not _wi1 (_wn2,DIN3);
not _wi2 (_wn3,DIN1);
not _wi3 (_wn4,DIN2);
and _wi4 (DIN5Qstate1,_wn1,_wn2,_wn3,_wn4);
and _wi8 (_wn12,_wn2,DIN4);
and _wi10 (_wn14,DIN3,_wn1);
or _wi11 (_wn11,_wn12,_wn14);
and _wi12 (_wn9,_wn4,_wn11);
or _wi16 (_wn17,_wn14,_wn2);
and _wi17 (_wn16,DIN2,_wn17);
or _wi18 (_wn8,_wn9,_wn16);
and _wi19 (_wn6,_wn3,_wn8);
and _wi25 (_wn21,DIN1,_wn4,_wn17);
or _wi26 (DIN5Qstate0,_wn6,_wn21);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate0) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate1) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/2/1 and-or-invert gate, 3x
// Q = !((DIN1 & DIN2) | (DIN3 & DIN4) | DIN5)
module aoi221s3 (Q, DIN1, DIN2, DIN3, DIN4, DIN5);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
and _i0 (_n1,DIN1,DIN2);
and _i1 (_n2,DIN3,DIN4);
nor _i2 (Q,DIN5,_n1,_n2);
specify (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
(DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/2/2/1 AND-OR-Invert Gate, 1x
// Q = !((DIN1 & DIN2) | (DIN3 & DIN4) | (DIN5 & DIN6) | DIN7)
module aoi2221s1 (Q, DIN1, DIN2, DIN3, DIN4, DIN5, DIN6, DIN7);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
input DIN6;
input DIN7;
and _i0 (_n1,DIN1,DIN2);
and _i1 (_n2,DIN3,DIN4);
and _i2 (_n3,DIN5,DIN6);
nor _i3 (Q,DIN7,_n1,_n2,_n3);
not _wi0 (_wn2,DIN3);
not _wi1 (_wn5,DIN5);
and _wi2 (_wn4,_wn5,DIN6);
not _wi3 (_wn7,DIN6);
and _wi4 (_wn6,DIN5,_wn7);
or _wi5 (_wn3,_wn4,_wn6);
and _wi6 (_wn1,_wn2,DIN4,_wn3);
not _wi7 (_wn9,DIN4);
and _wi13 (_wn8,DIN3,_wn9,_wn3);
or _wi14 (DIN1Qstate0,_wn1,_wn8);
not _wi15 (_wn17,DIN1);
not _wi16 (_wn20,DIN2);
and _wi18 (_wn19,_wn20,_wn2);
and _wi21 (_wn22,_wn9,DIN2,_wn2);
or _wi22 (_wn18,_wn19,_wn22);
and _wi23 (_wn16,_wn17,_wn18);
and _wi27 (_wn25,_wn9,_wn2,DIN1,_wn20);
or _wi28 (DIN6Qstate1,_wn16,_wn25);
and _wi36 (_wn33,_wn20,_wn3);
and _wi39 (_wn40,_wn7,DIN2,_wn5);
or _wi40 (_wn32,_wn33,_wn40);
and _wi41 (_wn30,_wn17,_wn32);
and _wi45 (_wn43,_wn7,_wn5,DIN1,_wn20);
or _wi46 (DIN4Qstate1,_wn30,_wn43);
and _wi54 (_wn51,_wn9,_wn3);
and _wi57 (_wn58,_wn7,DIN4,_wn5);
or _wi58 (_wn50,_wn51,_wn58);
and _wi59 (_wn48,_wn2,_wn50);
and _wi63 (_wn61,_wn7,_wn5,DIN3,_wn9);
or _wi64 (DIN2Qstate1,_wn48,_wn61);
and _wi70 (DIN7Qstate2,_wn7,_wn5,_wn9,_wn17,_wn2);
and _wi75 (DIN3Qstate2,_wn7,_wn5,_wn17,_wn20);
and _wi80 (DIN1Qstate2,_wn7,_wn5,_wn2,_wn9);
and _wi84 (_wn85,_wn9,_wn20,DIN3);
and _wi86 (_wn90,_wn2,DIN4);
and _wi88 (_wn92,DIN3,_wn9);
or _wi89 (_wn89,_wn90,_wn92);
and _wi90 (_wn88,DIN2,_wn89);
or _wi91 (_wn84,_wn85,_wn88);
and _wi92 (_wn82,_wn17,_wn84);
and _wi99 (_wn94,DIN1,_wn20,_wn89);
or _wi100 (DIN6Qstate0,_wn82,_wn94);
and _wi107 (_wn102,_wn17,DIN2,_wn3);
and _wi114 (_wn109,DIN1,_wn20,_wn3);
or _wi115 (DIN4Qstate0,_wn102,_wn109);
or _wi130 (DIN2Qstate0,_wn1,_wn8);
and _wi142 (_wn148,DIN4,_wn5);
or _wi143 (_wn140,_wn51,_wn148);
and _wi144 (_wn138,_wn2,_wn140);
or _wi149 (_wn137,_wn138,_wn61);
and _wi150 (_wn135,_wn20,_wn137);
and _wi169 (_wn154,DIN2,DIN2Qstate1);
or _wi170 (_wn134,_wn135,_wn154);
and _wi171 (_wn132,_wn17,_wn134);
and _wi176 (_wn179,_wn9,_wn5);
or _wi180 (_wn178,_wn179,_wn58);
and _wi181 (_wn176,_wn2,_wn178);
or _wi186 (_wn175,_wn176,_wn61);
and _wi187 (_wn173,DIN1,_wn20,_wn175);
or _wi188 (DIN7Qstate1,_wn132,_wn173);
or _wi202 (DIN5Qstate1,_wn16,_wn25);
or _wi220 (DIN3Qstate1,_wn30,_wn43);
or _wi238 (DIN1Qstate1,_wn48,_wn61);
and _wi243 (DIN4Qstate2,_wn7,_wn5,_wn17,_wn20);
and _wi248 (DIN2Qstate2,_wn7,_wn5,_wn2,_wn9);
and _wi253 (_wn256,_wn7,DIN5,_wn2,DIN4);
or _wi261 (_wn255,_wn256,_wn8);
and _wi262 (_wn253,_wn20,_wn255);
and _wi278 (_wn266,DIN2,DIN2Qstate0);
or _wi279 (_wn252,_wn253,_wn266);
and _wi280 (_wn250,_wn17,_wn252);
and _wi285 (_wn288,_wn7,_wn9,DIN5);
and _wi291 (_wn291,DIN4,_wn3);
or _wi292 (_wn287,_wn288,_wn291);
and _wi293 (_wn285,_wn2,_wn287);
or _wi301 (_wn284,_wn285,_wn8);
and _wi302 (_wn282,DIN1,_wn20,_wn284);
or _wi303 (DIN7Qstate0,_wn250,_wn282);
or _wi323 (DIN5Qstate0,_wn82,_wn94);
or _wi338 (DIN3Qstate0,_wn102,_wn109);
specify if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate1) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate2) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate1) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate2) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate1) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate2) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate0) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate1) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate2) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate0) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate1) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate0) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate1) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN7Qstate0) (DIN7 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN7Qstate1) (DIN7 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN7Qstate2) (DIN7 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/2/2/1 AND-OR-Invert Gate, 2x
// Q = !((DIN1 & DIN2) | (DIN3 & DIN4) | (DIN5 & DIN6) | DIN7)
module aoi2221s2 (Q, DIN1, DIN2, DIN3, DIN4, DIN5, DIN6, DIN7);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
input DIN6;
input DIN7;
and _i0 (_n1,DIN1,DIN2);
and _i1 (_n2,DIN3,DIN4);
and _i2 (_n3,DIN5,DIN6);
nor _i3 (Q,DIN7,_n1,_n2,_n3);
not _wi0 (_wn2,DIN3);
not _wi1 (_wn5,DIN5);
and _wi2 (_wn4,_wn5,DIN6);
not _wi3 (_wn7,DIN6);
and _wi4 (_wn6,DIN5,_wn7);
or _wi5 (_wn3,_wn4,_wn6);
and _wi6 (_wn1,_wn2,DIN4,_wn3);
not _wi7 (_wn9,DIN4);
and _wi13 (_wn8,DIN3,_wn9,_wn3);
or _wi14 (DIN1Qstate0,_wn1,_wn8);
not _wi15 (_wn17,DIN1);
not _wi16 (_wn20,DIN2);
and _wi18 (_wn22,_wn2,DIN4);
and _wi20 (_wn24,DIN3,_wn9);
or _wi21 (_wn21,_wn22,_wn24);
and _wi22 (_wn19,_wn20,_wn21);
and _wi25 (_wn26,_wn9,DIN2,_wn2);
or _wi26 (_wn18,_wn19,_wn26);
and _wi27 (_wn16,_wn17,_wn18);
and _wi31 (_wn29,_wn9,_wn2,DIN1,_wn20);
or _wi32 (DIN6Qstate1,_wn16,_wn29);
and _wi40 (_wn37,_wn20,_wn3);
and _wi43 (_wn44,_wn7,DIN2,_wn5);
or _wi44 (_wn36,_wn37,_wn44);
and _wi45 (_wn34,_wn17,_wn36);
and _wi49 (_wn47,_wn7,_wn5,DIN1,_wn20);
or _wi50 (DIN4Qstate1,_wn34,_wn47);
and _wi58 (_wn55,_wn9,_wn3);
and _wi61 (_wn62,_wn7,DIN4,_wn5);
or _wi62 (_wn54,_wn55,_wn62);
and _wi63 (_wn52,_wn2,_wn54);
and _wi67 (_wn65,_wn7,_wn5,DIN3,_wn9);
or _wi68 (DIN2Qstate1,_wn52,_wn65);
and _wi89 (_wn73,_wn20,DIN2Qstate1);
and _wi94 (_wn93,_wn7,_wn5,_wn9,DIN2,_wn2);
or _wi95 (_wn72,_wn73,_wn93);
and _wi96 (_wn70,_wn17,_wn72);
and _wi102 (_wn98,_wn7,_wn5,_wn9,_wn2,DIN1,_wn20);
or _wi103 (DIN7Qstate2,_wn70,_wn98);
and _wi108 (DIN5Qstate2,_wn9,_wn2,_wn17,_wn20);
and _wi113 (DIN3Qstate2,_wn7,_wn5,_wn17,_wn20);
and _wi118 (DIN1Qstate2,_wn7,_wn5,_wn2,_wn9);
and _wi125 (_wn120,_wn17,DIN2,_wn21);
and _wi132 (_wn127,DIN1,_wn20,_wn21);
or _wi133 (DIN6Qstate0,_wn120,_wn127);
and _wi140 (_wn135,_wn17,DIN2,_wn3);
and _wi147 (_wn142,DIN1,_wn20,_wn3);
or _wi148 (DIN4Qstate0,_wn135,_wn142);
or _wi163 (DIN2Qstate0,_wn1,_wn8);
and _wi181 (_wn168,_wn20,DIN2Qstate0);
and _wi200 (_wn185,DIN2,DIN2Qstate1);
or _wi201 (_wn167,_wn168,_wn185);
and _wi202 (_wn165,_wn17,_wn167);
and _wi222 (_wn204,DIN1,_wn20,DIN2Qstate1);
or _wi223 (DIN7Qstate1,_wn165,_wn204);
or _wi241 (DIN5Qstate1,_wn16,_wn29);
or _wi259 (DIN3Qstate1,_wn34,_wn47);
and _wi264 (DIN6Qstate2,_wn9,_wn2,_wn17,_wn20);
or _wi282 (DIN1Qstate1,_wn52,_wn65);
and _wi287 (DIN4Qstate2,_wn7,_wn5,_wn17,_wn20);
and _wi294 (DIN7Qstate3,_wn7,_wn5,_wn9,_wn2,_wn17,_wn20);
and _wi299 (DIN2Qstate2,_wn7,_wn5,_wn2,_wn9);
and _wi316 (_wn301,_wn17,DIN2,DIN2Qstate0);
and _wi333 (_wn318,DIN1,_wn20,DIN2Qstate0);
or _wi334 (DIN7Qstate0,_wn301,_wn318);
or _wi349 (DIN5Qstate0,_wn120,_wn127);
or _wi364 (DIN3Qstate0,_wn135,_wn142);
specify if(DIN1Qstate0) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate1) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN1Qstate2) (DIN1 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate0) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate1) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN2Qstate2) (DIN2 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate0) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate1) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN3Qstate2) (DIN3 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate0) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate1) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN4Qstate2) (DIN4 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate0) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate1) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN5Qstate2) (DIN5 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate0) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate1) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN6Qstate2) (DIN6 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN7Qstate0) (DIN7 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN7Qstate1) (DIN7 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN7Qstate2) (DIN7 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
if(DIN7Qstate3) (DIN7 => Q) = (`ifdef unit_delay 1 `else 0 `endif ,`ifdef unit_delay 1 `else 0 `endif );
endspecify
endmodule
`endcelldefine
// Copyright 1998-1999 LEDA Systems, Inc.
`celldefine
// 2/2/2/1 AND-OR-Invert Gate, 3x
// Q = !((DIN1 & DIN2) | (DIN3 & DIN4) | (DIN5 & DIN6) | DIN7)
module aoi2221s3 (Q, DIN1, DIN2, DIN3, DIN4, DIN5, DIN6, DIN7);
output Q;
input DIN1;
input DIN2;
input DIN3;
input DIN4;
input DIN5;
input DIN6;
input DIN7;
and _i0 (_n1,DIN1,DIN2);
and _i1 (_n2,DIN3,DIN4);
and _i2 (_n3,DIN5,DIN6);
nor _i3 (Q,DIN7,_n1,_n2,_n3);
not _wi0 (_wn2,DIN3);
not _wi1 (_wn5,DIN5);
and _wi2 (_wn4,_wn5,DIN6);
not _wi3 (_wn7,DIN6);
and _wi4 (_wn6,DIN5,_wn7);
or _wi5 (_wn3,_wn4,_wn6);
and _wi6 (_wn1,_wn2,DIN4,_wn3);
not _wi7 (_wn9,DIN4);
and _wi13 (_wn8,DIN3,_wn9,_wn3);
or _wi14 (DIN1Qstate0,_wn1,_wn8);
not _wi15 (_wn17,DIN1);
not _wi16 (_wn20,DIN2);
and _wi18 (_wn22,_wn2,DIN4);
and _wi20 (_wn24,DIN3,_wn9);
or _wi21 (_wn21,_wn22,_wn24);
and _wi22 (_wn19,_wn20,_wn21);
and _wi25 (_wn26,_wn9,DIN2,_wn2);
or _wi26 (_wn18,_wn19,_wn26);
and _wi27 (_wn16,_wn17,_wn18);
and _wi31 (_wn29,_wn9,_wn2,DIN1,_wn20);
or _wi32 (DIN6Qstate1,_wn16,_wn29);
and _wi40 (_wn37,_wn20,_wn3);
and _wi43 (_wn44,_wn7,DIN2,_wn5);
or _wi44 (_wn36,_wn37,_wn44);
and _wi45 (_wn34,_wn17,_wn36);
and _wi49 (_wn47,_wn7,_wn5,DIN1,_wn20);
or _wi50 (DIN4Qstate1,_wn34,_wn47);
and _wi58 (_wn55,_wn9,_wn3);
and _wi61 (_wn62,_wn7,DIN4,_wn5);
or _wi62 (_wn54,_wn55,_wn62);
and _wi63 (_wn52,_wn2,_wn54);
and _wi67 (_wn65,_wn7,_wn5,DIN3,_wn9);
or _wi68 (DIN2Qstate1,_wn52,_wn65);
and _wi89 (_wn73,_wn20,DIN2Qstate1);
and _wi94 (_wn93,_wn7,_wn5,_wn9,DIN2,_wn2);
or _wi95 (_wn72,_wn73,_wn93);
and _wi96 (_wn70,_wn17,_wn72);
and _wi102 (_wn98,_wn7,_wn5,_wn9,_wn2,DIN1,_wn20);
or _wi103 (DIN7Qstate2,_wn70,_wn98);
and _wi108 (DIN5Qstate2,_wn9,_wn2,_wn17,_wn20);
and _wi113 (DIN3Qstate2,_wn7,_wn5,_wn17,_wn20);
and _wi118 (DIN1Qstate2,_wn7,_wn5,_wn2,_wn9);
and _wi125 (_wn120,_wn17,DIN2,_wn21);
and _wi132 (_wn127,DIN1,_wn20,_wn21);
or _wi133 (DIN6Qstate0,_wn120,_wn127);
and _wi140 (_wn135,_wn17,DIN2,_wn3);
and _wi147 (_wn142,DIN1,_wn20,_wn3);
or _wi148 (DIN4Qstate0,_wn135,_wn142);
or _wi163 (DIN2Qstate0,_wn1,_wn8);
and _wi181 (_wn168,_wn20,DIN2Qstate0);
and _wi200 (_wn185,DIN2,DIN2Qstate1);
or _wi201 (_wn167,_wn168,_wn185);
and _wi202 (_wn165,_wn17,_wn167);
and _wi222 (_wn204,DIN1,_wn20,DIN2Qstate1);
or _wi223 (DIN7Qstate1,_wn165,_wn204);
or _wi241 (DIN5Qstate1,_wn16,_wn29);
or _wi259 (DIN3Qstate1,_wn34,_wn47);
and _wi264 (DIN6Qstate2,_wn9,_wn2,_wn17,_wn20);
or _wi282 (DIN1Qstate1,_wn52,_wn65);
and _wi287 (DIN4Qstate2,_wn7,_wn5,_wn17,_wn20);
and _wi294 (DIN7Qstate3,_wn7,_wn5,_wn9,_wn2,_wn17,_wn20);
and _wi299 (DIN2Qstate2,_wn7,_wn5,_wn2,_wn9);
and _wi316 (_wn301,_wn17,DIN2,DIN2Qstate0);
and _wi333 (_wn318,DIN1,_wn20,DIN2Qstate0);
or _wi334 (DIN7Qstate0,_wn301,_wn318);
or _wi349 (DIN5Qstate0,_wn120,_wn127);
or _wi364 (DIN3Qstate0,_wn135,_wn142);