CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305...
Transcript of CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305...
![Page 1: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/1.jpg)
CS305 Computer ArchitectureAutumn 2011
Lecture 01
Bhaskaran RamanDepartment of CSE, IIT Bombay
http://www.cse.iitb.ac.in/~br/
http://www.cse.iitb.ac.in/synerg/doku.php?id=public:courses:cs305autumn11:start
![Page 2: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/2.jpg)
Computer Architecture● “Architecture”
● The art and science of designing and constructing buildings
● A style and method of design and construction● Design, the way components fit together
● Computer Architecture● The overall design or structure of a computer system,
including the hardware and the software required to run it, especially the internal structure of the microprocessor
![Page 3: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/3.jpg)
CS305 Prerequisite
● Logic Design (CS210)● Switching theory● Number systems, computer arithmetic● Logic circuits, combinatorial logic, Kmaps● Finite state machines in hardware● Arithmetic unit, control unit design● CAD, FPGA● VHDL
![Page 4: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/4.jpg)
CS305 Course Contents
● Computer organization, von Neumann arch.● Instruction set design● Measuring performance, Amdahl's law, CPI● Datapath and control path● Pipelining, hazards
![Page 5: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/5.jpg)
CS305 Course Contents (continued)
● Memory hierarchy, cache design, cache performance
● Disk storage● RAID● Error correction codes, Hamming codes● I/O Buses
![Page 6: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/6.jpg)
Relation to Other Topics/Courses
Gates, digital circuits, chips
CPU, memory, I/O
Instruction set
Operating System (OS)
Application programs
Digital logic
Machine lang.
Assembly lang.
Higher levellanguage
Har
dwar
eSo
ftw
a re
CS210: Logic DesignCS210: Logic Design
CS305: ComputerArchitecture(Hardware/
software interface)
CS305: ComputerArchitecture(Hardware/
software interface)
CS347: Oper. Sys.CS347: Oper. Sys.
Compilers(Impl. of PL)Compilers
(Impl. of PL)
![Page 7: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/7.jpg)
Course References
● “Computer Organization and Design: The Hardware/Software Interface”, 3rd edition, David A. Patterson and John L. Hennessy, Elsevier (Restricted South Asia Edition).● 4th edition available, but I'll follow 3rd edition
● Notes from other computer architecture courses
![Page 8: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/8.jpg)
Why Important?
Q: Why do you think Computer Architecture is important (or unimportant)?
Identify Computer Architecture around you
![Page 9: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/9.jpg)
Scenario1: Watch TV || Record
![Page 10: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/10.jpg)
Scenario2: SMS Gone, AC On
![Page 11: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/11.jpg)
Scenario3: ICU Patient Monitoring
Image source: uwhealth.org
![Page 12: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/12.jpg)
Scenario4: Rural Computing
![Page 13: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/13.jpg)
Scenario5: HornOkPlease
![Page 14: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/14.jpg)
Why Important?
● Computing central to information age● Computer systems range from very small to very
large, lowend to supercomputers● New computing devices, enduser devices● How are they designed? What affects their
performance?
Q: Why do you think Computer Architecture is important (or unimportant)?
![Page 15: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/15.jpg)
Course Evaluation● Homework assignment(s): 15%● Quizzes: 15%● Midsem: 25%● Endsem: 45%
● Companion course: CS341: Computer Architecture Lab● Assembly language programming, learning concepts
through simulator (SPIM) based implementation
![Page 16: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/16.jpg)
Students vs. ExamTakers● Student:
– Attend all classes, arriving on/before time– Exceptions require (1) written explanation (2) prior permission– Attention in classes– Integrity in work: exams, homeworks, labs, etc.
● Examtakers– Attendance optional
● Declare yourself as student or examtaker● Student > examtaker transision is easy and automatic● Examtaker > student transition is hard
![Page 17: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/17.jpg)
StudentTeacher Relationship
● Being a student is a prerequisite for teacherstudent relationship
● (Only) By being a student, you can:● Ask questions in class● Request deadline extensions● Negotiate on exam reevaluations
● I will do my best to hold my end of the bargain
![Page 18: CS305 Computer Architecture Autumn 2011 Lecture 01br/courses/cs305-autumn2011/slides/lec01.pdfCS305 Computer Architecture Autumn 2011 Lecture 01 Bhaskaran Raman Department of CSE,](https://reader033.fdocuments.in/reader033/viewer/2022041505/5e24caaac4b00306654fa3d9/html5/thumbnails/18.jpg)
How You Learn is Important
● Aspects of “how you learn”● Commitment and hardwork● Timemanagement● Group learning● Integrity: most important
– Strict policy on dishonesty
– Cheating OR helping cheat ==> FR grade