NAND logic

NAND logic

NAND gates are one of the two basic logic gates (the other being NOR logic) from which any other logic gates can be built. Due to this property, NAND and NOR gates are sometimes called "universal gates". However, modern integrated circuits are not constructed exclusively from a single type of gate. Instead, EDA tools are used to convert the description of a logical circuit to a netlist of complex gates (standard cells) or transistors (full custom approach).

Contents

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 Gate NAND Construction
NOT ANSI Labelled.svg NOT from NAND.svg
Truth Table
Input A Output Q
0 1
1 0

AND

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

Desired Gate NAND Construction
AND ANSI Labelled.svg AND from NAND.svg
Truth Table
Input A Input B Output Q
0 0 0
0 1 0
1 0 0
1 1 1

OR

If the truth table for a NAND gate is examined or by applying De Morgan's Laws, 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 Gate NAND Construction
OR ANSI Labelled.svg OR from NAND.svg
Truth Table
Input A Input B Output Q
0 0 0
0 1 1
1 0 1
1 1 1

NOR

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

Desired Gate NAND Construction
NOR ANSI Labelled.svg NOR from NAND.svg
Truth Table
Input A Input B Output Q
0 0 1
0 1 0
1 0 0
1 1 0

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 NAND (A NAND B)) NAND (B NAND (A NAND B))".

Desired Gate NAND Construction
XOR ANSI Labelled.svg XOR from NAND.svg
Truth Table
Input A Input B Output Q
0 0 0
0 1 1
1 0 1
1 1 0

XNOR

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

Desired Gate NAND Construction
XNOR ANSI Labelled.svg XNOR from NAND.svg
Truth Table
Input A Input B Output Q
0 0 1
0 1 0
1 0 0
1 1 1

External links

See also

  • NOR logic. Like NAND gates, NOR gates are also universal gates.

Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Nand-flash — bezeichnet einen Typ von Flash Speicher, der in der sogenannten „NAND Technologie“ gefertigt ist. Der Ausdruck „NAND Technologie“ bezieht sich dabei auf die serielle Anordnung der einzelnen Speicherzellen: Diese bestehen aus speziellen MOS FETs,… …   Deutsch Wikipedia

  • NAND-Flash — bezeichnet einen Typ von Flash Speicher, der in der sogenannten NAND Technik gefertigt ist. Der Ausdruck „NAND Technik“ bezieht sich dabei auf die serielle Anordnung der einzelnen Speicherzellen: Diese bestehen aus speziellen MOS FETs, die wie… …   Deutsch Wikipedia

  • Nand — may stand for: Nand (raga), an Indian classical raga. Logical NAND ( Not AND ), a binary operation in logic. NAND gate, an electronic gate that implements a logical NAND. NAND, Solid State Drive use to retain data integrity when a system loses… …   Wikipedia

  • NAND — ˈnand, ˈnaa(ə)nd noun Etymology: not ANDutch (herein) : a computer logic circuit that produces an output which is the inverse of that of an AND circuit …   Useful english dictionary

  • Logic gate — A logic gate is an idealized or physical device implementing a Boolean function, that is, it performs a logical operation on one or more logic inputs and produces a single logic output. Depending on the context, the term may refer to an ideal… …   Wikipedia

  • Logic family — In computer engineering, a logic family may refer to one of two related concepts. A logic family of monolithic digital integrated circuit devices is a group of electronic logic gates constructed using one of several different designs, usually… …   Wikipedia

  • NAND-Gatter — Gatter Typen   NOT AND NAND OR NOR XOR XNOR Ein NAND Gatter (von …   Deutsch Wikipedia

  • Logic alphabet — The logic alphabet was developed by Dr. Shea Zellweger in the 1950s while working as a switchboard operator. It constitutes an iconic set of symbols systematically representing the sixteen possible binary truth functions. Dr. Zellweger, now… …   Wikipedia

  • NAND circuit — noun a logic gate that produces an output that is the inverse of the output of an AND gate • Syn: ↑NAND gate • Hypernyms: ↑gate, ↑logic gate * * * /nand/ Computers. a circuit that is energized when any one of its inputs is not energized. Also… …   Useful english dictionary

  • logic gate — noun a computer circuit with several inputs but only one output that can be activated by particular combinations of inputs • Syn: ↑gate • Hypernyms: ↑computer circuit • Hyponyms: ↑and circuit, ↑and gate, ↑NAND circuit, ↑ …   Useful english dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”