1. Characteristic Parameters
Definition – Current and Voltage Parameters
Every logic family is described by four voltage and four current specifications, measured at the output of a driving gate and the input of a load gate.
| Symbol | Name | Meaning |
|---|---|---|
| High-level input voltage | Smallest input voltage still accepted as logic 1 | |
| Low-level input voltage | Largest input voltage still accepted as logic 0 | |
| High-level output voltage | Smallest voltage the output guarantees in the HIGH state | |
| Low-level output voltage | Largest voltage the output guarantees in the LOW state | |
| High-level input current | Current flowing into an input held HIGH | |
| Low-level input current | Current flowing out of an input held LOW | |
| High-level output current | Current an output can source while HIGH | |
| Low-level output current | Current an output can sink while LOW |
⚠️ Inputs are specified with min for HIGH and max for LOW, and so are outputs. Mixing them up flips the sign of every noise margin.
Definition – Fan-Out (Loading Factor)
The fan-out is the maximum number of logic inputs that one output can drive reliably. Exceeding it means the output voltage levels are no longer guaranteed.
- Fan-out depends on the nature of the inputs being driven.
- Unless stated otherwise, fan-out refers to loads of the same family as the driver.
Example: a gate with fan-out 10 can drive 10 logic inputs of its own family.
Definition – Propagation Delay
The propagation delay is the time between a logic change at the input and the corresponding change at the output, measured between specified points (usually 50 %) of the two waveforms.
- : delay when the output goes LOW → HIGH
- : delay when the output goes HIGH → LOW
⚠️ The subscript describes the output transition. An inverting gate has when its input rises.
Definition – Power Requirements
The supply pin is labelled (TTL) or (MOS). Power drawn is
Supply current usually depends on whether the outputs are HIGH () or LOW (), so we average:
Definition – Noise Immunity and Noise Margins
Noise = spurious voltages induced on wires by stray electric/magnetic fields. If noise pushes an input below or above , operation becomes unpredictable. Noise immunity is the ability to tolerate noise; noise margin measures it:
Definition – Invalid Voltage Levels
Inputs must stay outside the indeterminate range: below or above . For standard TTL an input between 0.8 V and 2.0 V is invalid and gives an unpredictable output.
Causes of invalid levels:
- a malfunctioning driver,
- an overloaded driver (fan-out exceeded),
- a power supply outside its acceptable range.
Definition – Current Sourcing
When the driving output is HIGH, it supplies current to the load input (which acts like a resistance to ground). The output is a source — like a faucet.
Definition – Current Sinking
When the driving output is LOW, current flows from the load input (a resistance tied to ) back into the driver output and to ground. The output is a sink.
flowchart LR subgraph HIGH["Output HIGH → sourcing"] D1[Driver output] -- I_IH --> L1[Load input] --> G1((GND)) end subgraph LOW["Output LOW → sinking"] V((+Vcc)) --> L2[Load input] -- I_IL --> D2[Driver output] --> G2((GND)) end
IC Packages
| Abbreviation | Package | Height | Lead pitch |
|---|---|---|---|
| DIP | Dual-in-line package | 200 mil (5.1 mm) | 100 mil (2.54 mm) |
| SOIC | Small outline IC | 2.65 mm | 50 mil (1.27 mm) |
| SSOP | Shrink small outline | 2.0 mm | 0.65 mm |
| TSSOP | Thin shrink small outline | 1.1 mm | 0.65 mm |
| TVSOP | Thin very small outline | 1.2 mm | 0.4 mm |
| PLCC | Plastic leaded chip carrier (J-lead) | 4.5 mm | 1.27 mm |
| QFP | Quad flat pack (gull-wing) | 4.5 mm | 0.635 mm |
| TQFP | Thin quad flat pack | 1.6 mm | 0.5 mm |
| LFBGA | Low-profile fine-pitch ball grid array | 1.5 mm | 0.8 mm |
DIP is through-hole; PLCC can be socketed or surface-mounted; QFP, TQFP, etc. are surface-mount.
Example 1 – Quad 2-input NAND datasheet
Given: mA, mA, V, ns, V, V, V, V.
(a) Average power per gate
(b) Average propagation delay ns.
(c) V (d) V
⚠️ is for the whole chip (4 gates): divide by 4 for one gate.
Example 2 – Standard TTL noise spikes
| Parameter | Min | Typ | Max |
|---|---|---|---|
| 2.4 | 3.4 | – | |
| – | 0.2 | 0.4 | |
| 2.0 | – | – | |
| – | – | 0.8 |
(a) Largest negative spike tolerated on a HIGH: V
(b) Largest positive spike tolerated on a LOW: V
2. TTL Logic Family
Definition – TTL NAND gate
TTL = Transistor–Transistor Logic. The basic NAND gate uses:
- a multiple-emitter input transistor — behaves like diodes (inputs) and (to ),
- a phase-splitter ,
- a totem-pole output (pull-up) / (pull-down) with diode .
Resistors: kΩ, kΩ, kΩ, Ω, V.
Totem-pole output: advantages and disadvantage
Only one of / conducts at a time.
| Advantage / disadvantage | |
|---|---|
| ✅ Low output impedance in both states | HIGH: is an emitter follower (≈70 Ω); LOW: saturated (≈10 Ω) → stray capacitance charges/discharges fast → fast transitions |
| ✅ No large LOW-state current | A non-conducting prevents from carrying a large current from |
| ❌ Current spikes | turns off slower than turns on → for a few ns both conduct and draw heavy supply current |
LOW and HIGH output states
| Inputs | Transistors | Output |
|---|---|---|
| A and B HIGH (≥ 2 V); A | OFF, ON, ON, OFF | V |
| A or B LOW (≤ 0.8 V); mA flows out of the LOW input | OFF, OFF, emitter follower | V (typ. 3.6 V) |
This is exactly the NAND truth table: output LOW only if all inputs HIGH.
TTL NOR gate
- Input side: no multiple-emitter transistor; each input drives the emitter of a separate transistor (, ).
- Output side: same totem pole as the NAND.
TTL Series
| Series | Name | Notes |
|---|---|---|
| 74 | Standard TTL | Still available, but obsolete for new designs |
| 74S | Schottky | Schottky clamps stop saturation → removes storage-time delay → faster |
| 74LS | Low-power Schottky | Combines low power (74L) and speed (74S) |
| 74AS | Advanced Schottky | Very fast, high clock rates |
| 74ALS | Advanced low-power Schottky | Low power and fast — the most used |
| 74F | Fast TTL | Very low propagation delay |
⚠️ The slide wording for 74S is confusing: saturated transistors cause the storage delay; the Schottky diode prevents saturation and so removes it.
| 74 | 74S | 74LS | 74AS | 74ALS | 74F | |
|---|---|---|---|---|---|---|
| (ns) | 9 | 3 | 9.5 | 1.7 | 4 | 3 |
| (mW) | 10 | 20 | 2 | 8 | 1.2 | 6 |
| Max clock (MHz) | 35 | 125 | 45 | 200 | 70 | 100 |
| Fan-out | 10 | 20 | 20 | 40 | 20 | 33 |
| 2.4 | 2.7 | 2.7 | 2.5 | 2.5 | 2.5 | |
| 0.4 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | |
| 2.0 | 2.0 | 2.0 | 2.0 | 2.0 | 2.0 | |
| 0.8 | 0.8 | 0.8 | 0.8 | 0.8 | 0.8 |
Current ratings of TTL series
| Series | ||||
|---|---|---|---|---|
| 74 | −0.4 mA | 16 mA | 40 µA | −1.6 mA |
| 74S | −1 mA | 20 mA | 50 µA | −2 mA |
| 74LS | −0.4 mA | 8 mA | 20 µA | −0.4 mA |
| 74AS | −2 mA | 20 mA | 20 µA | −0.5 mA |
| 74ALS | −0.4 mA | 8 mA | 20 µA | −0.1 mA |
| 74F | −1 mA | 20 mA | 20 µA | −0.6 mA |
The minus sign means current flows out of the pin. Always check the actual data sheet.
Method – Determining Fan-Out
- HIGH state: of all loads must be of the driver.
- LOW state: of all loads must be of the driver.
For identical loads:
⚠️ Fan-out is always rounded down (11.11 → 11) and the smaller of the two values is taken.
Example – 74ALS00 driving 74ALS00
Example – 74ALS00 driving three 74S inputs + one 74-series (7406) input
flowchart LR D[74ALS00 output<br/>I_OH = 400 µA<br/>I_OL = 8 mA] --> S1[74S] D --> S2[74S] D --> S3[74S] D --> T[7406 / 74]
- HIGH: ✅
- LOW: ✅ → no loading problem
⚠️ The slide writes ” … is 8 mA” in step 2 — it means .
Example – 74AS04 driving CLR inputs of 74AS74 flip-flops
CLR/PRE inputs: A, mA. 74AS04: mA, mA.
⚠️ Flip-flop control inputs (CLR, PRE) can load more than ordinary gate inputs — use their own specs.
Definition – Floating (Unconnected) Inputs
An open TTL input behaves like a logic 1, because the input emitter–base junction (diode) is not forward-biased — same as when a HIGH is applied.
Unused Inputs
Even though a floating TTL input reads as 1, leaving it open is bad: it acts as an antenna and picks up noise. Three ways to handle an unused input of a NAND :
| Option | Method | Comment |
|---|---|---|
| (a) | Leave floating | ❌ Logic correct but noise-prone |
| (b) | Tie to +5 V through 1 kΩ | ✅ Holds input HIGH (for AND/NAND) |
| (c) | Tie to a used input | ✅ Logic unchanged, but adds load (see below) |
For OR/NOR gates, unused inputs must be tied LOW (ground) instead.
Rule – Tied-Together Inputs
Inputs tied together present a load equal to the sum of each input’s load — except for NAND/AND gates in the LOW state, where the load equals a single input.
Why: in a NAND, is limited by ; tying emitters together just splits that current between and . NOR/OR gates use a separate input transistor per input, so the currents add.
| Gate with 2 inputs tied (A, mA each) | HIGH load | LOW load |
|---|---|---|
| NAND / AND | 40 µA | 0.5 mA |
| NOR / OR | 40 µA | 1 mA |
Example – Load on output X (all 74LS, A, mA)
Gate 1 drives: NAND 2 (2 inputs tied), NAND 3 (1 input), NOR 4 (3 inputs tied).
flowchart LR G1[NAND 1 → X] -->|2 inputs tied| G2[NAND 2] G1 -->|1 input| G3[NAND 3] G1 -->|3 inputs tied| G4[NOR 4]
| Gate | HIGH load | LOW load |
|---|---|---|
| 2 (NAND, 2 tied) | 40 µA | 0.4 mA |
| 3 (NAND, 1) | 20 µA | 0.4 mA |
| 4 (NOR, 3 tied) | 60 µA | 1.2 mA |
| Total | 120 µA | 2.0 mA |
Biasing TTL Inputs LOW
To hold an input LOW (e.g., trigger input T of a one-shot OS) until a switch connects it to +5 V, a resistor to ground is used. flows out of the input through , so must be small enough that :
Example – 74LS one-shot, mA
⚠️ Pick the next lower standard value — a larger would lift the input into the invalid region.
3. ECL Logic Family
Definition – Emitter-Coupled Logic (ECL)
TTL transistors saturate, so speed is limited by storage delay. ECL keeps transistors out of saturation; current is switched from the collector of one transistor to another, hence its other name CML (Current-Mode Logic).
Basic ECL circuit
A differential amplifier: (input ) and (reference V) share emitter resistor kΩ to V ( mA); collectors via 300 Ω to ground.
| Conducting | |||
|---|---|---|---|
| −1.7 V (logic 0) | 0 V | −0.9 V | |
| −0.8 V (logic 1) | −0.9 V | 0 V |
- and are complements.
- Collector levels (0 / −0.9 V) differ from input levels (−0.8 / −1.7 V) → emitter followers shift them down by ~0.8 V, giving and at proper ECL levels.
ECL OR/NOR gate
Add input transistors in parallel with (A on , B on ). If any input is HIGH, it conducts:
ECL characteristics
- Never saturates → very fast: typical ps.
- Logic levels: 1 = −0.8 V, 0 = −1.7 V.
- Worst-case noise margins ≈ 150 mV → unreliable in heavy industrial environments.
- Outputs come in complementary pairs → no separate inverter needed.
- Fan-out ≈ 25; power ≈ 25 mW per gate.
- Total current stays nearly constant regardless of state → little supply noise during switching.
High-speed logic comparison
| Family | (ns) | (mW) < 100 kHz | Worst-case NM (mV) | Max clock (MHz) |
|---|---|---|---|---|
| 74AS | 1.7 | 8 | 300 | 200 |
| 74F | 3.8 | 6 | 300 | 100 |
| 74AHC | 3.7 | 0.006 | 550 | 130 |
| 74AVC | 2 | 0.006 | 250 | * |
| 74ALVT | 2.4 | 0.33 | 400 | * |
| 74ALB | 2.2 | 1 | 400 | * |
| ECL | 0.3 | 25 | 150 | 1400 |
* No flip-flops in this series. ECL wins on speed but loses badly on power and noise margin.
4. CMOS Logic Family
Definition – CMOS
Complementary Metal-Oxide Semiconductor: built from P- and N-channel MOSFETs. Provides all TTL functions plus some extras.
Compatibility terms when mixing families:
- Pin-compatible – same pin assignment (e.g., 74HC00 and 7400).
- Functionally equivalent – same logic function.
- Electrically compatible – can be connected directly without interfacing problems.
CMOS series
- 4000 / 14000 series (oldest)
- 74HC / HCT (High-speed CMOS; T = TTL-compatible inputs)
- 74AC / ACT (Advanced CMOS)
- 74AHC / AHCT (Advanced High-speed CMOS)
- BiCMOS 5-V logic (bipolar + CMOS)
CMOS vs TTL voltage levels
| 4000B | 74HC | 74HCT | 74AC | 74ACT | 74AHC | 74AHCT | 74 | 74LS | 74AS | 74ALS | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 3.5 | 3.5 | 2.0 | 3.5 | 2.0 | 3.85 | 2.0 | 2.0 | 2.0 | 2.0 | 2.0 | |
| 1.5 | 1.0 | 0.8 | 1.5 | 0.8 | 1.65 | 0.8 | 0.8 | 0.8 | 0.8 | 0.8 | |
| 4.95 | 4.9 | 4.9 | 4.9 | 4.9 | 4.4 | 3.15 | 2.4 | 2.7 | 2.7 | 2.5 | |
| 0.05 | 0.1 | 0.1 | 0.1 | 0.1 | 0.44 | 0.1 | 0.4 | 0.5 | 0.5 | 0.5 | |
| 1.45 | 1.4 | 2.9 | 1.4 | 2.9 | 0.55 | 1.15 | 0.4 | 0.7 | 0.7 | 0.7 | |
| 1.45 | 0.9 | 0.7 | 1.4 | 0.7 | 1.21 | 0.7 | 0.4 | 0.3 | 0.3 | 0.4 |
- CMOS has larger noise margins than TTL (even larger above 5 V).
- Static power: 2.5–10 nW per gate.
MOSFET as a switch
| Drain-source bias | for conduction | |||
|---|---|---|---|---|
| N-channel | Positive | more positive than +1.5 V | ≈ 1 kΩ | Ω |
| P-channel | Negative | more negative than −1.5 V | ≈ 1 kΩ | Ω |
- NMOS: gate HIGH → ON (closed switch); gate LOW → OFF. With a 100 kΩ pull-up it forms an NMOS inverter.
- PMOS: gate LOW ( V) → ON; gate HIGH () → OFF.
Basic CMOS inverter
PMOS from to output, NMOS from output to ground, gates tied together.
| (P) | (N) | ||
|---|---|---|---|
| (1) | OFF ( Ω) | ON (1 kΩ) | ≈ 0 V |
| 0 V (0) | ON (1 kΩ) | OFF ( Ω) | ≈ |
One transistor is always OFF → almost no static current.
CMOS NAND and NOR
| Gate | PMOS (pull-up) | NMOS (pull-down) |
|---|---|---|
| NAND | parallel | series |
| NOR | series | parallel |
The pull-up and pull-down networks are always duals of each other.
increases with frequency
Static power is tiny, but each LOW→HIGH transition must charge the load capacitance (input capacitances of the loads + the output’s own capacitance). A current spike flows at every transition, so
⚠️ “CMOS uses almost no power” is only true at DC / low frequency. At high frequencies CMOS can dissipate as much as TTL.
CMOS fan-out
DC input current is negligible; the limit is capacitive: each input ≈ 5 pF, adding ≈ 3 ns to the driver’s propagation delay.
Example – NAND driving 20 loads
Typical CMOS fan-out limit: 50 for MHz; lower at higher frequencies.
Unused CMOS inputs
Never leave CMOS inputs open — tie them to 0 V, , or another input, even on unused gates. A floating input can bias both MOSFETs ON → large current, overheating.
⚠️ Different from TTL: a floating TTL input reads as 1; a floating CMOS input is undefined and dangerous.
Static sensitivity (ESD)
Walking on carpet can build up >30 000 V. MOS gates have a very thin oxide; a discharge punches through it and permanently destroys the device. ESD costs billions per year.
Lab precautions:
- Ground instrument chassis, soldering-iron tips, metal benches.
- Wear a grounded wrist strap.
- Store ICs (especially MOS) in conductive foam or aluminum foil.
- Avoid touching pins; insert the IC right after removing it from its carrier.
- Put shorting straps on PC-board edge connectors during transport.
- Never leave unused inputs unconnected.
Definition – Tristate (Three-State) Outputs
Three output states: HIGH, LOW, High-Z. In High-Z both pull-up and pull-down transistors are OFF, so the output is effectively disconnected (fan-out of state Z is zero). Controlled by an OE (Output Enable) input.
| OE | Input | Pull-up | Pull-down | Output |
|---|---|---|---|---|
| 1 | LOW | ON | OFF | HIGH |
| 1 | HIGH | OFF | ON | LOW |
| 0 | X | OFF | OFF | Hi-Z |
⚠️ If all outputs on a line are Hi-Z, the line itself is indeterminate (floating).
Tristate buffers
| 74LS125 (active-LOW enable) | 74LS126 (active-HIGH enable) | ||
|---|---|---|---|
| x | E | x | |
| 0 | A | 0 | Hi-Z |
| 1 | Hi-Z | 1 | A |
Example – Several sources on a common bus
Three 74AHC126 buffers (A, B, C) drive one bus. Enable only one at a time:
flowchart LR A[A] --> BA[Buffer E_A = 0] -.Hi-Z.-x BUS[(Common bus)] B[B] --> BB[Buffer E_B = 1] --> BUS C[C] --> BC[Buffer E_C = 0] -.Hi-Z.-x BUS BUS --> O[To other circuits: carries B]
⚠️ Bus contention: if two enabled CMOS outputs disagree, the bus sits at ≈ — an invalid level — and large current flows between them.
High-speed bus interface logic
Shared-bus systems use tristate buffers, bidirectional transceivers and high-current line drivers. If the bus is longer than about 4 inches, treat it as a transmission line: its inductance, capacitance and resistance give a characteristic impedance that distorts signals (reflections, ringing).
Termination methods (from the slide figure):
| Method | Description | |
|---|---|---|
| (a) | Parallel termination | Resistor R from line end to ground |
| (b) | AC (RC) termination | Series R–C from line end to ground (no DC power) |
| (c) | Thévenin termination | to and to ground |
| (d) | Diode termination | Clamp diodes to and ground limit over/undershoot |
| (e) | Series termination | Resistor R at the driver output |
5. Integrated Circuit Interfacing
Definition – Interfacing
Connecting an output to an input with different electrical characteristics. An interface circuit sits between driver and load so that HIGHs are seen as HIGH and LOWs as LOW. The simplest interface is a direct wire — always possible within the same series.
Conditions for a direct connection
| Driver | Load (must satisfy) |
|---|---|
Current ratings (CMOS vs TTL)
| 4000B | 74HC/HCT | 74AC/ACT | 74AHC/AHCT | 74 | 74LS | 74AS | 74ALS | 74F | |
|---|---|---|---|---|---|---|---|---|---|
| 1 µA | 1 µA | 1 µA | 1 µA | 40 µA | 20 µA | 20 µA | 20 µA | 20 µA | |
| 1 µA | 1 µA | 1 µA | 1 µA | 1.6 mA | 0.4 mA | 0.5 mA | 100 µA | 0.6 mA | |
| 0.4 mA | 4 mA | 24 mA | 8 mA | 0.4 mA | 0.4 mA | 2 mA | 0.4 mA | 1.0 mA | |
| 0.4 mA | 4 mA | 24 mA | 8 mA | 16 mA | 8 mA | 20 mA | 8 mA | 20 mA |
⚠️ The slide lists 74ALS as “400 mA” — it is 400 µA (0.4 mA).
TTL driving CMOS
- Current: no problem — CMOS inputs draw ≈ 1 µA.
- Voltage: TTL (2.4–2.7 V) is too low for 4000B, 74HC, 74AC ( V).
- Fix: a pull-up resistor (e.g., 10 kΩ to +5 V) raises the TTL HIGH to ≈ 5 V.
- Not needed for 74HCT / 74ACT (TTL-compatible inputs, V).
Worked check – 74LS → 74HC vs 74LS → 74HCT
| Check | 74LS → 74HC | 74LS → 74HCT |
|---|---|---|
| ? | 2.7 < 3.5 ❌ | 2.7 ≥ 2.0 ✅ |
| ? | 0.5 ≤ 1.0 ✅ | 0.5 ≤ 0.8 ✅ |
| Verdict | needs pull-up | direct connection |
CMOS driving TTL
- HIGH state: P-MOSFET ON, output sources current. CMOS and easily satisfy TTL → no problem.
- LOW state: N-MOSFET ON, output sinks (100 µA – 2 mA per TTL input) → this is the limit.
- 74HC/HCT sink 4 mA → fine for one load of any TTL series.
- 4000B sinks only 0.4 mA → cannot drive even one 74 or 74AS input.
- 74AHC ≈ 74LS drive capability.
Worked check – fan-out of CMOS into TTL (LOW state)
When the driver cannot supply enough current
- Insert a buffer with inputs compatible with the driver and enough output current (e.g., 4001B → 74HC125 → 5 ALS inputs).
- Split the load among several gates of the same CMOS series so no output drives more than about three loads (e.g., 4001 → another 4001 gate wired as a buffer).
Low-voltage outputs driving high-voltage loads
(a) Open-drain buffer with pull-up to the high supply — e.g., 74AVC08 (1.8 V) → 74LVC07 open drain with pull-up to +5 V → 74HC08 (5 V).
(b) Voltage-level translator with two supplies — e.g., 74AVC1T45 ( V, V).
High-voltage outputs driving low-voltage loads
Use a low-voltage part with 5-V-tolerant inputs as the interface — e.g., 74HC08 (5 V) → 74LVC07A buffer (1.8 V supply, 5-V-tolerant input) → 74AUC08 (1.8 V).
⚠️ Feeding 5 V directly into a 1.8 V input that is not 5-V tolerant can destroy it.