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.
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:
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
Sequence of instructions a Cycle 1 Fetch Instructions IF R5R2 R1 Hazard Detection Unit Instruction N... View full answer
Get step-by-step solutions from verified subject matter experts
