* SPICE netlist
V1 Vdd 0 5
V2 A 0 PULSE(0 5 1n 0.1n 0.1n 5n 10n)
V3 B 0 0
M1 N002 notA Vdd Vdd PMOS
M2 N006 A N002 N002 PMOS
M5 N001 A Vdd Vdd PMOS
M6 N006 notA N001 N001 PMOS
M7 N003 B Vdd Vdd PMOS
M8 N006 N005 N003 N003 PMOS
M9 Sum notA N007 N007 NMOS
M10 N007 A 0 0 NMOS
M11 Sum A N009 N009 NMOS
M12 N009 notA 0 0 NMOS
M13 Sum B N008 N008 NMOS
M14 N008 N005 0 0 NMOS
M17 notA A Vdd Vdd PMOS
M18 notA A 0 0 NMOS
M19 notB B Vdd Vdd PMOS
M20 notB B 0 0 NMOS
V4 Cin 0 5
M21 notCin Cin Vdd Vdd PMOS
M22 notCin Cin 0 0 NMOS
M3 N003 N004 N002 N002 PMOS
M4 N001 Cin N003 N003 PMOS
M15 N007 N004 N008 N008 NMOS
M16 N008 Cin N009 N009 NMOS
V5 N006 Sum 0
.tran 70n

