Home
About-Me
AC Current
AC Motors
AC Generators
Amplification
Antenna Principles
Basic Electronics
Batteries
Blog it!
Capacitance
Circuit Control
Circuit Measuring
Circuit-Protection
Cable Connectors
Conductors
DC Current
DC Motors
Diodes
E-Goods
Electron Tubes
Generators
Gyros
Hoplinks
Inductance
Logic
Meters
Microwaves
More-Antennas
Oscillators
Our Visitor's
Power
Power Supplies
Project Videos
RADAR
RADAR-Parts
Radio Waves
Reactance
Resistance
RF-Antennas
RLC-Circuits
Safety
Servos
Soldering
Special Logic
Specialty Tubes
Synchros
The-Oscilloscope
Spectrum Analyzer
Tubes Cont. -
Transformers
Transistors
Transmission Lines
Trans. Lines Cont.-
Tuned Circuits
Voltage
Waveguides
Wave Propagation
Wiring Techniques

Subscribe To This Site
XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines

Adders

Adders are combinations of logic gates that combine binary values to obtain a sum. They are classified according to their ability to accept and combine the digits. In this section we will discuss quarter adders, half adders, and full adders.



QUARTER ADDER

A quarter adder is a circuit that can add two binary digits but will not produce a carry. This circuit will produce the following results:

0 plus 0 = 0

0 plus 1 = 1

1 plus 0 = 1

1 plus 1 = 0 (no carry)

You will notice that the output produced is the same as the output for the Truth Table of an X-OR. Therefore, an X-OR gate can be used as a quarter adder.

The combination of gates in the figure below will also produce the desired results. When A and B are both LOW (0), the output of each AND gate is LOW (0); therefore, the output of the OR gate is LOW (0). When A is HIGH and B is LOW, then B is HIGH and AND gate 1 produces a HIGH output, resulting in a sum of 1 at gate 3. With A LOW and B HIGH, gate 2 output is HIGH, and the sum is 1. When both A and B are HIGH, neither AND gate has an output, and the output of gate 3 is LOW (0); no carry is produced.

Quarter adder

Quarter adder.


HALF ADDER

A half adder is designed to combine two binary digits and produce a carry.

The figure below shows two ways of constructing a half adder. An AND gate is added in parallel to the quarter adder to generate the carry. The SUM column of the Truth Table represents the output of the quarter adder, and the CARRY column represents the output of the AND gate.

Half adders and Truth Table

Half adders and Truth Table.


We have seen that the output of the quarter adder is HIGH when either input, but not both, is HIGH. It is only when both inputs are HIGH that the AND gate is activated and a carry is produced. The largest sum that can be obtained from a half adder is 10 2 (1 2 plus 1 2).

FULL ADDER

The full adder becomes necessary when a carry input must be added to the two binary digits to obtain the correct sum. A half adder has no input for carries from previous circuits.

One method of constructing a full adder is to use two half adders and an OR gate as shown in the figure below. The inputs A and B are applied to gates 1 and 2. These make up one half adder. The sum output of this half adder and the carry-from a previous circuit become the inputs to the second half adder. The carry from each half adder is applied to gate 5 to produce the carry-out for the circuit.

Full adder and Truth Table

Full adder and Truth Table.


Now let�s add a series of numbers and see how the circuit operates.

First, let�s add 1 and 0. When either A or B is HIGH, gate 1 has an output. This output is applied to gates 3 and 4. Since the carry-in is 0, only gate 3 will produce an output. The sum of 1 2 and 0 is 1 2.

Now let�s add 1 2 and 1 2. If A and B are both HIGH, the output of gate 1 is LOW. When the carry-in is 0 (LOW), the output of gate 3 is LOW. Gate 2 produces an output that is applied to gate 5, which produces the carry-out. The sum of 1 2 and 1 2 is 10 2, just as it was for the half adder.

When A and B are both LOW and the carry-in is 1, only gate 3 has an output and produces a sum of 1 2 with no carry-out.

Now, let�s add A or B and a carry-in. For example, let�s assume that A is HIGH and B is LOW. With these conditions, gate 1 will have an output. This output and the carry-in applied to gates 3 and 4 will produce a sum out of 0 and a carry of 1. This carry from gate 4 will cause gate 5 to produce a carry-out. The sum of A and a carry (1 2 plus 1 2) is 10 2.

When A, B, and the carry-in are all HIGH, a sum of 1 and a carry-out are produced. First, consider A and B. When both are HIGH, the output of gate 1 is LOW, and the output of gate 2 is HIGH, giving us a carry-out at gate 5. The carry-in produces a 1 output at gate 3, giving us a sum of 1. The output of the full adder is 1 1 2. The sum of 1 2 plus 1 2 plus 1 2 is 1 1 2.

(back) (top) (next) (return to special logic circuits page)





Follow us on Twitter!





Like what you have seen so far? Help keep this site fresh! Donations are welcome.




Subscribe to this site!


Enter your E-mail Address
Enter your First Name (optional)
Then

Don't worry -- your e-mail address is totally secure.
I promise to use it only to send you Learn-about-electronics.


SiteSearch Google


Custom Search


Translate your page

If English is not your first language you can Translate the text on this page to any one of the languages found in the drop down menu. Select your language from the list for an instant translation.



Find it on Amazon





You are the

joomla analytics
unique visitor to this site.