Serial binary adder
From Wikipedia, the free encyclopedia
The serial binary adder is a digital circuit that performs binary addition bit by bit. The serial full adder has three single bit inputs for the numbers to be added and the carry in There are two single bit outputs for the sum and carry out. The carry in signal is the previously calculated carry out signal. The addition is performed by adding each bit, lowest to highest, once each period.
Contents |
[edit] Serial binary subtracter
The serial binary subtracter operates the same as the serial binary adder, except the subtracted number is in 2's complement.
[edit] Example of operation
- Decimal
- 5+9=14
- X=5, Y=9, Sum=14
- Binary
- 0101+1001=1110
- Addition of each step
Inputs | Outputs | |||
---|---|---|---|---|
Cin | X | Y | Sum | Cout |
0 | 1 | 1 | 0 | 1 |
1 | 0 | 0 | 1 | 0 |
0 | 1 | 0 | 1 | 0 |
0 | 0 | 1 | 1 | 0 |
*addition starts from lowest
- Result=1110 or 14