This is a simple 4 bit adder circuit. I built it out of the following digital logic gates: AND XOR OR It has a 5 bit output to handle overflow.
The inputs are elementwise pairs. So the first two input pins will be the least significant bit of both numbers. The next two input pins will be the second least significant bit of both numbers.
If you'd like to test it, two a 4 bit number addition on paper, and try to do it using the circuit. the results should be the same
List external hardware used in your project (e.g. PMOD, LED display, etc), if any
# | Input | Output | Bidirectional |
---|---|---|---|
0 | IN0 | OUT0 | |
1 | IN1 | OUT1 | |
2 | IN2 | OUT2 | |
3 | IN3 | OUT3 | |
4 | IN4 | OUT4 | |
5 | IN5 | ||
6 | IN6 | ||
7 | IN7 |