summaryrefslogtreecommitdiff
path: root/ngSpice-netlist-example/HalfwaveRectifier.cir.out
diff options
context:
space:
mode:
authorfahimkhan2016-08-24 15:33:26 +0530
committerfahimkhan2016-08-24 15:33:26 +0530
commitc634e048b6192d18eb3badda9c4c0c219dcc4ffb (patch)
treed63f1a1a242531449c4e071b944ce9c94ace356a /ngSpice-netlist-example/HalfwaveRectifier.cir.out
parentff95c8d76ed5a492fd3911fd86484cd82849ee26 (diff)
downloadOnline-NgSpice-Simulator-c634e048b6192d18eb3badda9c4c0c219dcc4ffb.tar.gz
Online-NgSpice-Simulator-c634e048b6192d18eb3badda9c4c0c219dcc4ffb.tar.bz2
Online-NgSpice-Simulator-c634e048b6192d18eb3badda9c4c0c219dcc4ffb.zip
Added Ngspice Netlist Example
Diffstat (limited to 'ngSpice-netlist-example/HalfwaveRectifier.cir.out')
-rw-r--r--ngSpice-netlist-example/HalfwaveRectifier.cir.out22
1 files changed, 22 insertions, 0 deletions
diff --git a/ngSpice-netlist-example/HalfwaveRectifier.cir.out b/ngSpice-netlist-example/HalfwaveRectifier.cir.out
new file mode 100644
index 0000000..9a3ffde
--- /dev/null
+++ b/ngSpice-netlist-example/HalfwaveRectifier.cir.out
@@ -0,0 +1,22 @@
+
+* Author: FOSSEE
+* Date:
+
+.model 1n4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+d1 in out 1N4148
+r1 out gnd 1k
+v1 in gnd sine(0 20 50 0 0)
+* u2 in plot_v1
+* u3 out plot_v1
+.tran 10e-03 100e-03 0e-03
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot v(in)
+plot v(out)
+.endc
+.end
+ \ No newline at end of file