* SPICE netlist
M1 N003 A 0 0 BS170 l=2u w=9.7m
M2 VDD A N003 VDD BS250 l=2u w=7.6m
V2 B 0 5
VCC VDD 0 5V
M3 VDD A N004 VDD BS250 l=2u w=7.6m
M4 N004 B XNOR N004 BS250 l=2u w=7.6m
VPULSE Pulse 0 PULSE(0 5 0 10p 10p 50u 100u 2)
M5 N005 N003 B B BS250 l=2u w=7.6m
M6 B A N005 N005 BS170 l=2u w=9.7m
M9 XOR XNOR 0 0 BS170 l=2u w=9.7m
M8 VDD XNOR XOR VDD BS250 l=2u w=7.6m
M13 N007 XOR A A BS250 l=2u w=7.6m
M15 N008 XNOR Pulse Pulse BS250 l=2u w=7.6m
M14 N008 XOR Pulse N008 BS170 l=2u w=9.7m
M16 N007 XNOR A N007 BS170 l=2u w=9.7m
R3 0 Cout 100
M12 Pulse XNOR N002 N002 BS170 l=2u w=9.7m
M10 N001 Pulse XOR XOR BS250 l=2u w=7.6m
M11 N002 XOR Pulse Pulse BS250 l=2u w=7.6m
M17 Sum XOR N006 N006 BS170 l=2u w=9.7m
M18 N006 Pulse 0 0 BS170 l=2u w=9.7m
D3 N001 Sum 1N4148
V3 NC_01 0 5
V1 A 0 0
D6 N008 Cout 1N4148
D5 N007 Cout 1N4148
R1 0 XNOR 100
M7 B A N009 N009 BS170 l=2u w=9.7m
D4 N002 Sum 1N4148
D2 N009 XNOR 1N4148
R2 0 Sum 100
D1 N005 XNOR 1N4148
+ Rd=1.186 Rs=20m Rds=1.2e8 Cgso=28n Cgdo=20n Tt=161.6n Is=5p)
+ Rd=4.014 Rs=20m Rds=1.2e8 Cgso=47n Cgdo=57n Tt=86.56n Is=2e-13)
.tran 0 160u 0
.meas TRAN avg_P_xhl AVG ((-V(VCC)*I(VCC)-(V(VDD,VCC)*I(R4))))*1000 FROM 5.00001u TO 10u
.meas TRAN avg_P_xlh AVG ((-V(VCC)*I(VCC)-(V(VDD,VCC)*I(R4)))-(-V(Sum)*I(R2)+(-V(XNOR)*I(R1))+(-V(Cout)*I(R3))))*1000 FROM 10u TO 15.00001u
.meas TRAN settled_P_xhl FIND ((-V(VCC)*I(VCC)-(V(VDD,VCC)*I(R4)))-(-V(Sum)*I(R2)+(-V(XNOR)*I(R1))+(-V(Cout)*I(R3)))-(V(N005,XNOR)*I(D1))-(V(N009,XNOR)*I(D2))-(V(N001,Sum)*I(D3))-(V(N002,Sum)*I(D4))-(V(N007,Cout)*I(D5))-(V(N008,Cout)*I(D6)))*1000 AT=9.99996u
.meas TRAN settled_P_xlh FIND ((-V(VCC)*I(VCC)-(V(VDD,VCC)*I(R4)))-(-V(Sum)*I(R2)+(-V(XNOR)*I(R1))+(-V(Cout)*I(R3)))-(V(N005,XNOR)*I(D1))-(V(N009,XNOR)*I(D2))-(V(N001,Sum)*I(D3))-(V(N002,Sum)*I(D4))-(V(N007,Cout)*I(D5))-(V(N008,Cout)*I(D6)))*1000 AT=4.99996u

