Professional Documents
Culture Documents
Csa - 1
Csa - 1
INTRODUCTION TO COMPUTER
ARCHITECTURE
- Instruction Sets
- Data Representation
- Addressing
- I/O
1
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
- Control Signals
- Technologies
- Device Implementations
2
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
F Definitions of Terms:
3
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
IS
4
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
"N
>
5
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
I/O
I/O
6
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
▼
I/O
7
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
8
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
Example:
9
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
Example 1:
A 40-MHz processor was used to execute a
program with 50,000 instructions. The average CPI is
estimated to be 3.5 cycles/instruction. Calculate the
total execution time.
Solution:
1 1
6
25 ns
f 40 10
4.375 ms
10
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
Example 2:
Solution:
1 1
25 ns
f 40 106
11
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
_____________155000__________-
45000 + 32000 + 15000 + 8000
_____________155000__________-
45000 + 32000 + 15000 + 8000
155000
100000
1.55 cycles/instruction
12
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
where:
13
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
F MIPS Rate
C = Ic x CPI
= C
C
f
MIPS Ic
T 10 6
MIPS f
CPI 106
14
C o mp u t e r A r c h i t e c t u r e
Introduction to Computer Architecture
f Ic
MIPS
C 106
Example 2:
system. Solution:
15
C o mp u t e r A r c h i t e c t u r e