Question: Ch. 4 - MIPS pipeline data hazards We are using our MIPS pipeline with the five stages as shown below: B. IF E ID EX

Ch. 4 - MIPS pipeline data hazards We are using our MIPS pipeline with the five stages as shown below: B. IF E ID EX MEM WB We are also given the following instruction sequence for our 5-stage MIPS pipeline: SUB R5, R2, R1 ADD R3, R5, RO OR R4, R5, R2 AND R6, R3, R0 We will assume that there is no data forwarding or hazard detection hardware in our pipeline This means that you will need to identify data hazards in the instruction section and insert stalls (NOP instructions) to ensure correct program execution. Determine the data hazards and insert NOP's into the given instruction sequence as needed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
