Question: Consider the executing the following code on the pipelined datapath of figure below: add $15, $14, $13 add $10, $11, $12 sub $1, $2, $3
Consider the executing the following code on the pipelined datapath of figure below:
add $15, $14, $13
add $10, $11, $12
sub $1, $2, $3
add $9, $8, $7
sub $6, $5, $4
At the end of the sixth cycle of execution, which registers are being read and which register will be written? 
Hazard detection unit ID/EX MemRead IDIEX EXIMEM Control WB MEM/WB IFIID Registers ALU PcInstruction Data IF/ID.RegisterRs IF/ID.RegisterRt IF/ID.RegisterRt IF/ID.RegisterRd ID/EX.RegisterRt Rs Forwarding unit Hazard detection unit ID/EX MemRead IDIEX EXIMEM Control WB MEM/WB IFIID Registers ALU PcInstruction Data IF/ID.RegisterRs IF/ID.RegisterRt IF/ID.RegisterRt IF/ID.RegisterRd ID/EX.RegisterRt Rs Forwarding unit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
