Standard TTL (74): IOL = 16 mA, IOH = 400 µA, IIL = 1.6 mA, IIH = 40 µA. 74LS: IOL = 8 mA, IOH = 400 µA, IIL = 0.4 mA, IIH = 20 µA. Find the fan-out of (a) 74 driving 74, (b) 74LS driving 74LS, (c) 74LS driving 74, (d) 74 driving 74LS.
A logic family is a set of ICs built on one circuit technology — TTL, CMOS or ECL — sharing supply voltage, logic levels, speed and power. Comparing propagation delay, power, noise margin and fan-out shows which chips can work together and which to choose.
A logic family is a group of digital ICs built with the same kind of internal circuit. Members of one family share the supply voltage, the voltage levels that mean 0 and 1, and similar speed and power, so any output can drive inputs of the same family directly. Mixing families is possible, but the levels and currents must be checked first.
Families are classified by their switching devices. Bipolar families use BJTs: RTL, DTL, HTL, TTL, ECL and I²L. Unipolar (MOS) families use MOSFETs: PMOS, NMOS and CMOS. Bipolar logic is further split into saturated families (RTL, DTL, standard TTL), whose transistors switch fully into saturation, and non-saturated families (Schottky TTL, ECL), which keep transistors out of saturation to avoid the storage-time delay.
| Family | Full name | Basic gate | Landmarks |
|---|---|---|---|
| RTL | Resistor–transistor logic | NOR | First family made as monolithic ICs (early 1960s); used in the Apollo Guidance Computer; fan-out ≈ 5, poor noise margin |
| DTL | Diode–transistor logic | NAND | Diodes form the AND and a transistor inverts; slow because the transistor saturates |
| HTL | High-threshold logic | NAND | DTL variant with a ≈ 15 V supply and a large noise margin, for noisy industrial plants |
| TTL | Transistor–transistor logic | NAND | Invented 1961 (James Buie, TRW); Sylvania SUHL 1963; Texas Instruments 5400 (1964) and 7400 (1966) series made it the standard |
| ECL | Emitter-coupled logic | OR / NOR | Invented at IBM in 1956 (Hannon Yourke); fastest family; non-saturating |
| CMOS | Complementary MOS | NAND / NOR (from the inverter) | Presented by Frank Wanlass and C. T. Sah of Fairchild in 1963; RCA CD4000 series 1968; the basis of today's VLSI |
| I²L | Integrated injection logic | Multi-collector inverter | 1970s; very high density and very low power for LSI chips |
Data sheets describe each family with a few standard parameters. The symbols are systematic: V is a voltage and I a current; the first subscript says Input or Output, the second HIGH or LOW. Worst-case limits are quoted as max or min.
| Parameter | Symbol or formula | Meaning |
|---|---|---|
| Input LOW voltage | VIL(max) | Highest input voltage still read as 0 |
| Input HIGH voltage | VIH(min) | Lowest input voltage still read as 1 |
| Output LOW voltage | VOL(max) | Highest voltage a LOW output may produce |
| Output HIGH voltage | VOH(min) | Lowest voltage a HIGH output may produce |
| Noise margins | NMH = VOH(min) − VIH(min); NML = VIL(max) − VOL(max) | Noise a signal can pick up and still be read correctly |
| Propagation delay | tpd = (tPHL + tPLH) / 2 | Delay from input change to output change, measured at the 50% points |
| Power dissipation | PD = VCC × ICC(avg), ICC(avg) = (ICCH + ICCL) / 2 | Average power per gate, assuming outputs are HIGH half the time |
| Speed–power product | SPP = tpd × PD | Energy per switching event in pJ (ns × mW); lower is better |
| Fan-in | — | Number of inputs of a gate |
| Fan-out | min(IOL / IIL, IOH / IIH) | Number of standard inputs one output can drive |
Noise margin. Wires pick up noise from neighbouring signals and from the supply. If a HIGH output at its worst (VOH(min)) still sits above the input's worst-case threshold (VIH(min)), the difference is the room left for noise; the LOW state is treated the same way. The noise margin of a family is the smaller of NMH and NML.
Propagation delay. tPHL is measured when the output falls (HIGH to LOW) and tPLH when it rises. The two usually differ, so their average is quoted as tpd. Delays add along a path: four gates in series take about 4 tpd.
Fan-out. In the LOW state the driving output must sink the current IIL flowing out of every load input; in the HIGH state it must source IIH into each of them. The smaller of the two ratios sets the fan-out. Overloading raises VOL and lowers VOH, eating into the noise margin, and slows the edges.
The 7400 (four 2-input NAND gates in a 14-pin package) shows how TTL works. Each gate has three stages: a multi-emitter input transistor Q1, with one emitter per input, which performs the AND; a phase splitter Q2, which drives the two output transistors in opposite directions; and a totem-pole output — Q3 on top (the pull-up, with a 130 Ω resistor and a diode) stacked over Q4 (the pull-down).
A floating input reads HIGH. An unconnected emitter cannot carry current, which is exactly how a HIGH input behaves. Leaving inputs open is still poor practice because they pick up noise; tie unused inputs to VCC through about 1 kΩ, or to a used input of the same gate.
| Standard TTL (74 series) | Value |
|---|---|
| Supply VCC | 5 V ± 5% (4.75–5.25 V); 54 series ± 10% |
| VIL(max) / VIH(min) | 0.8 V / 2.0 V |
| VOL(max) / VOH(min) | 0.4 V / 2.4 V (typical 0.2 V / 3.4 V) |
| Noise margin | 0.4 V in both states |
| IIL / IIH | 1.6 mA (flowing out of the input) / 40 µA |
| IOL / IOH | 16 mA (sink) / 400 µA (source) |
| Fan-out | 10 |
| Delay / power per gate | ≈ 9–10 ns / 10 mW (≈ 90–100 pJ) |
In the LOW state a TTL output sinks the current coming out of each load input, so TTL is called current-sinking logic. During switching, Q3 and Q4 conduct together for a few nanoseconds and draw a current spike from the supply; boards therefore carry 0.01–0.1 µF decoupling capacitors next to each IC.
| Output type | How it is built | Strengths | Limits and typical use |
|---|---|---|---|
| Totem-pole | Q3 stacked over Q4; exactly one is ON at a time | Low output impedance in both states, so edges are fast and sharp | Outputs must never be tied together; ordinary gates such as the 7400 |
| Open-collector | Q3 and the diode removed; Q4's collector goes to the pin; needs an external pull-up resistor | Outputs can be tied (wired-AND); can switch loads on a higher voltage — 7406/7407 to 30 V — for relays, LEDs and lamps | Slow LOW-to-HIGH edge as the resistor charges the line; shared interrupt lines; 7401, 7403, 7405 |
| Tri-state (three-state) | Extra enable input; when disabled, Q3 and Q4 are both OFF | Third state, high impedance (Z): the output is effectively disconnected, so many outputs can share one bus | Only one driver per line may be enabled at a time; bus buffers 74LS244 and 74LS245 |
Why totem-poles cannot be wired. If one output is HIGH (its Q3 ON) and the other LOW (its Q4 ON), the supply sees a path of little more than 130 Ω: VCC → resistor → Q3 → diode → wire → the other gate's Q4 → ground. Roughly 30 mA flows, the common line settles at an undefined level, and the transistors overheat.
Wired-AND. Tie several open-collector outputs to one pull-up resistor. The line is HIGH only when every output transistor is OFF (every output HIGH), and it is pulled LOW if any one of them conducts, so the line carries the AND of the outputs. Read in negative logic the same connection is a wired-OR, which is why some books use that name.
The pull-up value is a compromise: a small resistor gives a fast rising edge but wastes current whenever the line is LOW; a large one saves power but slows the edge. Open-drain CMOS outputs behave the same way, which is how buses such as I²C share their lines.
Standard TTL transistors saturate, and coming out of saturation takes storage time, which limits speed. Changing resistor values only trades speed for power: 74L (larger resistors) is slow and frugal, 74H (smaller resistors) fast and hungry. The real breakthrough was the Schottky clamp: a Schottky diode (a metal–semiconductor junction with a drop of about 0.3–0.4 V) between base and collector diverts excess base current, so the transistor never goes deep into saturation and turns off quickly.
| Series | Name | Delay (ns) | Power per gate (mW) | SPP (pJ) |
|---|---|---|---|---|
| 74 | Standard TTL | 9–10 | 10 | 90–100 |
| 74L | Low-power | 33 | 1 | 33 |
| 74H | High-speed | 6 | 22 | 132 |
| 74S | Schottky | 3 | 19–20 | 57–60 |
| 74LS | Low-power Schottky | 9.5 | 2 | 19 |
| 74AS | Advanced Schottky | 1.7 | 8 | 13.6 |
| 74ALS | Advanced low-power Schottky | 4 | 1.2 | 4.8 |
| 74F | Fast (Fairchild FAST) | ≈ 3 | 4–6 | 12–18 |
Reading the table: 74AS is the fastest TTL; 74ALS has the lowest speed–power product; 74LS, the workhorse of the 1970s and 80s, gives standard-TTL speed at one-fifth of the power. An LS output drives 20 LS inputs but only 5 standard TTL inputs (see Worked example 1). 74L and 74H are obsolete. The 54 prefix marks the military version (−55 °C to +125 °C) of the same 74 part (0 °C to 70 °C).
| Part | Function |
|---|---|
| 7400 | Quad 2-input NAND |
| 7402 | Quad 2-input NOR |
| 7404 | Hex inverter |
| 7408 | Quad 2-input AND |
| 7432 | Quad 2-input OR |
| 7486 | Quad 2-input XOR |
| 7474 / 7476 | Dual D / dual JK flip-flop |
| 74138 / 74151 | 3-to-8 decoder / 8-to-1 multiplexer |
CMOS builds every gate from complementary enhancement MOSFETs: p-channel (PMOS) transistors connect the output to VDD, and n-channel (NMOS) transistors connect it to ground. Both transistors of a pair are driven by the same input, so in any steady state one is ON and the other OFF.
| Series | Supply | Typical delay | Notes |
|---|---|---|---|
| 4000B (CD4000) | 3–15 V (rated to 18 V) | ≈ 50–125 ns at 5 V, faster at higher VDD | The original RCA family: very low power, slow |
| 74C | 3–15 V | Similar to 4000B | 4000-type CMOS with 74-series pin-outs |
| 74HC | 2–6 V | ≈ 8–10 ns | High-speed CMOS: 74LS speed at CMOS power |
| 74HCT | 4.5–5.5 V | ≈ 10 ns | TTL-compatible input thresholds (VIH 2.0 V, VIL 0.8 V) |
| 74AC / 74ACT | 2–6 V / 4.5–5.5 V | ≈ 3–5 ns | Advanced CMOS with 24 mA outputs |
| 74LVC | 1.65–3.6 V | ≈ 3–5 ns | Low-voltage CMOS for 3.3 V systems |
Strengths. Static power is almost zero. Input impedance is about 10¹² Ω, so the DC fan-out is practically unlimited; the textbook figure of about 50 reflects input capacitance (≈ 5 pF per input), which slows the edges as loads are added. The noise margin is roughly 30% of VDD — 1.45 V for 4000B at 5 V and about 2.95 V at 10 V — the best immunity of the common families. CMOS also packs densely, which is why all VLSI chips use it.
Weaknesses. Power rises in proportion to frequency, so at tens of MHz a CMOS gate can dissipate more than a TTL gate. The thin gate oxide is easily punctured by electrostatic discharge (ESD), so inputs carry protection diodes and devices need antistatic handling. Latch-up — a parasitic p-n-p-n (SCR) path between VDD and ground — can be triggered when an input goes above VDD or below ground, and it then conducts heavily until power is removed. Unused inputs must never float: an open CMOS input drifts to mid-supply and turns both transistors partly ON.
ECL is built around a differential amplifier: the input transistors and a reference transistor (base at VBB ≈ −1.3 V) share one emitter resistor, so a nearly constant current is steered to one side or the other. The transistors never saturate and the voltage swing is only about 0.8 V, so ECL switches in about a nanosecond — the fastest bipolar family. Emitter-follower outputs give low output impedance and supply both OR and NOR outputs from the same gate.
I²L (integrated injection logic), from the 1970s, uses multi-collector bipolar transistors fed by a current injector. It needs no resistors, so it is extremely dense with a very low speed–power product, and it served in LSI chips such as watch and calculator circuits. BiCMOS combines CMOS logic inside with bipolar output stages, joining CMOS's low static power to bipolar drive and speed (for example the 74BCT and 74ABT bus-interface families).
| Parameter | TTL (74 / 74LS) | CMOS (4000B / 74HC) | ECL (10K) |
|---|---|---|---|
| Device and operation | Bipolar, saturating (Schottky types non-saturating) | Complementary MOSFET switches | Bipolar, non-saturating current switch |
| Basic gate | NAND | NAND / NOR | OR / NOR |
| Supply | VCC = 5 V ± 5% | 4000B: 3–15 V; 74HC: 2–6 V | VEE = −5.2 V, VCC = 0 |
| Propagation delay | 10 ns (74), 9.5 ns (74LS) | 50–125 ns (4000B), 8–10 ns (74HC) | ≈ 1–2 ns — fastest |
| Power per gate | 10 mW (74), 2 mW (74LS) | Nanowatts static; rises with frequency | ≈ 25 mW — highest |
| Fan-out | 10 (74), 20 (74LS) | ≈ 50 (capacitance-limited) | ≈ 25 |
| Noise margin | 0.4 V (74), 0.3 V (74LS) | ≈ 30% of VDD (≈ 1.5 V at 5 V) — best | ≈ 0.2 V — poorest |
| Power versus frequency | Nearly constant | Proportional to f | Constant, and high |
| Wired logic | Open-collector → wired-AND | Open-drain → wired-AND | Emitter-follower → wired-OR |
| Density and cost | Medium | Highest density, lowest cost (VLSI) | Low density, expensive |
| Output stage | Can outputs be tied? | Result |
|---|---|---|
| TTL totem-pole | Never | ≈ 30 mA short circuit, undefined level, damage |
| Open-collector (TTL) / open-drain (CMOS) | Yes, with a pull-up resistor | Wired-AND (positive logic) |
| Tri-state (TTL or CMOS) | Yes, if only one is enabled at a time | Shared bus line |
| ECL emitter-follower | Yes | Wired-OR |
TTL driving CMOS. A TTL HIGH may be as low as 2.4 V (2.7 V for 74LS), but a 5 V CMOS input needs about 3.5 V (70% of VDD), so the HIGH state has a negative margin. Add a pull-up resistor of a few kΩ from the TTL output to +5 V, or use a 74HCT or 74ACT part, whose inputs have TTL thresholds. The LOW state is fine: 0.4–0.5 V against a 1.5 V threshold.
CMOS driving TTL. A 74HC or 74HCT output (4 mA) can drive about ten 74LS inputs (0.4 mA each) but only two standard 7400 inputs (1.6 mA each). A 4000B output sinks only about 0.4–0.5 mA at 5 V — roughly one LS load — so use a buffer such as the 4049/4050 or a 74HC part. ECL and TTL need dedicated level translators, for example the 10124 (TTL to ECL) and 10125 (ECL to TTL).
Try the problem first, then reveal the working one step at a time.
Standard TTL (74): IOL = 16 mA, IOH = 400 µA, IIL = 1.6 mA, IIH = 40 µA. 74LS: IOL = 8 mA, IOH = 400 µA, IIL = 0.4 mA, IIH = 20 µA. Find the fan-out of (a) 74 driving 74, (b) 74LS driving 74LS, (c) 74LS driving 74, (d) 74 driving 74LS.
Find NMH, NML and the family noise margin for: standard TTL (VOH(min) 2.4 V, VOL(max) 0.4 V, VIH(min) 2.0 V, VIL(max) 0.8 V); 74LS (VOH(min) 2.7 V, VOL(max) 0.5 V, same input thresholds); 74HC at VCC = 4.5 V (VOH(min) 4.4 V, VOL(max) 0.1 V, VIH(min) 3.15 V, VIL(max) 1.35 V); 4000B at VDD = 5 V (VOH(min) 4.95 V, VOL(max) 0.05 V, VIH(min) 3.5 V, VIL(max) 1.5 V).
A 7400 package (four NAND gates) has typical tPLH = 11 ns, tPHL = 7 ns, ICCH = 4 mA and ICCL = 12 mA at VCC = 5 V (the ICC figures are for the whole package). Find tpd, the average power per gate and the speed–power product; compare with a 74LS00 gate (9.5 ns, 2 mW); and find the delay through a chain of four of these NANDs wired as inverters.
A CMOS gate drives a total capacitance of 40 pF from VDD = 5 V. Find its dynamic power at 100 kHz and at 10 MHz, then at 10 MHz with VDD reduced to 3.3 V. Compare with a 74LS gate (about 2 mW).
Can a 74LS output drive a 4000B input (VDD = 5 V) directly? Use VOH(min) = 2.7 V and VOL(max) = 0.5 V for 74LS, and VIH(min) = 3.5 V and VIL(max) = 1.5 V for 4000B. Suggest a fix.
A 74LS04 output (IOL = 8 mA, IOH = 400 µA) must drive three standard 7400 inputs (IIL = 1.6 mA, IIH = 40 µA) and four 74LS inputs (IIL = 0.4 mA, IIH = 20 µA). Is this within limits? How many more 7400 inputs could be added?
The outputs of two open-collector NAND gates (7401 or 7403) — one with inputs A, B and one with inputs C, D — are tied together with a pull-up resistor to +5 V. Write the output expression. What would happen with ordinary 7400 totem-pole gates?
Choose the logic family or output type for each job and justify it: (a) a battery-powered handheld meter; (b) a 1 GHz frequency prescaler; (c) eight boards sharing an 8-bit data bus; (d) an interrupt-request line that any of several devices may pull LOW; (e) switching a 12 V relay coil from a logic signal.
10 questions. 70 % passes the topic quiz (+30 XP, +20 more for 100 %). Exam scoring: +1 correct, −⅓ wrong.
Modelled on real KPSC questions (reworded) with the same concept and answer; each links to its original paper.