0% found this document useful (0 votes)
16 views1 page

Pipelined CPU Diagram

Uploaded by

cw031001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

Pipelined CPU Diagram

Uploaded by

cw031001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ID clk rstn

IF Simple CPU EX MEM WB


clk clk clk clk

Adder
Hazard in_a
Adder result
in_a result
in_b Place MUXs
in_b
if you want to
Branch Control Unit
Control Unit
jump branch
taken
branch check

mem_read
mem_to_reg
opcode alu_op
mem_write ALU
P alu_src in_a
C check
reg_write in_b
result
alu_func Data Memory
mem_write
mem_read
Register File
maskmode read_data
Instruction Memory rs1
sext
readdata1 ALU Control Unit
address instruction rs2
alu_op address
writereg alu_func write_data
funct7 clk
writedata readdata2
funct3
wen
clk

Immediate Generator
instruction sextimm
Forwarding

IF/ID ID/EX EX/MEM MEM/WB

You should add wires to this diagram to complete the project!!!

You might also like