* SPICE netlist
M13 VDD Cin N001 VDD PMOS l=1e-7 w=6e-7
M14 VDD A N001 VDD PMOS l=1e-7 w=6e-7
M15 VDD B N001 VDD PMOS l=1e-7 w=6e-7
M16 N003 A N001 N001 PMOS l=1e-7 w=18e-7
M17 N005 B N003 N003 PMOS l=1e-7 w=18e-7
M18 S Cin N005 N005 PMOS l=1e-7 w=18e-7
M19 N001 Cout S N001 PMOS l=1e-7 w=6e-7
M20 S Cout N008 N008 NMOS l=1e-7 w=4e-7
M21 N008 A VSS VSS NMOS l=1e-7 w=4e-7
M22 N008 B VSS VSS NMOS l=1e-7 w=4e-7
M23 N008 Cin VSS VSS NMOS l=1e-7 w=4e-7
M24 N009 Cin S N009 NMOS l=1e-7 w=6e-7
M25 N010 A N009 N010 NMOS l=1e-7 w=6e-7
M26 VSS B N010 VSS NMOS l=1e-7 w=6e-7
M1 VDD A N002 VDD PMOS l=1e-7 w=9e-7
M2 N002 B N004 N002 PMOS l=1e-7 w=9e-7
M3 N004 A Cout N004 PMOS l=1e-7 w=9e-7
M4 Cout Cin N002 N002 PMOS l=1e-7 w=6e-7
M5 N002 B VDD VDD PMOS l=1e-7 w=6e-7
M6 Cout Cin N006 N006 NMOS l=1e-7 w=4e-7
M7 N006 A VSS VSS NMOS l=1e-7 w=4e-7
M8 N006 B VSS VSS NMOS l=1e-7 w=4e-7
M9 N007 A Cout N007 NMOS l=1e-7 w=4e-7
M10 VSS B N007 VSS NMOS l=1e-7 w=4e-7
.inc /Users/lanalim/Downloads/cmosedu_models.txt

