Pipelined Datapath and Control

Info

A pipelined datapath is the same as a non-pipelined datapath except that pipeline registers are added between stages.

Pipeline Register

Definition

A pipeline register holds the data for an instruction to pass to the next state. At the end of each cycle, they latch a stage's output. Each cycle, Instructions pass to and from each pipeline register.

Problem: (the th instruction) in WB is writing to the destination register (Rd) of
Solution: pass the value of Rd through the pipeline registers to preserve its value

Figure

Control

All control signals are generated in ID and passed through the pipeline registers (just like non-pipelined control)

Diagram