Professional Documents
Culture Documents
L-3 (A Top-Level View of Computer)
L-3 (A Top-Level View of Computer)
L-3 (A Top-Level View of Computer)
Computer Architecture
Lecture 3
A Top-Level View of Computer Function and
Interconnection
1
Outline
Computer Components
Computer Functions
Interconnection Structures
Bus Interconnection
2
+ 3
Computer Components
◼ Contemporary computer designs are based on concepts
developed by John von Neumann at the Institute for Advanced
Studies, Princeton, referred to as the von Neumann architecture
and is based on three key concepts:
◼ Data and instructions are stored in a single read-write memory
◼ The contents of this memory are addressable by location, without
regard to the type of data contained there
◼ Execution occurs in a sequential fashion (unless explicitly modified)
from one instruction to the next
◼ Hardwired program
◼ If there is a particular computation to be performed, a configuration
of logic components designed specifically for that computation could
be constructed. The process of connecting the various components in
the desired configuration as a form of programming. The resulting
“program” is in the form of hardware and is termed a hardwired
program.
+ 4
MAR
Computer
Components:
Top Level
View
+ 9
Computer Function
Fetch Cycle
◼ At the beginning of each instruction cycle the processor fetches an
instruction from memory
Processor- Processor-
memory I/O
Control Data
processing
• An instruction may • The processor may
specify that the perform some
sequence of arithmetic or logic
execution be operation on data
altered
+ 13
◼ Instruction fetch (if): Read instruction from its memory location into
the processor.
◼ Operand store (os): Write the result into memory or out to I/O.
Sequence of states: iac, if, iod, oac, of, oac, of, do, oac, os
+ 19
Classes of Interrupts
Program
Timing:
Short I/O
Wait
+ 22
Program
Timing:
Long I/O
Wait
+ 23
With Interrupts
+ 25
Transfer of
Control
Multiple
Interrupts
+
+ Time Sequence of 27
Multiple Interrupts
E
x
a
m
p
l
e
+ 28
I/O Function
◼ I/O module can exchange data directly with the processor
Computer
Modules
The collection of paths
connecting the various
modules is called the
interconnection
structure.
The interconnection structure must support the 30
An I/O
module is
allowed to
exchange
data
Processor Processor directly
reads an Processor reads data Processor with
instruction writes a from an I/O sends data
memory
or a unit of unit of data device via to the I/O
without
data from to memory an I/O device
going
memory module
through the
processor
using direct
memory
access
B u s I n t e r c o n n e c t i o n
31
A communication pathway Signals transmitted by any
connecting two or more one device are available for
devices reception by all other
• Key characteristic is that it is a devices attached to the bus
shared transmission medium • If two devices transmit during the
same time period their signals will
overlap and become garbled
System bus
• A bus that connects major The most common computer
computer components (processor,
memory, I/O) interconnection structures
are based on the use of one
or more system buses
32
Data Bus
◼ Data lines that provide a path for moving data among system
modules
C
o
n
f
i
g
B
u
u
r
s
a
t
i
o
n
s
+ 36
Timing of
Synchronous
Bus
Operations
38
Timing of
Asynchronous
Bus
Operations
+ 39
Point-to-Point Interconnect
Principal reason for driving
the change from bus to At higher and higher data
point-to-point interconnect rates it becomes
change was the electrical increasingly difficult to
constraints encountered perform the synchronization
with increasing the and arbitration functions in a
frequency of wide timely fashion
synchronous buses
Multicore
Configuration
Using
QPI
42
QPI Layers
+ 43
Peripheral Component
Interconnect (PCI)
◼ A popular high bandwidth, processor independent bus that can
function as a mezzanine or peripheral bus
Transmit
and
Receive
Block
Diagrams
+ 59
◼ Configuration ◼ Message
◼ This address space enables ◼ This address space is for
the TL to read/write control signals related to
configuration registers interrupts, error handling,
associated with I/O devices and power management
+ 61
PCIe
Protocol
Data
Unit
Format
Thank You :)
62