Learning

A small CPU

A single-cycle 8-bit RISC datapath — four instructions, no pipelining. All the pieces from earlier, assembled.

Log in to track your progress.

How a CPU executes one instruction

Reading20 min

Fetch, decode, execute, writeback — the five-stage model and what each stage is physically made of.

Open in the app

Project: single-cycle 8-bit CPU

Project120 min

An 8-bit CPU with a 16-byte ROM, four registers, and instructions: LOAD, ADD, JUMP, HALT.

Open in the app

An unhandled error has occurred. Reload 🗙