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.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.