CS 152 Computer Architecture and Engineering CS252A Graduate Computer Architecture
Lecture 1 - Introduction & Early Machines
Chris Fletcher UC Berkeley, Spring 2026
What is Computer Architecture?
An app (e.g., a phone compass) ultimately runs on physics
Electron transport in silicon transistors, magnetic fields at a sensor
Too big a gap to bridge in a single design step for any real system
Only fixed-function artifacts map app → physics directly (a magnetized needle floating in water)
Architecture solves this complexity problem:
Computer architecture is the design of the abstraction layers that allow us to implement information-processing applications efficiently using available manufacturing technologies.
Reason about one layer at a time: no billions of transistors while writing a function, no user interfaces while fabricating a wafer
A textbook 5-stage pipeline would be a microscopic speck
Next: trace how computing evolved from mechanical calculators to stored-program machines.
Check Your Understanding
1. Causal reasoning: around 2005 transistor counts kept doubling, yet clock frequency and chip power flattened. Explain using Dennard scaling and the dynamic power equation.
Dennard scaling ended: $V_{DD}$ could not drop further without excessive leakage. Since $P = \alpha C V_{DD}^2 f$ and total power hit a thermal ceiling (~100 W), $f$ could no longer increase.
2. Yes or No: under the vertical model, do system companies design their own chips because chip engineering became cheap?
No. Advanced chips still cost well over $100M, but the profit and differentiation of the final product justify custom SoCs.
Four Themes in the History of Computing
Core operations: calculators → general-purpose computers by adding branches and memory access to arithmetic
Fixed function → programmable → stored program: hardwired, then plugboards/tapes, then program and data stored identically in memory
Abstraction: hide hardware behind processor idioms (PC, instructions, data) and an ISA
Technology-influenced design choices: physical media dictate number bases and operators
Analog vs. Digital Computers
Analog: variables as continuous physical quantities, computed by scaled physical laws
Gear angles: Antikythera mechanism (~100 BC)
Airflow in a wind tunnel; capacitor voltage
Resurfacing today for matrix multiply via Ohm's law, $V = IR$
Digital: numbers encoded in discrete steps
Noise immunity
Exact, deterministic repeatability
Not limited to physically realizable analog laws
Babbage's Difference Engine (1822)
First algorithm–hardware co-design
Approximate continuous functions with polynomials
Evaluate polynomials with finite-difference tables using only a single adder
ISA ~ architectural state and semantics: the SW/HW contract (registers, PC, memory, instruction meaning)
Microarchitecture ~ a physical implementation of an ISA
Model 30 (entry)
Model 70 (high end)
Datapath
8-bit
64-bit
Registers
In main store
Transistor
Control
Microcoded, read-only control store
Hardwired
Software
Same binary programs
The lineage still runs today on IBM z15 mainframes
Check Your Understanding
1. Quick stack trace: starting with [a + b*c], trace the stack for the remaining tokens a d c * + e - /.
Push a, d, c → [a+b*c, a, d, c]; * → [a+b*c, a, d*c]; + → [a+b*c, a+d*c]; push e; - → [a+b*c, a+d*c-e]; / → [(a+b*c)/(a+d*c-e)].
2. Fill in the blank: IBM System/360 was the first architecture to separate ________ (registers, PC, memory, instruction semantics) from ________ (the physical implementation).
ISA and microarchitecture.
← → / space to move · A to reveal answers · F fullscreen