* LTspice schematic (.asc)
Version 4
SHEET 1 1200 896
WIRE 104 -448 72 -448
WIRE 232 -448 104 -448
WIRE 248 -448 232 -448
WIRE 264 -448 248 -448
WIRE 392 -448 264 -448
WIRE 424 -448 392 -448
WIRE 104 -400 104 -448
WIRE 104 -400 72 -400
WIRE 264 -400 264 -448
WIRE 264 -400 232 -400
WIRE 424 -400 424 -448
WIRE 424 -400 392 -400
WIRE 24 -368 8 -368
WIRE 184 -368 168 -368
WIRE 344 -368 328 -368
WIRE 152 -352 72 -352
WIRE 232 -352 152 -352
WIRE 312 -352 232 -352
WIRE 392 -352 312 -352
WIRE -456 -336 -488 -336
WIRE -392 -336 -456 -336
WIRE -328 -336 -392 -336
WIRE -296 -336 -328 -336
WIRE -232 -320 -248 -320
WIRE 312 -320 312 -352
WIRE 312 -320 280 -320
WIRE 312 -304 312 -320
WIRE -456 -288 -456 -336
WIRE -456 -288 -488 -288
WIRE -328 -288 -328 -336
WIRE -296 -288 -328 -288
WIRE 376 -288 360 -288
WIRE -536 -256 -552 -256
WIRE 280 -256 280 -320
WIRE 312 -256 280 -256
WIRE -488 -224 -488 -240
WIRE -456 -224 -488 -224
WIRE -296 -224 -296 -240
WIRE -296 -224 -456 -224
WIRE -488 -208 -488 -224
WIRE 152 -192 152 -352
WIRE 184 -192 152 -192
WIRE 312 -192 312 -208
WIRE 312 -192 280 -192
WIRE 152 -176 152 -192
WIRE 312 -176 312 -192
WIRE -456 -160 -456 -224
WIRE -456 -160 -488 -160
WIRE -296 -160 -296 -224
WIRE -296 -160 -328 -160
WIRE 376 -160 360 -160
WIRE -296 -144 -296 -160
WIRE -536 -128 -552 -128
WIRE -232 -128 -248 -128
WIRE 184 -128 184 -192
WIRE 184 -128 152 -128
WIRE 280 -128 280 -192
WIRE 312 -128 280 -128
WIRE -488 -96 -488 -112
WIRE -456 -96 -488 -96
WIRE -328 -96 -328 -160
WIRE -296 -96 -328 -96
WIRE 104 -96 56 -96
WIRE -488 -80 -488 -96
WIRE 312 -64 312 -80
WIRE 312 -64 280 -64
WIRE 312 -48 312 -64
WIRE -456 -32 -456 -96
WIRE -456 -32 -488 -32
WIRE 376 -32 360 -32
WIRE -536 0 -552 0
WIRE 280 0 280 -64
WIRE 312 0 280 0
WIRE -296 16 -296 -48
WIRE -296 16 -488 16
WIRE -232 16 -296 16
WIRE -120 16 -120 -16
WIRE -120 16 -232 16
WIRE 56 16 56 -96
WIRE 56 16 -120 16
WIRE -168 32 -184 32
WIRE 152 48 152 -80
WIRE 312 48 152 48
WIRE 440 48 312 48
WIRE 600 48 440 48
WIRE -456 64 -488 64
WIRE -232 64 -264 64
WIRE 504 64 488 64
WIRE -536 96 -552 96
WIRE 184 96 152 96
WIRE 440 96 408 96
WIRE 56 128 56 16
WIRE 104 128 56 128
WIRE -488 144 -488 112
WIRE -488 144 -536 144
WIRE -456 144 -456 64
WIRE -456 144 -488 144
WIRE -392 144 -456 144
WIRE -264 144 -264 64
WIRE -232 144 -232 112
WIRE -232 144 -264 144
WIRE -168 160 -184 160
WIRE 152 160 152 144
WIRE 152 160 24 160
WIRE 184 160 184 96
WIRE 184 160 152 160
WIRE 280 160 184 160
WIRE 408 160 408 96
WIRE 440 160 440 144
WIRE 440 160 408 160
WIRE 440 176 440 160
WIRE -504 192 -536 192
WIRE -360 192 -392 192
WIRE -232 192 -264 192
WIRE 504 192 488 192
WIRE 56 208 24 208
WIRE 184 208 152 208
WIRE 312 208 280 208
WIRE -584 224 -600 224
WIRE -440 224 -456 224
WIRE 440 224 408 224
WIRE -504 240 -504 192
WIRE -504 240 -536 240
WIRE -392 240 -504 240
WIRE -360 240 -360 192
WIRE -360 240 -392 240
WIRE -264 240 -264 192
WIRE -264 240 -360 240
WIRE -232 240 -264 240
WIRE -24 240 -40 240
WIRE 104 240 88 240
WIRE 232 240 216 240
WIRE 56 256 56 208
WIRE 56 256 24 256
WIRE 152 256 56 256
WIRE 184 256 184 208
WIRE 184 256 152 256
WIRE 280 256 184 256
WIRE 312 256 312 208
WIRE 312 256 280 256
WIRE -392 272 -392 240
WIRE 152 288 152 256
WIRE 408 288 408 224
WIRE 440 288 440 272
WIRE 440 288 408 288
WIRE 440 304 440 288
WIRE 504 320 488 320
WIRE 440 352 408 352
WIRE 408 416 408 352
WIRE 440 416 440 400
WIRE 440 416 408 416
WIRE 440 448 440 416
FLAG 248 -448 VDD
FLAG 8 -368 Cin
IOPIN 352 -16 In
FLAG 168 -368 A
IOPIN 512 -16 In
FLAG 328 -368 B
IOPIN 672 -16 In
FLAG 376 -288 A
IOPIN 720 64 In
FLAG 376 -160 B
IOPIN 720 192 In
FLAG 376 -32 Cin
IOPIN 720 320 In
FLAG -40 240 A
IOPIN 304 592 In
FLAG 88 240 B
IOPIN 432 592 In
FLAG 216 240 Cin
IOPIN 560 592 In
FLAG 504 64 Cin
IOPIN 848 416 In
FLAG 504 192 A
IOPIN 848 544 In
FLAG 504 320 B
IOPIN 848 672 In
FLAG -552 -256 A
IOPIN -208 96 In
FLAG -552 -128 B
IOPIN -208 224 In
FLAG -552 0 A
IOPIN -208 352 In
FLAG -232 -320 B
IOPIN 112 32 In
FLAG -232 -128 Cin
IOPIN 112 224 In
FLAG -392 -336 VDD
FLAG -552 96 Cin
IOPIN -208 448 In
FLAG -600 224 A
IOPIN -256 576 In
FLAG -456 224 B
IOPIN -112 576 In
FLAG -168 160 B
IOPIN 176 512 In
FLAG -168 32 A
IOPIN 176 384 In
FLAG -120 -16 Cout
IOPIN 224 336 Out
FLAG 600 48 S
IOPIN 944 400 Out
FLAG -392 272 VSS
FLAG 152 288 VSS
FLAG 440 448 VSS
SYMBOL pmos4 24 -448 R0
SYMATTR InstName M13
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL pmos4 184 -448 R0
SYMATTR InstName M14
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL pmos4 344 -448 R0
SYMATTR InstName M15
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL pmos4 360 -208 R180
SYMATTR InstName M16
SYMATTR Value2 l=1e-7 w=18e-7
SYMBOL pmos4 360 -80 R180
SYMATTR InstName M17
SYMATTR Value2 l=1e-7 w=18e-7
SYMBOL pmos4 360 48 R180
SYMATTR InstName M18
SYMATTR Value2 l=1e-7 w=18e-7
SYMBOL pmos4 104 -176 R0
SYMATTR InstName M19
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL nmos4 104 48 R0
SYMATTR InstName M20
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 -24 160 R0
SYMATTR InstName M21
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 104 160 R0
SYMATTR InstName M22
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 232 160 R0
SYMATTR InstName M23
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 488 144 R180
SYMATTR InstName M24
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL nmos4 488 272 R180
SYMATTR InstName M25
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL nmos4 488 400 R180
SYMATTR InstName M26
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL pmos4 -536 -336 R0
SYMATTR InstName M1
SYMATTR Value2 l=1e-7 w=9e-7
SYMBOL pmos4 -536 -208 R0
SYMATTR InstName M2
SYMATTR Value2 l=1e-7 w=9e-7
SYMBOL pmos4 -536 -80 R0
SYMATTR InstName M3
SYMATTR Value2 l=1e-7 w=9e-7
SYMBOL pmos4 -248 -48 R180
SYMATTR InstName M4
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL pmos4 -248 -240 R180
SYMATTR InstName M5
SYMATTR Value2 l=1e-7 w=6e-7
SYMBOL nmos4 -536 16 R0
SYMATTR InstName M6
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 -584 144 R0
SYMATTR InstName M7
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 -440 144 R0
SYMATTR InstName M8
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 -184 112 R180
SYMATTR InstName M9
SYMATTR Value2 l=1e-7 w=4e-7
SYMBOL nmos4 -184 240 R180
SYMATTR InstName M10
SYMATTR Value2 l=1e-7 w=4e-7