this is a four bit parallel adder. In this i used the technique of BCD adder to make this.
Since the seven segment displays are 3:8 encoders I used a custom encoder of 4:8 encoder where 4 are the sum bits and 8 are the seven segment display bits.
Making this project is very helpful in understanding the concepts of bit range overflow in the adding two binary numbers and BCD numbers.
A circuit that adds two 3-bit numbers using a half-adder and a full-adder.
A circuit that takes two decimal numbers A and B as input and then splits in into their corresponding three bits using a splitter and then calculates their summation using XOR, AND and OR gates. This generates 4 output lines for 4 bits of the summation, and a reversed splitter is finally used to join the output lines to produce a 4-bit output and displayed using a Hex-Display.
This is a ripple-carry adder.
A simple adder that adds two 4-bit integers and returns the result on a hex display.
It also keeps track of the flags.
It can also subtract if the ADD/SUB is 1
ADD/SUB = 0 => add
ADD/SUB = 1 => sub