In: Computer Science
The basic pipeline for DLX has five stages IF, ID, MEM, and WB. Assuming all memory access takes 1 clock cycle
What is the control hazard of an instruction pipeline? Provide three branches of prediction alternatives to reduce branch hazard
What is the data forwarding scheme used to reduce the data hazard?
Control hazards may cause performance loss to the DLX pipelines. They can arise from the pipelining of the branches as well as from other instructions which can change the PC.
Here are three branches of prediction alternatives that are used to reduce branch hazard:
Data forwarding is the technique where the result is not needed by the SUB instructions until the ADD operation is performed. In data forwarding, the ALU result from the MEM register is always fed back to the input latches of ALU. This is how data hazards can be reduced using this technique.