Version 4 SHEET 1 2772 816 WIRE 640 -208 640 -224 WIRE -400 -192 -496 -192 WIRE 416 -176 144 -176 WIRE -496 -160 -496 -192 WIRE 496 -128 464 -128 WIRE 640 -128 640 -144 WIRE 640 -128 560 -128 WIRE 880 -128 880 -160 WIRE -496 -64 -496 -80 WIRE 144 -48 144 -176 WIRE 176 -48 144 -48 WIRE 464 -48 464 -128 WIRE 464 -48 368 -48 WIRE 528 -48 464 -48 WIRE 640 -48 640 -128 WIRE 640 -48 608 -48 WIRE 880 -48 880 -64 WIRE 880 -48 864 -48 WIRE 944 -48 880 -48 WIRE -400 16 -496 16 WIRE 416 16 416 -176 WIRE 416 16 368 16 WIRE 464 16 416 16 WIRE 496 16 464 16 WIRE 640 16 560 16 WIRE -496 48 -496 16 WIRE 464 96 464 16 WIRE 528 96 464 96 WIRE 640 96 640 16 WIRE 640 96 608 96 WIRE 880 96 864 96 WIRE 944 96 880 96 WIRE 880 112 880 96 WIRE 2192 128 2192 112 WIRE -496 144 -496 128 WIRE 640 144 640 96 WIRE 880 208 880 176 WIRE 2192 208 2112 208 WIRE 2256 208 2192 208 WIRE -400 224 -496 224 WIRE 2112 240 2112 208 WIRE 2256 240 2256 208 WIRE -496 256 -496 224 WIRE 2064 256 1568 256 WIRE 2032 320 1792 320 WIRE -496 352 -496 336 WIRE -272 432 -496 432 WIRE -240 432 -272 432 WIRE -128 432 -144 432 WIRE -112 432 -128 432 WIRE 0 432 -16 432 WIRE 16 432 0 432 WIRE 224 432 208 432 WIRE 240 432 224 432 WIRE 448 432 432 432 WIRE 464 432 448 432 WIRE 1456 432 560 432 WIRE 1568 432 1568 256 WIRE 1568 432 1552 432 WIRE 1584 432 1568 432 WIRE 1792 432 1792 320 WIRE 1792 432 1776 432 WIRE 1808 432 1792 432 WIRE 2112 432 2112 336 WIRE 2112 432 2000 432 WIRE 2144 432 2112 432 WIRE 2256 432 2256 320 WIRE 2368 432 2256 432 WIRE 2432 432 2368 432 WIRE 2368 448 2368 432 WIRE -496 464 -496 432 WIRE 0 496 0 432 WIRE 224 496 224 432 WIRE 448 496 448 432 WIRE 1568 496 1568 432 WIRE 1792 496 1792 432 WIRE 2112 512 2112 432 WIRE 2256 544 2256 432 WIRE 2368 544 2368 512 WIRE -496 560 -496 544 WIRE -96 560 -96 480 WIRE -16 560 -96 560 WIRE 0 560 -16 560 WIRE 128 560 128 480 WIRE 208 560 128 560 WIRE 224 560 208 560 WIRE 352 560 352 480 WIRE 432 560 352 560 WIRE 448 560 432 560 WIRE 1472 560 1472 480 WIRE 1552 560 1472 560 WIRE 1568 560 1552 560 WIRE 1696 560 1696 480 WIRE 1776 560 1696 560 WIRE 1792 560 1776 560 WIRE -128 576 -128 432 WIRE 32 592 32 480 WIRE 256 592 256 480 WIRE 480 592 480 480 WIRE 1600 592 1600 480 WIRE 1824 592 1824 480 WIRE 2032 592 2032 320 WIRE 2064 592 2032 592 WIRE 2112 640 2112 608 WIRE 2192 640 2112 640 WIRE 2256 640 2256 624 WIRE 2256 640 2192 640 WIRE -16 656 -16 560 WIRE 432 656 432 560 WIRE 1776 656 1776 560 WIRE -128 672 -128 640 WIRE -224 704 -224 480 WIRE 208 704 208 560 WIRE 1552 704 1552 560 WIRE 1920 704 1920 480 WIRE 2192 736 2192 720 FLAG -496 -64 0 FLAG -400 -192 CLOCK IOPIN -400 -192 Out FLAG 176 -16 CLOCK IOPIN 176 -16 In FLAG -496 144 0 FLAG -400 16 VDD IOPIN -400 16 Out FLAG 944 -48 CP1 IOPIN 944 -48 Out FLAG 272 -128 0 FLAG 944 96 CP2 IOPIN 944 96 Out FLAG 640 208 0 FLAG 640 -224 0 FLAG 272 96 0 FLAG -128 672 0 FLAG -16 656 CP1 IOPIN -16 656 In FLAG -224 704 CP2 IOPIN -224 704 In FLAG -496 352 0 FLAG -400 224 VGG IOPIN -400 224 Out FLAG -496 560 0 FLAG 32 592 VGG IOPIN 32 592 In FLAG 208 704 CP2 IOPIN 208 704 In FLAG 256 592 VGG IOPIN 256 592 In FLAG 432 656 CP1 IOPIN 432 656 In FLAG 480 592 VGG IOPIN 480 592 In FLAG 1552 704 CP2 IOPIN 1552 704 In FLAG 1600 592 VGG IOPIN 1600 592 In FLAG 2192 736 0 FLAG 2432 432 OUT IOPIN 2432 432 Out FLAG 1776 656 CP1 IOPIN 1776 656 In FLAG 1824 592 VGG IOPIN 1824 592 In FLAG 1920 704 CP2 IOPIN 1920 704 In FLAG 2144 432 VDD IOPIN 2144 432 Out FLAG -272 432 IN FLAG 2368 544 0 FLAG 2192 112 0 FLAG 880 208 0 FLAG 880 -160 0 SYMBOL voltage -496 -176 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V1 SYMATTR Value PULSE(0 {VDD} 0 0 0 5us 10us) SYMBOL Dig_Add\\CD4xxx\\cd4013b 272 -128 R0 SYMATTR InstName U1a SYMATTR SpiceLine VDD={VDD} SPEED=1.0 TRIPDT=5e-9 SYMBOL voltage -496 32 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V2 SYMATTR Value {VDD} SYMBOL Dig_Add\\CD4xxx\\cd4049b 688 -112 R0 SYMATTR InstName U1 SYMATTR SpiceLine VDD={VDD} SPEED=1.0 TRIPDT=5e-9 SYMBOL res 624 -64 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R1 SYMATTR Value 5k SYMBOL diode 560 -112 M270 WINDOW 0 32 32 VTop 0 WINDOW 3 0 32 VBottom 0 SYMATTR InstName D1 SYMATTR Value 1N914 SYMBOL res 624 80 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R2 SYMATTR Value 5k SYMBOL diode 560 32 M270 WINDOW 0 32 32 VTop 0 WINDOW 3 0 32 VBottom 0 SYMATTR InstName D2 SYMATTR Value 1N914 SYMBOL Dig_Add\\CD4xxx\\cd4049b 800 -112 R0 SYMATTR InstName U2 SYMATTR SpiceLine VDD={VDD} SPEED=1.0 TRIPDT=5e-9 SYMBOL Dig_Add\\CD4xxx\\cd4049b 688 32 R0 SYMATTR InstName U3 SYMATTR SpiceLine VDD={VDD} SPEED=1.0 TRIPDT=5e-9 SYMBOL Dig_Add\\CD4xxx\\cd4049b 800 32 R0 SYMATTR InstName U4 SYMATTR SpiceLine VDD={VDD} SPEED=1.0 TRIPDT=5e-9 SYMBOL cap 624 144 R0 WINDOW 0 -22 5 Left 0 WINDOW 3 -60 45 Left 0 SYMATTR InstName C1 SYMATTR Value {Cin} SYMBOL cap 656 -144 R180 WINDOW 0 24 64 Left 0 WINDOW 3 24 8 Left 0 SYMATTR InstName C2 SYMATTR Value {Cin} SYMBOL cap -144 576 R0 SYMATTR InstName C3 SYMATTR Value {Cbbd} SYMBOL cap -16 496 R0 WINDOW 0 -24 7 Left 0 WINDOW 3 -76 42 Left 0 SYMATTR InstName C4 SYMATTR Value {Cbbd} SYMBOL cap 208 496 R0 WINDOW 0 -30 6 Left 0 WINDOW 3 -74 44 Left 0 SYMATTR InstName C5 SYMATTR Value {Cbbd} SYMBOL voltage -496 240 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V3 SYMATTR Value {14*VDD/15} SYMBOL voltage -496 448 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V4 SYMATTR Value SINE({0.58*VDD} 1 5k) SYMBOL cap 432 496 R0 WINDOW 0 -24 9 Left 0 WINDOW 3 -78 43 Left 0 SYMATTR InstName C6 SYMATTR Value {Cbbd} SYMBOL cap 1552 496 R0 WINDOW 0 -23 6 Left 0 WINDOW 3 -76 46 Left 0 SYMATTR InstName C7 SYMATTR Value {Cbbd} SYMBOL res 2176 624 R0 SYMATTR InstName R5 SYMATTR Value 100k SYMBOL cap 1776 496 R0 WINDOW 0 -28 6 Left 0 WINDOW 3 -76 45 Left 0 SYMATTR InstName C8 SYMATTR Value {Cbbd} SYMBOL nmos 2064 336 M180 SYMATTR InstName M14 SYMBOL nmos 2064 512 R0 SYMATTR InstName M15 SYMBOL res 2240 224 R0 SYMATTR InstName R6 SYMATTR Value 4k7 SYMBOL res 2240 528 R0 SYMATTR InstName R7 SYMATTR Value 4k7 SYMBOL cap 2352 448 R0 SYMATTR InstName C9 SYMATTR Value 680p SYMBOL nmos -144 480 M270 SYMATTR InstName M1 SYMBOL nmos -16 480 M270 SYMATTR InstName M2 SYMBOL nmos 112 480 M270 SYMATTR InstName M3 SYMBOL nmos 208 480 M270 SYMATTR InstName M4 SYMBOL nmos 336 480 M270 SYMATTR InstName M5 SYMBOL nmos 432 480 M270 SYMATTR InstName M6 SYMBOL nmos 560 480 M270 SYMATTR InstName M7 SYMBOL nmos 2000 480 M270 SYMATTR InstName M8 SYMBOL nmos 1904 480 M270 SYMATTR InstName M9 SYMBOL nmos 1776 480 M270 SYMATTR InstName M10 SYMBOL nmos 1680 480 M270 SYMATTR InstName M11 SYMBOL nmos 1552 480 M270 SYMATTR InstName M12 SYMBOL res 2208 224 R180 WINDOW 0 36 76 Left 0 WINDOW 3 36 40 Left 0 SYMATTR InstName R8 SYMATTR Value 100k SYMBOL cap 864 112 R0 SYMATTR InstName C10 SYMATTR Value 1p SYMBOL cap 864 -64 M180 WINDOW 0 24 64 Left 0 WINDOW 3 24 8 Left 0 SYMATTR InstName C11 SYMATTR Value 1p TEXT 1280 -168 Left 0 !.tran 0 1000us 200us startup TEXT 1280 -8 Left 0 !.param Cin=20p TEXT 1280 -128 Left 0 !.lib opamp.sub TEXT 1280 -48 Left 0 !.param VDD=10 TEXT 1280 32 Left 0 !.param Cbbd=100p TEXT 1544 232 Left 0 ;1024 TEXT 1768 296 Left 0 ;1025 TEXT -24 328 Left 0 ;1 TEXT 200 328 Left 0 ;2 TEXT 424 328 Left 0 ;3 TEXT 648 328 Left 0 ;4 TEXT 872 328 Left 0 ;5 TEXT 1096 328 Left 0 ;6 TEXT 1320 328 Left 0 ;7 TEXT 1952 360 Left 0 ;1026