* SPICE netlist
V4 N003 0 PULSE(0 {vdd_val} 1u 1n 1n 10n {ts})
V6 REF 0 {vref_val}
V7 VCC 0 {vcc_val}
V8 VEE 0 {vee_val}
V9 VDD 0 {vdd_val}
R1 ADCINP N002 {Rval1}
R2 ADCINN N004 {Rval2}
C1 ADCINP 0 {Cval1}
C2 ADCINN 0 {Cval2}
V1 VINP 0 SINE({vcm} {vmag} {fin} 0 0 0)
V2 0 VINN SINE({-vcm} {vmag} {fin} 0 0 0)
R3 N002 N001 {Rf1_val}
R4 N004 N005 {Rf2_val}
R5 N001 0 {Rg1_val}
R6 N005 0 {Rg2_val}
XU1 VINP N001 VCC VEE N002 VCC ADA4807 ;pnba 100)101)102)103)104)106
XU2 VINN N005 VCC VEE N004 VCC ADA4807 ;pnba 100)101)102)103)104)106
XU3 REF VDD ADCINP MP_01 0 ADCINN VSAMPLED N003 AD4003 EN_Hi_Z=1 ;pnba REF)Vdd)IN+))GND)IN-)Vout)CNV
.param M=3
.param N=4096
.param vref_val=5
.param vdd_val=1.8
.param vcc_val=15
.param vee_val=-15
.param vcm=vref_val/{2*Gain}
.param fs=2e6
.param ts=1/fs
.param fin= fs*M/N
.param vmag=.93*vref_val/{2*Gain}
.param tmax=1/(fs)
.param END_SIM=M*(1/fin)
.save v(vsampled)
.option plotwinsize=0 numdgt=15
.four {fin} 5 -1 v(vsampled)
.param Rval1=200
.param Cval1=180p
.param Rval2=Rval1
.param Cval2=Cval1
.tran 0 {END_SIM+1/fin} {1/fin} {tmax}
.param Rf2_val=Rf1_val
.param Rg2_val=Rg1_val
.param Rf1_val=1K
.param Rg1_val=1K
.param Gain = { Rf1_val/Rg1_val + 1}

