Digital Logic Families
Logic Family
A logic family is a group of integrated circuits that share a common internal circuit design and, critically, compatible input and output voltage levels. This compatibility is what allows gates from the same family to be interconnected directly without interface circuitry. The choice of logic family determines the fundamental trade-offs in a digital system: speed, power dissipation, noise immunity, fan-out, and cost.
The three historically dominant families are TTL (bipolar), CMOS (MOS), and ECL (bipolar, non-saturating). Modern design is overwhelmingly CMOS-based, but understanding TTL and ECL is essential because they define the voltage standards and performance benchmarks against which all families are measured.
Universal Comparison Metrics
Every logic family is evaluated on a standard set of parameters:
- Propagation delay (\(t_{pd}\)): The time for a change at the input to produce a corresponding change at the output. Lower is faster.
- Power dissipation (\(P_D\)): The power consumed per gate. This has both a static component (quiescent current) and a dynamic component (switching current, proportional to frequency and load capacitance).
- Speed-power product (\(SPP\)): \(SPP = t_{pd} \times P_D\) (units: picojoules, pJ). A figure of merit that captures the fundamental energy-delay trade-off of a technology. Lower is better.
- Fan-out: The maximum number of standard inputs that one output can drive while maintaining guaranteed logic levels. Limited by output current capability.
- Noise margin: The voltage difference between the guaranteed output level of a driving gate and the required input threshold of a receiving gate. Larger margins mean greater immunity to induced noise.
- Logic voltage swing: The difference between \(V_{OH}\) and \(V_{OL}\). A smaller swing enables faster switching but reduces noise margin.
TTL (Transistor-Transistor Logic)
TTL was the first widely successful logic family, built from bipolar junction transistors (BJTs) . Its standard supply is \(V_{CC} = +5\text{ V}\), and its logic levels are asymmetric: a TTL output sinks current more effectively than it sources it.
Basic Operation
The classic TTL NAND gate uses a multi-emitter input transistor followed by a phase-splitter and a totem-pole output stage. When an input is LOW, current is diverted from the phase-splitter, turning the upper output transistor off and the lower transistor on, pulling the output LOW. The totem-pole output provides active pull-up and pull-down, giving TTL relatively strong drive and fast rise times compared to earlier resistor-based logic.
A key limitation of standard TTL is transistor saturation: when a BJT is driven fully on, stored charge in the base region slows its turn-off. This is the primary speed bottleneck that the Schottky sub-families address.
TTL Sub-Families
The 74xx series (and its military counterpart, 54xx, which operates over a wider temperature range) evolved through several sub-families, each trading speed against power consumption differently.
| Sub-family | Key Feature | Typical \(t_{pd}\) | Typical \(P_D\)/gate |
|---|---|---|---|
| 74xx (Standard) | Original TTL; saturated BJTs | \(\sim\)10 ns | \(\sim\)10 mW |
| 74Hxx (High-speed) | Reduced internal resistors for speed; higher power | \(\sim\)6 ns | \(\sim\)22 mW |
| 74Lxx (Low-power) | Increased resistances; slower but lower power | \(\sim\)33 ns | \(\sim\)1 mW |
| 74Sxx (Schottky) | Schottky-clamped transistors prevent saturation | \(\sim\)3 ns | \(\sim\)19 mW |
| 74LSxx (Low-power Schottky) | Schottky speed with high resistances for low power | \(\sim\)9–10 ns | \(\sim\)2 mW |
| 74ASxx (Advanced Schottky) | \(\sim\)2× faster than 74S with similar power | \(\sim\)1.5–3 ns | \(\sim\)8 mW |
| 74ALSxx (Advanced Low-power Schottky) | Lower power and higher speed than 74LS | \(\sim\)4 ns | \(\sim\)1.2 mW |
| 74Fxx (Fast) | Positioned between 74AS and 74ALS in speed/power | \(\sim\)3 ns | \(\sim\)6 mW |
The Schottky innovation was pivotal: by placing a Schottky diode across the base-collector junction of each transistor, the transistor is prevented from entering deep saturation, dramatically reducing storage time and therefore propagation delay. The 74LS sub-family became the industry workhorse of the 1980s, offering a balanced speed-power product that made it the default choice for general-purpose logic.
TTL Characteristics
- Logic levels: \(V_{OH} \geq 2.4\text{ V}\), \(V_{OL} \leq 0.4\text{ V}\); \(V_{IH} \geq 2.0\text{ V}\), \(V_{IL} \leq 0.8\text{ V}\).
- Noise margin: Typically \(\sim\)0.4 V (guaranteed), often \(\sim\)1 V typical.
- Fan-out: Standard TTL fan-out is 10; 74LS achieves 20.
- Power: Static power is significant because TTL draws current continuously, even when not switching.
- Symmetric drive limitation: TTL sinks current much better than it sources it; this asymmetry matters when interfacing with CMOS.
CMOS
CMOS uses complementary pairs of MOSFETs—an n-channel device to pull the output LOW and a p-channel device to pull it HIGH. The defining advantage is that in steady state, one transistor of the pair is always off, so the only significant current path is through leakage. Static power dissipation is therefore orders of magnitude lower than TTL—typically microwatts or less.
Basic Operation
The CMOS inverter consists of a p-MOS pull-up and an n-MOS pull-down. With a HIGH input, the n-MOS is on and the p-MOS is off, connecting the output to ground. With a LOW input, the p-MOS is on and the n-MOS is off, connecting the output to \(V_{DD}\). Because the output swings rail-to-rail (approximately \(0\text{ V}) to (V_{DD})\), CMOS has excellent noise immunity.
The trade-off is dynamic power. Every time the output switches, the load capacitance must be charged and discharged, drawing a current from the supply. The dominant power equation for CMOS is:
\[ P_D \approx (C_L + C_{pd}) \cdot V_{DD}^2 \cdot f \]
where \(C_L\) is the load capacitance, \(C_{pd}\) is the internal power-dissipation capacitance, and \(f\) is the switching frequency. At low frequencies, CMOS power is negligible; at high frequencies, it becomes the dominant concern. This frequency-dependent power profile is the opposite of TTL's roughly constant static draw.
CMOS Sub-Families
| Sub-family | Key Feature | Supply Range | Typical \(t_{pd}\) |
|---|---|---|---|
| 4000 series | Original CMOS; very low power, slow | 3–15 V | \(\sim\)80–90 ns |
| 74C series | Pin-compatible with TTL, but CMOS levels | 3–15 V | \(\sim\)90 ns |
| 74HC (High-speed CMOS) | Much faster than 4000; CMOS input levels | 2–6 V | \(\sim\)9 ns |
| 74HCT (High-speed CMOS, TTL-compatible) | Input thresholds compatible with TTL; 5 V supply | 5 V ± 0.5 V | \(\sim\)10 ns |
| 74AC (Advanced CMOS) | Very fast; high drive current | 2–6 V | \(\sim\)5 ns |
| 74ACT (Advanced CMOS, TTL-compatible) | AC speed with TTL-compatible inputs | 5 V ± 0.5 V | \(\sim\)5 ns |
| 74FCT (Fast CMOS, TTL-compatible) | Faster and lower power than AC/ACT | 5 V | \(\sim\)3–4 ns |
The HC vs. HCT distinction is critical in practice. 74HC has CMOS-compatible input thresholds (roughly \(0.3V_{DD}\) and \(0.7V_{DD}\)), making it ideal for pure-CMOS systems. 74HCT is designed with input thresholds that match TTL levels (0.8 V and 2.0 V), allowing it to directly replace LSTTL in existing 5 V designs while consuming far less power. A 74HCT input can be driven by a TTL output, whereas a 74HC input may not reliably recognize a TTL HIGH level.
CMOS Characteristics
- Logic levels: Rail-to-rail output swing; input thresholds depend on sub-family (CMOS or TTL-compatible).
- Noise margin: Very large, especially at higher supply voltages. At 5 V, CMOS noise margin is roughly 1 V, compared to \(\sim\)0.4 V for TTL; at 15 V, it can exceed 4 V.
- Fan-out: Extremely high (limited mainly by capacitance and speed requirements rather than DC current). A single CMOS output can drive dozens of CMOS inputs.
- Power: Near-zero static power; dynamic power proportional to \(f \cdot C \cdot V^2\).
- Cautions: CMOS inputs are high-impedance and must never be left floating (they can oscillate and cause excessive power draw). CMOS is also more susceptible to ESD damage and latch-up than bipolar logic, though modern processes have improved both substantially.
ECL (Emitter-Coupled Logic)
ECL is a bipolar, non-saturating logic family designed for the absolute maximum switching speed. It is based on a differential amplifier with emitter-coupled transistors, and it operates by steering current between two branches rather than switching transistors between cutoff and saturation.
Basic Operation
In an ECL gate, the transistors are biased in the active region and never enter saturation. The input voltage steers a constant tail current from one side of the differential pair to the other. Because there is no stored base charge to remove, the transistors can change state extremely quickly. The voltage swing is small (typically \(\sim\)0.8 V), which further reduces the time required to charge and discharge node capacitances. ECL also provides complementary outputs (both \(Q\) and \(\overline{Q}\)) from the same gate, which can reduce inverter count and propagation delay in complex circuits.
ECL Characteristics
- Speed: ECL has the lowest propagation delay of any silicon-based logic family—historically in the sub-nanosecond range, and still among the fastest for certain specialized applications.
- Power: ECL's Achilles' heel. Because the differential pair draws a constant current continuously, every gate dissipates significant power even when not switching. Typical power dissipation is on the order of 30 mW per gate or more. This makes ECL unsuitable for VLSI.
- Noise margin: Relatively small (often \(\sim\)125–300 mV) because of the small voltage swing, although the differential nature of ECL provides good common-mode noise rejection.
- Supply: Historically a negative supply (e.g., \(-5.2\text{ V}\)) was used to reduce noise coupling, though modern variants exist.
ECL is now largely a niche technology, superseded by high-speed CMOS for most applications. It remains relevant in ultra-high-speed serial interfaces, some RF circuits, and as a historical benchmark for speed.
Comprehensive Comparison
The table below consolidates the typical characteristics of representative members of each family. Values are typical and intended for comparative understanding; always consult the specific device datasheet for guaranteed limits.
| Parameter | 74LS (TTL) | 74HC (CMOS) | 74HCT (CMOS) | ECL (10K/100K) |
|---|---|---|---|---|
| Technology | Bipolar, Schottky-clamped | Complementary MOS | Complementary MOS, TTL-compatible inputs | Bipolar, non-saturating |
| Supply voltage | 5 V ± 5% | 2–6 V | 5 V ± 10% | Typically −5.2 V |
| Typical (t_{pd}) | \(\sim\)9–10 ns | \(\sim\)8–9 ns | \(\sim\)10 ns | \(\sim\)0.5–2 ns |
| Static power/gate | \(\sim\)2 mW | \(\sim\)2.5 μW (quiescent) | \(\sim\)2.5 μW (quiescent) | \(\sim\)25–50 mW |
| Speed-power product | \(\sim\)14–20 pJ | \(\sim\)0.02 pJ | \(\sim\)0.02 pJ | Higher (power-dominated) |
| Fan-out | 20 | Very high (capacitive limit) | Very high | High (\(\sim\)10–25) |
| Noise margin (typ.) | \(\sim\)0.4 V | \(\sim\)1 V at 5 V | \(\sim\)0.4–1 V (TTL-compatible) | \(\sim\)125–300 mV |
| Input compatibility | TTL | CMOS levels | TTL levels | ECL levels |
| Primary strength | Balanced speed/power/cost | Lowest power; wide supply | Direct TTL replacement, low power | Highest speed |
| Primary weakness | Static power draw | Dynamic power at high (f); ESD sensitivity | 5 V only | Very high power; low integration |
Key relationships:
- CMOS vs. TTL power: TTL draws roughly constant power regardless of switching activity; CMOS draws almost nothing when idle but power rises linearly with frequency. This is why CMOS dominates battery-powered and high-density systems.
- HC vs. HCT: The "T" means TTL-compatible input thresholds. Use HCT when interfacing with legacy TTL; use HC for all-CMOS systems where the wider supply range and CMOS thresholds are advantageous.
- Speed-power product: CMOS has an SPP orders of magnitude lower than TTL or ECL, which is the fundamental reason it became the universal logic technology. ECL wins on raw speed but at an enormous energy cost per operation.
- Noise margin: CMOS's rail-to-rail swing gives it the largest noise margins, making it the most robust choice in electrically noisy environments (subject to proper decoupling and layout).
Practical Interfacing Considerations
When mixing families in a single system, voltage compatibility is paramount. Two rules govern every interface:
- \(V_{OH(\text{driver, min})} > V_{IH(\text{receiver, min})}\) (HIGH-level compatibility)
- \(V_{OL(\text{driver, max})} < V_{IL(\text{receiver, max})}\) (LOW-level compatibility)
TTL outputs can generally drive 74HCT inputs directly because HCT thresholds are designed to match TTL. However, a TTL output driving a 74HC input is marginal: the TTL (V_{OH}) of 2.4 V may not reliably exceed the HC (V_{IH}) requirement at a 5 V supply. Conversely, CMOS outputs can overdrive TTL inputs easily but may need attention to current-limiting if the CMOS supply is higher than 5 V. When interfacing 5 V CMOS to 3.3 V CMOS, level-shifting circuitry or a family rated for the lower voltage (e.g., 74LVC) is required.
Fan-out in CMOS is largely a capacitive loading problem rather than a DC current problem: the more inputs a CMOS output drives, the larger the load capacitance and the longer the propagation delay, even though the DC fan-out may be theoretically very high.
Discrete logic families remain relevant for glue logic, interfacing, signal conditioning, and prototyping, but the broader industry has moved decisively toward CMOS as the universal technology. Modern system design rarely selects from the classical families in isolation; instead, it uses:
- Low-voltage CMOS families (3.3 V, 2.5 V, 1.8 V, and below) for direct interface to modern processors and FPGAs.
- Little Logic and configurable logic gates for space-constrained board design.
- FPGAs and CPLDs to absorb large amounts of random glue logic into a single programmable CMOS device.
The classical families remain the conceptual foundation: the voltage thresholds, noise-margin calculations, and speed-power trade-offs described for TTL, CMOS, and ECL apply directly to understand and debugging modern CMOS-based systems.