In this lesson, we will learn about half adders and full adders, which are fundamental building blocks in digital circuits for performing binary addition. We will explore their functionality & truth tables.
Learning Objectives:
A half adder is a digital circuit that performs the addition of two single-bit binary numbers. It has two inputs, typically denoted as A and B, and two outputs: the sum (S) and the carry (C). The truth table for a half adder is as follows:
| A | B | Sum (S) | Carry (C) |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |