Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1-a) Place the following code on the pipelined datapath at the time of forwardin

ID: 3570617 • Letter: 1

Question

1-a)Place the following code on the pipelined datapath at the time of forwarding and identify the values with labels from A-J.

lw $2,4($8)

and $8,$12,$8

or $13,$6,$2

Place the instructions below:

A:                                B: C:                   D:                               E:       

F(MUX): G: H:                   I(MUX): J:

K(MUX): L(MEMREAD): M(REGWRITE):

P(MUX):                   

b) The above datapath does not have a solution for solving sw dependencies, consider the code below, what we should change/add so processor can resolve dependencies while minimizing stalls.

and $8,$12,$8

sw $8,4($2)

1-a)Place the following code on the pipelined datapath at the time of forwarding and identify the values with labels from A-J. lw $2,4($8) and $8,$12,$8 or $13,$6,$2 Place the instructions below: A: B: C: D: E: F(MUX): G: H: I(MUX): J: K(MUX): L(MEMREAD): M(REGWRITE): P(MUX): b) The above datapath does not have a solution for solving sw dependencies, consider the code below, what we should change/add so processor can resolve dependencies while minimizing stalls. and $8,$12,$8 sw $8,4($2)

Explanation / Answer

sorry for not posting exact answer please refer this URL:

http://www.scribd.com/doc/237337531/MIPS-Assembly-Language-Programming#force_seo