Question: Consider the six stage pipelined datapath shown below. Assume that the first instruction (the top row) is an R type instruction (e.g., add $2,$1,$3). Show
Consider the six stage pipelined datapath shown below. Assume that the first instruction (the top row) is an R type instruction (e.g., add $2,$1,$3). Show all data hazards by drawing lines from the earliest point in the pipeline that the data is produced by this instruction to the latest point that the data is consumed for subsequent dependent instructions. Indicate, by labeling each line, which can be solved with data forwarding and from which pipeline stage the forwarding is done (e.g., DF-EX/M) and which incur a hazard along with the hazard length in cycles (e.g., H-2).

ID WB ID WB 12 ID WB B. Do the same for all remaining producer-consumer instructions that have data hazards (assume that the producer instruction is issued in the first row and indicate the type of producer-consumer instructions you are considering) ID EX WB ID ID EX WB C. How can hazards like the ones above be handled (give all options)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
