NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
Home / News / Science / How to

How to


How Logic Gates Work

Simple Boolean operations

By Gabriel Gache, Science News Editor

10th of June 2008, 13:03 GMT

Adjust text size:


Binary number system
Enlarge picture
As we all know the microprocessor is the 'brain' of the modern digital computer, but have you ever wondered how a piece of silicon manages to process information so accurately and at such a high speed rate? The answer lies behind the basic building blocks of the processor, the logic gates, and a special type of information processing technique invented in the middle of the 1800s by George Boole, called Boolean logic.

Basically, Boolean logic operates only in the binary system by following a couple of simple rules. There are about seven simple logic gates that need to be studies in order to understand the full picture of how Boolean logic and computer microprocessors work by combining logical gates in a single electronic circuit that may contain several million transistors.

We'll start with the simplest of all - the NOT gate, or the logical inverter (see bottom image, lower left corner). The NOT gate has one entrance and one exit and has the role of inverting logic bits. This basically means that when a '1' logic bit is applied on the 'a' terminal for example, the 'c' terminal must produce a '0' logic bit. The situation is reversed when '0' logic is applied on the 'a' terminal by forcing the 'c' terminal to output a '1' logic bit. Inversion is one of the basic operations in Boolean logic.

Another logic gate of critical importance is the AND gate (upper left corner), which practically designates an operation similar to multiplying. As you can see, the AND gate has two input terminals (a,b) and an output terminal (c). In fact the number of input terminals is unlimited. Boolean logic puts it very simple. If one of the input values is '0' logic, then the value of the other bits is irrelevant and the output will always produce a '0' logic. A '1' logic bit is present at the output terminal, only when all input bits are equal to '1' logic.

Logic gate symbols
Enlarge picture
The OR gate, operates according to the logic that if one of the input terminals bears a '1' logic bit, then the 'c' terminal will always produce a '1'. The situation reverses when all of the input bits are '0' logic. The NAND (NOT AND) and NOR (NOT OR) gates can be imagined as an AND respectively an OR gate to whose output terminals a NOT gate (see image for symbols) is connected. Their logic is basically identical to that of AND and OR gates, but the output value is always reversed.

The last two significant logic gates are the XOR and XNOR gates, both of which can be constructed by using the basic logic gates (similar to the case of NAND and OR gates). XOR outputs a '1' logic only when a single input value equals '1' logic. In other cases the output produces a '0' bit. XNOR gates produce XOR reverse values.

By combining logic gates in logic ways a whole range of electronic devices can be constructed, starting with flip-flops, simple memories, counters, Random Access Memories all the way up to highly complex logical circuitry such as computer processors. You would be amazed at how simple some of these devices are.

TAGS:

logic gates | Boolean logic | memory | counters | processor


Rating:
Poor (1.0/5) 3 vote(s) so far    

Read by 765 user(s) | Add comment | Link to this article
Subscribe to news | Print article | Send to friend

© Copyright 2001-2008 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Mass Extinctions Blamed on the Sun's Path Through the Galaxy

Intelligent Alien Races Could Communicate Through Neutrino Beams

How Flash Memory Works

Physicists Claim Evidence of Universe Before Big Bang

A Bigger Brain Doesn't Always Make You Smarter

User opinions:

No user comments yet.
Be the first to express your opinion using the form below!

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 






SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM