summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/delta-sigma/mod1-ct.cir
diff options
context:
space:
mode:
authorRahul Paknikar2021-01-08 12:47:23 +0530
committerGitHub2021-01-08 12:47:23 +0530
commite6f48f5b1bf22a1d048b44ed4416b4315a461306 (patch)
treefd357549a236cdc652f0b6d2919beee0cee7faa5 /Windows/spice/examples/xspice/delta-sigma/mod1-ct.cir
parentac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff)
parent6b512cbf954273b0f21d3800d10a7ad42a759425 (diff)
downloadeSim-i2.1.tar.gz
eSim-i2.1.tar.bz2
eSim-i2.1.zip
Merge pull request #161 from rahulp13/installersi2.1
fixed key issue for ubuntu 20+; updated installers for windows os
Diffstat (limited to 'Windows/spice/examples/xspice/delta-sigma/mod1-ct.cir')
-rw-r--r--Windows/spice/examples/xspice/delta-sigma/mod1-ct.cir46
1 files changed, 0 insertions, 46 deletions
diff --git a/Windows/spice/examples/xspice/delta-sigma/mod1-ct.cir b/Windows/spice/examples/xspice/delta-sigma/mod1-ct.cir
deleted file mode 100644
index bf3129b7..00000000
--- a/Windows/spice/examples/xspice/delta-sigma/mod1-ct.cir
+++ /dev/null
@@ -1,46 +0,0 @@
-* delta sigma modulator
-* first order, continuous time
-
-.subckt mod1 ainp ainn dclk ddffq ddffqb
-* integrator and summer
-Ri1 ainn inintn 500
-Rf1 adffq inintn 500
-Cint1 outintp inintn 1n
-.IC v(outintp) = 0 v(inintp) = 0
-*
-Rshunt1 outintp 0 100Meg
-Rshunt2 initn 0 100Meg
-*
-Ri2 ainp inintp 500
-Rf2 adffqb inintp 500
-Cint2 outintn inintp 1n
-.IC v(outintn) = 0 v(inintn) = 0
-*
-Rshunt3 outintn 0 100Meg
-Rshunt4 inintp 0 100Meg
-*
-aint %vd(inintp inintn) %vd(outintp outintn) amp
-.model amp gain ( in_offset =0.0 gain =100000
-+ out_offset = 0)
-
-* latched comparator (code model or B source, analog in, digital out)
-*acomp %vd(outintp outintn) acompout limit5
-*.model limit5 limit(in_offset=0 gain=100000 out_lower_limit=-1.0
-*+ out_upper_limit=1.0 limit_range=0.10 fraction=FALSE)
-*
-BComp acompout 0 V = (V(outintp) - V(outintn)) >= 0 ? 1 : -1
-*
-abridge2 [acompout] [dcompout] adc_buff
-.model adc_buff adc_bridge(in_low = 0 in_high = 0)
-*
-* D flip flop: data clk set reset out nout
-adff1 dcompout dclk ds drs ddffq ddffqb flop2
-.model flop2 d_dff(clk_delay = 1e-9 set_delay = 1.0e-9
-+ reset_delay = 1.0e-9 ic = 0 rise_delay = 1.0e-9
-+ fall_delay = 1e-9)
-
-abridge1 [ddffq ddffqb dclk] [adffq adffqb aclk] dac1
-.model dac1 dac_bridge(out_low = -1 out_high = 1 out_undef = 0
-+ input_load = 5.0e-12
-
-.ends mod1