User:Kyace/Adder
From Dwarf Fortress Wiki
An adder is a logic device which can take two inputs, and possibly carry bit and output the sum and possibly a carry out: In 1bit binary 1 + 1 = 0, carry the 1.
Proof of concept: [1]
[edit] Full Adder
Full Adder (Zlevel 0)
▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

≈

▒

▒

▒

▒

▒

▒

▒

▒

÷

▒

▒

▒

▒

▒

▒

▒

▒

÷

▒

▒

▒

▒

▒

≈

≈

≈

≈

≈

≈

≈

▒

▒

≈

▒

▒

≈

▒

▒

≈

▒

▒

┼

▒

┼

▒

┼

▒

┼

▒

▒

┼

▒

¢

▒

¢

▒

┼

▒

▒

.

▒

┼

▒

┼

▒

┼

▒

▒

#

▒

▒

¢

▒

▒

.

▒

▒

▒

▒

▒

`

▒

▒

#

▒

▒

▒

▒

▒

.

#

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

Full Adder (Zlevel 1)
▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

≈

▒

▒

▒

▒

▒

▒

▒

▒

÷

▒

▒

▒

▒

▒

▒

▒

▒

÷

▒

▒

▒

▒

▒

▒

▒

▒

≈

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

#

▒

#

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

.

`

,

.

▒

▒

▒

▒

▒

▒

`

▒

▒

▒

▒

▒

▒

▒

▒

.

▒

▒

.

`

`

▒

▒

▒

`

▒

▒

▒

`

▒

▒

C

S

┼

Door connected to Lever A  ┼

Door connected to Lever B  ┼

Door connected to Carry Inputer 
¢

Hatch connected to Lever A  ¢

Hatch connected to Lever B  ¢

Hatch connected to Carry Input 
C

Carry Output  S

Sum Output  #

Normal Grate 
≈

Water on Zlevel below  ≈

Water on Current level  ÷

Screw Pump 
[edit] Half Adder
▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

▒

≈

▒

▒

▒

▒

▒

▒

÷

▒

▒

▒

▒

▒

▒

÷

▒

▒

▒

≈

≈

≈

≈

▒

▒

▒

≈

▒

▒

≈

▒

▒

▒

┼

▒

┼

▒

┼

▒

▒

┼

▒

¢

▒

¢

▒

▒

.

▒

┼

▒

┼

▒

▒

`

▒

▒

.

▒

▒

C

S
