Question: If there is forwarding, for the first five cycles during the execution of this code, specify which signals are asserted in each cycle by hazard

If there is forwarding, for the first five cycles during the execution of this code, specify which signals are asserted in each cycle by hazard detection and forwarding units in Figure 4.60.PCWrite PC Instruction memory IF/DWrite IF/ID Instruction Hazard detection unit Control Registers MUX IF/ID.


This exercise is intended to help you understand the relationship between forwarding, hazard detection, and ISA design. Problems in this exercise refer to the following sequences of instructions, and assume that it is executed on a 5-stage pipelined datapath:a. b. ADD R5, R2, R1 LW R3,4 (R5) LW R2,0(R2) R3, R5, R3 OR SW R3,0(R5) LW R2,0 (R1) AND R1, R2, R1 LW

PCWrite PC Instruction memory IF/DWrite IF/ID Instruction Hazard detection unit Control Registers MUX IF/ID. RegisterRs IF/ID. RegisterRt IF/ID. RegisterRt IF/ID. RegisterRd ID/EX.RegisterRt ID/EX.MemRead ID/EX WB M EX Rt Rd. Rs Rt MUX MUX MUX EX/MEM WB ALU Forwarding unit M Data memory MEM/WB WB MUX

Step by Step Solution

3.34 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Sequence of instructions a Cycle 1 Fetch Instructions IF R5R2 R1 Hazard Detection Unit Instruction N... View full answer

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 Computer Organization Design Questions!