Module 1 - Advanced Computer Architecture
Module 1 - Advanced Computer Architecture
ARCHITECTURE
- Addressing
- I/O
1
On the other hand, Computer Organization is
the underlying implementation of the architecture
which is transparent to the programmer. An
architecture can have a number of organizational
implementations:
- Control Signals
- Technologies
- Device Implementations
2
ARCHITECTURAL CLASSIFICATION SCHEMES
Definitions of Terms:
3
SISD (Single Instruction Stream over a Single
Data stream)
IS
IS DS
CU PU MU
I/O
4
SIMD (Single Instruction Stream over a Multiple
Data stream)
DS DS
PU1 LM1
. . data
IS sets
CU IS . . loaded
program
is . . from
hosts
loaded DS DS
from host PUn LMn
5
MIMD (Multiple Instruction Stream over a
Multiple Data stream)
IS
IS DS
CU1 PU1
I/O
. .
. . Shared
Memory
. .
I/O IS DS
CUn PUn
IS
6
MISD (Multiple Instruction Stream over a Single
Data stream)
IS
.. . IS
I/O
7
SYSTEM ATTRIBUTES TO PERFORMANCE
8
The CPU of todays modern digital computer is
driven by a clock with a constant clock rate or
clock frequency (f in megahertz). The inverse of
the clock rate is the period or cycle time ( = 1/f
in seconds).
Example:
9
The CPU Time (T in seconds/program) needed to
execute the program is estimated by finding the
product of the three contributing factors:
Example 1:
Solution:
1 1
25 ns
f 40106
10
Example 2:
Solution:
1 1
25 ns
f 40106
TotalCycles
450001 3
2000 2 1
5000 2 8
000 2
TotalCycles 155,000
cycles
11
Total Number of
CPI Cycles
Total Number of
Instructions
155000
45000 32000 15000
8000
155000
45000 32000 15000
8000
155000
100000
1.55cycles/instructi
on
12
The execution of an instruction requires going
through a cycle of events involving instruction
fetch, decode, operand(s) fetch, execution, and
store results.
where:
13
Introduction to Computer Architecture
MIPS Rate
C I CPI
c
CPUTime (T) I CPI
c
C
C
f
Ic
MIPS
T106
14
Introduction to Computer Architecture
Example 2:
Solution:
Ic = 100,000 instructions
T = 3.875 ms
I 100000
MIPS c 25.81MIPS
6 3
T10 3.87510
106
15