20.06.2013 Views

Gestione degli hazard - Dipartimento di Ingegneria Informatica e ...

Gestione degli hazard - Dipartimento di Ingegneria Informatica e ...

Gestione degli hazard - Dipartimento di Ingegneria Informatica e ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Program<br />

execution order<br />

(in instructions)‏<br />

sub $2, $1, $3<br />

and $12, $2, $5<br />

Time (in clock cycles)‏<br />

IM Reg<br />

Data Forwar<strong>di</strong>ng<br />

CC 1 CC 2 CC 3 CC 4 CC 5 CC 6<br />

IM Reg<br />

DM Reg<br />

Metodologie <strong>di</strong> progettazione Hardware/Software- LS Ing. <strong>Informatica</strong><br />

IM Reg DM Reg<br />

CC 7 CC 8 CC 9<br />

Value of register $2 : 10 10 10 10 10/– 20 – 20 – 20 – 20 – 20<br />

Value of EX/MEM : X X X – 20 X X X X X<br />

Value of MEM/WB : X X X X – 20 X X X X<br />

or $13, $6, $2<br />

add $14, $2, $2<br />

sw $15, 100($2)‏<br />

R e g is t e rs<br />

b . W i th fo rw a rd in g<br />

DM Reg<br />

Metodologie <strong>di</strong> progettazione Hardware/Software- LS Ing. <strong>Informatica</strong><br />

IM Reg<br />

DM Reg<br />

IM Reg<br />

DM Reg<br />

Implementazione del forwar<strong>di</strong>ng<br />

ID / E X E X / M E M<br />

M E M /W B<br />

R s<br />

R t<br />

R t<br />

R d<br />

M<br />

u<br />

x<br />

M<br />

u<br />

x<br />

F o rw a r d B<br />

M<br />

u<br />

x<br />

F o r w a r d A<br />

A L U<br />

F o rw a r d in g<br />

u n it<br />

D a ta<br />

m e m o ry<br />

E X /M E M .R e g is te rR d<br />

M E M /W B .R e g is t e rR d<br />

M<br />

u<br />

x<br />

7<br />

8<br />

4

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

Saved successfully!

Ooh no, something went wrong!