MIT Hardware Atlas

A study guide to 6.191 Computation Structures, fall 2026, from logic gates to operating systems. Each page starts with the few ideas that generalise, shows them as flow diagrams and charts, then applies them to real lab code with recall questions at every step.

What this is built fromThe lab pages are written from the lab code itself. The lecture pages follow the public course schedule and teach the standard material for each topic, because the lecture slides and quizzes sit behind MIT login. Check anything course-specific against the official slides.

Start here if the midterms went badly

Digital Design FoundationsLectures 1–9. Digital abstraction, Boolean algebra, CMOS, timing, flip-flops, state machines, pipelined arithmetic.rebuild from zero · worked problems Processor FoundationsLectures 10–15. RISC-V assembly, calling convention, single-cycle datapath, caches, pipeline hazards.rebuild from zero · worked problems

Labs

Lab 6 Pipeline AtlasThe four-stage pipelined RISC-V processor, its two caches, bypassing, annulment, and how it is tested.Lectures 11–15 Lab 7 Kernel AtlasThe trap handler, system-call dispatcher, process table and semaphores of a small operating system.Lectures 16, 19, 20

Lectures 16 to 22

OS and Virtual Memory AtlasOperating systems, virtual memory, page tables, the TLB, exceptions and I/O.Lectures 16–19 Synchronization and Parallelism AtlasRaces, semaphores, deadlock, cache coherence, Amdahl's law.Lectures 20–22

The course on one page

Each layer hides the one below it behind a simpler contract. The course climbs the stack one contract at a time.

LayerThe contract it offers upwardLecturesPage
Voltages → bitsA wire is 0 or 1, and noise does not accumulate1, 5Digital Design
Gates → functionsAny truth table can be built, with a known delay2–4Digital Design
Registers → machinesState changes only at the clock edge6–9Digital Design
Instruction setSoftware sees registers, memory and a fixed list of instructions10–11Processor
CachesMemory looks both large and fast12–13Processor, Lab 6
PipeliningInstructions still appear to run one at a time, only faster14–15Lab 6
Operating systemEach program appears to own the processor and the devices16, 19OS and VM, Lab 7
Virtual memoryEach program appears to own all of memory17–18OS and VM
Many threads, many coresShared memory stays consistent, and more cores give more speed, up to a limit20–22Synchronization and Parallelism