Wikia

BMET Wiki

Logic Gates

Talk0
1,607pages on
this wiki
Logic gate
Logic gates
BiomedGuyAdded by BiomedGuy

Contents

AboutEdit

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits. Logic gates are primarily implemented electronically using diodes or transistors, but can also be constructed using electromagnetic relays, fluidics, optics, molecules, or even mechanical elements.

In electronic logic, a logic level is represented by a voltage or current, (which depends on the type of electronic logic in use). Each logic gate requires power so that it can source and sink currents to achieve the correct output voltage. In logic circuit diagrams the power is not shown, but in a full electronic schematic, power connections are required.

Symbols Edit

There are two sets of symbols in common use, both now defined by American National Standards Institute (ANSI)/Institute of Electrical and Electronics Engineers (IEEE) Std 91-1984 and its supplement ANSI/IEEE Std 91a-1991. The "distinctive shape" set, based on traditional schematics, is used for simple drawings and is quicker to draw by hand. It is sometimes unofficially described as "military", reflecting its origin if not its modern usage. The "rectangular shape" set, based on [[International Electrotechnical Commission (IEC) 60617-12, has rectangular outlines for all types of gate, and allows representation of a much wider range of devices than is possible with the traditional symbols. The IEC's system has been adopted by other standards, such as European Committee for Standardization 60617-12:1999 in Europe and British Standard EN 60617-12:1999 in the United Kingdom.

The goal of IEEE Std 91-1984 was to provide a uniform method of describing the complex logic functions of digital circuits with schematic symbols. These functions were more complex than simple AND and OR gates. They could be medium scale circuits such as a 4-bit counter to a large scale circuits such as a microprocessor. The 1984 version did not include the "distinctive shape" symbols. These were added to the 1991 supplement with this note: "The distinctive-shape symbol is, according to IEC Publication 617, Part 12, not preferred, but is not considered to be in contradiction to that standard."

In the 1980s, schematics were the predominant method to design both circuit boards and custom ICs known as gate arrays. Today custom ICs and the field-programmable gate array are typically designed with Hardware description language|Hardware Description Language (HDL) such as Verilog or VHDL. The need for complex logic symbols has diminished and distinctive shape symbols are still the predominate style.

Type Distinctive shape Boolean algebra between A & B Truth table
AND
100px-AND ANSI.svg
AND Symbol
BiomedGuyAdded by BiomedGuy
A \cdot B
INPUT OUTPUT
A B A AND B
0 0 0
0 1 0
1 0 0
1 1 1
OR
100px-OR ANSI.svg
OR Symbol
BiomedGuyAdded by BiomedGuy
A+B
INPUT OUTPUT
A B A OR B
0 0 0
0 1 1
1 0 1
1 1 1
NOT
100px-NOT ANSI.svg
NOT Symbol
BiomedGuyAdded by BiomedGuy
\overline{A}
INPUT OUTPUT
A NOT A
0 1
1 0
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.[1]
NAND
100px-NAND ANSI.svg
NAND Symbol
BiomedGuyAdded by BiomedGuy
\overline{A \cdot B}
INPUT OUTPUT
A B A NAND B
0 0 1
0 1 1
1 0 1
1 1 0
NOR
100px-NOR ANSI.svg
NOR Symbol
BiomedGuyAdded by BiomedGuy
\overline{A + B}
INPUT OUTPUT
A B A NOR B
0 0 1
0 1 0
1 0 0
1 1 0
XOR
100px-XOR ANSI.svg
XOR Symbol
BiomedGuyAdded by BiomedGuy
A \oplus B
INPUT OUTPUT
A B A XOR B
0 0 0
0 1 1
1 0 1
1 1 0
XNOR
100px-XNOR ANSI.svg
XNOR Symbol
BiomedGuyAdded by BiomedGuy
\overline{A \oplus B}
INPUT OUTPUT
A B A XNOR B
0 0 1
0 1 0
1 0 0
1 1 1

In practice, the cheapest gate to manufacture is usually the NAND gate. Additionally, Charles Sanders Peirce (1880) showed that NAND gates alone (as well as NOR gates alone) can be used to reproduce the functions of all the other logic gates, but his work on it was unpublished until 1935. The first published proof was by Henry M. Sheffer in 1913.

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. In practice, these gates are built from combination's of simpler logic gates.

ReferencesEdit

  1. Winfield Hill and Paul Horowitz. The Art of Electronics. Cambridge University Press. 1989. isbn = 0521377099. [1]

LinksEdit

Advertisement | Your ad here

Photos

Add a Photo
1,166photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki