Logic families
Ways of building gates from components; each has different speed, power and noise properties.
- Diode logic (DL): diodes and a resistor make AND or OR gates; no amplification, so levels degrade through stages; no NOT.
- Resistor-transistor logic (RTL): resistors at the inputs of a transistor; makes NOR; cheap, slow, poor noise margin. Used in early integrated circuits (1960s).
- Diode-transistor logic (DTL): diodes at the input, transistor at the output; makes NAND; better fan-out.
- Transistor-transistor logic (TTL): multiple-emitter input transistor and a totem-pole output; the 74 series; supply 5 V. Fast and robust; variants: 74LS (low-power Schottky), 74S, 74F.
- Emitter-coupled logic (ECL): transistors kept out of saturation (differential pairs); fastest bipolar family, but high power and small voltage swings; used in high-speed systems.
- MOS logic: NMOS and PMOS; small and dense.
- CMOS: complementary pairs of p- and n-channel MOSFETs; almost no power when not switching, wide supply range (3 to 15 V for the 4000 series), high noise immunity; the family of nearly all modern chips (74HC series, microprocessors). Sensitive to static: handle with care and do not leave inputs floating.
Characteristics
- Fan-out: number of inputs one output can drive. TTL standard: IOL / IIL = 16 mA / 1.6 mA = 10.
- Propagation delay: time from input change to output change (standard TTL about 10 ns; modern CMOS much less).
- Power dissipation per gate.
- Speed-power product: delay × power, a figure of merit.
- Noise margin: how much noise a signal can carry and still be read correctly.
- High: VOH(min) - VIH(min); low: VIL(max) - VOL(max).
- Standard TTL: VOH(min) 2.4 V, VIH(min) 2.0 V, VIL(max) 0.8 V, VOL(max) 0.4 V, so both margins are 0.4 V.
| Family | Speed | Power | Noise immunity |
|---|
| RTL | low | medium | poor |
| TTL | high | medium | good |
| ECL | very high | high | fair |
| CMOS | high (modern) | very low static | very good |
Open-collector and tri-state outputs
- Open-collector: outputs can be joined (wired-AND) with a pull-up resistor; drives LEDs and relays.
- Tri-state: HIGH, LOW or high impedance (disconnected); lets many devices share a bus.
Scales of integration
| Scale | Gates per chip (roughly) | Examples |
|---|
| SSI (small) | up to 10 | 7400 NAND |
| MSI (medium) | 10 to 100 | counters, decoders, adders |
| LSI (large) | 100 to 10,000 | early microprocessors, memories |
| VLSI (very large) | over 10,000 to billions | modern processors and memory |
Consequences of higher integration: lower cost per function, smaller size, lower power, higher speed and reliability, but design complexity and heat density rise. Moore's law observed that the number of transistors per chip doubled about every two years for decades.
Exams usually ask
- Compare TTL, ECL and CMOS.
- Define fan-out, propagation delay and noise margin; compute noise margins.
Common mistake
Saying CMOS uses no power. It uses very little when static, but power rises with switching frequency.