CS M151B: Computer Systems Architecture

A magnifying glass held over a processor chip on a circuit board.

How did Apple’s M1 match competing laptop chips while using a fraction of the power? The answer spans the whole of computer architecture: the instruction set, the microarchitecture, the memory system, the process technology, and how they work together. This course covers the fundamentals of modern processor design: how processors execute programs, the design decisions behind them, and how to simulate and evaluate a processor.

We cover instruction set design, pipelining and hazards, branch prediction, superscalar and out-of-order execution, caches and the memory hierarchy, multicore architecture, and power management, ending with GPUs, accelerators, and custom architectures. In the projects, you implement and optimize a CPU pipeline in C++.

Logistics

Instructor
Blaise-Pascal Tine · blaisetine [at] cs.ucla.edu
Current offering
Lecture times, office hours, TAs, exam dates, and the discussion forum are posted in BruinLearn each term.
Syllabus
On this site and in BruinLearn

What you will learn

  • The fundamentals of computer architecture.
  • The design decisions behind a processor: how the ISA, microarchitecture, and technology trade off performance, power, and cost.
  • How to simulate and evaluate a processor.

Textbook

David A. Patterson and John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, RISC-V Edition, Morgan Kaufmann. Additional materials are provided by the instructor.

Research opportunities

Looking for a hardware research project? Students with a Verilog or compiler background are welcome to email the instructor.