answersLogoWhite

0


Best Answer

"What is the role of logic gate in computer hardware?"

Think of a computer as a box with a number of electrical signals coming in to it and a number going out of it. Immediately inside the box, associated with those signal wires, is some specialized circuitry whose purpose is (generally) to translate between the idiosyncratic electrical characteristics of the outside world signaling and the consistent internal representation of those signals as Boolean expressions. Everything else inside - everything - is built out of logic gates. So they are pretty fundamental. They are used in several roles:

- as memory cells, e.g. in RAM or ROM

- controling information flow, e.g. the PCI or DDR3 bus control circuitry

- as elements of the computing engine itself

--- The Arithmetic Logic Unit (ALU)

--- The Working Register Array

--- the Instruction Decode and Execution Unit

--- the Memory Management Unit (MMU)

Waaay back, in the 50's if not the 40's or earlier, when a lot of the basic work on mechanising Boolean Algebra was done, a very smart guy had a startling revelation: every Boolean computational circuit you would ever want to build could be constructed using only 2 input NAND gates. This lemma is known (in CS) as the Schmidt Orthogonality Principle. To make a practical computing device, the only other element you need is a means of harnessing time to provide sequential stepping controls. This takes some specialized circuitry, but also is a very tiny component of the over-all system - the System Clock.

As to the specifics of NAND gates - and NOR gates, and so on, they obey very simple rules:

For f(A,B) = ~(A & B),

f(0,0) = 1

f(0,1) = 1

f(1,0) = 1

f(1,1) = 0

For f(A,B) = ~(A + B),

f(0,0) = 1

f(0,1) = 0

f(1,0) = 0

f(1,1) = 0

In English,

- the NAND output is TRUE iff any of its inputs are FALSE

- the NOR output is FALSE iff any of its inputs are TRUE

(NB: the term 'iff' means 'if and only if' - it is not a typo)

As an exercise for the reader, given the Schmidt Orthogonality Principle, how would you build a 2 input NOR gate functionality using only 2 input NAND gates? XOR? Full Adder?

All other functional blocks are built out of these primitives. Millions of them, in today's computers. A NAND gate can be implemented with 1 transistor having 2 (or more) emitters for the inputs, and 1 more transistor for the inverting output. Real circuits have a few more components, but those are for dealing with the realities that the circuits have to obey essentially analog physics yet behave as though they are digitial.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the role of logic ates in compute hardware Differentiate between NAND gate and NOR gate also draw truth tables for each?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you compute probabilities of a standard normal random variable?

You need to determine the area under the curve between the values in question. This is easy to do because there are tables that give the area values.


What types of router tables does Rockler Woodworking and Hardware produce?

The company Rockler Woodworking and Hardware produces cast iron router tables. It also produces router tables surfaced with laminate and others that are constructed using resin.


Do you need a hardware to run a labtops?

Lab tops are just tables so no. Laptops do need some form of hardware to run. A laptop is hardware.


How do most periodic tables differentiate between metals and nonmetals?

Metals are present at the extreme left side while non-metals are located at the extreme right side of the periodic table.


How do I restore outdoor mosaic tables?

You can restore outdoor mosaic tables by using a special cleaning solution. You can get it at most hardware stores.


Who designed the Analytical What was the Analytical Engine designed to do?

Charles Babbage. It was designed as a general purpose programmable computer, mostly to be used to compute tables for navigation and mathematics.


Are numbers easy to compute mentally?

No, but if you practice you can learn to do it and it gets easier. Start of by learning (by rote) your times tables and when adding up do so in 10s.


Where can one buy folding banquet tables?

Folding banquet tables or any fold tables can usually be found at major hardware supplies stores. For the more elaborate models, specialty shops which can offer customizable options can be found.


Where can I buy a cheap deck table in Salt Lake City?

Deck tables can be found at local hardware stores such as Lowes and Home Depot. For quality deck tables, visit Christy Sports.


Where can one find more information about marble tables?

Marble is a beautiful and vulnerable stone that is widely used and popular on tables and other household surfaces. Information about marble tables can be found at your local Home Depot, Lowe's, or furniture and hardware stores in your area.


What is the difference between sofa tables and coffee tables?

Sofa tables are usually smaller and made of plastic while coffee tables are usually wood. Coffee tables are better quality and are supposed to be eaten on.


The ENIAC computer was used for what purpose?

ElectronicNumericalIntegratorAndComputer [ ENIAC ], the first operational electronic digital computer was used to compute artillery firing tables for the U.S. Army's Ballistic Research Laboratory.