












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













2
1000 kms refinery (^) city
4
clock cycles
5
time IF ID EX MEM WB
7
Mem
PC Reg File Sign extend IF ID 4 ALU Zero? Mem EX MEM^ WB
8
pipelined non pipelined
10
11
13
14
MEM and IF use memory at same time i IF ID EX MEM WB LW R3, 8(R2) i + 1^ IF^ ID EX MEM WB i + 2 IF ID EX MEM WB i + 3 IF
16
refinery (^) city Kerosene Diesel Air
17
MEM and IF use memory at same time i IF ID EX MEM WB LW R3, 8(R2) i + 1^ IF^ ID EX MEM WB i + 2 IF ID EX MEM WB i + 3 IF i + 3 IF ID EX MEM WB
19
20
i IF ID EX MEM WB add R3 , R1, R i + 1 (^) IF IDB^ EXB^ MEMB WBB sub R4 , R3, R ID EX MEM WB ID EX MEM WB
R3 updated by instruction i R3 read by instruction i+ time 1 2 3 4 5 Idea: Delay (or stall) the progress of instruction i+ through the pipeline until the data is available in register R