A pipeline uses a single unified memory port for both instruction fetches and data accesses. Which hazard does this cause?
Correct answer D. Structural hazard
Explanation
When a load or store in the memory stage needs the port in the same cycle as an instruction fetch, the two cannot proceed together, so one must stall. This is a resource conflict, a structural hazard. Separate instruction and data caches (a split, Harvard-style L1) are the usual fix. Data and control hazards come from dependences and branches, not hardware sharing.
Answer checked How we write and check questions
Discussion