1. Integrated Circuits (ICs)

All logic gates are sold as integrated circuits. ICs are classified three ways:

CriterionCategories
TechnologyTTL (Transistor-Transistor Logic), CMOS (Complementary Metal-Oxide Semiconductor)
Scale of integrationSSI, MSI, LSI, VLSI (and ULSI, GSI)
Package styleThrough-hole (THT): DIP · Surface-mount (SMT): SOIC, PLCC, QFP

TTL vs. CMOS

TTLCMOS
Built fromBipolar Junction Transistors (BJT)MOSFETs
Speedfasterslower
Poweruses more poweruses less power
ESD (electrostatic discharge)not sensitivevery sensitive

Density of Integration

ScaleGates per ICTypical devices
SSI – Small< 10logic gates (AND, OR, NAND, NOR)
MSI – Medium10 – 100flip-flops, adders, counters, MUX/DEMUX
LSI – Large100 – 10 000small memories, PLDs
VLSI – Very large10 000 – 100 000large memories, CPLDs
ULSI – Ultra large100 000 – 1 000 0008- and 16-bit microprocessors
GSI – Giga-scale> 1 000 000Pentium IV

The growth in transistor count follows Moore’s law (e.g. the 1956 IBM Model 350 disk stored only 5 MB).


2. Packages

Through-Hole Technology (THT)

Pins go through holes drilled in the PCB and are soldered on the other side.

  • DIP (Dual Inline Package): pins along the two long sides; a notch (or a dot) marks pin 1. Obsolete commercially but still the choice for teaching, since it fits proto-boards.
  • ✅ Easy to hand-assemble; usable on proto-boards.
  • ❌ Much larger boards; high-end parts (e.g. microprocessors) aren’t offered in THT.

Surface-Mount Technology (SMT)

The IC sits on conductive pads on the surface, held by solder paste; the whole board is heated to solder it. Machine placement allows very tight lead spacing.

  • SOIC (Small Outline IC): gull-wing leads on two sides.
  • PLCC (Plastic Leaded Chip Carrier): J-shaped leads curled under the chip on all four sides; can also go in a socket (handy for parts that may be replaced).
  • QFP / TQFP (Quad Flat Pack): gull-wing leads on all four sides.
  • ✅ Smaller designs, higher pin counts, both sides of the PCB.
  • ❌ More expensive manufacturing; can’t be used on proto-boards.

3. TTL Families and Part Numbers

TTL Sub-Families

SeriesInfixExampleNotes
Standard—7404original; slowest, power-hungry (obsolete)
Low-powerL74L04lower power (obsolete)
SchottkyS74S04first with Schottky transistors; fast but power-hungry (obsolete)
Low-power SchottkyLS74LS04faster and lower power than L; used in this course
Advanced SchottkyAS74AS04very fast, high power
Advanced low-power SchottkyALS74ALS04very good speed–power ratio; popular

Numbering System – DM 74 LS 08 N

FieldMeaning
DMmanufacturer (DM = Fairchild, SN = Texas Instruments, S = Signetics)
7474 = industrial/commercial series (54 = military)
LSlogic sub-family
08logic function (04 = inverter, 08 = AND…)
Npackage (N = DIP)

DM7402, SN7402 and S7402 perform the same function.

Basic 7400-Series Devices

DeviceFunctionDeviceFunction
74xx00Quad 2-input NAND74xx20Dual 4-input NAND
74xx02Quad 2-input NOR74xx21Dual 4-input AND
74xx04Hex inverter74xx27Triple 3-input NOR
74xx08Quad 2-input AND74xx28Dual 4-input NOR
74xx10Triple 3-input NAND74xx308-input NAND
74xx11Triple 3-input AND74xx32Quad 2-input OR

⚠️ Check the pin-out — the 7402 (NOR) has outputs on different pins from the 7400 (NAND), even though both are “quad 2-input” in a 14-pin DIP ( = pin 14, GND = pin 7).


4. Reading a Datasheet (74LS08 Example)

A datasheet contains: general description, connection (pin-out) diagram, function table, operating conditions, electrical characteristics, switching characteristics, physical dimensions.

Function Table (74LS08, )

ABY
LLL
LHL
HLL
HHH

(H = HIGH level, L = LOW level.)

SymbolMeaning74LS08
supply voltage4.75 – 5.25 V (nom. 5 V)
minimum input voltage recognized as 12 V
maximum input voltage still recognized as 00.8 V
max HIGH-level output current−0.4 mA
max LOW-level output current8 mA
free-air operating temperature0 – 70 °C

Electrical Characteristics