* LTspice schematic (.asc)
Version 4
SHEET 1 2000 1008
WIRE 552 -488 552 -504
WIRE 216 -456 216 -472
WIRE 232 -456 216 -456
WIRE 216 -440 216 -456
WIRE 536 -440 376 -440
WIRE 696 -440 632 -440
WIRE 824 -440 760 -440
WIRE 8 -424 8 -456
WIRE 24 -424 8 -424
WIRE 536 -424 536 -440
WIRE 584 -424 584 -440
WIRE 584 -424 536 -424
WIRE 8 -408 8 -424
WIRE 232 -392 232 -456
WIRE 232 -392 216 -392
WIRE 24 -360 24 -424
WIRE 24 -360 8 -360
WIRE 168 -360 136 -360
WIRE -424 -328 -424 -344
WIRE -424 -328 -536 -328
WIRE -344 -328 -424 -328
WIRE -40 -328 -56 -328
WIRE 376 -328 376 -440
WIRE 552 -328 376 -328
WIRE -536 -296 -536 -328
WIRE -344 -296 -344 -328
WIRE 216 -296 216 -344
WIRE 312 -296 216 -296
WIRE 376 -296 376 -328
WIRE 376 -296 312 -296
WIRE 536 -280 504 -280
WIRE 664 -280 632 -280
WIRE 536 -264 536 -280
WIRE 584 -264 584 -280
WIRE 584 -264 536 -264
WIRE -568 -248 -600 -248
WIRE -552 -248 -568 -248
WIRE -408 -248 -456 -248
WIRE -360 -248 -408 -248
WIRE -248 -248 -264 -248
WIRE -232 -248 -248 -248
WIRE 8 -248 8 -312
WIRE 24 -248 8 -248
WIRE 216 -248 216 -296
WIRE 664 -248 664 -280
WIRE 712 -248 664 -248
WIRE 824 -248 824 -440
WIRE 824 -248 776 -248
WIRE 936 -248 824 -248
WIRE 1000 -248 936 -248
WIRE -936 -232 -1000 -232
WIRE -792 -232 -856 -232
WIRE -568 -232 -568 -248
WIRE -504 -232 -504 -248
WIRE -504 -232 -568 -232
WIRE -312 -232 -312 -248
WIRE -248 -232 -248 -248
WIRE -248 -232 -312 -232
WIRE 504 -232 504 -280
WIRE 504 -232 488 -232
WIRE 24 -200 24 -248
WIRE 24 -200 8 -200
WIRE 232 -200 216 -200
WIRE 632 -200 584 -200
WIRE 664 -200 664 -248
WIRE 664 -200 632 -200
WIRE 936 -200 936 -248
WIRE 504 -184 504 -232
WIRE 536 -184 504 -184
WIRE 584 -184 584 -200
WIRE 632 -184 632 -200
WIRE -40 -168 -56 -168
WIRE 136 -168 136 -360
WIRE 168 -168 136 -168
WIRE 216 -136 216 -152
WIRE 232 -136 232 -200
WIRE 232 -136 216 -136
WIRE -408 -120 -408 -248
WIRE 216 -104 216 -136
WIRE -1000 -88 -1000 -232
WIRE -936 -88 -1000 -88
WIRE -792 -88 -856 -88
WIRE 824 -88 824 -248
WIRE 936 -88 936 -120
WIRE -424 -72 -488 -72
WIRE -280 -72 -328 -72
WIRE -232 -72 -280 -72
WIRE -120 -72 -168 -72
WIRE 8 -72 8 -152
WIRE 8 -72 -120 -72
WIRE 72 -72 8 -72
WIRE 136 -72 136 -168
WIRE 136 -72 72 -72
WIRE 616 -72 616 -136
WIRE 616 -72 136 -72
WIRE -424 -56 -424 -72
WIRE -376 -56 -376 -72
WIRE -376 -56 -424 -56
WIRE 840 -40 824 -40
WIRE 312 -8 216 -8
WIRE 376 -8 376 -296
WIRE 376 -8 312 -8
WIRE 776 -8 376 -8
WIRE 8 8 8 -72
WIRE 840 8 840 -40
WIRE 840 8 824 8
WIRE -488 24 -488 -72
WIRE -488 24 -504 24
WIRE 312 40 312 -8
WIRE -1000 56 -1000 -88
WIRE -936 56 -1000 56
WIRE 824 56 824 8
WIRE 296 88 264 88
WIRE 504 88 392 88
WIRE -1000 104 -1000 56
WIRE 296 104 296 88
WIRE 344 104 344 88
WIRE 344 104 296 104
WIRE 840 104 824 104
WIRE -328 120 -376 120
WIRE 8 120 8 88
WIRE -488 136 -488 24
WIRE -424 136 -488 136
WIRE -376 136 -376 120
WIRE -328 136 -328 120
WIRE -280 136 -280 -72
WIRE -280 136 -328 136
WIRE 776 136 760 136
WIRE 840 152 840 104
WIRE 840 152 824 152
WIRE 216 168 216 -8
WIRE 312 168 216 168
WIRE 824 184 824 152
WIRE -808 200 -920 200
WIRE -344 200 -344 184
WIRE 296 216 264 216
WIRE 408 216 392 216
WIRE 344 232 344 216
WIRE 392 232 392 216
WIRE 392 232 344 232
WIRE 504 232 504 88
WIRE 552 232 504 232
WIRE 648 232 616 232
WIRE 136 296 136 -72
WIRE 312 296 136 296
WIRE 408 296 408 216
WIRE 424 296 408 296
WIRE 648 296 648 232
WIRE 648 296 488 296
WIRE 728 296 648 296
WIRE -328 312 -376 312
WIRE -424 328 -456 328
WIRE -376 328 -376 312
WIRE -328 328 -328 312
WIRE -232 328 -328 328
WIRE -120 328 -120 -72
WIRE -120 328 -168 328
WIRE -936 344 -1000 344
WIRE -808 344 -856 344
WIRE 296 344 264 344
WIRE 408 344 408 296
WIRE 408 344 392 344
WIRE 296 360 296 344
WIRE 344 360 344 344
WIRE 344 360 296 360
WIRE 648 360 648 296
WIRE 936 360 936 328
WIRE -1000 392 -1000 344
WIRE -344 392 -344 376
WIRE 136 440 136 296
WIRE 312 440 136 440
WIRE 648 472 648 440
WIRE 936 472 936 440
WIRE 296 488 264 488
WIRE 504 488 504 232
WIRE 504 488 392 488
WIRE 344 504 344 488
WIRE 392 504 392 488
WIRE 392 504 344 504
FLAG -600 -248 0
FLAG -424 -344 A
IOPIN 608 -224 In
FLAG -56 -328 A
IOPIN 976 -208 In
FLAG -56 -168 B
IOPIN 976 -48 In
FLAG -1000 392 0
FLAG 936 328 VDD
IOPIN 1968 448 Out
FLAG -232 -248 VDD
IOPIN 800 -128 In
FLAG 8 -456 VDD
IOPIN 1040 -336 In
FLAG -504 24 B
IOPIN 528 144 In
FLAG -344 200 A
IOPIN 688 320 In
FLAG 216 -104 0
FLAG 216 -472 VDD
IOPIN 1248 -352 In
FLAG 264 88 A
IOPIN 1296 208 In
FLAG 264 488 A
IOPIN 1296 608 In
FLAG 264 344 C
IOPIN 1296 464 In
FLAG 264 216 C
IOPIN 1296 336 In
FLAG 648 472 0
FLAG 488 -232 C
IOPIN 1520 -112 In
FLAG 552 -504 C
IOPIN 1584 -384 In
FLAG 824 184 0
FLAG 760 136 C
IOPIN 1792 256 In
FLAG 728 296 Cout
FLAG -1000 104 0
FLAG -808 344 Pulse
IOPIN 224 464 Out
FLAG -808 200 C
IOPIN 224 320 Out
FLAG -920 200 Pulse
IOPIN 112 320 In
FLAG -792 -232 A
IOPIN 240 -112 Out
FLAG 8 120 0
FLAG -344 392 A
IOPIN 688 512 In
FLAG -456 328 B
IOPIN 576 448 In
FLAG 936 -88 0
FLAG 72 -72 XNOR
FLAG 312 -296 XOR
FLAG 1000 -248 Sum
FLAG -792 -88 B
IOPIN 240 32 Out
FLAG 936 472 0
SYMBOL nmos4 -456 -296 R90
SYMATTR Value BS170
SYMATTR InstName M1
SYMATTR Value2 l=2u w=9.7m
SYMBOL pmos4 -264 -296 R90
SYMATTR InstName M2
SYMATTR Value BS250
SYMATTR Value2 l=2u w=7.6m
SYMBOL voltage -840 -88 R90
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL voltage 936 344 R0
SYMATTR InstName VCC
SYMATTR Value 5V
SYMBOL pmos4 -40 -408 R0
SYMATTR InstName M3
SYMATTR Value2 l=2u w=7.6m
SYMATTR Value BS250
SYMBOL pmos4 -40 -248 R0
SYMATTR InstName M4
SYMATTR Value2 l=2u w=7.6m
SYMATTR Value BS250
SYMBOL voltage -840 344 R90
SYMATTR InstName VPULSE
SYMATTR Value PULSE(0 5 0 10p 10p 50u 100u 2)
SYMBOL pmos4 -328 -120 R90
SYMATTR InstName M5
SYMATTR Value BS250
SYMATTR Value2 l=2u w=7.6m
SYMBOL nmos4 -424 184 R270
SYMATTR Value BS170
SYMATTR InstName M6
SYMATTR Value2 l=2u w=9.7m
SYMBOL nmos4 168 -248 R0
SYMATTR Value BS170
SYMATTR InstName M9
SYMATTR Value2 l=2u w=9.7m
SYMBOL pmos4 168 -440 R0
SYMATTR InstName M8
SYMATTR Value2 l=2u w=7.6m
SYMATTR Value BS250
SYMBOL pmos4 392 40 R90
SYMATTR InstName M13
SYMATTR Value BS250
SYMATTR Value2 l=2u w=7.6m
SYMBOL pmos4 392 296 R90
SYMATTR InstName M15
SYMATTR Value BS250
SYMATTR Value2 l=2u w=7.6m
SYMBOL nmos4 392 168 R90
SYMATTR InstName M14
SYMATTR Value BS170
SYMATTR Value2 l=2u w=9.7m
SYMBOL nmos4 392 440 R90
SYMATTR InstName M16
SYMATTR Value BS170
SYMATTR Value2 l=2u w=9.7m
SYMBOL res 664 456 R180
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL nmos4 536 -136 R270
SYMATTR Value BS170
SYMATTR InstName M12
SYMATTR Value2 l=2u w=9.7m
SYMBOL pmos4 632 -488 R90
SYMATTR InstName M10
SYMATTR Value BS250
SYMATTR Value2 l=2u w=7.6m
SYMBOL pmos4 632 -328 R90
SYMATTR InstName M11
SYMATTR Value BS250
SYMATTR Value2 l=2u w=7.6m
SYMBOL nmos4 776 -88 R0
SYMATTR Value BS170
SYMATTR InstName M17
SYMATTR Value2 l=2u w=9.7m
SYMBOL nmos4 776 56 R0
SYMATTR Value BS170
SYMATTR InstName M18
SYMATTR Value2 l=2u w=9.7m
SYMBOL diode 696 -424 R270
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL voltage -840 56 R90
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL voltage -840 -232 R90
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL diode 424 312 R270
SYMATTR InstName D6
SYMATTR Value 1N4148
SYMBOL diode 552 248 R270
SYMATTR InstName D5
SYMATTR Value 1N4148
SYMBOL res 24 104 R180
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL nmos4 -424 376 R270
SYMATTR Value BS170
SYMATTR InstName M7
SYMATTR Value2 l=2u w=9.7m
SYMBOL diode 712 -232 R270
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL diode -232 344 R270
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL res 952 -104 R180
SYMATTR InstName R2
SYMATTR Value 100
SYMBOL diode -232 -56 R270
SYMATTR InstName D1
SYMATTR Value 1N4148