summaryrefslogtreecommitdiff
path: root/Examples/Diode_characteristics/Diode_characteristics.cir.out
diff options
context:
space:
mode:
authorfossee2019-08-29 12:00:06 +0530
committerfossee2019-08-29 12:00:06 +0530
commitd25a2bf2d63442e3585479751f168b635fc5701e (patch)
treefa1df998749b7dab5b8d404b88d77c5311167d8a /Examples/Diode_characteristics/Diode_characteristics.cir.out
downloadeSim-d25a2bf2d63442e3585479751f168b635fc5701e.tar.gz
eSim-d25a2bf2d63442e3585479751f168b635fc5701e.tar.bz2
eSim-d25a2bf2d63442e3585479751f168b635fc5701e.zip
changed Examples
Diffstat (limited to 'Examples/Diode_characteristics/Diode_characteristics.cir.out')
-rw-r--r--Examples/Diode_characteristics/Diode_characteristics.cir.out18
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/Diode_characteristics/Diode_characteristics.cir.out b/Examples/Diode_characteristics/Diode_characteristics.cir.out
new file mode 100644
index 00000000..11b967b1
--- /dev/null
+++ b/Examples/Diode_characteristics/Diode_characteristics.cir.out
@@ -0,0 +1,18 @@
+* /home/fossee/esim-workspace/diode_characteristics/diode_characteristics.cir
+
+.include D.lib
+v1 in gnd dc 1
+d1 in out 1N4148
+r1 net-_r1-pad1_ gnd 1k
+* u1 out net-_r1-pad1_ plot_i2
+v_u1 out net-_r1-pad1_ 0
+.dc v1 0e-00 1e-00 0.01e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot i(v_u1)
+.endc
+.end