Lec07b - COMP 4300 Computer Architecture Structural Hazards...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
1 COMP 4300 Computer Architecture Structural Hazards Dr. Xiao Qin Auburn University http://www.eng.auburn.edu/~xqin xqin@auburn.edu Fall, 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Review: Pipeline Hazards Limits to pipelining: Hazards prevent next instruction from executing during its designated clock cycle Structural hazards : two different instructions use same h/w in same cycle Data hazards : Instruction depends on result of prior instruction still in the pipeline Control hazards : Pipelining of branches & other instructions that change the PC
Background image of page 2
3 Review: Structural Hazards Structural hazards are reduced with these rules: Each instruction uses a resource at most once Always use the resource in the same pipeline stage Use the resource for one cycle only Many RISC ISA’a designed with this in mind Sometimes very complex to do this. For example, memory of necessity is used in the IF and MEM stages.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Structural Hazards We want to compare the performance of two machines. Which machine is faster?
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

Lec07b - COMP 4300 Computer Architecture Structural Hazards...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online