Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 unitStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started