-
Notifications
You must be signed in to change notification settings - Fork 0
/
osu018_stdcells_correct_vdd_gnd.sp
937 lines (824 loc) · 24.7 KB
/
osu018_stdcells_correct_vdd_gnd.sp
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
.subckt AND2X1 A B 0 Y vdd
*corrected
**Vvdd vdd 0 1.8
M0 a_2_6# A vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd B a_2_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y a_2_6# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_9_6# A a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 0 B a_9_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 Y a_2_6# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends AND2X1
.subckt AND2X2 A B 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_2_6# A vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd B a_2_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y a_2_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_9_6# A a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 0 B a_9_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 Y a_2_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends AND2X2
.subckt AOI21X1 A B C 0 Y vdd
M0 vdd A a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_2_54# B vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y C a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_12_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 Y B a_12_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 0 C Y 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends AOI21X1
.subckt AOI22X1 A B C D 0 Y vdd
*corrected
M0 vdd A a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_2_54# B vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y D a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_2_54# C Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_11_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 Y B a_11_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 a_28_6# D Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 0 C a_28_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends AOI22X1
.subckt BUFX2 A 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd A a_2_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y a_2_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 0 A a_2_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 Y a_2_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends BUFX2
.subckt BUFX4 A 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd A a_2_6# vdd pfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y a_2_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 vdd a_2_6# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 0 A a_2_6# 0 nfet w=1.5u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 Y a_2_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 0 a_2_6# Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends BUFX4
.subckt CLKBUF1 A 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_6# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd A a_9_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_25_6# a_9_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 vdd a_9_6# a_25_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_41_6# a_25_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 vdd a_25_6# a_41_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 Y a_41_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 vdd a_41_6# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_9_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 0 A a_9_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 a_25_6# a_9_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 0 a_9_6# a_25_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 a_41_6# a_25_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 0 a_25_6# a_41_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M14 Y a_41_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M15 0 a_41_6# Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends CLKBUF1
.subckt CLKBUF2 vdd 0 A Y
M0 a_9_6# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd A a_9_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_25_6# a_9_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 vdd a_9_6# a_25_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_41_6# a_25_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 vdd a_25_6# a_41_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 a_57_6# a_41_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 vdd a_41_6# a_57_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_73_6# a_57_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 vdd a_57_6# a_73_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 Y a_73_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 vdd a_73_6# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 a_9_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 0 A a_9_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M14 a_25_6# a_9_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M15 0 a_9_6# a_25_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M16 a_41_6# a_25_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M17 0 a_25_6# a_41_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M18 a_57_6# a_41_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M19 0 a_41_6# a_57_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M20 a_73_6# a_57_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M21 0 a_57_6# a_73_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M22 Y a_73_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M23 0 a_73_6# Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends CLKBUF2
.subckt CLKBUF3 0 vdd A Y
M0 a_9_6# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd A a_9_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_25_6# a_9_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 vdd a_9_6# a_25_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_41_6# a_25_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 vdd a_25_6# a_41_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 a_57_6# a_41_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 vdd a_41_6# a_57_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_73_6# a_57_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 vdd a_57_6# a_73_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 a_89_6# a_73_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 vdd a_73_6# a_89_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 a_105_6# a_89_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 vdd a_89_6# a_105_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M14 Y a_105_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M15 vdd a_105_6# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M16 a_9_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M17 0 A a_9_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M18 a_25_6# a_9_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M19 0 a_9_6# a_25_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M20 a_41_6# a_25_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M21 0 a_25_6# a_41_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M22 a_57_6# a_41_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M23 0 a_41_6# a_57_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M24 a_73_6# a_57_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M25 0 a_57_6# a_73_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M26 a_89_6# a_73_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M27 0 a_73_6# a_89_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M28 a_105_6# a_89_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M29 0 a_89_6# a_105_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M30 Y a_105_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M31 0 a_105_6# Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends CLKBUF3
.subckt DFFNEGX1 CLK vdd D 0 Q
M0 vdd CLK a_2_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_17_74# D vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_23_6# a_2_6# a_17_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_31_74# CLK a_23_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 vdd a_34_4# a_31_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_34_4# a_23_6# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 a_61_74# a_34_4# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_66_6# CLK a_61_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_76_84# a_2_6# a_66_6# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 vdd Q a_76_84# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 0 CLK a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 Q a_66_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 a_17_6# D 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 a_23_6# CLK a_17_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M14 a_31_6# a_2_6# a_23_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M15 0 a_34_4# a_31_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M16 a_34_4# a_23_6# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M17 a_61_6# a_34_4# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M18 a_66_6# a_2_6# a_61_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M19 a_76_6# CLK a_66_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M20 0 Q a_76_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M21 Q a_66_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends DFFNEGX1
.subckt DFFPOSX1 Q CLK D 0 vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd CLK a_2_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_17_74# D vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_22_6# CLK a_17_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_31_74# a_2_6# a_22_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 vdd a_34_4# a_31_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_34_4# a_22_6# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 a_61_74# a_34_4# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_66_6# a_2_6# a_61_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_76_84# CLK a_66_6# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 vdd Q a_76_84# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 0 CLK a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 Q a_66_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 a_17_6# D 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 a_22_6# a_2_6# a_17_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M14 a_31_6# CLK a_22_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M15 0 a_34_4# a_31_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M16 a_34_4# a_22_6# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M17 a_61_6# a_34_4# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M18 a_66_6# CLK a_61_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M19 a_76_6# a_2_6# a_66_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M20 0 Q a_76_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M21 Q a_66_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends DFFPOSX1
.subckt DFFSR Q CLK R S D 0 vdd
M0 a_2_6# R vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd a_10_61# a_2_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_10_61# a_23_27# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 vdd S a_10_61# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_23_27# a_47_71# a_2_6# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_57_6# a_47_4# a_23_27# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 vdd D a_57_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 vdd a_47_71# a_47_4# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_47_71# CLK vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 a_105_6# a_47_71# a_10_61# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 a_113_6# a_47_4# a_105_6# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 a_122_6# a_105_6# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 vdd R a_122_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 a_113_6# a_122_6# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M14 vdd S a_113_6# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M15 vdd a_122_6# Q vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M16 a_10_6# R a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M17 0 a_10_61# a_10_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M18 a_26_6# a_23_27# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M19 a_10_61# S a_26_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M20 a_23_27# a_47_4# a_2_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M21 a_57_6# a_47_71# a_23_27# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M22 0 D a_57_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M23 0 a_47_71# a_47_4# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M24 a_47_71# CLK 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M25 a_105_6# a_47_4# a_10_61# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M26 a_113_6# a_47_71# a_105_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M27 a_130_6# a_105_6# a_122_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M28 0 R a_130_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M29 a_146_6# a_122_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M30 a_113_6# S a_146_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M31 0 a_122_6# Q 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends DFFSR
.subckt FAX1 YC YS A B C 0 vdd
M0 vdd A a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_2_54# B vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_25_6# C a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_33_54# B a_25_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 vdd A a_33_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_46_54# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 vdd B a_46_54# vdd pfet w=3.6u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_46_54# C vdd vdd pfet w=3.6u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_70_6# a_25_6# a_46_54# vdd pfet w=3.6u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 a_79_46# C a_70_6# vdd pfet w=4.8u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 a_84_46# B a_79_46# vdd pfet w=4.8u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 vdd A a_84_46# vdd pfet w=4.8u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 YS a_70_6# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 YC a_25_6# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M14 0 A a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M15 a_2_6# B 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M16 a_25_6# C a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M17 a_33_6# B a_25_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M18 0 A a_33_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M19 a_46_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M20 0 B a_46_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M21 a_46_6# C 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M22 a_70_6# a_25_6# a_46_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M23 a_79_6# C a_70_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M24 a_84_6# B a_79_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M25 0 A a_84_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M26 YS a_70_6# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M27 YC a_25_6# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends FAX1
.subckt HAX1 YC YS A B 0 vdd
M0 vdd A a_2_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_2_74# B vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 vdd a_2_74# YC vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_41_74# a_2_74# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_49_54# B a_41_74# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 vdd A a_49_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 YS a_41_74# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_9_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_2_74# B a_9_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 0 a_2_74# YC 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 a_38_6# a_2_74# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 a_41_74# B a_38_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M12 a_38_6# A a_41_74# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M13 YS a_41_74# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends HAX1
.subckt INVX1 A 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 Y A vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y A 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends INVX1
.subckt INVX2 A 0 Y vdd
*corrected
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 Y A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends INVX2
.subckt INVX4 A gnd Y vdd
*corrected
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 Y A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd A Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 0 A Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends INVX4
.subckt INVX8 A 0 Y vdd
*corrected
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 Y A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd A Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 vdd A Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 Y A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 0 A Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 Y A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 0 A Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends INVX8
.subckt LATCH D Q CLK
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd CLK a_2_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_18_74# D vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_23_6# a_2_6# a_18_74# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_35_84# CLK a_23_6# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 vdd Q a_35_84# vdd pfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 0 CLK a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 Q a_23_6# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_18_6# D 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_23_6# CLK a_18_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 a_35_6# a_2_6# a_23_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 0 Q a_35_6# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 Q a_23_6# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends LATCH
.subckt MUX2X1 A B S 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd S a_2_10# vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_17_50# B vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y S a_17_50# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_30_54# a_2_10# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 vdd A a_30_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 0 S a_2_10# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 a_17_10# B 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 Y a_2_10# a_17_10# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 a_30_10# S Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 0 A a_30_10# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends MUX2X1
.subckt NAND2X1 A B 0 Y vdd
**corrected
M0 Y A vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd B Y vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_9_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 Y B a_9_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends NAND2X1
.subckt NAND3X1 A B C 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 Y A vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd B Y vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y C vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_9_6# A 0 0 nfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_14_6# B a_9_6# 0 nfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 Y C a_14_6# 0 nfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends NAND3X1
.subckt NOR2X1 A B 0 Y vdd
**corrected
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_54# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y B a_9_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y A 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 0 B Y 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends NOR2X1
.subckt NOR3X1 A B C 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd A a_2_64# vdd pfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_2_64# A vdd vdd pfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_25_64# B a_2_64# vdd pfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_2_64# B a_25_64# vdd pfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 Y C a_25_64# vdd pfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_25_64# C Y vdd pfet w=3u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 Y A 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 0 B Y 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 Y C 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends NOR3X1
.subckt OAI21X1 A B C 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_54# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y B a_9_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 vdd C Y vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 0 A a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_2_6# B 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 Y C a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends OAI21X1
.subckt OAI22X1 A B C D 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_54# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y B a_9_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_28_54# D Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 vdd C a_28_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 0 A a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_2_6# B 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 Y D a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_2_6# C Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends OAI22X1
.subckt OR2X1 A B 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_54# A a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd B a_9_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y a_2_54# vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_2_54# A 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 0 B a_2_54# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 Y a_2_54# 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends OR2X1
.subckt OR2X2 A B 0 Y vdd
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_54# A a_2_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 vdd B a_9_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y a_2_54# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_2_54# A 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 0 B a_2_54# 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 Y a_2_54# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends OR2X2
.subckt TBUFX1 EN A Y
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_6# EN vdd vdd pfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_26_54# a_9_6# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 vdd A a_26_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_9_6# EN 0 0 nfet w=1u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_26_6# EN Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 0 A a_26_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends TBUFX1
.subckt TBUFX2 A EN Y
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 a_9_6# EN vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 Y a_9_6# a_18_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 a_18_54# a_9_6# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 vdd A a_18_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 a_18_54# A vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_9_6# EN 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 Y EN a_18_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_18_6# EN Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 0 A a_18_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 a_18_6# A 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends TBUFX2
.subckt XNOR2X1 A B 0 Y vdd
*Corrected
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd A a_2_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_18_54# a_12_41# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y a_2_6# a_18_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_35_54# A Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 vdd B a_35_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_12_41# B vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 0 A a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_18_6# a_12_41# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 Y A a_18_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 a_35_6# a_2_6# Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 0 B a_35_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 a_12_41# B 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends XNOR2X1
.subckt XOR2X1 A B 0 Y vdd
*Corrected
*Vvdd vdd 0 1.8
*V0 0 0 0
M0 vdd A a_2_6# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M1 a_18_54# a_13_43# vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M2 Y A a_18_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M3 a_35_54# a_2_6# Y vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M4 vdd B a_35_54# vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M5 a_13_43# B vdd vdd pfet w=4u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M6 0 A a_2_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M7 a_18_6# a_13_43# 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M8 Y a_2_6# a_18_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M9 a_35_6# A Y 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M10 0 B a_35_6# 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
M11 a_13_43# B 0 0 nfet w=2u l=0.2u
+ ad=0p pd=0u as=0p ps=0u
.ends XOR2X1