Electrical Engineering › Section X · Processors and integrated circuit technologies › Topic X.6

TTL circuits and other logic families

Before CMOS took over, digital systems were built from bipolar TTL chips, and their part numbers, 5 V levels and current rules still shape logic design. This topic opens up a TTL gate, then compares it with ECL, NMOS, PMOS, BiCMOS and E²CMOS.

Bipolar logic and the 74 series

Transistor-transistor logic (TTL) builds gates from bipolar junction transistors (BJTs) on a 5 V supply. Texas Instruments' 7400 series, from the mid-1960s, was the standard building block of digital design for about two decades, and its numbering survives in CMOS families such as 74HC00. Each BJT is used as a switch, as in The BJT as a switch, meter checks, and active-mode operation: with base current flowing and \(V_{BE}\) about 0.7 V, an NPN transistor saturates and acts as a closed switch from collector to emitter; with no base current it is off. TTL's input transistor is unusual: one base and collector, but several emitters, one per input.

Inside a TTL NAND gate

A standard 2-input NAND has three stages. Input transistor Q1 has emitters A and B, and its base connects to \(V_{CC}\) through 4 kΩ. Q2, the phase splitter, drives a totem-pole output: an upper transistor and diode from \(V_{CC}\) to the output, and a lower transistor from the output to ground. If either input is LOW, current flows out through that emitter, Q2 gets no base current and turns off, so the lower output transistor is off and the upper one on: output HIGH. If both inputs are HIGH, Q1's emitter junctions are reverse-biased and its base-collector junction feeds Q2's base, so Q2 and the lower transistor saturate: output LOW, with Q1's base about three junction drops, 2.1 V, above ground.

Worked example: why a LOW input pushes current out

A standard TTL input is held at 0.2 V by the gate driving it. Q1's base resistor is 4 kΩ from 5 V, and its base-emitter junction drops about 0.7 V. 1. Q1's base is at \(0.2 + 0.7 = 0.9\,\text{V}\). 2. The current through the resistor is \((5 - 0.9) \div 4\,\text{k}\Omega\), about 1.0 mA. 3. It flows out of the input pin into the driving gate's output, which must sink it. 4. The data sheet limit is 1.6 mA, so 1.0 mA is consistent. Check: with the input HIGH, only a leakage current of at most 40 µA flows into the pin, which is why the LOW state sets TTL fan-out.

Totem-pole, open-collector and tri-state outputs

The totem-pole output gives a low-resistance path to \(V_{CC}\) or to ground and fast edges, but two totem-pole outputs must never be wired together: if one is HIGH and the other LOW, the upper transistor of one is shorted through the lower transistor of the other, and the current can destroy them. An open-collector output omits the upper transistor and diode, so an external pull-up resistor makes the HIGH. Open-collector outputs can share a line in a wired-AND: the line is HIGH only if every output is off. They can also drive LEDs and relays. A tri-state TTL output adds an enable that turns off both totem-pole transistors, leaving the output in a high-impedance state.

Worked example: open-collector pull-ups and LEDs

1. Three open-collector 74LS outputs share a wired-AND line on 5 V that feeds two 74LS inputs. Each output may sink \(I_{OL(max)} = 8\,\text{mA}\), with \(V_{OL}\) up to 0.5 V, and each 74LS input pushes out 0.4 mA when LOW. 2. In the worst case only one output is LOW and must sink both input currents plus the resistor current, so the resistor may carry at most \(8 - 2 \times 0.4 = 7.2\,\text{mA}\). 3. Then \(R_p \ge (5 - 0.5) \div 7.2\,\text{mA}\), about 625 Ω, so choose the next E12 value up, 680 Ω. 4. An open-collector buffer lights a red LED (about 2.0 V drop) at 10 mA with \(V_{OL} = 0.3\,\text{V}\):

R = \frac{5 - 2.0 - 0.3}{10\,\text{mA}} = 270\,\Omega

The LED glows when the output is LOW.

Unused TTL inputs

An unconnected TTL input acts as a HIGH, because nothing can pull current out through its emitter, just as with a real HIGH. It is still bad practice: an open input acts as an antenna and picks up noise. Tie unused AND and NAND inputs HIGH, to \(V_{CC}\) through a resistor of about 1 kΩ, or to a used input of the same gate. Tie unused OR and NOR inputs to ground. Inputs tied together count differently. In the HIGH state each tied input is one load. In the LOW state, tied AND or NAND inputs share one multiple-emitter transistor and count as one load, but tied OR or NOR inputs use separate transistors and count one load each.

