Professional Documents
Culture Documents
Lecture 01
Lecture 01
Lecture 1 – Introduction
www.qatar.cmu.edu
•TA
- Adnan Majeed (amajeed@qatar.cmu.edu)
Cars
Watch Cell phones
Traffic
Controller
Music
Design &
Engineering
Robots
Games Microwave
Medical
(MRI)
Computer Architecture Fall 2008 ©
Why Did We Develop
Computers?
A solution to a
problem! Problem
• Speed
Computer
• Energy/Power
Result
• Size
• Efficiency
• etc…
600 488
400 290
Problem
Compiler
Computer
Result
Application (MediaPlayer)
Operating
Compiler System
Software Assembler (Windows XP)
Instruction Set
Hardware Processor Memory I/O system Architecture
Computer Keyboard,
Processor
Mouse
Memory Devices
(where
Disk
Control Input
programs (where
(“brain”) programs
&
data & data
Datapath live when live when
(“work”) Output not running)
running)
Display,
Printer
° Computer Organization
•How the designer Implements the
Design
- Layout
- Interconnection (wires)
Application (MediaPlayer)
Operating
Compiler System
Software Assembler (Windows XP)
Instruction Set
Architecture
Architecture
Hardware Processor Memory I/O system
Datapath & Control
Layout & Technology
Digital Design Organization
Circuit Design
Transistor
s
Path
M ultiplicand M ultiplier
32
Instruction Sets
M ultiplicand
R egister L oad M p
Arithmetic
32= > 34
s ig nE x
32
<<1
34
34
32= > 34 1 0
s ig nE x 34x2 M U X
M u lti x2 /x1
opcode rs rt 34 34
rd shamt funct
3 4 -b it A L U S u b /A d d
C on trol
L og ic
34
opcode E N C [2 ]
LO[1]
Encoder
2 H I register 2 LO register
2 bits
Booth
E N C [1 ]
Extra
Prev
(16x2 bits) (16x2 bits)
E N C [0 ]
opcode rs rt offset 2
LoadLO
ClearHI
LoadHI
L O [1 :0 ]
32 32
Performance
Computer Architecture
00 µProc
60%/yr.
CPU
(2X/1.5yr)
“Moore’s Law”
100 Processor-Memory
Fall ‘08
Performance Gap:
(grows 50% / year)
10
Y
DRAM
9%/yr.
DRAM (2X/10 yrs)
1
O
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
Time
Datapaths & U
R
Control
C
I/O P
U
Memory Systems
Computer Architecture Fall 2008 ©
Homeworks and
Projects
° Quizzes (weekly)
° Assignment (every ~2 weeks)
° Project (every ~3-4 weeks)
PC
MAC
SUN
Compile
r
Assembly
Language
Program (.asm
file)
Assembler
Binary Machine
Language
Program (.exe
file)
Computer Architecture Fall 2008 ©
The Five Components of a
Computer
ALU
&
CU
–Since then:
Moore’s Law:
CA
Arithmetic –Logic Unit
Main Input/Output
Memory Equipment
M Program Control Unit
I/O
CC