Transistors and Logic Gates
Context: FIT1047_MOC Β· from electronic switch to computing β triode β transistor β gate β chip Β· the hardware floor under Week 2βs Boolean algebra
Quick Revision
- π― Objective: a transistor is a switch triggered by a small current β gates are circuits of switches computing simple functions on 0/1 β chips are billions of gates.
- β‘ Key Constraint: gate behaviour = truth table; NOT/OR/AND are the primitive vocabulary for every Week 2 circuit.
π Core
- Digital = two states β high/low voltage βΉ 1/0; all digital electronics builds on the electronic switch.
- Vacuum tube (triode) β charge on the Grid blocks AnodeβCathode current β a switch, hence tube computers (1st gen); but large, hot, burn out.
- Transistor β solid-state triode made of semiconductor (silicon/germanium); same switching job, tiny and reliable (1956 Nobel for its inventors β physics out of scope).
- Gate β an electronic circuit built FROM transistors that computes a simple function on high/low inputs β outputs.
- Scaling story β individual transistors β integrated circuits (multiple gates per chip) β whole CPU on a chip β billion transistors today.
- Mooreβs βlawβ β transistor count on a chip doubles roughly every two years β an observation, not a law of physics.
βοΈ Core Decision Matrix β primitive gates + NAND
| Inputs | NOT | OR | AND | NAND |
|---|---|---|---|---|
- In words β NOT inverts; OR high if either input high; AND high only if both high; NAND = NOT-AND (gate symbol: AND with a βnotβ circle on the output).
Universality (Week 2, Simple Circuits)
- Gates β functions β combining gates implements any Boolean function; a chip with multiple gates = integrated circuit.
- Minimal sets β any Boolean function needs only NOT, AND or NOT, OR β since (De Morgan, Boolean Algebra Laws).
- NAND alone suffices β NAND is a universal gate: AND NAND NAND NAND ; NOT and OR follow β one gate type builds a whole computer.
β οΈ Common Mistakes
- π‘ Mooreβs law is empirical β calling it a physical law in prose costs precision marks; itβs a trend observation about integration density.
- π‘ Gate β transistor β a gate is a small circuit of transistors; the transistor alone is just the switch.
π§ Active Recall
Trace the chain from vacuum tube to modern CPU, naming what each step improved.
Answer
- Short answer: triode (switch, but big/hot/fragile) β transistor (solid-state, small, reliable) β integrated circuit (many gates, one chip) β VLSI CPU (billions of transistors).
- Why: Same abstraction throughout β every generation implements the identical primitive β a current-controlled switch β just smaller and denser (Mooreβs law).
Write the truth table for AND and OR from memory and state the one-line rule for each.
Answer
- Short answer: AND β only on ; OR β only on .
- Why: Truth table = gate spec β Week 2 Boolean algebra manipulates exactly these functions symbolically.
Why is NAND called a universal gate? Show AND built from NANDs.
Answer
- Short answer: Every Boolean function can be built from NAND alone: (a NAND fed into itself acts as NOT).
- Why: Functional completeness β NAND yields NOT (tie inputs), hence AND (invert NAND) and OR (De Morgan) β so NAND generates (Universal Sets of Operations).