Question: Consider the following program:On a single cycle CPU, this program takes 2 6 cycles to finish.On a multi - cycle CPU, this program takes 1
Consider the following program:On a single cycle CPU, this program takes cycles to finish.On a multicycle CPU, this program takes cycles to finish.On a pipelined CPU, the beq instruction will cause control hazard for a total of times for the entire execution of this program.
On a pipelined CPU, control hazard will cause the sub instruction to be flushed times for the entire execution of this program.
On a pipelined CPU, there is a data hazard between ori and Iw instruction about $; it can be solved using forwarding path without any delay.
On a pipelined CPU, there is a data hazard between Iw and andi instruction about $; it cannot be solved without some delay.
On a pipelined CPU, there is a data hazard between sw and addi instruction about $
On a pipelined CPU, there is a data hazard between sitt and beq instruction about $; it can be solved using forwarding path without any delay.
On a pipelined CPU, there is a data hazard between addi and stt instruction about $; it can be solved using forwarding path without any delay.
On a pipelined CPU, there is a data hazard between andi and sw instruction about $; it can be solved using the forwarding path without any delay.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
