diff options
author | rahulp13 | 2020-02-28 11:38:58 +0530 |
---|---|---|
committer | rahulp13 | 2020-02-28 11:38:58 +0530 |
commit | 246319682f60293b132fca1ce6e24689c6682617 (patch) | |
tree | 6871b758a17869efecfd617f5513e31f9a933f4a /Windows/spice/examples/transient-noise/noise_vnoi.cir | |
parent | d9ab84106cac311d953f344386fef1c1e2bca1cf (diff) | |
download | eSim-246319682f60293b132fca1ce6e24689c6682617.tar.gz eSim-246319682f60293b132fca1ce6e24689c6682617.tar.bz2 eSim-246319682f60293b132fca1ce6e24689c6682617.zip |
initial commit
Diffstat (limited to 'Windows/spice/examples/transient-noise/noise_vnoi.cir')
-rw-r--r-- | Windows/spice/examples/transient-noise/noise_vnoi.cir | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Windows/spice/examples/transient-noise/noise_vnoi.cir b/Windows/spice/examples/transient-noise/noise_vnoi.cir new file mode 100644 index 00000000..a589d1a0 --- /dev/null +++ b/Windows/spice/examples/transient-noise/noise_vnoi.cir @@ -0,0 +1,31 @@ +* Random noise test +* internal noise source + +* one over f +VNOI1 1 0 DC 0 TRNOISE(0n 1n 1.7 1n) +VNOI2 2 0 DC 0 TRNOISE(0n 1n 1.4 1n) +VNOI3 3 0 DC 0 TRNOISE(0n 1n 1.0 1n) +VNOI4 4 0 DC 0 TRNOISE(0n 1n 0.5 1n) +* white +VNOI5 5 0 DC 0 TRNOISE(1n 1n 0 0) +* both +VNOI6 6 0 DC 0 TRNOISE(1n 1n 1 1n) + +* 250000 sample points +.tran 1n 250u + +.control +run +plot v(1) v(2) v(3) v(4) v(5) v(6) +plot v(1) v(2) v(3) v(4) v(5) v(6) xlimit 102.0u 102.01u ylimit -3n 3n +linearize +meas tran vavg5 AVG v(5) from=0 to=250u +meas tran vpp5 PP v(5) from=0 to=250u +meas tran vrms5 RMS v(5) from=0 to=250u +fft v(1) v(2) v(3) v(4) v(5) v(6) +plot mag(v(1)) mag(v(2)) mag(v(3)) mag(v(4)) mag(v(5)) loglog xlimit 1e3 1e9 +plot mag(v(6)) loglog xlimit 1e3 1e9 +.endc + +.end + |