Académique Documents
Professionnel Documents
Culture Documents
NOT A
NMOS inverter
PMOS inverter
This schematic diagram shows the arrangement of NOT gates within a standard 4049 CMOS hex inverting buffer.
The inverter is a basic building block in digital electronics. Multiplexers, decoders, state machines, and other sophisticated digital
devices may use inverters.
The hex inverter is an integrated circuit that contains six (hexa-) inverters. For example, the 7404 TTL chip which has 14 pins and the
4049 CMOSchip which has 16 pins, 2 of which are used for power/referencing, and 12 of which are used by the inputs and outputs of
the six inverters (the 4049 has 2 pins with no connection).
Alternatives[edit]
If no specific NOT gates are available, one can be made from NAND or NOR gates, because NAND and NOR gates are considered the
[1]
"universal gates", meaning that they can be used to make all the others.
NAND construction
NOR construction
Performance measurement[edit]
Voltage transfer curve for a 20 m inverter constructed at North Carolina State University
Digital inverter quality is often measured using the voltage transfer curve (VTC), which is a plot of output vs. input voltage. From such a
graph, device parameters including noise tolerance, gain, and operating logic levels can be obtained.
Ideally, the VTC appears as an inverted step function this would indicate precise switching between on and off but in real devices, a
gradual transition region exists. The VTC indicates that for low input voltage, the circuit outputs high voltage; for high input, the output
tapers off towards the low level. The slope of this transition region is a measure of quality steep (close to infinity) slopes yield precise
switching.
The tolerance to noise can be measured by comparing the minimum input to the maximum output for each region of operation (on / off).
The OR gate is a digital logic gate that implements logical disjunction - it behaves according to the truth table to the right. A HIGH
output (1) results if one or both the inputs to the gate are HIGH (1). If neither input is high, a LOW output (0) results. In another sense,
the function of OR effectively finds the maximumbetween two binary digits, just as the complementary AND function finds
[1]
the minimum.
Symbols[edit]
There are two symbols for OR gates: the American (ANSI or 'military') symbol and the IEC ('European' or 'rectangular') symbol, as well
[2][3]
as the deprecated DIN symbol.
For more information see Logic Gate Symbols.
MIL/ANSI Symbol
IEC Symbol
DIN Symbol
This schematic diagram shows the arrangement of OR gates within a standard 4071 CMOS integrated circuit.
Hardware description and pinout[edit]
OR Gates are basic logic gates, and as such they are available in TTL and CMOS ICs logic families. The standard 4000
series CMOSIC is the 4071, which includes four independent two-input OR gates. The traditional TTL version is the 7432. There are
many offshoots of the original 7432 OR gate. All have the same pinout but different internal architecture, allowing them to operate in
different voltage ranges and/or at higher speeds. In addition to the standard 2-Input OR Gate, 3- and 4-Input OR Gates are also
available. In the CMOS series, these are:
4075: Triple 3-Input OR Gate
4072: Dual 4-Input OR Gate
TTL variations include:
74LS32: Quad 2-input OR gate (Low power Schottky version)
74HC32: Quad 2-input OR gate (High Speed CMOS version) - has lower current consumption/wider Voltage range
74LVC32: Low voltage CMOS version of the same.
Implementations[edit]
NMOS OR gate
CMOS OR gate
OR gate usingtransistors
Alternatives[edit]
If no specific OR gates are available, one can be made from NAND or NOR gates in the configuration shown in the image below. Any
logic gate can be made from a combination of NAND or NOR gates.
NAND Construction
NOR construction
Wired-OR[edit]
DIN Symbol
The AND gate with inputs A and B and output C implements the logical expression
Implementations[edit]
The NOR gate is a digital logic gate that implements logical NOR - it behaves according to the truth table to the right. A HIGH output (1)
results if both the inputs to the gate are LOW (0); if one or both input is HIGH (1), a LOW output (0) results. NOR is the result of
the negation of the OR operator. It can also be seen as an AND gate with all the inputs inverted. NOR is a functionally
complete operationNOR gates can be combined to generate any other logical function. By contrast, the OR operator is monotonic as
it can only change LOW to HIGH but not vice versa.
In most, but not all, circuit implementations, the negation comes for freeincluding CMOS and TTL. In such logic families, OR is the
more complicated operation; it may use a NOR followed by a NOT. A significant exception is some forms of the domino logic family.
The original Apollo Guidance Computer used 4,100 ICs, each one containing only a single 3-input NOR gate.
Symbols[edit]
There are three symbols for NOR gates: the American (ANSI or 'military') symbol and the IEC ('European' or 'rectangular') symbol, as
well as the deprecated DIN symbol. For more information see Logic Gate Symbols.
MIL/ANSI Symbol
IEC Symbol
DIN Symbol
In digital electronics, a NAND gate (Negated AND or NOT AND) is a logic gate which produces an output that is false only if all its
inputs are true; thus its output is complement to that of the AND gate. A LOW (0) output results only if both the inputs to the gate are
HIGH (1); if one or both inputs are LOW (0), a HIGH (1) output results. It is made using transistors.
The NAND gate is significant because any boolean function can be implemented by using a combination of NAND gates. This property
is called functional completeness.
Digital systems employing certain logic circuits take advantage of NAND's functional completeness.
The function NAND(a1, a2, ..., an) is logically equivalent to NOT(a1 AND a2 AND ... AND an).
Symbols[edit]
There are three symbols for NAND gates: the MIL/ANSI symbol, the IEC symbol and the deprecated DIN symbol sometimes found on
old schematics. For more information see logic gate symbols.
MIL/ANSI Symbol
IEC Symbol
DIN Symbol
Hardware description and pinout[edit]
NAND gates are basic logic gates, and as such they are recognised in TTL and CMOS ICs.
This schematic diagram shows the arrangement of NAND gates within a standard 4011 CMOS integrated circuit.
CMOS version[edit]
The standard, 4000 series, CMOS IC is the 4011, which includes four independent, two-input, NAND gates.
Availability[edit]
These devices are available from most semiconductor manufacturers such as Fairchild Semiconductor, Philips or Texas Instruments.
These are usually available in both through-hole DIL and SOIC format. Datasheets are readily available in most datasheet databases.
The standard 2-, 3-, 4- and 8-input NAND gates are available:
CMOS
4011: Quad 2-input NAND gate
4023: Triple 3-input NAND gate
4012: Dual 4-input NAND gate
4068: Mono 8-input NAND gate
TTL
7400: Quad 2-input NAND gate
7410: Triple 3-input NAND gate
7420: Dual 4-input NAND gate
NMOS NAND
gate
CMOS NAND
gate
Alternatives[edit]
If no specific NAND gates are available, one can be made from NOR gates, because NAND and NOR gates are considered the
[1]
"universal gates", meaning that they can be used to make all the others.
NOR construction
The XOR gate (sometimes EOR gate, or EXOR gate and pronounced as Exclusive OR gate) is a digital logic gate that implements
an exclusive or; that is, a true output (1/HIGH) results if one, and only one, of the inputs to the gate is true. If both inputs are false
(0/LOW) or both are true, a false output results. XOR represents the inequality function, i.e., the output is true if the inputs are not alike
otherwise the output is false. A way to remember XOR is "one or the other but not both".
XOR can also be viewed as addition modulo 2. As a result, XOR gates are used to implement binary addition in computers. A Half
[1]
adder consists of an XOR gate and an AND gate. Other uses include substractors, comparators, and controlled inverters.
The algebraic expressions
and
(
The behavior of XOR is summarized in the truth table shown on the right.
C-like languages use the caret symbol ^ to denote bitwise XOR. (Note that the caret does not denote logical conjunction (AND) in these
languages, despite the similarity of symbol.)
Alternatives[edit]
If a specific type of gate is not available, a circuit that implements the same function can be constructed from other available gates. A
circuit implementing an XOR function can be trivially constructed from an XNOR gate followed by a NOT gate. If we consider the
expression
, we can construct an XOR gate circuit directly using AND, OR and NOT gates. However, this
approach requires five gates of three different kinds.
An XOR gate circuit can be made from four NAND or five NOR gates in the configurations shown below . In fact, both NAND and NOR
gates are so-called "universal gates," and any logical function can be constructed from either NAND logic or NOR logic alone.
As an alternative, if different gates are available we can apply Boolean algebra to transform
(
) as stated above, and apply de Morgan's Law to the last term to get
implemented using only three gates as shown below.
which can be
Correlators are used in many communications devices such as CDMA receivers and decoders for error correction and channel codes.
In a CDMA receiver, correlators are used to extract the polarity of a specific PRN sequence out of a combined collection of PRN
sequences.
A correlator looking for 11010 in the data sequence 1110100101 would compare the incoming data bits against the target sequence at
every possible offset while counting the number of matches (zeros):
1110100101 (data)
11010
(target)
00111
(XOR) 2 zero bits
1110100101
11010
00000
5 zero bits
1110100101
11010
01110
2 zero bits
1110100101
11010
10011
2 zero bits
1110100101
11010
01000 4 zero bits
1110100101
11010
11111 0 zero bits
Matches by offset:
.
:
:
: : : : :
----------0 1 2 3 4 5
In this example, the best match occurs when the target sequence is offset by 1 bit and all five bits match. When offset by 5 bits, the
sequence exactly matches its inverse. By looking at the difference between the number of ones and zeros that come out of the bank of
XOR gates, it is easy to see where the sequence occurs and whether or not it is inverted. Longer sequences are easier to detect than
short sequences.
Transistortransistor logic (TTL) is a class of digital circuits built from bipolar junction transistors (BJT) and resistors. It is
called transistortransistor logic because both the logic gating function (e.g., AND) and the amplifying function are performed by
transistors (contrast with RTL and DTL).
TTL is notable for being a widespread integrated circuit (IC) family used in many applications such as computers, industrial controls,
test equipment and instrumentation, consumer electronics, synthesizers, etc. The designation TTL is sometimes used to mean TTLcompatible logic levels, even when not associated directly with TTL integrated circuits, for example as a label on the inputs and outputs
[1]
of electronic instruments.
After their introduction in integrated circuit form in 1963 by Sylvania, TTL integrated circuits were manufactured by several
semiconductor companies, with the 7400 series by Texas Instruments becoming particularly popular. TTL manufacturers offered a wide
range of logic gate, flip-flops, counters, and other circuits. Several variations from the original bipolar TTL concept were developed,
giving circuits with higher speed or lower power dissipation to allow optimization of a design. TTL circuits simplified design of systems
compared to earlier logic families, offering superior speed to resistortransistor logic(RTL) and easier design layout than emittercoupled logic (ECL). The design of the input and outputs of TTL gates allowed many elements to be interconnected.
TTL became the foundation of computers and other digital electronics. Even after much larger scale integrated circuits made multiplecircuit-board processors obsolete, TTL devices still found extensive use as the "glue" logic interfacing more densely integrated
components. TTL devices were originally made in ceramic and plastic dual-in-line (DIP) packages, and flat-pack form. TTL chips are
now also made in surface-mount packages. Successors to the original bipolar TTL logic often are interchangeable in function with the
original circuits, but with improved speed or lower power dissipation.
History[edit]
TTL inputs are the emitters of a multiple-emitter transistor. This IC structure is functionally equivalent to multiple transistors where the
[11]
bases and collectors are tied together. The output is buffered by a common emitter amplifier.
Inputs both logical ones. When all the inputs are held at high voltage, the baseemitter junctions of the multiple-emitter transistor are
reverse-biased. Unlike DTL, a small collector current (approximately 10A) is drawn by each of the inputs. This is because the
transistor is in reverse-active mode. An approximately constant current flows from the positive rail, through the resistor and into the
[12]
base of the multiple emitter transistor. This current passes through the base-emitter junction of the output transistor, allowing it to
conduct and pulling the output voltage low (logical zero).
An input logical zero. Note that the base-collector junction of the multiple-emitter transistor and the base-emitter junction of the output
transistor are in series between the bottom of the resistor and ground. If one input voltage becomes zero, the corresponding baseemitter junction of the multiple-emitter transistor is in parallel with these two junctions. A phenomenon called current steering means
that when two voltage-stable elements with different threshold voltages are connected in parallel, the current flows through the path
with the smaller threshold voltage. As a result, no current flows through the base of the output transistor, causing it to stop conducting
and the output voltage becomes high (logical one). During the transition the input transistor is briefly in its active region; so it draws a
large current away from the base of the output transistor and thus quickly discharges its base. This is a critical advantage of TTL over
[13]
DTL that speeds up the transition over a diode input structure.
The main disadvantage of TTL with a simple output stage is the relatively high output resistance at output logical "1" that is completely
determined by the output collector resistor. It limits the number of inputs that can be connected (the fanout). Some advantage of the
simple output stage is the high voltage level (up to VCC) of the output logical "1" when the output is not loaded.
A common variation omits the collector resistor of the output transistor, making an open collector output. This allows the designer to
fabricate logic by connecting the open collector outputs of several logic gates together and providing a single external pull-up resistor. If
any of the logic gates becomes logic low (transistor conducting), the combined output will be low. Examples of this type of gate are the
[14]
7401 and 7403 series.
TTL with a "totem-pole" output stage[edit]
Standard TTL NAND with a "totem-pole" output stage, one of four in 7400
To solve the problem with the high output resistance of the simple output stage the second schematic adds to this a "totem-pole"
("pushpull") output. It consists of the two n-p-n transistors V3 and V4, the "lifting" diode V5 and the current-limiting resistor R3 (see the
figure on the right). It is driven by applying the same current steering idea as above.
When V2 is "off", V4 is "off" as well and V3 operates in active region as a voltage follower producing high output voltage (logical "1").
When V2 is "on", it activates V4, driving low voltage (logical "0") to the output. V2 and V4 collectoremitter junctions connect V4 base
emitter junction in parallel to the series-connected V3 baseemitter and V5 anodecathode junctions. V3 base current is deprived; the
transistor turns "off" and it does not impact on the output. In the middle of the transition, the resistor R 3 limits the current flowing directly
through the series connected transistor V3, diode V5 and transistor V4 that are all conducting. It also limits the output current in the case
of output logical "1" and short connection to the ground. The strength of the gate may be increased without proportionally affecting the
[15][16]
power consumption by removing the pull-up and pull-down resistors from the output stage.
The main advantage of TTL with a "totem-pole" output stage is the low output resistance at output logical "1". It is determined by the
upper output transistor V3 operating in active region as a voltage follower. The resistor R 3 does not increase the output resistance since
it is connected in the V3 collector and its influence is compensated by the negative feedback. A disadvantage of the "totem-pole" output
stage is the decreased voltage level (no more than 3.5 V) of the output logical "1" (even, if the output is unloaded). The reason of this
reduction are the voltage drops across the V3 baseemitter and V5 anodecathode junctions.
Interfacing considerations[edit]
Like DTL, TTL is a current-sinking logic since a current must be drawn from inputs to bring them to a logic 0 level. At low input voltage,
the TTL input sources current which must be absorbed by the previous stage. The maximum value of this current is about 1.6 mA for a
[17]
standard TTL gate. The input source has to be low-resistive enough (<500 ) so that the flowing current creates only a negligible
voltage drop (<0.8 V) across it, for the input to be considered as a logical "0". TTL inputs are sometimes simply left floating to provide a
logical "1", though this usage is not recommended.
Standard TTL circuits operate with a 5-volt power supply. A TTL input signal is defined as "low" when between 0 V and 0.8 V with
[18]
respect to the ground terminal, and "high" when between 2.2 V and VCC (5 V) and if a voltage signal ranges between 0.8 V and 2.0 V
were to be sent into the input of a TTL gate, there would be no certain response from the gate and therefore it is considered "uncertain"
(precise logic levels vary slightly between sub-types and by temperature). TTL outputs are typically restricted to narrower limits of
between 0.0 V and 0.4 V for a "low" and between 2.6 V and VCC for a "high", providing at least 0.4 V of noise immunity. Standardization
of the TTL levels was so ubiquitous that complex circuit boards often contained TTL chips made by many different manufacturers
selected for availability and cost, compatibility being assured; two circuit board units off the same assembly line on different successive
days or weeks might have a different mix of brands of chips in the same positions on the board; repair was possible with chips
manufactured years (sometimes over a decade) later than original components. Within usefully broad limits, logic gates could be
treated as ideal Boolean devices without concern for electrical limitations.
In some cases (e.g., when the output of a TTL logic gate needs to be used for driving the input of a CMOS gate), the voltage level of
the "totem-pole" output stage at output logical "1" can be increased up to V CC by connecting an external resistor between the
[19]
V3 collector and the positive rail. It pulls up the V5 cathode and cuts-off the diode. However, this technique actually converts the
sophisticated "totem-pole" output into a simple output stage having significant output resistance when driving a high level (determined
by the external resistor).
Packaging[edit]
Like most integrated circuits of the period 19651990, TTL devices are usually packaged in through-hole, dual in-line packages with
between 14 and 24 lead wires, usually made of epoxy plastic (PDIP) or sometimes of ceramic (CDIP). Beam-lead chip dies without
packages were made for assembly into larger arrays as hybrid integrated circuits. Parts for military and aerospace applications were
packaged in flat packs, a form of surface-mount package, with leads suitable for welding or soldering to printed circuit boards. Today,
many TTL-compatible devices are available in surface-mount packages, which are available in a wider array of types than through-hole
packages.
TTL is particularly well suited to bipolar integrated circuits because additional inputs to a gate merely required additional emitters on a
shared base region of the input transistor. If individually packaged transistors were used, the cost of all the transistors would discourage
one from using such an input structure. But in an integrated circuit, the additional emitters for extra gate inputs add only a small area.
Comparison with other logic families[edit]
Main article: Logic family
TTL devices consume substantially more power than equivalent CMOS devices at rest, but power consumption does not increase with
[20]
clock speed as rapidly as for CMOS devices. Compared to contemporary ECL circuits, TTL uses less power and has easier design
rules but is substantially slower. Designers can combine ECL and TTL devices in the same system to achieve best overall performance
and economy, but level-shifting devices are required between the two logic families. TTL is less sensitive to damage fromelectrostatic
discharge than early CMOS devices.
Due to the output structure of TTL devices, the output impedance is asymmetrical between the high and low state, making them
unsuitable for driving transmission lines. This drawback is usually overcome by buffering the outputs with special line-driver devices
where signals need to be sent through cables. ECL, by virtue of its symmetric low-impedance output structure, does not have this
drawback.
The TTL "totem-pole" output structure often has a momentary overlap when both the upper and lower transistors are conducting,
resulting in a substantial pulse of current drawn from the power supply. These pulses can couple in unexpected ways between multiple
integrated circuit packages, resulting in reduced noise margin and lower performance. TTL systems usually have a decoupling
capacitor for every one or two IC packages, so that a current pulse from one TTL chip does not momentarily reduce the supply voltage
to another.
Several manufacturers now supply CMOS logic equivalents with TTL-compatible input and output levels, usually bearing part numbers
similar to the equivalent TTL component and with the same pinouts. For example, the 74HCT00 series provides many drop-in
replacements for bipolar 7400 series parts, but uses CMOS technology.
Sub-types[edit]
Successive generations of technology produced compatible parts with improved power consumption or switching speed, or both.
Although vendors uniformly marketed these various product lines as TTL with Schottky diodes, some of the underlying circuits, such as
[21]
used in the LS family, could rather be considered DTL.
Variations of and successors to the basic TTL family, which has a typical gate propagation delay of 10ns and a power dissipation of
10 mW per gate, for a powerdelay product(PDP) or switching energy of about 100 pJ, include:
Low-power TTL (L), which traded switching speed (33ns) for a reduction in power consumption (1 mW) (now essentially replaced
by CMOS logic)
High-speed TTL (H), with faster switching than standard TTL (6ns) but significantly higher power dissipation (22 mW)
Schottky TTL (S), introduced in 1969, which used Schottky diode clamps at gate inputs to prevent charge storage and improve
switching time. These gates operated more quickly (3ns) but had higher power dissipation (19 mW)
Low-power Schottky TTL (LS) used the higher resistance values of low-power TTL and the Schottky diodes to provide a good
combination of speed (9.5ns) and reduced power consumption (2 mW), and PDP of about 20 pJ. Probably the most common type of
TTL, these were used as glue logic in microcomputers, essentially replacing the former H, L, and S sub-families.
Fast (F) and Advanced-Schottky (AS) variants of LS from Fairchild and TI, respectively, circa 1985, with "Miller-killer" circuits to speed
up the low-to-high transition. These families achieved PDPs of 10 pJ and 4 pJ, respectively, the lowest of all the TTL families.
Low-voltage TTL (LVTTL) for 3.3-volt power supplies and memory interfacing.
Most manufacturers offer commercial and extended temperature ranges: for example Texas Instruments 7400 series parts are rated
from 0 to 70 C, and 5400 series devices over the military-specification temperature range of 55 to +125 C.
Special quality levels and high-reliability parts are available for military and aerospace applications.
Radiation-hardened devices are offered for space applications.
Applications[edit]
Before the advent of VLSI devices, TTL integrated circuits were a standard method of construction for the processors of mini-computer
and mainframe processors; such as theDEC VAX and Data General Eclipse, and for equipment such as machine tool numerical
controls, printers and video display terminals. As microprocessors became more functional, TTL devices became important for "glue
logic" applications, such as fast bus drivers on a motherboard, which tie together the function blocks realized in VLSI elements.
Analog applications[edit]
While originally designed to handle logic-level digital signals, a TTL inverter can be biased as an analog amplifier. Connecting a resistor
between the output and the input biases the TTL element as a negative feedback amplifier. Such amplifiers may be useful to convert
[22]
analog signals to the digital domain but would not ordinarily be used where analog amplification is the primary purpose. TTL inverters
can also be used in crystal oscillators where their analog amplification ability is significant.
A parity bit, or check bit is a bit added to the end of a string of binary code that indicates whether the number of bits in the string with
the value one is even or odd. Parity bits are used as the simplest form of error detecting code.
There are two variants of parity bits: even parity bit and odd parity bit.
In the case of even parity, the number of bits whose value is 1 in a given set are counted. If that total is odd, the parity bit value is set to
1, making the total count of 1's in the set an even number. If the count of ones in a given set of bits is already even, the parity bit's value
remains 0.
In the case of odd parity, the situation is reversed. Instead, if the sum of bits with a value of 1 is odd, the parity bit's value is set to zero.
And if the sum of bits with a value of 1 is even, the parity bit value is set to 1, making the total count of 1's in the set an odd number.
Even parity is a special case of a cyclic redundancy check (CRC), where the 1-bit CRC is generated by the polynomial x+1.
If the parity bit is present but not used, it may be referred to as mark parity (when the parity bit is always 1) or space parity (the bit is
always 0).
Parity[edit]
In mathematics, parity refers to the evenness or oddness of an integer, which for a binary number is determined only by the least
significant bit. In telecommunications and computing, parity refers to the evenness or oddness of the number of bits with value one
within a given set of bits, and is thus determined by the value of all the bits. It can be calculated via an XOR sum of the bits, yielding 0
for even parity and 1 for odd parity. This property of being dependent upon all the bits and changing value if any one bit changes allows
for its use in error detection schemes.
Error detection[edit]
If an odd number of bits (including the parity bit) are transmitted incorrectly, the parity bit will be incorrect, thus indicating that a parity
error occurred in the transmission. The parity bit is only suitable for detecting errors; it cannot correct any errors, as there is no way to
determine which particular bit is corrupted. The data must be discarded entirely, and re-transmitted from scratch. On a noisy
transmission medium, successful transmission can therefore take a long time, or even never occur. However, parity has the advantage
that it uses only a single bit and requires only a number of XOR gates to generate. See Hamming code for an example of an errorcorrecting code.
Parity bit checking is used occasionally for transmitting ASCII characters, which have 7 bits, leaving the 8th bit as a parity bit.
For example, the parity bit can be computed as follows, assuming we are sending simple 4-bit values 1001.
Type of bit parity Successful transmission scenario
Even parity
Odd parity
This mechanism enables the detection of single bit errors, because if one bit gets flipped due to line noise, there will be an incorrect
number of ones in the received data. In the two examples above, B's calculated parity value matches the parity bit in its received value,
indicating there are no single bit errors. Consider the following example with a transmission error in the second bit using XOR:
Type of bit parity error Failed transmission scenario
Even parity
Error in the second bit
Even parity
Error in the parity bit
There is a limitation to parity schemes. A parity bit is only guaranteed to detect an odd number of bit errors. If an even number of bits
have errors, the parity bit records the correct number of ones, even though the data is corrupt. (See also error detection and correction.)
Consider the same example as before with an even number of corrupted bits:
Type of bit parity error Failed transmission scenario
odd
0000000
00000000 00000001
1010001
10100011 10100010
1101001
11010010 11010011
1111111
11111111 11111110
A totem pole is a certain type of driver, used to amplify square waves (and sine waves, with additional components to prevent
distortion!) into a stronger square wave for driving other types of semiconductors faster.
A totem pole consists of a PNP and NPN transistor arranged emitter to emitter, with their bases coupled together. The output signal is
taken from where the emitter of the NPN transistor and the collector of the PNP transistor meet. The plus of this is the ease of use, but
the downside is that transistors do make heat, and this may (depends on your application) create enough heat to warrant a heat sink.
A totem pole driver can be used to more effectively drive MOSFETS, (which will be explained in the next step, actually), and IGBT's.
The increase in current allows the semiconductors to turn on and off faster, reducing heating.
You can use just about any NPN and PNP transistor combination, as long as they can handle the amount of current you need to drive
the mosfet or IGBT with.
AND-OR-Invert (AOI) logic and AOI gates are two-level compound (or complex) logic functions constructed from the combination of
one or more AND gates followed by a NOR gate. Construction of AOI cells is particularly efficient using CMOS technology where the
total number of transistor gates can be compared to the same construction using NAND logic or NOR logic. The complement of AOI
Logic is OR-AND-Invert (OAI) logic where the OR gates precede an AND gate.
Logic operations[edit]
AOI gates perform one or more AND operations followed by an OR operation and then an inversion. For example, a 2-2 AOI gate can
be represented by the boolean equation and truth table:
2-2 AOI
INPUT
OUTPUT
A B C D F
0 X X 0 1
X 0 X 0 1
0 X 0 X 1
X 0 0 X 1
1 1 X X 0
X X 1 1 0
A 2-1 AOI gate can be represented by following the boolean equation and truth table:
2-1 AOI
INPUT OUTPUT
A B C F
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
Larger AOI gates, such as 4-3 AOI or 3-3-3 AOI can also be used.
Electronic implementation[edit]