Professional Documents
Culture Documents
me/+M1ww6G0hBDAxYWI1
DDT1B
NOR ZAMIRA BINTI OTHMAN
013-7924844
norzamira@tvet.pmj.edu.my
CHAPTER 1:
THE COMPUTER SYSTEM
SUMMARY: This topic introduces computer architecture and
computer organization, concepts of cache memory and Input / Output
in computer system
3
1. Define computer architecture and computer
organization
2. Describe the concept of interconnection within a
computer system as follows:
Interconnection structures
Bus interconnection
4
Basic computer
• An electronic device, operating under the control of
instructions stored in its own memory unit, that can
accept data (input), manipulate the data according to
specified rules (process), produce information
(output) from the processing, and store the results
for future use.
5
COMPUTER ARCHITECTURE
vs
COMPUTER ORGANISATION
Analogy :
To build a house you may contact an architect who will give you the
sketch /plan of a house. Then to build that design you will contact a
contractor.
Von Neumann model still used by most types of computers today since 1945
It describes the design of an electronic computer with its CPU, which includes the
arithmetic logic unit, control unit, registers, memory for data and instructions, an
input/output interface and external storage functions
Definition - What does Computer
Organisation mean?
The Computer
Computer top level structure
18
Main structural/ basic components of computer:
Central processing unit (CPU):
Controls the operation of the computer and
performs its data processing functions; known as
processor.
System interconnection:
Some mechanism that provides for
communication among CPU, main memory, and
I/O.
20
Name basic components of computer system.
CPU
CONTROL UNIT
ALU
REGISTER
Major operations of computer system:
28
Both Input–Output Devices
• Touch Screen
• Headsets (Headset consists of Speakers and Microphone.
Speaker act Output Device and Microphone act as Input
device)
• Facsimile (FAX)
(It has scanner to scan the document and also have printer to Print
the document)
Processing Operation
• Before
actual processing start, data & instructions entered to the
computer must be stored somewhere inside the computer.
• CPU (central processing unit) takes data and instructions from the
storage unit and makes all sorts of calculations based on the
instructions given and type of data provided.
• The result would be sent back to the storage unit and output unit.
30
Storing operation
• The process of saving data and instructions into
memory.
• Removable
• Floppy disk, or diskette
• Compact Disc CD-R, CD-RW, CD-ROM
• DVDs – DVD-ROM, DVD-R, DVD-RW, DVD-RAM
• Zip disk
• Flash disk/USB drive
• Tape
• Non-Removable
• Hard disk
31
Control Operation
• The operation of inputting, outputting, storing and,
processing is performed under the supervision of control unit.
After completion of processing, the final results are sent to the _____ before it goes
to output device.
a. Monitor b. Printer c. Storage d. ALU
34
Interconnection Structures
•A computer consists of a set of components (CPU,memory,I/O) that
communicate with each other.
• Interconnection
structure is the collection of paths connecting the
various modules.
Cont…
Wide arrows represent
multiple signal lines carrying
multiple bits of information in
parallel.
36
• Memory:
38
• I/O module:
• There are two operations, read and write.
• An I/O module may control more than one external device.
• We can refer to each of the interfaces to an external device as a port
and give each a unique address (e.g., 0, 1, . . . ,M– 1).
• There are external data paths for the input and output of data with an
external device.
• Finally, an I/O module may be able to send interrupt signals to the
CPU.
39
CPU:
• The CPU reads in instructions and data, writes out data after
processing, and uses control signals to control the overall operation
of the system.
• It also receives interrupt signals
40
Type of transfers
• Memory to CPU
• CPU to Memory
• I/O to CPU
• CPU to I/O
42
Determine the either read or write operation occur in below
data transfer ?
Memory to CPU: The CPU ______ an instruction or data from memory.
I/O to CPU: The CPU ________ data from an I/O device via an I/O module.
44
BUS INTERCONNECTION
•A bus is a communication pathway connecting two or
more devices.
45
BUS INTERCONNECTION
• A sequence of bits can be transmit across a single line.
46
47
Expansion bus ( internal)
• The following list are common expansion buses( internal bus) in a PC
system. This bus connected with internal component of computer such as
motherboard, CPU, memory , video card etc.
48
Expansion bus ( external)
• This bus connected externally to communicate with Input/output
devices.
• Example:
• Universal serial bus (USB)
• Fire wire - Apple Computer's version of a standard, IEEE 1394,
High Performance Serial Bus, for connecting devices to your
personal computer.
49
Bus structure
50
Internal Bus Structure
• A system bus consists of 50-100 lines. Each line is assigned a
particular meaning or function.
51
Bus Interconnection Scheme
52
Data Lines / bus
• Provide a path for moving data between system modules.
• These lines, collectively, are called the data bus
• The data bus typically consists of 8, 16 or 32 separate
lines, the numbers of lines being transferred to as the width of
the data bus.
•
Each line carry only 1 bit at a time, the number of lines
determines how many bits can transferred at a time - overall
system performance.
53
With a wider bus, the computer can move more
data in the same amount of time (or the same
amount of data in less time). 54
The Address Lines/ bus
• Usedto designate the source or destination
of the data on the data bus
• The
width of the address bus determines the
maximum possible memory capacity of the
system.
55
The control unit in the CPU will determine the address for
the data to be fetched and sent to the data owner.
56
57
The Control Bus/ Line
• Used to control the access to and the use of the
data and address lines in the computer system.
• This bus also used to communicate with other
devices.
• The Control Unit in CPU will sends and receives
signals from all parts of the computer, which makes
sure that all processes take place at the right time
and in the correct order.
• These signals travel along a control bus.
The Control Lines/ bus
• Used
by CPUs for communicating with other devices within the
computer.
Control bus Description
signal
Memory write Causes data on the bus to be written into the addressed location
Memory read Causes data from the addressed location to be placed on the bus
I/O write Causes data on the bus to be output to the addressed I/O port
I/O read Causes data from the addressed I/O port to be placed on the bus
Transfer ACK Indicates that data have been accepted from or placed on the bus
Bus request Indicates that data have been accepted from or placed on the bus
Bus grant Indicates that a requesting module has been granted control of the
bus
Interrupt request Indicates that an interrupt is pending
Interrupt ACK Acknowledges that the pending interrupt has been recognized
Clock Is used to synchronize operations
Reset Initializes all modules
59
The operation of the bus
• Ifone module wishes to send data, it must do two
things:
• obtain the use of the bus
• transfer data via the bus
60
What is bus?
Identify the part of computer bus that carries the information to devices that
communicate with CPU
a)System Bus b) Control Bus c) Data Bus d) Address Bus
Exercise
1. List three function of computer.
2. Define computer organization.
3. Define computer architecture.
4. List two differences between computer organization &
computer architecture.
5. List the main structural/ basic components of a computer.
6. Briefly explain the function of main structural components
of a computer
7. List two input and output devices according to the
categories.
8. List the main structural components of a CPU.
9. Briefly explain function of main structural components of a
CPU.
62
10. Describe five major operations performed by a
computer system.
11. Define the computers bus system.
12. Match the following item with correct answer.
Type of bus Function
Data bus Used to designate the source or
destination of the data on the data bus.
Address Used to control the access to and the use
bus of the data and address lines.
Control bus Provide a path for moving data between
system modules.
1. List three types of external buses.
2. Distinguish between internal bus and external bus
3. The process of producing results from the data for
getting useful information is called
a)Output b)input c)processing d)storage
4. Identify which bus are used for connecting internal
components of a computer such as CPU and
memory to the motherboard?
a)Expansion bus b) Local bus c) External bus
d) Instruction bus
5. Identify the part of computer bus that carries the
information to devices that communicate with CPU.
a)System Bus b) Control Bus c) Data Bus d) Address Bus
Thank you