summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/various/tmp-noise-2.cir
diff options
context:
space:
mode:
Diffstat (limited to 'Windows/spice/examples/various/tmp-noise-2.cir')
-rw-r--r--Windows/spice/examples/various/tmp-noise-2.cir24
1 files changed, 24 insertions, 0 deletions
diff --git a/Windows/spice/examples/various/tmp-noise-2.cir b/Windows/spice/examples/various/tmp-noise-2.cir
new file mode 100644
index 00000000..8dbb8910
--- /dev/null
+++ b/Windows/spice/examples/various/tmp-noise-2.cir
@@ -0,0 +1,24 @@
+* (exec-spice "ngspice %s" t)
+* actually not noise but temp coeff
+
+v1 1 0 dc 100 ac=1
+
+b2 2 0 i=v(1) tc1=0.001
+v2 0 2 0
+
+b3 3 0 v=v(1) tc1=0.001
+
+.temp 127.0
+
+.control
+op
+let idc2=i(v2)
+let vdc3=v(3)
+print idc2 vdc3
+
+ac dec 1 1kHz 1kHz
+let iac2=i(v2)
+let vac3=v(3)
+print iac2 vac3
+
+.endc