01 Introduction
01 Introduction
01 Introduction
Somanath Tripathy
IIT Patna
I think it’s fair to say that personal computers have become the most
empowering tool we’ve ever created. They’re tools of communication, they’re
tools of creativity, and they can be shaped by their user.
Bill Gates, February 24, 2004
1
An appeal
• Please keep your mobile in
silent/ switch off mode
• Punctuality!!
• Participation
What Is This?
3
Masterpiece of A Famous Architect
4
Find Differences of this two buildings
5
A Key Question
• How Was Wright Able To Design Fallingwater?
• Can have many guesses
– (Ultra) hard work, perseverance, dedication (over decades)
– Experience of decades
– Creativity
– Out-of-the-box thinking
– Principled design
– A good understanding of past designs
– Good judgment and intuition
– Strong understanding of and commitment to fundamentals(skills,
architecture, art, …)
– …
• Quote from the Architecture: “architecture […] based upon
principle, and not upon precedent”
6
Evaluation Criteria for the Designs
• Functionality (Does it meet the specification?)
• Reliability
• Space requirement
• Cost
• Expandability
• Comfort level of users
• Happiness level of users
• Aesthetics
• …
7
Major Goals of This Course
• Is it to design a new computer?
• Understand the principles
• Understand the precedents
8
Role of the (Computer) Architect
Problem
Algorithm
Program/Language
OperatingSystem
ISA (Architecture)
Microarchitecture
Logic Circuits
11
The Power of Abstraction
• Levels of transformation create abstractions
– Abstraction: A higher level only needs to know about the interface
to the lower level, not how the lower level is implemented
– E.g., high-level language programmer does not really need to know
what the ISA is and how a computer executes instructions
• What if
– The hardware you designed is too hard to program?
– The hardware you designed is too slow because it does not provide the right
primitives to the software?
• What if
– You want to design a much more efficient and higher performance system?
13
Crossing the Abstraction Layers
14
CS209: Computer Architecture
• Prerequisite:
– CS227
– CS102 Programming
• Objective:
– To understand the computers’ functional components,
their characteristics and interconnections among
themselves.
– to describe a broad range of architectural designs
and to contrast them
• After completion
– A student will have clear understanding of the major
architecture styles
•
• Understand the impact of design choices in programming that
runs efficiently in the context of a specific architecture
15
CS209 COMPUTER ORGANIZATION AND ARCHITECTURE (3 0 0 6)
• CPU
• Control Units
• I/O
• Memory
16
Books
• Text :
– D.A. Patterson and J.L. Hennessy: Computer
Organization and Design, Morgan Kulfman
Publisher
– W. Stallings, Computer Organization and
Architecture: Designing for Performance, 8th
Ed, Pearson, 2010
• References:
– Relevant Materials to be placed in the course website
– Structured Computer Organization, By A. Tenenbaum, 5th
Ed, Prentice-Hall of India, 2009.
– Computer Architecture and Parallel Processing, K Hwang and
F.A. Brigg, Mcgrahill pub. 2008
17
Evaluation Policy
• Evaluation
– Continuous Evaluation (Class participation, Assignment,
Quiz-tests) (30%)
– MSE (30%)
– ESE (40%)
18
CS209 Computer Architecture 3–0–0–6 CS
CPU - registers, instruction execution cycle, RTL interpretation of instruction
addressing modes, instruction set. Case study - instruction sets of some common CPU
Assembly language programming for some processor; Data representation: signe
number representation, fixed and floating-point representations, characte
representation. Computer arithmetic - integer addition and subtraction, ripple carr
adder, carry look-ahead adder, etc. multiplication – shift-and-add, Booth multiplier, carr
save multiplier, etc. Division - non-restoring and restoring techniques, floating poin
arithmetic; CPU control unit design: hardwired and micro-programmed desig
approaches, Case study - design of a simple hypothetical CPU; Pipelining: Basic concep
of pipelining, throughput and speedup, pipeline hazards; Memory organization
Memory interleaving, concept of hierarchical memory organization, cache memory
cache size vs block size, mapping functions, replacement algorithms, write policy
Peripheral devices and their characteristics: Input-output subsystems, I/O transfers
program controlled, interrupt driven and DMA, privileged and non-privilege
instructions, software interrupts and exceptions. Programs and processes - role o
interrupts in process state transitions.
References:
1. David A. Patterson, John L. Hennessy, Computer Organization and Design, Fourt
Edition: The Hardware/Software Interface, Morgan Kaufmann; 4 edition, 2011.
2. A. Tenenbaum, Structured Computer Organization, 4th Ed, Prentice-Hall of Indi
1999.
3. W. Stallings, Computer Organization and Architecture: Designing for Performance, 6t
19
• Thanks
20