If A and B are binary inputs to the half adder, then the logic function to calculate sum S is Ex – OR of A and B and logic function to calculate carry C is AND of A and B. The logic diagram for carry is shown below. We can derive the Boolean Expression of Carry as follows: If we assume A and B as the two bits whose addition is to be performed, a truth table for half adder with A, B as inputs and Sum, Carry as outputs can be tabulated as follows. Here, ‘A’ and ‘B’ represents the input two bits that must be added and outputs are ‘Sum’ and ‘Carry’.
The block diagram of a half adder is shown below.
The LSB of the result is the Sum (usually represented as Sum or S 0 or ∑ 0) and the MSB is the Carry (usually represented as C OUT). Half adder is a combinational circuit that performs simple addition of two single bit binary numbers and produces a 2-bit number.
A Full Adder is another circuit which can add three numbers (two bits from the numbers and one carry bit from previous sum). The device which performs above task is called a Half Adder. The adder that performs simple binary addition must have two inputs (augend and addend) and two outputs (sum and carry). Some basic binary additions are shown below. Add the first digits of a number and if the count exceeds binary 2, then carry ‘1’ to the next row. Apart from addition, adders are also used in certain digital applications like table index calculation, address decoding etc.īinary addition is similar to that of decimal addition. Out of these, binary addition is the most frequently performed task by most common adders. Adders can be constructed for most of the numerical representations like Binary Coded Decimal (BDC), Excess – 3, Gray code, Binary etc. Adders are a key component of Arithmetic Logic Unit (ALU) inside any CPU. Implementation of Full Adder using Half AddersĪdders are digital circuits that carry out addition of numbers.