* LTspice schematic (.asc)
Version 4
SHEET 1 2336 1456
WIRE 176 -728 -176 -728
WIRE 560 -728 176 -728
WIRE -1008 -648 -1072 -648
WIRE -992 -648 -1008 -648
WIRE -176 -648 -176 -728
WIRE 176 -648 176 -728
WIRE 560 -648 560 -728
WIRE -224 -632 -288 -632
WIRE -1072 -600 -1072 -648
WIRE 560 -552 560 -568
WIRE -1072 -488 -1072 -520
WIRE -176 -456 -176 -552
WIRE 0 -456 -176 -456
WIRE 176 -456 176 -552
WIRE 176 -456 96 -456
WIRE 336 -456 176 -456
WIRE 560 -456 560 -552
WIRE 560 -456 432 -456
WIRE -1088 -424 -1136 -424
WIRE -1072 -424 -1088 -424
WIRE 16 -392 16 -408
WIRE 16 -392 -320 -392
WIRE -1136 -376 -1136 -424
WIRE -448 -376 -464 -376
WIRE -416 -376 -448 -376
WIRE 944 -360 912 -360
WIRE 960 -360 944 -360
WIRE 560 -344 560 -456
WIRE -176 -328 -176 -456
WIRE 176 -328 176 -456
WIRE 560 -328 560 -344
WIRE 672 -328 608 -328
WIRE -416 -312 -416 -376
WIRE 176 -312 176 -328
WIRE 256 -312 224 -312
WIRE -464 -296 -560 -296
WIRE 912 -296 912 -360
WIRE 1056 -280 960 -280
WIRE -1136 -248 -1136 -296
WIRE -400 -216 -416 -216
WIRE -176 -216 -176 -232
WIRE 176 -216 176 -232
WIRE 176 -216 -176 -216
WIRE 560 -216 560 -248
WIRE 560 -216 176 -216
WIRE 560 -200 560 -216
WIRE 912 -200 896 -200
WIRE -1104 -168 -1152 -168
WIRE -1072 -168 -1104 -168
WIRE -1152 -136 -1152 -168
WIRE -592 -136 -608 -136
WIRE -560 -136 -560 -296
WIRE -560 -136 -592 -136
WIRE 336 -136 176 -136
WIRE -400 -104 -400 -216
WIRE -288 -104 -288 -632
WIRE -288 -104 -400 -104
WIRE 672 -104 672 -328
WIRE 672 -104 -288 -104
WIRE 1056 -104 1056 -280
WIRE 1104 -104 1056 -104
WIRE 1168 -104 1104 -104
WIRE 256 -88 256 -312
WIRE 768 -88 256 -88
WIRE 896 -88 896 -200
WIRE 896 -88 816 -88
WIRE -400 -40 -400 -104
WIRE -1152 -24 -1152 -56
WIRE 896 -24 896 -88
WIRE 176 -8 176 -136
WIRE 176 -8 -176 -8
WIRE 576 -8 176 -8
WIRE -560 40 -560 -136
WIRE -448 40 -560 40
WIRE 1056 56 1056 -104
WIRE 1056 56 944 56
WIRE -176 72 -176 -8
WIRE 576 72 576 -8
WIRE 176 88 176 -8
WIRE -400 104 -400 56
WIRE 176 104 176 88
WIRE 896 120 896 72
WIRE -288 152 -288 -104
WIRE -224 152 -288 152
WIRE -208 152 -224 152
WIRE -592 216 -608 216
WIRE -560 216 -592 216
WIRE -176 264 -176 168
WIRE -64 264 -176 264
WIRE 176 264 176 184
WIRE 176 264 32 264
WIRE 336 264 176 264
WIRE 576 264 576 168
WIRE 576 264 432 264
WIRE -560 280 -560 216
WIRE -608 296 -704 296
WIRE -1072 376 -1168 376
WIRE -544 376 -560 376
WIRE -176 376 -176 264
WIRE 176 376 176 264
WIRE 576 376 576 264
WIRE -1168 440 -1168 376
WIRE 256 456 256 -88
WIRE 256 456 224 456
WIRE -704 472 -704 296
WIRE -544 488 -544 376
WIRE -448 488 -544 488
WIRE -320 488 -320 -392
WIRE -320 488 -432 488
WIRE 16 488 16 312
WIRE 16 488 -320 488
WIRE -176 536 -176 472
WIRE 176 536 176 472
WIRE 176 536 -176 536
WIRE 576 536 576 472
WIRE 576 536 176 536
WIRE -544 552 -544 488
WIRE 176 616 176 536
WIRE -704 632 -704 472
WIRE -592 632 -704 632
WIRE -544 696 -544 648
WIRE -288 728 -288 152
WIRE 624 728 624 456
WIRE 624 728 -288 728
FLAG -1072 -488 0
FLAG -1008 -648 Vdd
FLAG -1136 -248 0
FLAG -1152 -24 0
FLAG -1088 -424 A
FLAG -1104 -168 B
FLAG 176 -728 Vdd
FLAG -400 104 0
FLAG -448 -376 Vdd
FLAG -592 -136 A
FLAG -288 -104 notA
FLAG 896 120 0
FLAG 944 -360 Vdd
FLAG 1104 -104 B
FLAG 816 -88 notB
FLAG -224 -312 A
FLAG 608 -632 A
FLAG 224 -632 B
FLAG -224 456 A
FLAG 624 152 A
FLAG 224 168 B
FLAG -1168 520 0
FLAG -1072 376 Cin
FLAG -544 696 0
FLAG -592 216 Vdd
FLAG -704 472 Cin
FLAG -448 488 notCin
FLAG 336 -136 Sum
FLAG 352 -408 Cin
FLAG 416 312 Cin
FLAG 176 616 0
SYMBOL voltage -1072 -616 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -1136 -392 R0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 1n 0.1n 0.1n 5n 10n)
SYMBOL voltage -1152 -152 R0
SYMATTR InstName V3
SYMATTR Value 0
SYMBOL pmos -224 -552 M180
SYMATTR InstName M1
SYMBOL pmos -224 -232 M180
SYMATTR InstName M2
SYMBOL pmos 608 -552 R180
SYMATTR InstName M5
SYMBOL pmos 608 -248 R180
SYMATTR InstName M6
SYMBOL pmos 224 -552 R180
SYMATTR InstName M7
SYMBOL pmos 224 -232 R180
SYMATTR InstName M8
SYMBOL nmos -224 72 R0
SYMATTR InstName M9
SYMBOL nmos -224 376 R0
SYMATTR InstName M10
SYMBOL nmos 624 72 M0
SYMATTR InstName M11
SYMBOL nmos 624 376 M0
SYMATTR InstName M12
SYMBOL nmos 224 88 M0
SYMATTR InstName M13
SYMBOL nmos 224 376 M0
SYMATTR InstName M14
SYMBOL pmos -464 -216 M180
SYMATTR InstName M17
SYMBOL nmos -448 -40 R0
SYMATTR InstName M18
SYMBOL pmos 960 -200 R180
SYMATTR InstName M19
SYMBOL nmos 944 -24 M0
SYMATTR InstName M20
SYMBOL voltage -1168 424 R0
SYMATTR InstName V4
SYMATTR Value 5
SYMBOL pmos -608 376 M180
SYMATTR InstName M21
SYMBOL nmos -592 552 R0
SYMATTR InstName M22
SYMBOL pmos 96 -408 M270
SYMATTR InstName M3
SYMBOL pmos 432 -408 M270
SYMATTR InstName M4
SYMBOL nmos -64 312 R270
SYMATTR InstName M15
SYMBOL nmos 336 312 R270
SYMATTR InstName M16
SYMBOL voltage 176 -232 R0
SYMATTR InstName V5
SYMATTR Value 0