Jump to content

User:Huntscorpio/SandBox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
 
Line 77: Line 77:
== Test ==
== Test ==
{| class="wikitable"
{| class="wikitable"
! Type !! Distinctive shape !! Rectangular shape !! Boolean algebra between A & B !! Truth table
! Type !! Distinctive shape !! Boolean algebra between A & B !! Truth table
|-
|-
| '''[[AND gate|AND]]'''
| '''[[AND gate|AND]]'''
| [[Image:AND ANSI.svg|128px|AND symbol]]
| [[Image:AND ANSI.svg|128px|AND symbol]]
| [[Image:AND IEC.svg|128px|AND symbol]]
| <math>A \cdot B</math>
| <math>A \cdot B</math>
|
|
Line 101: Line 100:
| '''[[OR gate|OR]]'''
| '''[[OR gate|OR]]'''
| [[Image:OR ANSI.svg|128px|OR symbol]]
| [[Image:OR ANSI.svg|128px|OR symbol]]
| [[Image:OR IEC.svg|128px|OR symbol]]
| <math>A+B</math>
| <math>A+B</math>
|
|
Line 121: Line 119:
| '''[[NOT gate|NOT]]'''
| '''[[NOT gate|NOT]]'''
| [[Image:NOT ANSI.svg|128px|NOT symbol]]
| [[Image:NOT ANSI.svg|128px|NOT symbol]]
| [[Image:NOT IEC.svg|128px|NOT symbol]]
| <math>\overline{A}</math>
| <math>\overline{A}</math>
|
|
Line 135: Line 132:
|}
|}
|-
|-
| colspan="5" |In electronics a NOT gate is more commonly called an inverter. The circle on the symbol is called a ''bubble'', and is generally used in circuit diagrams to indicate an inverted (active-low) input or output.<ref>{{cite book | title = The Art of Electronics | author = Winfield Hill and Paul Horowitz | publisher = Cambridge University Press | year = 1989 | isbn = 0521377099 | url = http://books.google.com/books?id=Ksa2pWfNnvkC&pg=PA322&dq=bubble+active-low&ei=9u75RqWsKoSepgKhzJi-CQ&sig=kXvQtTNPt3BRWu3DMtwLgOF-p6s }}</ref><ref>[http://www.williamson-labs.com/480_logic.htm another site that describes the logic gate ''bubble'']</ref>
|-
|-
| '''[[Sheffer stroke#NAND gate|NAND]]'''
| '''[[Sheffer stroke#NAND gate|NAND]]'''
| [[Image:NAND ANSI.svg|128px|NAND symbol]]
| [[Image:NAND ANSI.svg|128px|NAND symbol]]
| [[Image:NAND IEC.svg|128px|NAND symbol]]
| <math>\overline{A \cdot B}</math>
| <math>\overline{A \cdot B}</math>
|
|
Line 159: Line 154:
| '''[[NOR gate|NOR]]'''
| '''[[NOR gate|NOR]]'''
| [[Image:NOR ANSI.svg|128px|NOR symbol]]
| [[Image:NOR ANSI.svg|128px|NOR symbol]]
| [[Image:NOR IEC.svg|128px|NOR symbol]]
| <math>\overline{A + B}</math>
| <math>\overline{A + B}</math>
|
|
Line 177: Line 171:
|}
|}
|-
|-
| colspan="5" |In practice, the cheapest gate to manufacture is usually the NAND gate. Additionally, [[Charles Peirce]] showed that NAND gates alone (as well as NOR gates alone) can be used to reproduce the functions of all the other logic gates.

[[Image:7400.jpg|thumb|180px|The 7400 chip, containing four NANDs. The two additional pins supply power (+5 V) and connect the ground.]]

Two more gates are the exclusive-OR or XOR function and its inverse, exclusive-NOR or XNOR. The two input Exclusive-OR is true only when the two input values are ''different'', false if they are equal, regardless of the value. If there are more than two inputs, the gate generates a true at its output if the number of trues at its input is ''odd'' ([http://www-inst.eecs.berkeley.edu/~cs61c/resources/dg-BOOL-handout.pdf]). In practice, these gates are built from combinations of simpler logic gates.
|-
|-
| '''[[XOR gate|XOR]]'''
| '''[[XOR gate|XOR]]'''
| [[Image:XOR ANSI.svg|128px|XOR symbol]]
| [[Image:XOR ANSI.svg|128px|XOR symbol]]
| [[Image:XOR IEC.svg|128px|XOR symbol]]
| <math>A \oplus B</math>
| <math>A \oplus B</math>
|
|
Line 205: Line 193:
| '''[[XNOR gate|XNOR]]'''
| '''[[XNOR gate|XNOR]]'''
| [[Image:XNOR ANSI.svg|128px|XNOR symbol]]
| [[Image:XNOR ANSI.svg|128px|XNOR symbol]]
| [[Image:XNOR IEC.svg|128px|XNOR symbol]]
| <math>\overline{A \oplus B}</math>
| <math>\overline{A \oplus B}</math>
|
|

Latest revision as of 02:06, 29 October 2008

Caution!: This article is considered Hazardous for normal viewing. The page contains unsorted materials for future edits and junk yard stuff.

Quick Reference Stuff

[edit]

{{db-userreq}} - Delete User Subpage

mdash → —

rarr

larr

<hr>


2 apostrophes will italicize the text

3 apostrophes will embolden the text

5 apostrophes will embolden and italicize the text


You should "sign" your comments on talk pages:
- Three tildes give your user name: Huntscorpio
- Four tildes give your user name plus date/time: Huntscorpio 14:03, 26 February 2007 (UTC)
- Five tildes give the date/time alone: 14:03, 26 February 2007 (UTC)
- This {{user2|Huntscorpio}} gives Huntscorpio (talk · contribs · count)


Lists:

[edit]

Unordered

[edit]

*
**
***
*:

Ordered

[edit]

#
##
New line marks the end of list

[edit]



Test

[edit]
Type Distinctive shape Boolean algebra between A & B Truth table
AND AND symbol
INPUT OUTPUT
A B A AND B
0 0 0
0 1 0
1 0 0
1 1 1
OR OR symbol
INPUT OUTPUT
A B A OR B
0 0 0
0 1 1
1 0 1
1 1 1
NOT NOT symbol
INPUT OUTPUT
A NOT A
0 1
1 0
NAND NAND symbol
INPUT OUTPUT
A B A NAND B
0 0 1
0 1 1
1 0 1
1 1 0
NOR NOR symbol
INPUT OUTPUT
A B A NOR B
0 0 1
0 1 0
1 0 0
1 1 0
XOR XOR symbol
INPUT OUTPUT
A B A XOR B
0 0 0
0 1 1
1 0 1
1 1 0
XNOR XNOR symbol
INPUT OUTPUT
A B A XNOR B
0 0 1
0 1 0
1 0 0
1 1 1