Professional Documents
Culture Documents
Architecture
Chapter 1 Introduction
Chapter 1:Introduction
Organization
Computer Organization
Refers to the operational units and their interconnection that realize
the architecture specification.
Organization attributes include those hardware details transparent
to the programmer
Control signals
Interfaces between Computer and peripherals
Memory technology
Chapter 1:Introduction
Organization
Computer Organization
Refers to the operational units and their interconnection that realize
the architecture specification.
Organization attributes include those hardware details transparent
to the programmer
Control signals
Interfaces between Computer and peripherals
Memory technology
Chapter 1:Introduction
Architecture
Computer Architecture
Computer architecture refers to those attributes of a system visible
to a programmer
Those attributes that have a direct impact on the logical execution of
a program.
Instruction sets
Instruction formats,
Data types,
Addressing modes.
Chapter 1:Introduction
Main Memory
Computer Components
Chapter 1:Introduction
Functional Units
Arithmetic
and
logic
Input
Memory
Output
Control
I/O
Processor
Memory Unit
Store programs and data
Two classes of storage
Primary storage
Fast
Programs must be stored in memory while they are being executed
Large number of semiconductor storage cells
Processed in words
Address
RAM and memory access time
Memory hierarchy cache, main memory
Control Unit
All computer operations are controlled by the control unit.
The timing signals that govern the I/O transfers are also
generated by the control unit
Control unit is usually distributed throughout the machine
instead of standing alone.
Operations of a computer:
Accept information in the form of programs and data through an
input unit and store it in the memory
Fetch the information stored in the memory, under program
control, into an ALU, where the information is processed
Output the processed information through an output unit
Control all activities inside the machine through a control unit
mechanical
0th Generation ComputersEarly
computational devices
Abacus
Pascals
Calculator
(1600s)
Babbages
Analytical Engine
(1832)
Difference Engine
Chapter 1:Introduction
12
Abacus
The abacus, a simple counting aid,
may have been invented in
Babylonia (now Iraq) in the fourth
century B.C.
This device allows users to make
computations using a system of
sliding beads arranged on a rack.
Chapter 1:Introduction
13
Blaise Pascal
In 1642, the French mathematician and
philosopher Blaise Pascal invented a calculating
device that would come to be called the "Adding
Machine".
Blaise Pascal
Originally called a "numerical
Charles Babbage
19th Centuary
English inventor
Taught math at
Cambridge University
Invented a viable
mechanical computer
equivalent to modern
digital computers
(a) Operation Cards: Selects one of four arithmetic operating by activating the
mill to perform the selected function.
(b) Variable Cards: Selects the memory locations to be used by the mill for a
particular operation (i.e. the source of the operands and the destination of the
results).
Output: Could be directed to a printer or a card punch device.
mechanical
0th Generation ComputersEarly
computational devices
21
Chapter 1:Introduction
22
23
Chapter 1:Introduction
25
Instructions
Data
Programs,
Data,
Operator
Command
Chapter 1:Introduction
26
Instruction Unit
I-unit
Executing
Instructions
Execution Unit
E-unit
bit 0
7 8
8-bit opcode
Right instruction
19 20
27 28
39
Memory Capacity
212 = 4K * 40( bit words)
28
Opcode
00001010
00001001
00100001
00000001
Description
AC MQ
MQ M(X)
M(X) AC
AC M(X)
29
Instruction
Opcode
Description
ADD M(X) 00000101 AC AC + M(X)
SUB M(X) 00000110 AC AC M(X)
MUL M(X) 00001011 AC, MQ MQM(X)
DIV M(X) 00001100 MQ, AC MQ/M(X)
30
31
bit 0
7 8
8-bit opcode
Right instruction
19 20
27 28
39
Memory Capacity
212 = 4K * 40( bit words)
32
100
Add
101
102
Stop
33
Review : First-Generation
Computers
Late 1940s and 1950s
Stored-program computers
Programmed in assembly language: Example ADD A,B
Used magnetic devices and earlier forms of memories
Examples: IAS, ENIAC, EDVAC, UNIVAC, Mark I, IBM
701
Spring 2013, Jan 16 . . .
34
35
I/O Devices
I/O Interface
Data and
Address
Manipulation
I/O
Processor
37
Chapter 1:Introduction
38
Chapter 1:Introduction
40
41
Bus
A bus is a set of wires designed to transfer
all bits of a word from a specified source to
a specified destination on the same or a
different IC
Uni-directional
Transfers data in one direction only
Bi-directional
Transfers data in both direction
No logical function
Buses can be dedicated or shared
Shared Buses
Do not allow simultaneous transfers
between different devices
Cheaper
Chapter 1:Introduction
42
Intra-system Bus
Chapter 1:Introduction
43
Intra-system Bus
Address Bus : Carries Address
Control Bus : Carries Control signals
Memory read/write signal
Interrupt request
Clock signals
Data Bus :
A bus transaction includes two parts:
Sending the address
Receiving or sending the data
Chapter 1:Introduction
44
Bus
Versatility:
New devices can be added easily
Peripherals can be moved between computer
systems that use the same bus standard
Low Cost:
A single set of wires is shared in multiple ways
Chapter 1:Introduction
45
Bus
It creates a communication bottleneck
The bandwidth of that bus can limit the maximum I/O throughput
The maximum bus speed is largely limited by:
The length of the bus
The number of devices on the bus
Chapter 1:Introduction
46
Bus
Most I/O devices are slower
than that of CPU & Memory
Example- Magnetic Disk
Serial transfers
Special Interface Circuits
I/O Bus Controllers
Conversions
Serial to parallel
Parallel to serial
A single I/O Controller can
interface many I/O devices
Chapter 1:Introduction
47
Control Signals
Bus Request
Bus Busy
Bus Grant
Conclusion
This chapter has given you an overview of the
subject of computer architecture.
You should now be sufficiently familiar with
general system structure to guide your studies
throughout the remainder of this course.
Subsequent chapters will explore many of these
topics in great detail.
Chapter 1:Introduction
52
a
C
L1
?
?
e
ch
?
?
z
MH
MB?
?
?
?
I
C
P
USB
??
53
Whether a metric
refers to a power of
ten or a power of two
typically depends
upon what is being
measured.
54
Milli- (m)
Micro- ()
Nano- (n)
Pico- (p)
Femto- (f)
Atto- (a)
Zepto- (z)
Yocto- (y)
=
=
=
=
=
=
=
=
1
1
1
1
1
1
1
1
thousandth = 10 -3
millionth = 10 -6
billionth = 10 -9
trillionth = 10 -12
quadrillionth = 10 -15
quintillionth = 10 -18
sextillionth = 10 -21
septillionth = 10 -24
A bus operating at
133MHz has a cycle
time of 7.52
nanoseconds:
55
Chapter 1:Introduction
56
Chapter 1:Introduction
57
Chapter 1:Introduction
58
Chapter 1:Introduction
59
60
Serial ports send data as a series of pulses along one or two data lines.
Parallel ports send data as a single pulse along at least eight data lines.
USB, Universal Serial Bus, is an intelligent serial interface that is self-configuring. (It
supports plug and play.)
Chapter 1:Introduction
61
62
63