summaryrefslogtreecommitdiff
path: root/Examples/Full_Adder/half_adder.sub
diff options
context:
space:
mode:
authorfahim2015-08-05 13:52:57 +0530
committerfahim2015-08-05 13:52:57 +0530
commitdf569f79a7ee495291324e07d99af990104e3db2 (patch)
treea005c682aa78b58b7dd5bb693c415eff9c04d04b /Examples/Full_Adder/half_adder.sub
parentc4971ed867af4a970a3cd1c23825adee5073372e (diff)
downloadeSim-df569f79a7ee495291324e07d99af990104e3db2.tar.gz
eSim-df569f79a7ee495291324e07d99af990104e3db2.tar.bz2
eSim-df569f79a7ee495291324e07d99af990104e3db2.zip
Subject: Added eSim Examples
Description: Added eSim Examples
Diffstat (limited to 'Examples/Full_Adder/half_adder.sub')
-rw-r--r--Examples/Full_Adder/half_adder.sub14
1 files changed, 14 insertions, 0 deletions
diff --git a/Examples/Full_Adder/half_adder.sub b/Examples/Full_Adder/half_adder.sub
new file mode 100644
index 00000000..e9f92223
--- /dev/null
+++ b/Examples/Full_Adder/half_adder.sub
@@ -0,0 +1,14 @@
+* Subcircuit half_adder
+.subckt half_adder 1 4 3 2
+* eeschema netlist version 1.1 (spice format) creation date: wed jun 24 11:31:48 2015
+* u2 1 4 3 d_xor
+* u3 1 4 2 d_and
+a1 [1 4 ] 3 u2
+a2 [1 4 ] 2 u3
+* Schematic Name: d_xor, NgSpice Name: d_xor
+.model u2 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u3 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Control Statements
+
+.ends half_adder \ No newline at end of file