chiark / gitweb /
undo broken deletion
[trains.git] / spice / opmodel1.cir
diff --git a/spice/opmodel1.cir b/spice/opmodel1.cir
new file mode 100644 (file)
index 0000000..d912e4f
--- /dev/null
@@ -0,0 +1,23 @@
+OPMODEL1.CIR -OPAMP MODEL SINGLE-POLE
+*
+*.include opmodmac.cir
+.include lf356.mod
+
+vpp    10      0       10
+vmm    0       90      10
+
+VS      1       0      ac 1
+* dc 1 AC      1       else  sin(0voff 1vpeak 2khz)
+*XOP     1 0     3   90 10   opamp1
+XOP     1 0     3   90 10     lf356/ns
+RL      3       0       1K
+*
+* 
+* VIEW RESULTS
+.PRINT   AC      VM(3) vp(3)
+.PRINT   tran    v(90) v(1) V(3) v(10)
+* ANALYSIS
+.PROBE
+.AC     DEC     5 1 100MEG
+.TRAN  5US  500US
+.END