* SPICE netlist
MP1 N003 N001 N005 N005 PMOS
MP2 N005 N009 N010 N010 PMOS
MP4 N011 N007 N005 N005 PMOS
MP9 Y N007 N014 N014 PMOS
MP6 N006 N002 N003 N003 PMOS
MP7 N006 N009 N013 N013 PMOS
MP8 N013 N012 Y Y PMOS
MP3 N010 N008 Y Y PMOS
MP5 Y N012 N011 N011 PMOS
MP10 N014 N008 N006 N006 PMOS
VDD N003 0 V
M1 N002 N001 0 0 NMOS
M2 N004 N001 N002 N002 PMOS
VDD1 N004 0 V
VA N001 0 V
VB N007 0 V
VC N008 0 V
M3 N009 N007 0 0 NMOS
M4 N015 N007 N009 N009 PMOS
VDD2 N015 0 V
M5 N012 N008 0 0 NMOS
M6 N016 N008 N012 N012 PMOS
VDD3 N016 0 V
MN1 Y N001 N018 N018 NMOS
MN2 Y N009 N017 N017 NMOS
MN3 Y N008 N017 N017 NMOS
MN4 N017 N007 N018 N018 NMOS
MN5 N017 N012 N018 N018 NMOS
MN6 N018 N002 0 0 NMOS
MN7 N018 N007 N019 N019 NMOS
MN8 N018 N008 N019 N019 NMOS
MN9 N019 N009 0 0 NMOS
MN10 N019 N012 0 0 NMOS

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1840 2240
WIRE 600 -1120 -664 -1120
WIRE 520 -1024 472 -1024
WIRE 120 -992 -920 -992
WIRE 120 -912 120 -992
WIRE 120 -912 -24 -912
WIRE 424 -912 424 -944
WIRE 424 -912 120 -912
WIRE 424 -896 424 -912
WIRE 520 -880 520 -1024
WIRE 520 -880 472 -880
WIRE 600 -880 600 -1120
WIRE 600 -880 520 -880
WIRE -664 -816 -664 -1120
WIRE -664 -816 -680 -816
WIRE -632 -816 -664 -816
WIRE -408 -816 -632 -816
WIRE -248 -816 -248 -848
WIRE -248 -816 -360 -816
WIRE -72 -816 -248 -816
WIRE -360 -800 -360 -816
WIRE -72 -784 -72 -816
WIRE -24 -768 -24 -912
WIRE 424 -752 424 -800
WIRE 424 -752 312 -752
WIRE -632 -720 -632 -816
WIRE -632 -720 -888 -720
WIRE -408 -720 -408 -816
WIRE -360 -688 -360 -704
WIRE -360 -688 -456 -688
WIRE -312 -688 -360 -688
WIRE -72 -656 -72 -688
WIRE -72 -656 -104 -656
WIRE 120 -656 -72 -656
WIRE 728 -656 680 -656
WIRE 232 -640 168 -640
WIRE -664 -624 -680 -624
WIRE -600 -624 -664 -624
WIRE -504 -608 -552 -608
WIRE -600 -576 -600 -624
WIRE -264 -576 -264 -672
WIRE -264 -576 -600 -576
WIRE -456 -560 -456 -592
WIRE -312 -560 -312 -592
WIRE -232 -544 -264 -544
WIRE -152 -544 -152 -576
WIRE 360 -544 -152 -544
WIRE 632 -544 632 -576
WIRE 632 -544 360 -544
WIRE -664 -528 -664 -624
WIRE -664 -528 -824 -528
WIRE -552 -528 -552 -608
WIRE -152 -528 -152 -544
WIRE -152 -528 -552 -528
WIRE -104 -528 -104 -560
WIRE 120 -528 120 -560
WIRE 632 -528 632 -544
WIRE 312 -512 168 -512
WIRE 728 -512 728 -656
WIRE 728 -512 680 -512
WIRE -664 -448 -680 -448
WIRE -632 -448 -664 -448
WIRE -504 -448 -504 -480
WIRE -504 -448 -632 -448
WIRE -232 -432 -232 -544
WIRE -152 -432 -152 -448
WIRE -152 -432 -232 -432
WIRE 632 -384 632 -432
WIRE 632 -384 520 -384
WIRE -456 -352 -456 -464
WIRE -312 -352 -312 -464
WIRE -312 -352 -456 -352
WIRE -200 -352 -312 -352
WIRE -104 -352 -104 -432
WIRE -104 -352 -200 -352
WIRE 120 -352 120 -432
WIRE 120 -352 -104 -352
WIRE 920 -352 120 -352
WIRE -504 -320 -504 -448
WIRE 232 -320 232 -640
WIRE 232 -320 -504 -320
WIRE 312 -304 312 -512
WIRE 728 -304 728 -512
WIRE 728 -304 312 -304
WIRE 360 -288 360 -544
WIRE 616 -288 360 -288
WIRE -600 -240 -600 -576
WIRE 312 -240 312 -304
WIRE 312 -240 -600 -240
WIRE 536 -240 488 -240
WIRE -632 -144 -632 -448
WIRE 536 -144 536 -240
WIRE 536 -144 -632 -144
WIRE -152 -112 -152 -432
WIRE 184 -112 -152 -112
WIRE 440 -112 440 -160
WIRE 440 -112 184 -112
WIRE 536 -96 536 -144
WIRE 536 -96 488 -96
WIRE 440 32 440 -16
WIRE 440 32 328 32
WIRE -664 96 -664 -448
WIRE 248 96 -664 96
WIRE 184 144 184 -112
WIRE 232 144 184 144
WIRE -200 160 -200 -352
WIRE 168 160 -200 160
WIRE -200 208 -200 160
WIRE 168 208 168 160
WIRE 168 208 72 208
WIRE 328 208 168 208
WIRE -888 288 -888 -720
WIRE -248 288 -888 288
WIRE 248 288 248 96
WIRE 280 288 248 288
WIRE 24 336 24 288
WIRE 24 336 -8 336
WIRE 616 336 616 -288
WIRE 616 336 24 336
WIRE 72 368 72 304
WIRE 200 368 72 368
WIRE 328 368 328 304
WIRE 328 368 200 368
WIRE 200 464 200 368
WIRE 200 464 72 464
WIRE 328 464 200 464
WIRE -824 544 -824 -528
WIRE -72 544 -824 544
WIRE 24 544 -72 544
WIRE 232 544 232 144
WIRE 264 544 232 544
WIRE 280 544 264 544
WIRE -200 640 -200 304
WIRE 72 640 72 560
WIRE 72 640 -200 640
WIRE 328 640 328 560
WIRE 328 640 72 640
WIRE 72 704 72 640
WIRE 72 704 -200 704
WIRE 216 704 72 704
WIRE -200 752 -200 704
WIRE 216 784 216 704
WIRE 216 784 72 784
WIRE 328 784 216 784
WIRE 72 800 72 784
WIRE 328 800 328 784
WIRE -920 832 -920 -992
WIRE -248 832 -920 832
WIRE -72 880 -72 544
WIRE 24 880 -72 880
WIRE 248 880 248 288
WIRE 280 880 248 880
WIRE 72 928 72 896
WIRE 216 928 72 928
WIRE 328 928 328 896
WIRE 328 928 216 928
WIRE 216 976 216 928
WIRE 216 976 72 976
WIRE 328 976 216 976
WIRE 72 992 72 976
WIRE 328 992 328 976
WIRE -8 1072 -8 336
WIRE 24 1072 -8 1072
WIRE 264 1072 264 544
WIRE 280 1072 264 1072
WIRE -200 1120 -200 848
WIRE 72 1120 72 1088
WIRE 328 1120 328 1088
FLAG -248 -928 0
FLAG 920 -352 Y
FLAG 312 -832 0
FLAG 424 -1040 0
FLAG -760 -448 0
FLAG -760 -624 0
FLAG -760 -816 0
FLAG 520 -464 0
FLAG 632 -672 0
FLAG 328 -48 0
FLAG 440 -256 0
FLAG -200 1120 0
FLAG 328 1120 0
FLAG 72 1120 0
SYMBOL pmos -408 -800 R0
SYMATTR InstName P1
SYMBOL pmos -504 -688 R0
SYMATTR InstName P2
SYMBOL pmos -264 -592 R180
SYMATTR InstName P4
SYMBOL pmos 168 -432 R180
SYMATTR InstName P9
SYMBOL pmos -24 -688 R180
SYMATTR InstName P6
SYMBOL pmos -152 -656 R0
SYMATTR InstName P7
SYMBOL pmos -152 -528 R0
SYMATTR InstName P8
SYMBOL pmos -504 -560 R0
SYMATTR InstName P3
SYMBOL pmos -264 -464 R180
SYMATTR InstName P5
SYMBOL pmos 168 -560 R180
SYMATTR InstName P10
SYMBOL voltage -248 -832 R180
SYMATTR InstName VDD
SYMBOL nmos 472 -944 R180
SYMATTR InstName M1
SYMBOL pmos 472 -800 R180
SYMATTR InstName M2
SYMBOL voltage 312 -736 R180
SYMATTR InstName VDD1
SYMBOL voltage -664 -816 R90
SYMATTR InstName A
SYMBOL voltage -664 -624 R90
SYMATTR InstName B
SYMBOL voltage -664 -448 R90
SYMATTR InstName C
SYMBOL nmos 680 -576 R180
SYMATTR InstName M3
SYMBOL pmos 680 -432 R180
SYMATTR InstName M4
SYMBOL voltage 520 -368 R180
SYMATTR InstName VDD2
SYMBOL nmos 488 -160 R180
SYMATTR InstName M5
SYMBOL pmos 488 -16 R180
SYMATTR InstName M6
SYMBOL voltage 328 48 R180
SYMATTR InstName VDD3
SYMBOL nmos -248 208 R0
SYMATTR InstName N1
SYMBOL nmos 24 208 R0
SYMATTR InstName N2
SYMBOL nmos 280 208 R0
SYMATTR InstName N3
SYMBOL nmos 24 464 R0
SYMATTR InstName N4
SYMBOL nmos 280 464 R0
SYMATTR InstName N5
SYMBOL nmos -248 752 R0
SYMATTR InstName N6
SYMBOL nmos 24 800 R0
SYMATTR InstName N7
SYMBOL nmos 280 800 R0
SYMATTR InstName N8
SYMBOL nmos 24 992 R0
SYMATTR InstName N9
SYMBOL nmos 280 992 R0
SYMATTR InstName N10