Question: Consider the executing the following code on the pipelined datapath of Figure: add $15, $14, $13 add $10, $11, $12 sub $1, $2, $3 add

Consider the executing the following code on the pipelined datapath of Figure:

Consider the executing the following code on the pipelined datapath of Figure:

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 D/EX.MemRea ID/EX EXIMEM WB MEMAWB IF/ID EX Registers ALU PcInstruction memory IF/ID.RegisterRs IF/ID RegisterRt F/ID.RegisterRd ID/EX.RegisterRt Forwarding unit Hazard detection unit D/EX.MemRea ID/EX EXIMEM WB MEMAWB IF/ID EX Registers ALU PcInstruction memory IF/ID.RegisterRs IF/ID RegisterRt F/ID.RegisterRd ID/EX.RegisterRt Forwarding unit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!