05.08.2014 Views

Lecture Notes for Computer Architecture II - St. Cloud State University

Lecture Notes for Computer Architecture II - St. Cloud State University

Lecture Notes for Computer Architecture II - St. Cloud State University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Problems with pipelining<br />

Hazards<br />

Data<br />

Branch<br />

Data Hazards<br />

Solutions<br />

<strong>for</strong>warding<br />

stalls<br />

Branch hazards Prediction<br />

Exceptions<br />

Page | 189<br />

Superscalar and dynamic pipelining<br />

Pipelined data path<br />

Divide the instruction execution into 5 stages<br />

5 stage pipelining <strong>for</strong> MIPS instruction set<br />

Introduce pipeline registers to store intermediate results in between stages<br />

5 stages <strong>for</strong> instruction execution<br />

instruction fetch IF<br />

Instruction decode/Register Fetch<br />

ID<br />

Instruction execution EX<br />

Memory access<br />

MEM<br />

Write back<br />

WB<br />

IF<br />

PC<br />

INST Memory<br />

ID<br />

EX<br />

Register file<br />

ALU<br />

MEM Data Memory<br />

WB<br />

Register file

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!