Half Adder

Inputs

PinTypeDescription
AbitFirst addend
BbitSecond addend

Outputs

PinTypeDescription
SumbitA XOR B
CarrybitA AND B

How It Works

A Half Adder adds two single bits and produces a sum and a carry output.

Logic: Sum = A XOR B, Carry = A AND B.

It cannot handle a carry-in from a previous stage. For multi-bit addition, use a Full Adder, which accepts an additional Carry In input.

Truth Table

ABSumCarry
0000
0110
1010
1101

Usage

Level 6. Built from an XOR gate and an AND gate. Serves as the least significant bit stage in the 8-bit adder chain — its Carry line feeds into the next Full Adder's Carry In, while its Sum feeds the LSB of the result bus.