Simple Machines

| No Comments | No TrackBacks

Usually the term refers to the six classical simple machines which were defined by Renaissance scientists:[4]

They are the elementary "building blocks" of which all complicated machines are composed.[3][5]For example, wheels, levers, and pulleys are all used in the mechanism of a bicycle.

In themselves, three are composites of the other three.  The basic machines are the inclined plane, the lever, and the wheel.  The composite machines are the pulley (wheel & lever), the wedge (lever and plane), and screw (wheel and plane).

That said, in computers, the same basic breakdown happens (at least on the human level).  We have the building blocks of logic: AND (true if both are true), NOT (true if false), and OR (true if one is true), and the composite logical elements: XOR (true if one or the other, but not both, are true) and XNOR (true if one or the other, but not both, are false), however, it turns out that on the chip level, what would seem to be the final 'composites' NAND (true if "both are true" is false) *or* NOR (true if "either are true" is false) are the *actual* building blocks of logic chips.

Here's logic building with 'NAND':

NAND

This is a NAND gate; trivially, just a NAND gate is used to realise it:

Desired GateNAND Construction
Image:NAND ANSI Labelled.svgImage:NAND ANSI.svg
Truth Table
Input AInput BOutput Q
001
011
101
110

[edit]NOT

A NOT gate is made by joining the inputs of a NAND gate. Since a NAND gate is equivalent to an AND gate followed by a NOT gate, joining the inputs of a NAND gate leaves only the NOT part.

Desired GateNAND Construction
Image:NOT ANSI Labelled.svgImage:NOT from NAND.svg
Truth Table
Input AOutput Q
01
10

[edit]AND

An AND gate is made by following a NAND gate by a NOT gate as shown below. This gives a NOT NAND, i.e. AND.

Desired GateNAND Construction
Image:AND ANSI Labelled.svgImage:AND from NAND.svg
Truth Table
Input AInput BOutput Q
000
010
100
111

[edit]OR

If the truth table for a NAND gate is examined, it can be seen that if any of the inputs are 0, then the output will be 1. However to be an OR gate, if any input is 1, the output must also be 1. Therefore, if the inputs are inverted, any high input will trigger a high output.

Desired GateNAND Construction
Image:OR ANSI Labelled.svgImage:OR from NAND.svg
Truth Table
Input AInput BOutput Q
000
011
101
111

[edit]NOR

A NOR gate is simply an OR gate with an inverted output:

Desired GateNAND Construction
Image:NOR ANSI Labelled.svgImage:NOR from NAND.svg
Truth Table
Input AInput BOutput Q
001
010
100
110

[edit]XOR

An XOR gate is constructed similarly to an OR gate, except with an additional NAND gate inserted such that if both inputs are high, the inputs to the final NAND gate will also be high, and the output will be low. This effectively represents the formula (A OR B) AND (A NAND B).

Desired GateNAND Construction
Image:XOR ANSI Labelled.svgImage:XOR from NAND.svg
Truth Table
Input AInput BOutput Q
000
011
101
110

[edit]XNOR

An XNOR gate is simply an XOR gate with an inverted output:

Desired GateNAND Construction
Image:XNOR ANSI Labelled.svgImage:XNOR from NAND.svg
Truth Table
Input AInput BOutput Q
001
010
100
111


No TrackBacks

TrackBack URL: http://blog.writch.com/mt/mt-tb.cgi/836

Leave a comment

hometop

GreenStream

About this Entry

This page contains a single entry by writch published on April 19, 2009 8:34 AM.

Hmmm.... was the previous entry in this blog.

Hideout of the Assassins is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Mentionables ...

It's been days since Israel broke the truce and started murdering Palestinians again.

Pres. Barack Obama
(202) 456-1111

Sen. Dianne Feinstein
(415) 393-0707

Sen. Barbara Boxer
(415) 403-0100

Mike Thompson
962-0933

S. Sen. Patricia Wiggins
(916) 651-4002

Assm. Wesley Chesbro
463-5770

Categories

Visitor Map

Creative Commons License
This blog is licensed under a Creative Commons License.
Powered by Movable Type 4.21-en