Library

Course materials — from the first wire to the assembler.

Contents

Level Guides

Step-by-step task descriptions and solutions for each of the 67 levels.

  1. 1. Let there be light!
  2. 2. Negation
  3. 3. Perfect pair
  4. 4. At least one
  5. 5. Strict choice
  6. 6. Half Adder
  7. 7. Full Adder
  8. 8. 8-bit Adder
  9. 9. Crossroads
  10. 10. Loopback
  11. 11. Smart memory
  12. 12. Tangible Memory
  13. 13. Operation Selection
  14. 14. Heart of math
  15. 15. System Pulse
  16. 16. Program Counter
  17. 17. Anatomy of a Decoder
  18. 18. FINALE: The Ershov Computer
  19. 19. Step Forward (PC+2)
  20. 20. Dual Read
  21. 21. Pointers
  22. 22. Bus Conflict
  23. 23. Gamepad
  24. 24. Manual Pixel
  25. 25. Negative Check
  26. 26. Dice Roll
  27. 27. Hello, Ports!
  28. 28. Moving Dot
  29. 29. FINALE: Snake
  30. 30. Hello, Wire!
  31. 31. Exclusive OR (XOR)
  32. 32. Flow Control (MUX)
  33. 33. First Computation (HalfAdder)
  34. 34. Module Hierarchy (FullAdder)
  35. 35. Data Buses (Adder8)
  36. 36. ALU
  37. 37. Memory and Time
  38. 38. Step by Step
  39. 39. Random Access Memory
  40. 40. Heart of the CPU
  41. 41. System Anatomy
  42. 42. X-Ray for Silicon
  43. 43. Freezing Time
  44. 44. Control Unit
  45. 45. My ISA
  46. 46. Memory-Mapped I/O
  47. 47. Create Computer

Course Parts

The 67 levels are divided into five released parts; all five parts are released — from a wire to a pipelined RISC core. Each overview explains why the part exists, which ideas it introduces and what you will have built by the end.

1–16

Part 1 · Basics

From the first wire and a NAND to the program counter: gates, adders, multiplexer, SR latch, D flip-flop, register, ALU, clock.

17–29

Part 2 · Advanced Architecture

Instruction decoder and the final Harvard processor with assembler, then peripherals: variable PC step, dual ROM read, IX pointers, buses and I/O ports, status flags, the final Snake.

30–43

Part 3 · Verilog

Hardware description language: primitives, module hierarchy, buses, ALU, RAM, datapath, multi-file projects, RTL Viewer, and waveforms.

44–47

Part 4 · Computer Design

Control unit, custom instruction set (ISA), memory-mapped I/O, and export to a real Tang Nano 9K FPGA.

48–67

Part 5 · RISC Microarchitecture

RISC Lab: a 32-bit RV32I teaching core in Verilog — register file, load/store, a single-cycle core and a five-stage pipeline with forwarding, the load bubble and flush.

Component Guides

All components with pictures — on one page →

How gates are built from NAND — circuits and transistor budget →

Basic Logic

Arithmetic and Routing

Memory and State

Peripherals (Memory-Mapped I/O)

Processor and Control

Circuitry Articles

Verilog / Hardware Programming

"From Code to Silicon" series — learn Verilog and build your own hardware.

Tools and sections

Online tools for practice and thematic hubs.

For Teachers

Methodology materials for integrating the Ershov Computer course into the curriculum.