| |
| | week 6 notes [chapter 6 - pipelining] (Site not responding. Last check: 2007-11-03) |
 | | the if/id register is placed where the ir [instruction register] register was, the id/ex register is placed where a and b were, the ex/mem register is placed where aluout was, and the mem/wb register is placed where mdr [memory data register] was. |
 | | so, as we read down the column marked "cycle 3", we know that in the third cycle, the add instruction is in the execute stage, the subtract instruction is in the decode stage, and the "and" instruction is in the fetch stage. |
 | | so in cycle 5, we can grab the value of $1 from the mem/wb pipeline register, and forward it to the alu, where it will be used by the "and" instruction. |
| www-cse.ucsd.edu /~j2lau/cs141/week6.html (1846 words) |
|