Schottky TTL and its series

A saturated BJT stores extra base charge that must be removed before it can turn off, which slows standard TTL. Schottky TTL places a Schottky diode, dropping about 0.3 to 0.4 V, from base to collector of each switching transistor; it diverts excess base current, so the transistor never saturates deeply and switches faster. Typical figures quoted for three series are: standard 74, about 10 ns and 10 mW per gate, 100 pJ; 74S, about 3 ns and 19 mW, 57 pJ; 74LS, about 9.5 ns and 2 mW, 19 pJ. Advanced Schottky (AS), advanced low-power Schottky (ALS) and fast (F) series followed. All are bipolar; 74HC and 74HCT are CMOS despite the shared numbering.

Emitter-coupled logic

Emitter-coupled logic (ECL) is bipolar logic that never saturates. Each gate compares its inputs with a reference voltage in a differential pair of transistors, steering a nearly constant current one way or the other, and emitter followers drive the outputs, giving both OR and NOR at once. Classic ECL runs from \(V_{EE} = -5.2\,\text{V}\) with \(V_{CC}\) at ground, so its levels are negative: about −0.9 V for HIGH and −1.75 V for LOW, a swing under 1 V. With no saturation and a small swing, ECL is very fast, with gate delays under a nanosecond, at the cost of high, steady power and noise margins of only about 0.2 to 0.3 V. Its ideas live on in the differential signalling of high-speed links.

PMOS, NMOS, BiCMOS and E²CMOS

PMOS, made only of p-channel MOSFETs, was the first dense MOS logic, used in early microprocessors such as the Intel 4004 of 1971. NMOS, faster because electrons are more mobile than holes, followed and dominated microprocessors and memories in the late 1970s. Both use a permanently biased transistor as a load resistor, so a gate draws steady current in one output state, one reason CMOS replaced them in the 1980s. BiCMOS combines CMOS logic with bipolar output stages for strong drive, as in bus-interface chips. E²CMOS uses floating-gate cells, charged and discharged electrically, to hold the configuration of reprogrammable logic devices.

Common mistakes to avoid

First, wiring totem-pole outputs together: only open-collector or open-drain outputs may share a line, and tri-state outputs only one at a time. Second, forgetting the pull-up resistor on an open-collector output, which then never goes HIGH. Third, sizing a pull-up without the load inputs' LOW currents, which the output must also sink. Fourth, leaving TTL inputs open because they read HIGH: they also pick up noise. Fifth, assuming every 74-numbered chip is TTL: 74HC parts are CMOS. Sixth, giving ECL positive logic levels: classic ECL swings between about −0.9 V and −1.75 V.

Key takeaways

TTL uses BJT switches on 5 V, with a multiple-emitter input transistor, a phase splitter and a totem-pole output. A LOW input pushes about 1 mA out of the pin, up to a 1.6 mA limit for standard TTL, so the LOW state sets fan-out. Totem-pole outputs must never be tied together; open-collector outputs with a pull-up form wired-AND lines and drive LEDs; tri-state outputs can float. Open TTL inputs read HIGH but should be tied. Schottky clamps stop saturation. ECL is fast but power-hungry with small swings; PMOS and NMOS gave way to CMOS; BiCMOS adds bipolar drive; E²CMOS stores PLD configurations.

Flashcards

Flashcard

TTL

Transistor-transistor logic: bipolar gates on a 5 V supply

The classic 7400 series.

Test your understanding

Question 1 of 5

An unused input of a TTL NAND gate is left unconnected. How does the gate treat it?

Question 2 of 5

Why must two TTL totem-pole outputs never be connected together?

Question 3 of 5

Open-collector outputs (I_OL(max) = 16 mA at V_OL = 0.4 V) form a wired-AND on 5 V that feeds three standard TTL inputs of 1.6 mA each. What is the smallest allowed pull-up resistance?

Question 4 of 5

Why does Schottky TTL switch faster than standard TTL?

Question 5 of 5

Which statement about emitter-coupled logic (ECL) is correct?

← Previous topicNext topic →