* SPICE netlist
G1 0 dout vo1 0 table{-1u,0,1u,{Vdd}}
R1 dout 0 1
C1 dout 0 0.001p
A1 dout 0 Clk1 0 0 np1 p1 0 DFLOP Trise = 0.1n Tfall =0.1n Td =0.1n Vhigh = {Vdd} Vlow = 0 Ref = {{Vdd}/2}
S1 N002 N008 clk2 0 MySwitch
C3 vo1 N002 1p
C4 N008 N007 1p
V1 N003 0 SINE(0 0.95 1e3)
VClock1 Clk1 0 PULSE(0 {Vdd} {{Tclk}/2} 1n 1n {{Tclk}/2-2n} {Tclk})
S2 N007 vo2 clk1 0 MySwitch
S3 0 N008 clk1 0 MySwitch
S4 0 N007 clk2 0 MySwitch
S5 N002 N014 clk2 0 MySwitch
C5 N014 N013 2p
S6 N013 N010 clk1 0 MySwitch
S7 0 N014 clk1 0 MySwitch
S8 0 N013 clk2 0 MySwitch
V2 Vrp 0 {Vr}
V3 Vrn 0 {-{Vr}}
S9 N010 Vrn p1 0 MySwitch
S10 N010 Vrp np1 0 MySwitch
VClock2 Clk2 0 PULSE(0 {Vdd} 0 1n 1n {{Tclk}/2-2n}{Tclk})
S11 N001 N006 clk2 0 MySwitch
C7 vo2 N001 1p
C8 N006 N005 1p
S12 N005 N004 clk1 0 MySwitch
S13 0 N006 clk1 0 MySwitch
S14 0 N005 clk2 0 MySwitch
S15 N001 N012 clk2 0 MySwitch
C9 N012 N011 1p
S16 N011 N009 clk1 0 MySwitch
S17 0 N012 clk1 0 MySwitch
S18 0 N011 clk2 0 MySwitch
S19 N009 Vrn p1 0 MySwitch
S20 N009 Vrp np1 0 MySwitch
V5 Vdd 0 {VDD}
V6 Vss 0 {-{VDD}}
XU2 0 N001 Vdd Vss vo2 level2 Avol=1Meg GBW=100Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
XU1 0 N002 Vdd Vss vo1 level2 Avol=1Meg GBW=100Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
B1 N004 N003 V=white(10000*time)*Vnoise
.tran 10m
.param Vr=1 Tclk=500n VDD=4 Vnoise=100u

