Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

1And in Conclusion\dots

One of the costs of pipelining is that it introduces pipeline hazards. Hazards, generally, are issues with something in the CPU’s instruction pipeline that could cause the next instruction to execute incorrectly.

We discuss three types of hazards:

2Textbook Readings

P&H 4.8, 4.10

3Additional References

4Exercises

4.1Short Exercises

  1. True/False: Having two ‘read’ ports as well as a ‘write’ port to the Register File solves the hazard of two instructions that read and write to the same register simultaneously.

  1. True/False: Without forwarding or double-pumping, data hazards will usually result in 3 stalls.

  1. True/False: All data hazards can be resolved with forwarding.

  1. True/False: Stalling is the only way to resolve control hazards