Chapter 1 - Computer System
Chapter 1 - Computer System
COMPUTER SYSTEM
2
Topics
1.1) Computer Main Components
1.2) Computer Functions
1.3) Interconnection Structure
1.4) Bus Interconnection
Learning Outcome:
At the end of this chapter, student should be able to:
Describe main computer components
Describe functions of the components
Describe on how the components communicate with
each other to perform a task
4
Structure – top level
Peripherals
Computer
Communication
lines
5
Structure – top level
Controls computer operations and
performs data processing functions;
often simply referred to as processor Computer
Peripherals
Central Main
Processing Memory
Unit
Temporarily stores data and
instructions that are being executed or Systems
Computer will be executed by the CPU Interconnection
6
Computer Function
The basic computer function is to execute programs,
which includes:
Data Processing
Must be able to process data
The data may take a wide variety of forms and the range of
processing requirements is broad
Data Storage
It is also essential that a computer store data at least temporarily store
those pieces of data that are being worked on at any given moment.
Data Movement
Must be able to move data between itself and the outside world
Control
Control all the above three functions.
7
Computer Function
There are 3 main computer components, i.e. CPU, MM
and I/O unit that are interdependent when performing
their respective tasks.
9
Stored Program Concept
10
System Interconnection
The components communicate with each other to perform a
task.
12
There are 3 types of bus that work together to perform the task:
13
A bus consists of multiple communication pathways, or lines and
each line is capable of transmitting signals representing binary 1
and binary 0.
For example, an 8-bit unit of data can be transmitted over 8 data bus lines.
The size or width of a bus is how many bits it carries in parallel. Common bus sizes are: 4 bits,
8 bits, 12 bits, 16 bits, 24 bits, 32 bits, 64 bits, 80 bits, 96 bits, and 128 bits.
The speed of a bus is how fast it moves data along the path. This is usually measured in
MegaHertz (MHz) or millions of times a second.
The capacity of a bus is how much data it can carry in a second. In theory this is determined
by multiplying the size of the bus by the speed of the bus, but in practice there are many factors
that slow down a bus, including wait cycles (waiting for memory or another device to have
information ready).
Generally, there are 4 ways to connect the 3 components with the
I/O module acting as the control point :
I/O to CPU I/O to MM
I/O to Central Switch I/O to Bus
14
i. I/O to CPU MM ii. I/O to MM CPU
CPU MM
I/O U I/O U
Central MM
Switch
I/O U
15
iv. I/O to Bus
CPU MM I/O U
System Bus
16
The followings are 3 types of bus interconnection:
i. Bus Interconnection Scheme
ii. Traditional Bus Architecture
iii. High-Performance Architecture
17
Multiple-Bus Hierarchies
Performance degrades if great number of devices are connected to the bus:
1. The more device attached, the greater the bus length
and greater propagation delay
2. The bus may become bottleneck – aggregate data
transfer demand capacity of the bus
18
Traditional Bus Architecture
a bus for items closely
connected to the processor I/O local devices
that can run at or near the connects the main processor
same speed as the processor with its primary support
itself. components, in particular
connecting the processor to its
memory.
I/O devices
19
• Build to overcome the problem of high performance devices been
introduced significantly, that request for faster response and greater speed.
High-performance architecture
20
High-performance architecture
Cache controller
integrated into a
bridge (buffering
device)
High-capacity
I/O devices
lower-speed
I/O devices
21