Data Hazards GATE Notes
Data Hazards GATE Notes
Data Hazards GATE Notes
DOWNLOAD NOW ×
Login
Type your
GATEsearch
2024 GATE Previous Year Question Paper
BYJU'S GATE > GATE > GATE Study Material > GATE
Data Hazards
Table of Contents
Solution 1:
At the IF stage of the SUB instruction, add three
bubbles. This will make it easier for SUB – ID to work
at t6. As a result, all subsequent instructions in the
pipe are similarly delayed.
Solution 2:
Forwarding of Data – Data forwarding is the process
of sending a result straight to that functional unit
which needs it: a result is transferred from one unit’s
output to another’s input. The goal is to have the
solution ready for the next instruction as soon as
possible.
Solution 3:
When generating executable code, the compiler can
recognise data dependencies and reorganise
(resequence) the instructions appropriately. This will
make the device easier to use.
Solution 4:
If the reordering described above is not possible, the
compiler can detect and insert a no operation (or
NOP) instruction(s). NOP refers to a software-
generated dummy instruction equivalent bubble.
Example,
Example,
Example,
Also Explore,
Name
Mobile Number
Submit
Comments
Leave a Comment
Your Mobile number and Email id will not be
published. Required fields are marked *
*
Post My Comment
COURSES EXAMS
RESOURCES
Worksheets
BYJU'S Answer
DSSL
Home Tuition
All Products
Calculators
Formulas
RD Sharma Solutions
FOLLOW US