70 likes | 169 Views
This slideshow explains pipeline graphical notation used in CS2100 lectures, focusing on data hazards and forwarding. It clarifies why forwarding is necessary and how it resolves data hazards. Customize examples for better comprehension.
E N D
Pipeline Illustration (Do NOT Print!) intended for slideshow mode only By SYJ For CS2100
A Quick Word • The pipeline graphical notation used in lecture is designed to be concise: • Great for presenting lots of information • However, it is sometimes very hard to see what is in the processor pipeline stages at a single moment • This set of slide serves to fill in this role • Feel free to change it to any example you want to help your understanding By SYJ For CS2100
This Example • This particular example is from the data hazard + forwarding: • Slide 53,54 of lecture set #16 • Use it to see: • Why forwarding is required? • How does forwarding mitigates data hazards? By SYJ For CS2100
-- -- -- sub Instruction PC+4 - - - $1 - RF - - DM ALU $3 - $2 - - - IF/ID ID/EX EX/MEM MEM/WB By SYJ For CS2100
-- -- sub and Instruction PC+4 - - - $2 0 RF - - DM ALU $5 20 $12 $2 - - IF/ID ID/EX EX/MEM MEM/WB By SYJ For CS2100
sub -- and or Instruction PC+4 - - - $6 10 RF -20 - DM ALU $2 xx $13 $12 $2 - IF/ID ID/EX EX/MEM MEM/WB By SYJ For CS2100
and sub or add Instruction PC+4 - - - $2 xx RF XXX -20 DM ALU $2 10 $14 $13 $12 $2 IF/ID ID/EX EX/MEM MEM/WB By SYJ For CS2100