Difference between revisions of "Half Adder / Full Adder"
Line 1: | Line 1: | ||
==Half Adder== | ==Half Adder== | ||
+ | The half adder circuit will do half of a binary addition of 2 1 bit binary numbers. A & B are the 2 1 bit binary values, remember the rules of binary addition: | ||
+ | |||
+ | * 0 1's sum is 0 | ||
+ | * 1 1's sum is 1 | ||
+ | * 2 1's sum is 0 carry is 1 | ||
+ | * 3 1's sum is 1 carry is 1 | ||
+ | |||
The most common half adder is made up of two logic gates, an AND gate and a XOR gate. It has two inputs and two outputs. The two inputs are the two bits you are adding together and the two outputs are the result and a carry-on for when the output value is not large enough to display the answer. | The most common half adder is made up of two logic gates, an AND gate and a XOR gate. It has two inputs and two outputs. The two inputs are the two bits you are adding together and the two outputs are the result and a carry-on for when the output value is not large enough to display the answer. | ||
+ | |||
[[File:Halfadder1.gif|none]] | [[File:Halfadder1.gif|none]] | ||
+ | |||
+ | ==Full Adder== | ||
+ | The full adder is 2 half adders connected together, this will allow you to add 2 1 bit binary numbers together. |
Revision as of 08:42, 16 March 2017
Half Adder
The half adder circuit will do half of a binary addition of 2 1 bit binary numbers. A & B are the 2 1 bit binary values, remember the rules of binary addition:
- 0 1's sum is 0
- 1 1's sum is 1
- 2 1's sum is 0 carry is 1
- 3 1's sum is 1 carry is 1
The most common half adder is made up of two logic gates, an AND gate and a XOR gate. It has two inputs and two outputs. The two inputs are the two bits you are adding together and the two outputs are the result and a carry-on for when the output value is not large enough to display the answer.
Full Adder
The full adder is 2 half adders connected together, this will allow you to add 2 1 bit binary numbers together.