* SPICE netlist
XX1 N001 XOR $G_VDD $G_VDD pmos_t1 ;pnba D)G)S)B
XX2 S _Cin N001 $G_VDD pmos_t1 ;pnba D)G)S)B
XX4 _Cin N002 S $G_VDD pmos_t1 ;pnba D)G)S)B
XX3 _Cin XOR S 0 nmos_t1 ;pnba D)G)S)B
XX5 S _Cin XOR 0 nmos_t1 ;pnba D)G)S)B
XX6 N002 XOR $G_VDD $G_VDD pmos_t1 ;pnba D)G)S)B
XX7 N002 XOR 0 0 nmos_t1 ;pnba D)G)S)B
XX17 _Cin _XOR _Cout $G_VDD pmos_t1 ;pnba D)G)S)B
XX18 _Cin XOR _Cout 0 nmos_t1 ;pnba D)G)S)B
XX19 N004 A $G_VDD $G_VDD pmos_t1 ;pnba D)G)S)B
XX20 _Cout B N004 $G_VDD pmos_t1 ;pnba D)G)S)B
XX21 _Cout B N006 0 nmos_t1 ;pnba D)G)S)B
XX22 N006 A 0 0 nmos_t1 ;pnba D)G)S)B
XX15 XOR _XOR $G_VDD $G_VDD pmos_t1 ;pnba D)G)S)B
XX16 XOR _XOR 0 0 nmos_t1 ;pnba D)G)S)B
XX11 N005 B $G_VDD $G_VDD pmos_t1 ;pnba D)G)S)B
XX12 N005 B 0 0 nmos_t1 ;pnba D)G)S)B
XX10 _XOR A B 0 nmos_t1 ;pnba D)G)S)B
XX8 A B _XOR 0 nmos_t1 ;pnba D)G)S)B
XX9 A N005 _XOR $G_VDD pmos_t1 ;pnba D)G)S)B
XX14 _XOR A N003 $G_VDD pmos_t1 ;pnba D)G)S)B
XX13 N003 B $G_VDD $G_VDD pmos_t1 ;pnba D)G)S)B

* LTspice schematic (.asc)
Version 4
SHEET 1 2352 2592
WIRE 552 -1248 552 -1296
WIRE 616 -1248 552 -1248
WIRE 552 -1232 552 -1248
WIRE 504 -1216 72 -1216
WIRE 616 -1184 616 -1248
WIRE 616 -1184 552 -1184
WIRE 552 -1104 552 -1136
WIRE 200 -1088 8 -1088
WIRE 296 -1088 200 -1088
WIRE 504 -1088 296 -1088
WIRE 616 -1056 616 -1184
WIRE 616 -1056 552 -1056
WIRE 200 -1040 200 -1088
WIRE 296 -1040 296 -1088
WIRE 232 -992 200 -992
WIRE 264 -992 264 -1296
WIRE 296 -992 264 -992
WIRE 72 -960 72 -1216
WIRE 152 -960 72 -960
WIRE 424 -960 344 -960
WIRE 200 -864 200 -944
WIRE 200 -864 152 -864
WIRE 296 -864 296 -944
WIRE 296 -864 200 -864
WIRE 552 -864 552 -1008
WIRE 552 -864 296 -864
WIRE 712 -864 552 -864
WIRE 152 -800 152 -864
WIRE 232 -752 232 -992
WIRE 232 -752 152 -752
WIRE 8 -720 8 -1088
WIRE 104 -720 8 -720
WIRE 232 -720 232 -752
WIRE 328 -592 328 -640
WIRE 376 -592 328 -592
WIRE 328 -576 328 -592
WIRE 280 -560 248 -560
WIRE 376 -528 376 -592
WIRE 376 -528 328 -528
WIRE 72 -432 72 -960
WIRE 152 -432 152 -704
WIRE 152 -432 72 -432
WIRE 248 -432 248 -560
WIRE 248 -432 152 -432
WIRE 328 -432 328 -480
WIRE 424 -432 424 -960
WIRE 424 -432 328 -432
WIRE 328 -384 328 -432
WIRE 376 -336 328 -336
WIRE 248 -304 248 -432
WIRE 280 -304 248 -304
WIRE 328 -272 328 -288
WIRE 376 -272 376 -336
WIRE 376 -272 328 -272
WIRE 328 -224 328 -272
WIRE 504 -32 200 -32
WIRE 616 -32 504 -32
WIRE 504 16 504 -32
WIRE 424 64 392 64
WIRE 552 64 520 64
WIRE 472 80 472 64
WIRE 472 80 344 80
WIRE 8 112 8 -720
WIRE 8 112 -984 112
WIRE 392 112 392 64
WIRE 392 112 8 112
WIRE 552 112 552 64
WIRE 1112 112 552 112
WIRE 1176 112 1112 112
WIRE 472 144 312 144
WIRE 392 160 392 112
WIRE 424 160 392 160
WIRE 472 160 472 144
WIRE 552 160 552 112
WIRE 552 160 520 160
WIRE 72 256 72 -432
WIRE 504 256 504 208
WIRE 504 256 72 256
WIRE 616 256 504 256
WIRE -248 288 -248 272
WIRE -200 288 -248 288
WIRE -248 320 -248 288
WIRE -296 336 -1080 336
WIRE 840 336 840 288
WIRE 904 336 840 336
WIRE 840 352 840 336
WIRE -200 368 -200 288
WIRE -200 368 -248 368
WIRE 712 368 664 368
WIRE 792 368 712 368
WIRE 904 400 904 336
WIRE 904 400 840 400
WIRE -248 480 -248 416
WIRE 840 480 840 448
WIRE -936 496 -1032 496
WIRE -808 496 -936 496
WIRE -296 496 -808 496
WIRE 744 496 664 496
WIRE 792 496 744 496
WIRE -200 528 -200 368
WIRE -200 528 -248 528
WIRE 904 528 904 400
WIRE 904 528 840 528
WIRE -936 544 -936 496
WIRE -808 544 -808 496
WIRE 376 560 376 512
WIRE 424 560 376 560
WIRE 376 576 376 560
WIRE -888 592 -936 592
WIRE -856 592 -856 272
WIRE -808 592 -856 592
WIRE 328 592 296 592
WIRE 840 608 840 576
WIRE 1112 608 1112 112
WIRE 1112 608 840 608
WIRE -1080 624 -1080 336
WIRE -984 624 -1080 624
WIRE -376 624 -760 624
WIRE 424 624 424 560
WIRE 424 624 376 624
WIRE 840 640 840 608
WIRE 904 688 840 688
WIRE -936 720 -936 640
WIRE -808 720 -808 640
WIRE -808 720 -936 720
WIRE -248 720 -248 576
WIRE -248 720 -808 720
WIRE -184 720 -248 720
WIRE 200 720 200 -32
WIRE 200 720 8 720
WIRE 296 720 296 592
WIRE 296 720 200 720
WIRE 376 720 376 672
WIRE 504 720 504 256
WIRE 504 720 376 720
WIRE 744 720 744 496
WIRE 792 720 744 720
WIRE 376 768 376 720
WIRE 840 768 840 736
WIRE 424 816 376 816
WIRE 904 816 904 688
WIRE 904 816 840 816
WIRE -936 832 -936 720
WIRE 296 848 296 720
WIRE 328 848 296 848
WIRE 712 848 712 368
WIRE 792 848 712 848
WIRE -888 880 -888 592
WIRE -888 880 -936 880
WIRE 376 880 376 864
WIRE 424 880 424 816
WIRE 424 880 376 880
WIRE 840 880 840 864
WIRE 904 880 904 816
WIRE 904 880 840 880
WIRE -504 896 -504 864
WIRE -456 896 -504 896
WIRE -1032 912 -1032 496
WIRE -1032 912 -1176 912
WIRE -984 912 -1032 912
WIRE -504 912 -504 896
WIRE -552 928 -584 928
WIRE 376 928 376 880
WIRE 840 928 840 880
WIRE -456 960 -456 896
WIRE -456 960 -504 960
WIRE -1080 1056 -1080 624
WIRE -1080 1056 -1176 1056
WIRE -936 1056 -936 928
WIRE -936 1056 -1080 1056
WIRE -584 1056 -584 928
WIRE -584 1056 -936 1056
WIRE -504 1056 -504 1008
WIRE -376 1056 -376 624
WIRE -376 1056 -504 1056
WIRE -504 1104 -504 1056
WIRE -456 1152 -504 1152
WIRE -584 1184 -584 1056
WIRE -552 1184 -584 1184
WIRE -504 1216 -504 1200
WIRE -456 1216 -456 1152
WIRE -456 1216 -504 1216
WIRE -888 1264 -888 880
WIRE -504 1264 -504 1216
WIRE -504 1264 -888 1264
WIRE -504 1296 -504 1264
FLAG 552 -1296 $G_VDD
FLAG 712 -864 S
IOPIN -1440 -128 Out
FLAG 328 -640 $G_VDD
FLAG 328 -224 0
FLAG -984 112 _Cin
IOPIN -3136 848 In
FLAG 840 288 $G_VDD
FLAG 840 928 0
FLAG 664 368 A
IOPIN -1488 1104 In
FLAG 664 496 B
IOPIN -1488 1232 In
FLAG 1176 112 _Cout
IOPIN -976 848 Out
FLAG 376 512 $G_VDD
FLAG 376 928 0
FLAG -504 864 $G_VDD
FLAG -504 1296 0
FLAG -1176 1056 B
IOPIN -3328 1792 In
FLAG -1176 912 A
IOPIN -3328 1648 In
FLAG -248 272 $G_VDD
FLAG 616 256 XOR
IOPIN -1536 992 BiDir
FLAG 616 -32 _XOR
IOPIN -1536 704 BiDir
FLAG -856 272 $G_VDD
FLAG 312 144 0
FLAG 344 80 $G_VDD
FLAG 264 -1296 $G_VDD
FLAG 232 -720 0
FLAG -184 720 _XOR
IOPIN -2336 1456 Out
FLAG 8 720 _XOR
IOPIN -2144 1456 In
SYMBOL pmos4 504 -1136 M180
SYMATTR InstName X1
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL pmos4 504 -1008 M180
SYMATTR InstName X2
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL pmos4 344 -1040 M0
SYMATTR InstName X4
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL nmos4 152 -1040 R0
SYMATTR InstName X3
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL nmos4 104 -800 R0
SYMATTR InstName X5
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL pmos4 280 -480 M180
SYMATTR InstName X6
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL nmos4 280 -384 R0
SYMATTR InstName X7
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL pmos4 424 16 M90
SYMATTR InstName X17
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL nmos4 424 208 R270
SYMATTR InstName X18
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL pmos4 792 448 M180
SYMATTR InstName X19
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL pmos4 792 576 M180
SYMATTR InstName X20
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL nmos4 792 640 R0
SYMATTR InstName X21
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL nmos4 792 768 R0
SYMATTR InstName X22
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL pmos4 328 672 M180
SYMATTR InstName X15
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL nmos4 328 768 R0
SYMATTR InstName X16
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL pmos4 -552 1008 M180
SYMATTR InstName X11
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL nmos4 -552 1104 R0
SYMATTR InstName X12
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL nmos4 -984 832 R0
SYMATTR InstName X10
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL nmos4 -984 544 R0
SYMATTR InstName X8
SYMATTR Value nmos_t1
SYMATTR Prefix X
SYMBOL pmos4 -760 544 M0
SYMATTR InstName X9
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL pmos4 -296 576 M180
SYMATTR InstName X14
SYMATTR Value pmos_t1
SYMATTR Prefix X
SYMBOL pmos4 -296 416 M180
SYMATTR InstName X13
SYMATTR Value pmos_t1
SYMATTR Prefix X