SymbolMeaning74LS08
minimum output voltage in state 1 (under load)2.7 V (typ. 3.4)
maximum output voltage in state 0 (under load)0.5 V at = 8 mA (0.4 V at 4 mA)
current into an input held HIGH20 µA
current into an input held LOW−0.36 mA
, output current in state 1 / 0 under load—

(Negative current = flowing out of the pin.)

Switching Characteristics ( V, °C, kΩ)

SymbolMeaning pF pF
propagation delay, LOW→HIGH output4 – 13 ns6 – 18 ns
propagation delay, HIGH→LOW output3 – 11 ns5 – 18 ns

5. Fan-In, Fan-Out, Noise Margin, Delay

Definition – Fan-In

The number of inputs a gate has. More inputs → more series elements → longer delay; it’s often faster to cascade smaller gates.

Definition – Fan-Out

The maximum number of inputs of the same family that one output can drive reliably. Large fan-out → more load → longer delay and worse noise margins.

The output current must cover the sum of the input currents it drives: (HIGH) and (LOW).

⚠️ The slide says “the rating must be less than or equal to the sum of all ”. It’s the other way round (as the slide’s own figure notes): the output rating must be ≥ the sum of the input currents.

Example – 74LS08 Fan-Out

Definition – Noise Margin

How much noise can be added to a valid output before the next input misreads it:

Example – Standard TTL

5.0 V0 VVOH(min) 2.4VIH(min) 2.0VIL(max) 0.8VOL(max) 0.4guaranteed HIGH outguaranteed LOW outrecognized as 1recognized as 0uncertain regionOutputsInputsVNH = 0.4 VVNL = 0.4 V

V, V. Inputs between 0.8 V and 2.0 V are neither HIGH nor LOW (uncertain region).

Example – 74LS08

V, V → V.

Definition – Propagation Delay and Speed-Power Product

  • : input-to-output delay when the output goes HIGH → LOW.
  • : input-to-output delay when the output goes LOW → HIGH.
  • Speed–power product — a figure of merit (lower is better).

6. Unused and Tied Inputs

Floating Inputs

On a TTL IC, an unconnected (floating) input behaves as a 1.

Three Ways to Handle an Unused Input (e.g. a 2-input NAND used as an inverter)

  1. Leave it unconnected (floating → acts as 1) — works for TTL but is noise-prone.
  2. Connect it to +5 V through a 1 kΩ resistor → solid logic 1.
  3. Tie it to a used input.

⚠️ For CMOS, never leave inputs floating — they pick up static charge. And the “unused = 1” trick only suits AND/NAND; for OR/NOR an unused input must be tied to 0.

Tied-Together Inputs (TTL)

Tying several inputs of one gate together makes a load equal to the sum of the individual input loads — except for AND and NAND, whose LOW-state load stays that of a single input however many are tied.


7. Comparing Logic Families

ParameterCMOSTTLECL
Basic gateNAND/NORNANDOR/NOR
Fan-out> 501025
Power per gate1 mW @ 1 MHz1 – 22 mW4 – 55 mW
Noise immunityexcellentvery goodgood
1 – 200 ns1.5 – 33 ns1 – 4 ns

Compatibility Terms

  • Pin-compatible: same pin configuration.
  • Functionally equivalent: same logic function.
  • Electrically compatible: can be connected directly without special measures.

CMOS Series

SeriesNotes
4000 (RCA) / 14000 (Motorola)oldest; rarely used except for special functions; 3 – 15 V
74HC / HCT10× faster than 4000, comparable to 74LS; pin-compatible and functionally equivalent to TTL with the same number
74AC / ACT (“ACL”)functionally equivalent to TTL but not pin-compatible
74AHC / AHCTmigration path from HC: ~3× faster, lower power, similar noise immunity, no over/undershoot problems
BiCMOSbipolar + CMOS: very low power, high speed; mainly microprocessor/bus interfacing

CMOS Power

  • 74-series CMOS typically runs on 2 – 6 V; lower-voltage series (2.5 V, 3.3 V) exist. Mixing supply voltages needs special interfacing.
  • CMOS generally has larger noise margins than TTL.
  • Static power is extremely low (ideal for batteries); power rises in proportion to switching frequency.

Static Sensitivity – ESD Precautions (especially MOS)

  • Ground instrument chassis, soldering-iron tips and the metal bench.
  • Wear a grounded wrist strap.
  • Store ICs in conductive foam or aluminium foil.
  • Don’t touch IC pins; insert the IC right after removing it from its carrier.
  • Put shorting straps on PCB edge connectors during transport; avoid touching them.
  • Don’t leave unused inputs unconnected.

Exercises: none assigned — practise by computing fan-out and noise margins from the 74LS08 table (§4–5) for another family’s datasheet.