* LTspice schematic (.asc)
Version 4
SHEET 1 3024 1120
WIRE -680 -496 -680 -528
WIRE 984 -496 984 -560
WIRE 1160 -496 1160 -560
WIRE 1336 -496 1336 -560
WIRE 1512 -496 1512 -560
WIRE -872 -448 -872 -528
WIRE 984 -368 984 -416
WIRE 1160 -368 1160 -416
WIRE 1336 -368 1336 -416
WIRE 1512 -368 1512 -416
WIRE -872 -352 -872 -368
WIRE -680 -352 -680 -416
WIRE -696 -272 -728 -272
WIRE -488 -272 -632 -272
WIRE 392 -256 360 -256
WIRE 600 -256 456 -256
WIRE -1224 -240 -1224 -256
WIRE -904 -240 -904 -256
WIRE -136 -224 -136 -240
WIRE 184 -224 184 -240
WIRE -1144 -208 -1176 -208
WIRE -824 -208 -856 -208
WIRE -1224 -192 -1224 -240
WIRE -1176 -192 -1176 -208
WIRE -1144 -192 -1144 -208
WIRE -904 -192 -904 -240
WIRE -856 -192 -856 -208
WIRE -824 -192 -824 -208
WIRE -56 -192 -88 -192
WIRE 264 -192 232 -192
WIRE -136 -176 -136 -224
WIRE -88 -176 -88 -192
WIRE -56 -176 -56 -192
WIRE 184 -176 184 -224
WIRE 232 -176 232 -192
WIRE 264 -176 264 -192
WIRE 968 -160 904 -160
WIRE 984 -160 968 -160
WIRE 1048 -160 984 -160
WIRE 1272 -160 1048 -160
WIRE 1384 -160 1384 -176
WIRE -1416 -144 -1496 -144
WIRE -1240 -144 -1336 -144
WIRE -1128 -144 -1160 -144
WIRE -1096 -144 -1128 -144
WIRE -968 -144 -1032 -144
WIRE -920 -144 -968 -144
WIRE -776 -144 -840 -144
WIRE -728 -144 -728 -272
WIRE -728 -144 -776 -144
WIRE -488 -128 -488 -272
WIRE -488 -128 -504 -128
WIRE -440 -128 -488 -128
WIRE -408 -128 -440 -128
WIRE -280 -128 -312 -128
WIRE -152 -128 -280 -128
WIRE -40 -128 -72 -128
WIRE -8 -128 -40 -128
WIRE 120 -128 56 -128
WIRE 168 -128 120 -128
WIRE 312 -128 248 -128
WIRE 360 -128 360 -256
WIRE 360 -128 312 -128
WIRE 600 -112 600 -256
WIRE 600 -112 584 -112
WIRE 648 -112 600 -112
WIRE 680 -112 648 -112
WIRE 1272 -112 1272 -160
WIRE 1304 -112 1272 -112
WIRE 1496 -112 1464 -112
WIRE 904 -96 904 -160
WIRE 984 -96 984 -160
WIRE 1048 -96 1048 -160
WIRE -1496 -80 -1496 -144
WIRE -1128 -80 -1128 -144
WIRE -968 -80 -968 -144
WIRE -616 -80 -616 -128
WIRE 856 -80 856 -176
WIRE -1032 -64 -1080 -64
WIRE -1016 -64 -1032 -64
WIRE -872 -64 -920 -64
WIRE -856 -64 -872 -64
WIRE -728 -64 -728 -144
WIRE -648 -64 -728 -64
WIRE -40 -64 -40 -128
WIRE 120 -64 120 -128
WIRE 472 -64 472 -112
WIRE 1304 -64 1272 -64
WIRE 1496 -64 1480 -64
WIRE -504 -48 -504 -128
WIRE -504 -48 -584 -48
WIRE 56 -48 8 -48
WIRE 72 -48 56 -48
WIRE 216 -48 168 -48
WIRE 232 -48 216 -48
WIRE 360 -48 360 -128
WIRE 440 -48 360 -48
WIRE -648 -32 -680 -32
WIRE 584 -32 584 -112
WIRE 584 -32 504 -32
WIRE 856 -32 824 -32
WIRE -1064 -16 -1080 -16
WIRE -904 -16 -920 -16
WIRE 440 -16 408 -16
WIRE 24 0 8 0
WIRE 184 0 168 0
WIRE 1384 0 1384 -16
WIRE -1064 16 -1064 -16
WIRE -1064 16 -1080 16
WIRE -904 16 -904 -16
WIRE -904 16 -920 16
WIRE -616 32 -616 -16
WIRE 24 32 24 0
WIRE 24 32 8 32
WIRE 184 32 184 0
WIRE 184 32 168 32
WIRE 824 32 824 -32
WIRE 904 32 904 -16
WIRE 984 32 984 -32
WIRE 1048 32 1048 -16
WIRE -1496 48 -1496 0
WIRE -1128 48 -1128 0
WIRE -1128 48 -1496 48
WIRE -968 48 -968 0
WIRE -968 48 -1128 48
WIRE -680 48 -680 -32
WIRE -680 48 -968 48
WIRE 472 48 472 0
WIRE -40 64 -40 16
WIRE -40 64 -312 64
WIRE 120 64 120 16
WIRE 120 64 -40 64
WIRE 408 64 408 -16
WIRE 408 64 120 64
WIRE -1416 160 -1416 144
WIRE -328 176 -328 160
WIRE -1336 192 -1368 192
WIRE -1416 208 -1416 160
WIRE -1368 208 -1368 192
WIRE -1336 208 -1336 192
WIRE -248 208 -280 208
WIRE -328 224 -328 176
WIRE -280 224 -280 208
WIRE -248 224 -248 208
WIRE -1432 256 -1512 256
WIRE -1304 256 -1352 256
WIRE -1240 256 -1240 240
WIRE -920 256 -920 240
WIRE -344 272 -424 272
WIRE -216 272 -264 272
WIRE -152 272 -152 256
WIRE 168 272 168 256
WIRE -1160 288 -1192 288
WIRE -840 288 -872 288
WIRE -1240 304 -1240 256
WIRE -1192 304 -1192 288
WIRE -1160 304 -1160 288
WIRE -920 304 -920 256
WIRE -872 304 -872 288
WIRE -840 304 -840 288
WIRE -72 304 -104 304
WIRE 248 304 216 304
WIRE -152 320 -152 272
WIRE -104 320 -104 304
WIRE -72 320 -72 304
WIRE 168 320 168 272
WIRE 216 320 216 304
WIRE 248 320 248 304
WIRE -1304 352 -1304 256
WIRE -1256 352 -1304 352
WIRE -1144 352 -1176 352
WIRE -1112 352 -1144 352
WIRE -984 352 -1048 352
WIRE -936 352 -984 352
WIRE -776 352 -776 -144
WIRE -776 352 -856 352
WIRE -1416 368 -1416 352
WIRE -216 368 -216 272
WIRE -168 368 -216 368
WIRE -56 368 -88 368
WIRE -24 368 -56 368
WIRE 104 368 40 368
WIRE 152 368 104 368
WIRE 312 368 312 -128
WIRE 312 368 232 368
WIRE -328 384 -328 368
WIRE -1336 400 -1368 400
WIRE -1416 416 -1416 368
WIRE -1368 416 -1368 400
WIRE -1336 416 -1336 400
WIRE -1144 416 -1144 352
WIRE -984 416 -984 352
WIRE -248 416 -280 416
WIRE -1048 432 -1096 432
WIRE -1032 432 -1048 432
WIRE -888 432 -936 432
WIRE -872 432 -888 432
WIRE -328 432 -328 384
WIRE -280 432 -280 416
WIRE -248 432 -248 416
WIRE -56 432 -56 368
WIRE 104 432 104 368
WIRE 40 448 -8 448
WIRE 56 448 40 448
WIRE 200 448 152 448
WIRE 216 448 200 448
WIRE -1432 464 -1512 464
WIRE -1304 464 -1304 352
WIRE -1304 464 -1352 464
WIRE -1080 480 -1096 480
WIRE -920 480 -936 480
WIRE -344 480 -424 480
WIRE -216 480 -216 368
WIRE -216 480 -264 480
WIRE 8 496 -8 496
WIRE 168 496 152 496
WIRE -1080 512 -1080 480
WIRE -1080 512 -1096 512
WIRE -920 512 -920 480
WIRE -920 512 -936 512
WIRE 8 528 8 496
WIRE 8 528 -8 528
WIRE 168 528 168 496
WIRE 168 528 152 528
WIRE -1144 544 -1144 496
WIRE -1048 544 -1144 544
WIRE -984 544 -984 496
WIRE -984 544 -1048 544
WIRE -56 560 -56 512
WIRE 40 560 -56 560
WIRE 104 560 104 512
WIRE 104 560 40 560
FLAG 904 32 0
FLAG 1048 32 0
FLAG 824 32 0
FLAG 984 32 0
FLAG 968 -160 dout
FLAG 1496 -112 p1
FLAG 1496 -64 np1
FLAG 1272 -64 Clk1
FLAG 1384 0 0
FLAG 1384 -176 0
FLAG 648 -112 vo1
FLAG 856 -176 vo1
FLAG -872 -352 0
FLAG -872 -528 Clk1
FLAG 264 -176 0
FLAG 184 -224 clk2
FLAG -56 -176 0
FLAG -136 -224 clk1
FLAG 168 32 0
FLAG 216 -48 clk1
FLAG 8 32 0
FLAG 56 -48 clk2
FLAG -680 -352 0
FLAG -680 -528 Clk2
FLAG 248 320 0
FLAG 168 272 clk2
FLAG -72 320 0
FLAG -152 272 clk1
FLAG 152 528 0
FLAG 200 448 clk1
FLAG -8 528 0
FLAG 40 448 clk2
FLAG 984 -368 0
FLAG 1160 -368 0
FLAG 984 -560 Vrp
FLAG 1160 -560 Vrn
FLAG -248 224 0
FLAG -328 176 p1
FLAG -248 432 0
FLAG -328 384 np1
FLAG -424 480 Vrp
FLAG -424 272 Vrn
FLAG 40 560 0
FLAG -440 -128 vo2
FLAG -824 -192 0
FLAG -904 -240 clk2
FLAG -1144 -192 0
FLAG -1224 -240 clk1
FLAG -920 16 0
FLAG -872 -64 clk1
FLAG -1080 16 0
FLAG -1032 -64 clk2
FLAG -840 304 0
FLAG -920 256 clk2
FLAG -1160 304 0
FLAG -1240 256 clk1
FLAG -936 512 0
FLAG -888 432 clk1
FLAG -1096 512 0
FLAG -1048 432 clk2
FLAG -1336 208 0
FLAG -1416 160 p1
FLAG -1336 416 0
FLAG -1416 368 np1
FLAG -1512 464 Vrp
FLAG -1512 256 Vrn
FLAG -1048 544 0
FLAG -280 -128 vo2
FLAG -680 48 0
FLAG -616 -128 Vdd
FLAG -616 32 Vss
FLAG 408 64 0
FLAG 472 -112 Vdd
FLAG 472 48 Vss
FLAG 1336 -368 0
FLAG 1512 -368 0
FLAG 1336 -560 Vdd
FLAG 1512 -560 Vss
SYMBOL g 904 -112 R0
SYMATTR InstName G1
SYMATTR Value table{-1u,0,1u,{Vdd}}
SYMBOL res 1032 -112 R0
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL cap 968 -96 R0
SYMATTR InstName C1
SYMATTR Value 0.001p
SYMBOL Digital\\dflop 1384 -160 R0
SYMATTR SpiceLine Trise = 0.1n Tfall =0.1n Td =0.1n  Vhigh = {Vdd}  Vlow = 0  Ref = {{Vdd}/2}
SYMATTR InstName A1
SYMBOL sw 264 -128 R90
SYMATTR InstName S1
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL cap 456 -272 R90
SYMATTR InstName C3
SYMATTR Value 1p
SYMBOL cap 56 -144 R90
SYMATTR InstName C4
SYMATTR Value 1p
SYMBOL voltage -1496 -96 R0
SYMATTR InstName V1
SYMATTR Value SINE(0 0.95 1e3)
SYMBOL voltage -872 -464 R0
SYMATTR Value PULSE(0 {Vdd} {{Tclk}/2} 1n 1n {{Tclk}/2-2n} {Tclk})
SYMATTR InstName Clock1
SYMBOL sw -56 -128 R90
SYMATTR InstName S2
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw 120 32 R180
SYMATTR InstName S3
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -40 32 R180
SYMATTR InstName S4
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw 248 368 R90
SYMATTR InstName S5
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL cap 40 352 R90
SYMATTR InstName C5
SYMATTR Value 2p
SYMBOL sw -72 368 R90
SYMATTR InstName S6
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw 104 528 R180
SYMATTR InstName S7
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -56 528 R180
SYMATTR InstName S8
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL voltage 984 -512 R0
SYMATTR InstName V2
SYMATTR Value {Vr}
SYMBOL voltage 1160 -512 R0
SYMATTR InstName V3
SYMATTR Value {-{Vr}}
SYMBOL sw -248 272 R90
SYMATTR InstName S9
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -248 480 R90
SYMATTR InstName S10
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL voltage -680 -512 R0
SYMATTR Value PULSE(0 {Vdd} 0 1n 1n {{Tclk}/2-2n}{Tclk})
SYMATTR InstName Clock2
SYMBOL sw -824 -144 R90
SYMATTR InstName S11
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL cap -632 -288 R90
SYMATTR InstName C7
SYMATTR Value 1p
SYMBOL cap -1032 -160 R90
SYMATTR InstName C8
SYMATTR Value 1p
SYMBOL sw -1144 -144 R90
SYMATTR InstName S12
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -968 16 R180
SYMATTR InstName S13
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -1128 16 R180
SYMATTR InstName S14
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -840 352 R90
SYMATTR InstName S15
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL cap -1048 336 R90
SYMATTR InstName C9
SYMATTR Value 1p
SYMBOL sw -1160 352 R90
SYMATTR InstName S16
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -984 512 R180
SYMATTR InstName S17
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -1144 512 R180
SYMATTR InstName S18
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -1336 256 R90
SYMATTR InstName S19
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL sw -1336 464 R90
SYMATTR InstName S20
SYMATTR Value ""
SYMATTR InstName MySwitch
SYMBOL voltage 1336 -512 R0
SYMATTR InstName V5
SYMATTR Value {VDD}
SYMBOL voltage 1512 -512 R0
SYMATTR InstName V6
SYMATTR Value {-{VDD}}
SYMBOL opamps\\UniversalOpamp2 -616 -48 R0
SYMATTR InstName U2
SYMATTR Value2 Avol=1Meg GBW=100Meg Slew=10Meg
SYMBOL opamps\\UniversalOpamp2 472 -32 R0
SYMATTR InstName U1
SYMATTR Value2 Avol=1Meg GBW=100Meg Slew=10Meg
SYMBOL bv -1320 -144 R90
SYMATTR InstName B1
SYMATTR Value V=white(10000*time)*Vnoise