summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/full_adder/full_adder.sub
diff options
context:
space:
mode:
authorfahim2015-07-28 14:16:32 +0530
committerfahim2015-07-28 14:16:32 +0530
commit7cdabba6ca27643fc290c6fada8c8fa333e7f8fb (patch)
tree38c1cb7101ccb2e1b88861c3a4f1939703ece88f /src/SubcircuitLibrary/full_adder/full_adder.sub
parent1c21a0ad49a75671a9fd775463ab6e6e6f3a8e36 (diff)
downloadeSim-7cdabba6ca27643fc290c6fada8c8fa333e7f8fb.tar.gz
eSim-7cdabba6ca27643fc290c6fada8c8fa333e7f8fb.tar.bz2
eSim-7cdabba6ca27643fc290c6fada8c8fa333e7f8fb.zip
Subject: Added subcircuit for Half Adder and Full Adder.
Description: Added subcircuit for Half Adder and Full Adder.
Diffstat (limited to 'src/SubcircuitLibrary/full_adder/full_adder.sub')
-rw-r--r--src/SubcircuitLibrary/full_adder/full_adder.sub13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/SubcircuitLibrary/full_adder/full_adder.sub b/src/SubcircuitLibrary/full_adder/full_adder.sub
new file mode 100644
index 00000000..5f261f78
--- /dev/null
+++ b/src/SubcircuitLibrary/full_adder/full_adder.sub
@@ -0,0 +1,13 @@
+* Subcircuit full_adder
+.subckt full_adder 8 7 5 4 1
+* eeschema netlist version 1.1 (spice format) creation date: wed jun 24 12:24:33 2015
+.include half_adder.sub
+x1 8 7 6 2 half_adder
+x2 5 6 4 3 half_adder
+* u2 3 2 1 d_or
+a1 [3 2 ] 1 u2
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u2 d_or(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Control Statements
+
+.ends full_adder \ No newline at end of file