{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

L6_example-1 - ELEC152 Computer Organization Pipeline...

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

View Full Document Right Arrow Icon
ELEC152 Computer Organization Pipeline Example Professor George Yuan Office: Rm. 2527 E il @ t hk Email:[email protected]
Background image of page 1

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

View Full Document Right Arrow Icon
Example 1: Pipeline processor An instruction sequence is going to run on the simple pipeline processor in the next slide. Before execution [120]=6, $1=100, processor in the next slide. Before execution [120] 6, $1 100, $2=45, $3=10, $4=10, $5=10, $6=10 lw $2 20($1) 200 $2, 20($1) add $3, $2, $4 add $4, $2, $4 add $6 $4 $2 1. What would be the register values in the end? $6, $4, $2 add $5, $4, $2 2. Is there any hazard? 3. How to resolve it? Is there any bubble generated in the pipeline? ELEC152 Computer Organization Spring 2009 Page 2
Background image of page 2