* LTspice schematic (.asc)
Version 4
SHEET 1 3104 1152
WIRE 960 -576 848 -576
WIRE 1120 -576 960 -576
WIRE 848 -512 848 -576
WIRE -320 -448 -336 -448
WIRE -208 -448 -240 -448
WIRE -144 -448 -208 -448
WIRE -16 -448 -64 -448
WIRE 848 -368 848 -432
WIRE -112 -320 -112 -352
WIRE -208 -304 -208 -448
WIRE -128 -304 -208 -304
WIRE -16 -288 -16 -448
WIRE -16 -288 -64 -288
WIRE 192 -288 -16 -288
WIRE 352 -288 272 -288
WIRE 560 -288 352 -288
WIRE -224 -272 -480 -272
WIRE -128 -272 -224 -272
WIRE 1120 -272 1120 -576
WIRE -480 -240 -480 -272
WIRE 352 -240 352 -288
WIRE -112 -224 -112 -256
WIRE -80 -224 -80 -256
WIRE 1392 -224 1392 -368
WIRE 1392 -224 1248 -224
WIRE 560 -176 560 -288
WIRE 720 -176 560 -176
WIRE 880 -176 720 -176
WIRE 880 -144 880 -176
WIRE 896 -144 880 -144
WIRE -480 -128 -480 -160
WIRE -480 -128 -544 -128
WIRE 352 -128 352 -176
WIRE 352 -128 272 -128
WIRE 1552 -128 1248 -128
WIRE 896 -112 880 -112
WIRE -480 -96 -480 -128
WIRE 352 -80 352 -128
WIRE 720 -80 560 -80
WIRE 880 -80 880 -112
WIRE 880 -80 720 -80
WIRE 1392 -32 1248 -32
WIRE -112 0 -112 -32
WIRE -80 0 -80 -32
WIRE -480 16 -480 -16
WIRE -224 16 -480 16
WIRE -128 16 -224 16
WIRE -16 32 -64 32
WIRE 192 32 -16 32
WIRE 352 32 352 -16
WIRE 352 32 272 32
WIRE 560 32 560 -80
WIRE 560 32 352 32
WIRE -128 48 -208 48
WIRE 1120 48 1120 16
WIRE -112 96 -112 64
WIRE -320 192 -336 192
WIRE -208 192 -208 48
WIRE -208 192 -240 192
WIRE -144 192 -208 192
WIRE -16 192 -16 32
WIRE -16 192 -64 192
WIRE 1392 224 1392 -32
WIRE -1552 400 -1552 304
WIRE -1296 400 -1296 304
WIRE -1024 400 -1024 304
WIRE 1392 400 1392 304
WIRE -1552 576 -1552 480
WIRE -1296 576 -1296 480
WIRE -1024 576 -1024 480
FLAG 1120 48 0
FLAG 1392 -368 VDD
FLAG 720 -176 ADCINP
FLAG 720 -80 ADCINN
FLAG 1392 400 0
FLAG 960 -576 REF
FLAG -1296 576 0
FLAG -1552 304 VCC
FLAG -1296 304 VEE
FLAG -1024 304 VDD
FLAG -1024 576 0
FLAG -1552 576 0
FLAG 1552 -128 VSAMPLED
IOPIN 1056 64 Out
FLAG 272 -128 0
FLAG -544 -128 0
FLAG -224 -272 VINP
FLAG -224 16 VINN
FLAG -336 -448 0
FLAG -336 192 0
FLAG -112 -352 VCC
FLAG -112 -224 VEE
FLAG -80 -224 VCC
FLAG -112 96 VCC
FLAG -112 -32 VEE
FLAG -80 -32 VCC
FLAG 848 -368 0
SYMBOL voltage 1392 208 R0
SYMATTR Value PULSE(0 {vdd_val} 1u 1n 1n 10n {ts})
SYMATTR InstName V4
SYMBOL voltage 848 -528 R0
SYMATTR InstName V6
SYMATTR Value {vref_val}
SYMBOL voltage -1552 384 R0
SYMATTR InstName V7
SYMATTR Value {vcc_val}
SYMBOL voltage -1296 384 R0
SYMATTR InstName V8
SYMATTR Value {vee_val}
SYMBOL voltage -1024 384 R0
SYMATTR InstName V9
SYMATTR Value {vdd_val}
SYMBOL res 288 -304 R90
SYMATTR InstName R1
SYMATTR Value {Rval1}
SYMBOL res 288 16 R90
SYMATTR InstName R2
SYMATTR Value {Rval2}
SYMBOL cap 336 -240 R0
SYMATTR InstName C1
SYMATTR Value {Cval1}
SYMBOL cap 368 -16 R180
SYMATTR InstName C2
SYMATTR Value {Cval2}
SYMBOL voltage -480 -256 R0
SYMATTR InstName V1
SYMATTR Value SINE({vcm} {vmag} {fin} 0 0 0)
SYMBOL voltage -480 -112 R0
SYMATTR InstName V2
SYMATTR Value SINE({-vcm} {vmag} {fin} 0 0 0)
SYMBOL res -48 -464 R90
SYMATTR InstName R3
SYMATTR Value {Rf1_val}
SYMBOL res -48 176 R90
SYMATTR InstName R4
SYMATTR Value {Rf2_val}
SYMBOL res -224 -464 R90
SYMATTR InstName R5
SYMATTR Value {Rg1_val}
SYMBOL res -224 176 R90
SYMATTR InstName R6
SYMATTR Value {Rg2_val}
SYMBOL Opamps\\ADA4807-2 -96 -288 R0
SYMATTR InstName U1
SYMBOL Opamps\\ADA4807-2 -96 32 M180
SYMATTR InstName U2
SYMBOL ADC\\AD4003 1152 -128 R0
SYMATTR InstName U3