summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/full_adder/half_adder.sub
blob: e9f922237505bbddf8ee8cec29132fd2cbdece0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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