InClassActivity11-sol - 2/22/02 9:16 PM SOLUTION In-Class...

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

View Full Document Right Arrow Icon
2/22/02 9:16 PM ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2002 Page 1 of 2 SOLUTION In-Class Activity #11 Activity 11.11 Forwarding (50 points) Consider the execution of the following instructions on the pipelined MIPS. Fill in the table to determine the appropriate actions of the Forwarding Unit. There are useful formulas for the Forward A and B control signals on pages 480 and 483. The register addresses appear in ID/EX two cycles after the instruction is fetched (in the third cyclea), in EX/MEM on the following cycle, and in MEM/WB in the fifth cycle. The blanks printed to the right of the instructions may be useful to keep track of that happens in the pipeline. It helps to show the registers read or written in the second and fifth pipeline stages. CC1 CC2 CC3 CC4 |CC5 CC6 CC7 CC8 CC9 CC10 PIPELINE REGISTERS: IF/ID ID/EX EX/MEM |MEM/WB add $7, $3, $2 3,2 3,2 7 | 7 IF/ID ID/EX |EX/MEM MEM/WB add $8, $2, $1 2,1 2,1 | 8 8 IF/ID |ID/EX EX/MEM MEM/WB add $9, $6, $7 6,7 | 6,7 9 9 |IF/ID ID/EX EX/MEM MEM/WB add $6, $8, $2 | 8,2 8,2 6 6 | IF/ID ID/EX EX/MEM MEM/WB add $4, $5, $6 | 5,6 5,6 4 4 | IF/ID ID/EX
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

InClassActivity11-sol - 2/22/02 9:16 PM SOLUTION In-Class...

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

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