All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Hazard: structural, data, control?

Also known as: hazard (pipeline)

Definition 11.7 University Computer Science — Year 2 · Chapter 11 — The Processor: Datapath, Control and Pipelining

A hazard is a situation in which the next instruction cannot enter its next stage in the next cycle. It is structural when two instructions need the same hardware in the same cycle; a data hazard when an instruction needs a value that an earlier instruction has not yet written; a control hazard when the processor does not yet know which instruction comes next, after a branch or a jump.

Read in context →