1. Integrated Circuits (ICs)
All logic gates are sold as integrated circuits. ICs are classified three ways:
| Criterion | Categories |
|---|---|
| Technology | TTL (Transistor-Transistor Logic), CMOS (Complementary Metal-Oxide Semiconductor) |
| Scale of integration | SSI, MSI, LSI, VLSI (and ULSI, GSI) |
| Package style | Through-hole (THT): DIP · Surface-mount (SMT): SOIC, PLCC, QFP |
TTL vs. CMOS
| TTL | CMOS | |
|---|---|---|
| Built from | Bipolar Junction Transistors (BJT) | MOSFETs |
| Speed | faster | slower |
| Power | uses more power | uses less power |
| ESD (electrostatic discharge) | not sensitive | very sensitive |
Density of Integration
| Scale | Gates per IC | Typical devices |
|---|---|---|
| SSI – Small | < 10 | logic gates (AND, OR, NAND, NOR) |
| MSI – Medium | 10 – 100 | flip-flops, adders, counters, MUX/DEMUX |
| LSI – Large | 100 – 10 000 | small memories, PLDs |
| VLSI – Very large | 10 000 – 100 000 | large memories, CPLDs |
| ULSI – Ultra large | 100 000 – 1 000 000 | 8- and 16-bit microprocessors |
| GSI – Giga-scale | > 1 000 000 | Pentium 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
| Series | Infix | Example | Notes |
|---|---|---|---|
| Standard | — | 7404 | original; slowest, power-hungry (obsolete) |
| Low-power | L | 74L04 | lower power (obsolete) |
| Schottky | S | 74S04 | first with Schottky transistors; fast but power-hungry (obsolete) |
| Low-power Schottky | LS | 74LS04 | faster and lower power than L; used in this course |
| Advanced Schottky | AS | 74AS04 | very fast, high power |
| Advanced low-power Schottky | ALS | 74ALS04 | very good speed–power ratio; popular |
Numbering System – DM 74 LS 08 N
| Field | Meaning |
|---|---|
DM | manufacturer (DM = Fairchild, SN = Texas Instruments, S = Signetics) |
74 | 74 = industrial/commercial series (54 = military) |
LS | logic sub-family |
08 | logic function (04 = inverter, 08 = AND…) |
N | package (N = DIP) |
DM7402, SN7402 and S7402 perform the same function.
Basic 7400-Series Devices
| Device | Function | Device | Function |
|---|---|---|---|
| 74xx00 | Quad 2-input NAND | 74xx20 | Dual 4-input NAND |
| 74xx02 | Quad 2-input NOR | 74xx21 | Dual 4-input AND |
| 74xx04 | Hex inverter | 74xx27 | Triple 3-input NOR |
| 74xx08 | Quad 2-input AND | 74xx28 | Dual 4-input NOR |
| 74xx10 | Triple 3-input NAND | 74xx30 | 8-input NAND |
| 74xx11 | Triple 3-input AND | 74xx32 | Quad 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, )
| A | B | Y |
|---|---|---|
| L | L | L |
| L | H | L |
| H | L | L |
| H | H | H |
(H = HIGH level, L = LOW level.)
Recommended Operating Conditions (inputs)
| Symbol | Meaning | 74LS08 |
|---|---|---|
| supply voltage | 4.75 – 5.25 V (nom. 5 V) | |
| minimum input voltage recognized as 1 | 2 V | |
| maximum input voltage still recognized as 0 | 0.8 V | |
| max HIGH-level output current | −0.4 mA | |
| max LOW-level output current | 8 mA | |
| free-air operating temperature | 0 – 70 °C |
Electrical Characteristics
| Symbol | Meaning | 74LS08 |
|---|---|---|
| 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 HIGH | 20 µ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Ω)
| Symbol | Meaning | pF | pF |
|---|---|---|---|
| propagation delay, LOW→HIGH output | 4 – 13 ns | 6 – 18 ns | |
| propagation delay, HIGH→LOW output | 3 – 11 ns | 5 – 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
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)
- Leave it unconnected (floating → acts as 1) — works for TTL but is noise-prone.
- Connect it to +5 V through a 1 kΩ resistor → solid logic 1.
- 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
| Parameter | CMOS | TTL | ECL |
|---|---|---|---|
| Basic gate | NAND/NOR | NAND | OR/NOR |
| Fan-out | > 50 | 10 | 25 |
| Power per gate | 1 mW @ 1 MHz | 1 – 22 mW | 4 – 55 mW |
| Noise immunity | excellent | very good | good |
| 1 – 200 ns | 1.5 – 33 ns | 1 – 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
| Series | Notes |
|---|---|
| 4000 (RCA) / 14000 (Motorola) | oldest; rarely used except for special functions; 3 – 15 V |
| 74HC / HCT | 10× 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 / AHCT | migration path from HC: ~3× faster, lower power, similar noise immunity, no over/undershoot problems |
| BiCMOS | bipolar + 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.