# Full adder
This is a handmade full adder!
It calculates the sum of in1, in2, and a carry at in3
sw1:1a
sw1:2a
sw1:3a
sw1:4a
sw1:5a
sw1:6a
sw1:7a
sw1:8a
sw1:8b
sw1:7b
sw1:6b
sw1:5b
sw1:4b
sw1:3b
sw1:2b
sw1:1b
clock1:CLK
pwr1:VCC
sw2:1
sw2:2
sw2:3
btn1:1.l
btn1:2.l
btn1:1.r
btn1:2.r
pwr3:VCC
ttin:EXTCLK
ttin:EXTRST_N
ttin:EXTIN0
ttin:EXTIN1
ttin:EXTIN2
ttin:EXTIN3
ttin:EXTIN4
ttin:EXTIN5
ttin:EXTIN6
ttin:EXTIN7
ttin:CLK
ttin:RST_N
ttin:IN0
ttin:IN1
ttin:IN2
ttin:IN3
ttin:IN4
ttin:IN5
ttin:IN6
ttin:IN7
btn2:1.l
btn2:2.l
btn2:1.r
btn2:2.r
gnd1:GND
ttout:OUT0
ttout:OUT1
ttout:OUT2
ttout:OUT3
ttout:OUT4
ttout:OUT5
ttout:OUT6
ttout:OUT7
ttout:EXTOUT0
ttout:EXTOUT1
ttout:EXTOUT2
ttout:EXTOUT3
ttout:EXTOUT4
ttout:EXTOUT5
ttout:EXTOUT6
ttout:EXTOUT7
ttio0:IN
ttio0:OUT
ttio0:OE
ttio0:UIO
ttio1:IN
ttio1:OUT
ttio1:OE
ttio1:UIO
ttio2:IN
ttio2:OUT
ttio2:OE
ttio2:UIO
ttio3:IN
ttio3:OUT
ttio3:OE
ttio3:UIO
ttio4:IN
ttio4:OUT
ttio4:OE
ttio4:UIO
ttio5:IN
ttio5:OUT
ttio5:OE
ttio5:UIO
ttio6:IN
ttio6:OUT
ttio6:OE
ttio6:UIO
ttio7:IN
ttio7:OUT
ttio7:OE
ttio7:UIO
r2:1
r2:2
pwr5:VCC
Bidirectional I/O pins
xor1:A
xor1:B
xor1:OUT
and1:A
and1:B
and1:OUT
led1:A
led1:C
gnd2:GND
led2:A
led2:C
gnd3:GND
or1:A
or1:B
or1:OUT
xor2:A
xor2:B
xor2:OUT
and2:A
and2:B
and2:OUT