Instruction Instr.
Decode Execute Memory Write
Fetch Reg. Fetch Addr. Calc Access Back
stall control
Stall Controller
EX/MEM
IF/ID
ID/EX
MEM/WB
PC Reg Stage IF Stage ID Stage EX Stage MEM
Register
I-Cache D-Cache
File ALU
data
forwarding
Memory
5-Stage Pipeline of RISC-V CPU by Zhou Fa
UART USB Cable
Communic Memory
ation Simulator
Module
FPGA PC
Message
CPU Memory Decoder
Controller Encoder
UART
Module