Lecture 1: Welcome Computer Architecture Kai Bu kaibu@zju.edu.cn .

Post on 11-Jan-2016

217 views 0 download

Transcript of Lecture 1: Welcome Computer Architecture Kai Bu kaibu@zju.edu.cn .

Lecture 1: WelcomeComputer Architecture

Kai Bukaibu@zju.edu.cn

http://list.zju.edu.cn/kaibu/comparch

Instructor

Kai Bu Kai Bu 卜凯卜凯Assistant Professor, College of CS, ZJUPh.D. from Hong Kong PolyU, 2013

Research InterestsResearch Interests:: wireless networking,network security (e.g., RFID, software-defined networking, Android)

http://list.zju.edu.cn/kaibu

Join LIST! Lab for Internet and Security Technology浙江大学互联网安全实验室http://list.zju.edu.cn/

Textbook

Computer Architecture:A Quantitative Approach5th editionJohn L. HennessyDavid A. Patterson

Textbook

Computer Architecture:A Quantitative Approach4th editionJohn L. HennessyDavid A. Patterson

Other instructors may stick to the 4th edWe’ll coordinate to keep the harmony of the course content.

Course Website

http://list.zju.edu.cn/kaibu/comparch/

Syllabus

Reference syllabus by Prof. Jianghttp://list.zju.edu.cn/kaibu/comparch/Syllabus_2013spring.pdf

Components

• Lectures• Labs• Research Warm-up

Components

• Lectures• Labs• Research Warm-up

Lectures

• Chapter 1: Fundamentals of Computer Designclasses of computerstrends in tech, power, costdependabilityperformance measurement, reportquantitative principles of comp design

Lectures

• Appendix A: Instruction Set Principles and Examplesclassifying instruction set architecturememory addressingtype and size of operandsoperation in the instruction setinstructions for control flowencoding an instruction setthe role of compilersMIPS architecture

Lectures

• Appendix C: Pipelining: Basic and Intermediate Conceptspipeline principlespipeline hazardsimplementation hurdles and solutionsMIPS R4000 pipelineinstruction level parallelism (Chapter 3)

Lectures

• Chapter 2: Memory Hierarchy Designcache performance (App B.2)six basic cache optimizations (App B.3)ten advanced optimizations for cache performance;memory tech and optimizationsvirtual memory (App B.4)protection of virtual memory (App B.5)virtual memory and virtual machinesdesign of memory hierarchies

Lectures

• Chapter 5: Multiprocessorssymmetric shared-memory architecturedistributed shared-memorydirectory-based coherence

Components

• Lectures• Labs• Research Warm-up

Labs

• 5 lab sessions• Pipeline implementation

Labs

• Lab 1warmup Spartan 3E and ISE environment;update verilog code of multi-cycle CPU to 3E board;add one new branch instruction;

Labs

• Lab 2implement 5-stage pipelined CPU with 15 MIPS instructions;

• Lab 3implement stall technique against pipelining hazards;

• Lab 4implement forwarding paths toward faster CPU;

• Lab 5implement a pipelined CPU with 31 MIPS instructions;use predict-not-taken policy to solve control hazard;

Labs

• Call for volunteer lab assistantshelp tutor & check the demo during lab sessions;get bonus credit via active class participation;

Components

• Lectures• Labs• Research Warm-up

Research Warm-up

• Grading: Bonus 5%75% Literature Review25% Presentation

Research Warm-up

• Requirements1. Find a research topic you are

interested in: e.g., computer architecture, computer network, network security;

2. Read 2-3 latest papers from recent CCF A conferences;

3. Write a review and prepare a presentation.

Research Warm-up

• Notes: The review should cover1. What is the research problem?2. Why is it important?3. What are the solutions?4. Any limitations?5. What would you do?

More on http://list.zju.edu.cn/kaibu/comparch/research.html

Grading

4% Class participation & performance

16% Homework

8% Pop quiz

32% Lab assignments

40% Final exam (closed-book)

Bonus 5%

Research Warm-up

Bonus 5%

Active class prticipation

How will I teach?

Not that professional yet…

My very first time teaching this course.You know what to expect.

But the upside is

I was still a studentuntil not very long ago.

I still clearly remember how it feels as a student.

This might ease your leaning process.

Teaching Plan

• Keep it Simple• Focus on the core concepts• Try to help you more easily understand

Teaching in English for the most part

in accordance with the textbook.

Study Group

• 45 students• 6 groups• Group discussion & tutoring• Peer evaluation

?

Who’s Who

Ready?