22
Midterm Exam Midterm Exam Midterm Exam Midterm Exam Midterm Exam Results 12 Midterm Exam Results (Max = 190, Average = 85.55/200) 8 10 6 2 4 0 2 0 1~20 21~40 41~60 61~80 81~100 101~120 121~140 141~160 161~180 181~200 1 ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected]) 0 1 20 21 40 41 60 61 80 81 100 101 120 121 140 141 160 161 180 181 200

MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Midterm ExamMidterm ExamMidterm ExamMidterm Exam

Midterm Exam Results

12

Midterm Exam Results(Max = 190, Average = 85.55/200)

8

10

6

2

4

0

2

0 1~20 21~40 41~60 61~80 81~100 101~120 121~140 141~160 161~180 181~200

1ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

0 1 20 21 40 41 60 61 80 81 100 101 120 121 140 141 160 161 180 181 200

Page 2: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

MIPS Pi liMIPS Pi liMIPS PipelineMIPS Pipeline

Jin-Soo Kim ([email protected])Jin Soo Kim ([email protected])Computer Systems Laboratory

Sungkyunkwan Universityhtt // l kk dhttp://csl.skku.edu

Page 3: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

MIPS Pipelined DatapathMIPS Pipelined DatapathMIPS Pipelined DatapathMIPS Pipelined Datapath

MEM

WBRight‐to‐left flow leads 

3ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

to hazards

Page 4: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Pipeline RegistersPipeline RegistersPipeline RegistersPipeline RegistersNeed registers between stagesg g• To hold information produced in previous cycle

4ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 5: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Pipeline OperationPipeline OperationPipeline OperationPipeline OperationCycle-by-cycle flow of instructions through y y y gthe pipelined datapath• “Single-clock-cycle” pipeline diagramg y p p g

– Shows pipeline usage in a single cycle– Highlight resources used

• cf. “multi-clock-cycle” diagram– Graph of operation over time

We’ll look at “single-clock-cycle” diagrams for load & store

5ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 6: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

IF for LoadIF for LoadIF for LoadIF for Load

6ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 7: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

ID for LoadID for LoadID for LoadID for Load

7ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 8: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

EX for LoadEX for LoadEX for LoadEX for Load

8ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 9: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

MEM for LoadMEM for LoadMEM for LoadMEM for Load

9ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 10: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

WB for LoadWB for LoadWB for LoadWB for Load

Wrongregisternumber

10ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

number

Page 11: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Correct Datapath for LoadCorrect Datapath for LoadCorrect Datapath for LoadCorrect Datapath for Load

11ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 12: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

IF for StoreIF for StoreIF for StoreIF for Storesw

12ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 13: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

ID for StoreID for StoreID for StoreID for Storesw

13ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 14: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

EX for StoreEX for StoreEX for StoreEX for Store

14ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 15: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

MEM for StoreMEM for StoreMEM for StoreMEM for Store

15ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 16: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

WB for StoreWB for StoreWB for StoreWB for Store

16ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 17: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Multi-Cycle Pipeline Diag. (1)Multi-Cycle Pipeline Diag. (1)Multi Cycle Pipeline Diag. (1)Multi Cycle Pipeline Diag. (1)Form showing resource usageg g

17ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 18: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Multi-Cycle Pipeline Diag. (2)Multi-Cycle Pipeline Diag. (2)Multi Cycle Pipeline Diag. (2)Multi Cycle Pipeline Diag. (2)Traditional form

18ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 19: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Single-Cycle Pipeline DiagramSingle-Cycle Pipeline DiagramSingle Cycle Pipeline DiagramSingle Cycle Pipeline DiagramState of pipeline in a given cyclep p g y

19ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 20: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Pipelined Control (Simplified)Pipelined Control (Simplified)Pipelined Control (Simplified)Pipelined Control (Simplified)

20ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 21: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Pipelined Control (1)Pipelined Control (1)Pipelined Control (1)Pipelined Control (1)Control signals derived from instructiong• As in single-cycle implementation

21ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])

Page 22: MidtermExamMidterm Exam - AndroBenchcsl.skku.edu/uploads/ICE3003F09/10-mipspipeline.pdf · 2011-02-14 · MidtermExamMidterm Exam MidtermExam Results 12 (Max = 190, Average = 85.55/200)

Pipelined Control (2)Pipelined Control (2)Pipelined Control (2)Pipelined Control (2)

22ICE3003: Computer Architecture | Fall 2009 | Jin-Soo Kim ([email protected])