summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/transient-noise/noi-sc-tr.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/transient-noise/noi-sc-tr.cir
parentac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff)
parent6b512cbf954273b0f21d3800d10a7ad42a759425 (diff)
downloadeSim-e6f48f5b1bf22a1d048b44ed4416b4315a461306.tar.gz
eSim-e6f48f5b1bf22a1d048b44ed4416b4315a461306.tar.bz2
eSim-e6f48f5b1bf22a1d048b44ed4416b4315a461306.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/transient-noise/noi-sc-tr.cir')
-rw-r--r--Windows/spice/examples/transient-noise/noi-sc-tr.cir53
1 files changed, 0 insertions, 53 deletions
diff --git a/Windows/spice/examples/transient-noise/noi-sc-tr.cir b/Windows/spice/examples/transient-noise/noi-sc-tr.cir
deleted file mode 100644
index da5a8f50..00000000
--- a/Windows/spice/examples/transient-noise/noi-sc-tr.cir
+++ /dev/null
@@ -1,53 +0,0 @@
-* simple sample & hold, transient noise
-
-* switch control
-* PULSE(V1 V2 TD TR TF PW PER)
-vgate1 ga1 0 dc 0 pulse (0 1 0 10n 10n 90n 200n)
-
-Switch1 1 2 ga1 0 smodel1
-
-* noisy input
-* rms value white, time step, exponent < 2, rms value 1/f
-vin 1 0 dc 0 trnoise 0.1m 0.2n 1 0.1m
-*vin 1 0 dc 0 trnoise 0.1m 0.2n 0 0.1m
-
-* output
-c2 2 0 10p
-
-* second S&H
-vgate2 ga2 0 dc 0 pulse (0 1 140n 10n 10n 30n 200n)
-*Buffer EXXXXXXX N+ N- NC+ NC- VALUE
-e1 4 0 2 0 1
-Switch2 4 3 ga2 0 smodel2
-c3 3 0 10p
-
-.option itl1=500 gmin=1e-15 itl4=10 acct
-
-.model smodel1 sw vt=0.5 ron=100
-.model smodel2 sw vt=0.5 ron=100
-
-.tran 0.4n 100u
-
-
-.control
-unset ngdebug
-set filetype=ascii
-rusage
-run
-rusage all
-write noi_test.out v(1)
-plot v(2) v(3) xlimit 4u 5u
-plot v(ga1) v(ga2) xlimit 4u 5u
-linearize
-*rms v(1)
-fft v(3)
-plot mag(v(3)) loglog xlimit 1e4 1e8 ylimit 1e-10 1e-4
-setplot tran1
-linearize
-psd 101 v(3)
-plot mag(v(3)) xlimit 0 3e7 ylabel V^2/Hz
-
-.endc
-
-
-.end