Dfc2053 Computer System Architecture
Dfc2053 Computer System Architecture
Dfc2053 Computer System Architecture
DFC2053 COMPUTER
SYSTEM ARCHITECTURE
2
CHAPTER 1:
THE COMPUTER SYSTEM
Basic computer
Example : Example :
• Instruction sets and formats, operation codes, • hardware technology, interface to
number of bit use, data type , data size,
peripheral devices , clock frequency ,
techniques for addressing memory and types
memory technology , (memory type) ,
of registers, main memory access methods
and input output mechanism. signalling method, control signal, size of
the physical memory, all physical
aspects of computer systems
• architecture may maintained for hundred years • organisation may change as rapid
such Von Neumann architecture. changes of technology
• one computer model, for example Intel x86;
may maintained its architecture but differ in its
organisation.
12
System interconnection:
Some mechanism that provides for communication
among CPU, main memory, and I/O.
Input
• The process of entering data into a computer; can also
refer to the data itself
• Input Device
Examples
Keyboard
Mouse
Joystick
Microphone
scanner
19
Output
• Process of producing results from the data for
getting useful information.
• The result could either be displayed on the screen or may
be printed for future reference
• Output devices make the information resulting from
processing available for use
• Output Device Examples
• Printers
• Plotter
• Display Devices
• CRT
• LCD
• Speaker
• Projector
20
Processing
• The task of performing operations like arithmetic and logical
operations is called processing
• CPU 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 CPU is a computer chip located inside the system unit that
performs the calculation and comparisons needed for processing; it
also controls the computer’s operations.
21
Storage / memory
• The process of saving data and instructions.
• Data has to be fed into the system before the actual processing
starts
• The storage unit performs the following major functions:
i. All data and instructions are stored here before and after
processing
ii. Intermediate results of processing are also stored here
• 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
22
Control
• The process of input, output, processing and storage
is performed under the supervision of a unit called
‘control unit’
Cont…
26
• Memory:
• Typically, a memory module will consist of N words of equal
length.
• Each word is assigned a unique numerical address (0, 1, . . . ,N
– 1).
• A word of data can be read from or written into the memory.
• The nature of the operation is indicated by read and write
control signals.
• The location for the operation is specified by an address.
27
• 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.
28
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
Type of transfers
• Memory to CPU
• CPU to Memory
• I/O to CPU
• CPU to I/O
• I/O to or from Memory (DMA)
30
Types of transfers:
• Memory to CPU: The CPU reads an
instruction or data from memory.
• CPU to memory: The CPU writes a
data to memory.
• I/O to CPU:The CPU reads data from
an I/O device via an I/O module.
• CPU to I/O: The CPU sends data to
the I/O device.
• I/O to or from memory: For these
two cases, an I/O module is allowed The interconnection
to exchange data directly with structure must support
the types of transfers.
memory, without going through the
CPU, using direct memory access
(DMA).
31
BUS INTERCONNECTION
32
BUS INTERCONNECTION
• A bus is a communication pathway connecting two or
more devices.
BUS INTERCONNECTION
• A sequence of bits can be transmit across a single line.
Data will need to be moved between several of these elements. The path
along which data moves is called a data bus.
40
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).
41
When data is saved to (or loaded from) memory, the address of the
store location at which it is to be stored (or loaded) must also be sent.
The address of data always travels along an address bus.
43
44
The Control Unit 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.
46
Definition of terms:
• 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 ("acknowledgement“): Delivers information that the data was
acknowledged (read) by the device.
• Bus request: Indicates a device is requesting the use of the (data) bus.
• Bus grant: Indicates the CPU has granted access to the bus.
• Interrupt request: A device with lower priority is requesting access to the
CPU.
• Interrupt ACK: Acknowledges that the pending interrupt has been
recognized
• Clock: is used to synchronize data between the CPU and a device.•
Reset: Initializes all modules/ If this line is active, the CPU will perform
a hard reboot.
47
Exercise
1. List two differences between computer organization &
computer architecture.
2. List and briefly explain the main structural components of a
computer.
3. List 2 input output devices according to the categories.
4. List and briefly define the main structural components of a
CPU.
5. Draw block diagram to illustrate the basic organization of
computer system.
6. Describe 5 (FIVE) major operations performed by a
computer system.
7. Define the computers bus system
8. Draw and explain each function of computers bus system
diagram.
53
Exercise
To be continue…