RISC, CISC and Pipelining

Overlapped fetch, decode, operand fetch, execute and write back finish one instruction every clock cycle, until a long instruction, a waiting operand or an interrupt breaks the flow.

Pipeline
↺

A Level

Can five instructions work at once?

Tap or drag each instruction into IF, then press Tick so all five units work together.

Instructions

Program order in instruction memory

01
02
03
04

ADD destination, source, sourceA → B → C → DGoal: same result · no register waits

Clock
Not started

Processor

Before the first cycle

General-purpose registers contain their starting values.

Clock cycles

Clock has not started.

A simplified five-stage teaching processor with chosen instruction costs. Programs do not branch; there is no forwarding. Real processors differ.