Multi-cycle datapath | |||||||||||||
Control signals needed to select inputs, outputs | |||||||||||||
Need write control: | |||||||||||||
Programmer-visible units | |||||||||||||
PC, memory, register file | |||||||||||||
IR: needs to hold instruction until end of execution | |||||||||||||
Need read control: | |||||||||||||
memory | |||||||||||||
ALU Control: can use same control as single-cycle | |||||||||||||
MUXes: single or double control lines (depending on 2 or 4 inputs) | |||||||||||||