summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/transient-noise/shot_ng.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/shot_ng.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/shot_ng.cir')
-rw-r--r--Windows/spice/examples/transient-noise/shot_ng.cir27
1 files changed, 0 insertions, 27 deletions
diff --git a/Windows/spice/examples/transient-noise/shot_ng.cir b/Windows/spice/examples/transient-noise/shot_ng.cir
deleted file mode 100644
index ed06c81c..00000000
--- a/Windows/spice/examples/transient-noise/shot_ng.cir
+++ /dev/null
@@ -1,27 +0,0 @@
-* Shot noise test with B source, diode
-* voltage on device (diode, forward)
-Vdev out 0 DC 0 PULSE(0.4 0.45 10u)
-* diode, forward direction, to be modeled with noise
-D1 mess 0 DMOD
-.model DMOD D IS=1e-14 N=1
-X1 0 mess out ishot
-* device between 1 and 2
-* new output terminals of device including noise: 1 and 3
-.subckt ishot 1 2 3
-* white noise source with rms 1V
-VNG 0 11 DC 0 TRNOISE(1 1n 0 0)
-*measure the current i(v1)
-V1 2 3 DC 0
-* calculate the shot noise
-* sqrt(2*current*q*bandwidth)
-BI 1 3 I=sqrt(2*abs(i(v1))*1.6e-19*1e7)*v(11)
-.ends ishot
-* 20000 sample points
-.tran 1n 20u
-.control
-run
-plot (-1)*i(vdev)
-meas tran vdev_rms avg i(vdev) from=0u to=9.9u
-meas tran vdev_rms avg i(vdev) from=10.1u to=20u
-.endc
-.end