




















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!





















DIFFERENCE B/W PIPELINED AND NONPIPELNED Example: Steps for laundry
Pipeline concept in Instruction execution
Nonpipelined and pipelined Instruction execution
Pipeline
NonPipeline
Ratio b/w pipelined and non pipelined
Data hazard Control hazard Structural hazard
lw $r0, 10($r1) IM^ REG^ ALU^ DM^ REG sw $r3, 20($r4) add $r5, $r6, $r CC 1 CC 2 CC 3 CC 4 CC 5 CC 6 CC 7 IM REG ALU DM REG IM REG ALU DM REG sub $r8, $r9, $r10 (^) IM REG ALU DM REG CC 8
IM Reg IM Reg CC 1 CC 2 CC 3 CC 4 CC 5 CC 6 Time (in clock cycles) sub $ 2 , $ 1 , $ 3 Program execution order (in instructions) and $ 12 , $ 2 , $ 5 IM (^) Reg DM Reg IM DM Reg IM DM Reg CC 7 CC 8 CC 9 10 10 10 10 10 /– 20 – 20 – 20 – 20 – 20 or $ 13 , $ 6 , $ 2 add $ 14 , $ 2 , $ 2 sw $ 15 , 100 ($ 2 ) Value of register $ 2 : DM Reg Reg Reg Reg DM