45条指令带冒险的流水,最终版
2017-06-25 00:05:13 14 举报
mips,45条带冒险的流水cpu设计支持转发和冒险。 loongson设计
作者其他创作
大纲/内容
MUX
rd
mem_busB
WB.busW
BranchBubbleUnit
busB
R31Wr
2
HI_LOout
id_Ra
Di
id_ins
ID.Rs
ex_busB_mux3
4
cp0Bubble
Branch_ok
busA_mux3
Mem.ALUResult
dout
分支判断
cp0OutToPC
branch_forwardA
cp0OutToReg
MEM.MemtoReg
busB_mux3
mem_cs
ALUResult
Instructionmemory
id.cp0Op
Branch Forwarding unit
Do
branch_forwardB
rw
WB
id_cp0Op
MulControl
MEM/WB
forwardA
busA
shfExt
M
id_mulToReg
Cp0Control
?
Registers
EX_ALUshf
Control
WB.Rw
MEM_MemRead
Datamemory
MULU
MEM.Rw
CP0
jump
EX/MEM
mem_cp0Op
wr_regToMul
wr_mulRead
Sign-extend
id_Rb
mulResult
cs
wr_mulResult
Ex.Rw
EX.Rt
MEM.RegWr
BranchBubble
EX_RegDst
ID.Rt
Adder
id_mulOp
EX
Rw
id_PC_plus_4
0
rs
wr_cp0Op
EX_ALUSrc
sel
mem_Rw
ID.branch
WB.RegWr
cp0Forward
R31(PC+8)
ex_cp0Op
wr_mulToReg
ex_sel
EX_mulOp
EX.Rs
rt
ex_Rw
EX_ALUctr
Addr
IF/ID
busA_MUX
id_PC_branch
Forwarding unit
PC
Mem.Rw
PC_cp0
imm16
ex_cs
PC+4
ALU
forwardB
id_regToMul
WB.busW_mux2
HazardDetection unit
Cp0 Bubble unit
HI_LO
imm16Ext
mem_sel
MEM_MemWr
Ex.RegWr
Cp0 Forwarding unit
ID/EX
wr_busA
0 条评论
下一页