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.

SymbolNameMeaning
High-level input voltageSmallest input voltage still accepted as logic 1
Low-level input voltageLargest input voltage still accepted as logic 0
High-level output voltageSmallest voltage the output guarantees in the HIGH state
Low-level output voltageLargest voltage the output guarantees in the LOW state
High-level input currentCurrent flowing into an input held HIGH
Low-level input currentCurrent flowing out of an input held LOW
High-level output currentCurrent an output can source while HIGH
Low-level output currentCurrent 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
Input Output t_PHL t_PLH 50 % points

⚠️ 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:

Output (std TTL) Logic 1 Disallowed Logic 0 Input (std TTL) Logic 1 Indeterm. Logic 0 V_OH(min)=2.4 V_IH(min)=2.0 V_IL(max)=0.8 V_OL(max)=0.4 V_NH = 0.4 V V_NL = 0.4 V

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

AbbreviationPackageHeightLead pitch
DIPDual-in-line package200 mil (5.1 mm)100 mil (2.54 mm)
SOICSmall outline IC2.65 mm50 mil (1.27 mm)
SSOPShrink small outline2.0 mm0.65 mm
TSSOPThin shrink small outline1.1 mm0.65 mm
TVSOPThin very small outline1.2 mm0.4 mm
PLCCPlastic leaded chip carrier (J-lead)4.5 mm1.27 mm
QFPQuad flat pack (gull-wing)4.5 mm0.635 mm
TQFPThin quad flat pack1.6 mm0.5 mm
LFBGALow-profile fine-pitch ball grid array1.5 mm0.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

ParameterMinTypMax
2.43.4–
–0.20.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 statesHIGH: is an emitter follower (≈70 Ω); LOW: saturated (≈10 Ω) → stray capacitance charges/discharges fast → fast transitions
✅ No large LOW-state currentA 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

InputsTransistorsOutput
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

SeriesNameNotes
74Standard TTLStill available, but obsolete for new designs
74SSchottkySchottky clamps stop saturation → removes storage-time delay → faster
74LSLow-power SchottkyCombines low power (74L) and speed (74S)
74ASAdvanced SchottkyVery fast, high clock rates
74ALSAdvanced low-power SchottkyLow power and fast — the most used
74FFast TTLVery 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.

7474S74LS74AS74ALS74F
(ns)939.51.743
(mW)1020281.26
Max clock (MHz)351254520070100
Fan-out102020402033
2.42.72.72.52.52.5
0.40.50.50.50.50.5
2.02.02.02.02.02.0
0.80.80.80.80.80.8

Current ratings of TTL series

Series
74−0.4 mA16 mA40 µA−1.6 mA
74S−1 mA20 mA50 µA−2 mA
74LS−0.4 mA8 mA20 µA−0.4 mA
74AS−2 mA20 mA20 µA−0.5 mA
74ALS−0.4 mA8 mA20 µA−0.1 mA
74F−1 mA20 mA20 µA−0.6 mA

The minus sign means current flows out of the pin. Always check the actual data sheet.

Method – Determining Fan-Out

  1. HIGH state: of all loads must be of the driver.
  2. 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 :

OptionMethodComment
(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 loadLOW load
NAND / AND40 µA0.5 mA
NOR / OR40 µA1 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]
GateHIGH loadLOW load
2 (NAND, 2 tied)40 µA0.4 mA
3 (NAND, 1)20 µA0.4 mA
4 (NOR, 3 tied)60 µA1.2 mA
Total120 µA2.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 V0 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 kHzWorst-case NM (mV)Max clock (MHz)
74AS1.78300200
74F3.86300100
74AHC3.70.006550130
74AVC20.006250*
74ALVT2.40.33400*
74ALB2.21400*
ECL0.3251501400

* 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

4000B74HC74HCT74AC74ACT74AHC74AHCT7474LS74AS74ALS
3.53.52.03.52.03.852.02.02.02.02.0
1.51.00.81.50.81.650.80.80.80.80.8
4.954.94.94.94.94.43.152.42.72.72.5
0.050.10.10.10.10.440.10.40.50.50.5
1.451.42.91.42.90.551.150.40.70.70.7
1.450.90.71.40.71.210.70.40.30.30.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-channelPositivemore positive than +1.5 V≈ 1 kΩ Ω
P-channelNegativemore 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

GatePMOS (pull-up)NMOS (pull-down)
NAND parallelseries
NOR seriesparallel

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:

  1. Ground instrument chassis, soldering-iron tips, metal benches.
  2. Wear a grounded wrist strap.
  3. Store ICs (especially MOS) in conductive foam or aluminum foil.
  4. Avoid touching pins; insert the IC right after removing it from its carrier.
  5. Put shorting straps on PC-board edge connectors during transport.
  6. 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.

OEInputPull-upPull-downOutput
1LOWONOFFHIGH
1HIGHOFFONLOW
0XOFFOFFHi-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)
xEx
0A0Hi-Z
1Hi-Z1A

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):

MethodDescription
(a)Parallel terminationResistor R from line end to ground
(b)AC (RC) terminationSeries R–C from line end to ground (no DC power)
(c)Thévenin termination to and to ground
(d)Diode terminationClamp diodes to and ground limit over/undershoot
(e)Series terminationResistor 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

DriverLoad (must satisfy)

Current ratings (CMOS vs TTL)

4000B74HC/HCT74AC/ACT74AHC/AHCT7474LS74AS74ALS74F
1 µA1 µA1 µA1 µA40 µA20 µA20 µA20 µA20 µA
1 µA1 µA1 µA1 µA1.6 mA0.4 mA0.5 mA100 µA0.6 mA
0.4 mA4 mA24 mA8 mA0.4 mA0.4 mA2 mA0.4 mA1.0 mA
0.4 mA4 mA24 mA8 mA16 mA8 mA20 mA8 mA20 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

Check74LS → 74HC74LS → 74HCT
?2.7 < 3.5 ❌2.7 ≥ 2.0 ✅
?0.5 ≤ 1.0 ✅0.5 ≤ 0.8 ✅
Verdictneeds pull-updirect 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

  1. Insert a buffer with inputs compatible with the driver and enough output current (e.g., 4001B → 74HC125 → 5 ALS inputs).
  2. 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.