Xem mẫu
dce 2013
COMPUTER CSE
ARCHITECTURE Fall 2013
BK
TP.HCM
Faculty of Computer Science and Engineering
Department of Computer Engineering
Vo Tan Phuong http://www.cse.hcmut.edu.vn/~vtphuong
dce 2013
Chapter 4.2
Pipelined Processor Design
Computer Architecture – Chapter 4.2 ©Fall 2013, CS 2
dce 2013
Presentation Outline
Pipelining versus Serial Execution
Pipelined Datapath and Control
Pipeline Hazards
Data Hazards and Forwarding
Load Delay, Hazard Detection, and Stall
Control Hazards
Delayed Branch and Dynamic Branch Prediction
Computer Architecture – Chapter 4.2 ©Fall 2013, CS 3
dce 2013
Pipelining Example
Laundry Example: Three Stages
1. Wash dirty load of clothes
2. Dry wet clothes
3. Fold and put clothes into drawers
Each stage takes 30 minutes to complete A B
Four loads of clothes to wash, dry, and fold C D
Computer Architecture – Chapter 4.2 ©Fall 2013, CS 4
dce 2013
Sequential Laundry
6 PM 7 8 9 10 11 12 AM Time 30 30 30 30 30 30 30 30 30 30 30 30
A
B
C
D
Sequential laundry takes 6 hours for 4 loads
Intuitively, we can use pipelining to speed up laundry
Computer Architecture – Chapter 4.2 ©Fall 2013, CS 5
...
- tailieumienphi.vn
nguon tai.lieu . vn