CO1: Explain computer evolution and the various
components of a computer system and its operation.
Introduction
Spectrum of Computing Devices
Computing devices vary in flexibility and efficiency.
Programmable
Processor
•Flexible
•Not Efficient
Reconfigurable
Devices
Application Specific
Integrated Circuit
(ASIC)
•Efficient
•Not Flexible
Introduction
Computing devices vary in flexibility and efficiency.
Application specific ICs (ASIC) are efficient but not flexible.
Programmable processors are flexible but not efficient.
Reconfigurable devices (FPGAs) fall in between: Try to have
some efficiency as ASIC and some flexibility as processors.
Our example of computing devices will be the programmable
processor (microprocessor) .
Architecture & Organization
Architecture is those attributes visible to the programmer
Instruction set, number of bits used for data representation,
I/O mechanisms, addressing techniques.
e.g. Is there a multiply instruction?
Organization is how features are implemented. It refers to
the operational units and their interconnections that
realize the architecture.
Control signals, interfaces, memory technology.
e.g. Is there a hardware multiply unit or is it done by repeated
addition?
Organization decision depends on (speed, cost, frequency of
use, size of a multiplier).
Architecture & Organization 2
All Intel x86 family share the same basic architecture
The IBM System/370 family share the same basic
architecture (Software compatibility).
This gives code compatibility
At least backwards
Organization differs between different versions of the
same family.
Structure & Function
We describe the computer at the top level and going
down.
At each level of computer description, we are concerned
with Structure and Function.
Structure is the components and the way they relate to
each other.
Function is the operation of individual components as
part of the structure.
Function
All computer functions are:
Data processing
computer must be able to process data
Data storage
Store data for long term (files). or short term for on the fly data
processing
Data movement
Move data with the external devices (Input, Output) or between
external devices.
Control
There must be a control of the above functions
Computer control these functions through executing programs.
Operations (a)
Data movement
•Computer functions as a data movement device
•Transfer data from one external device to another
Operations (a)
Data storage
•Computer functions as a data storage device
•Transfer data from external device to
computer storage (Read)
•Transfer data from computer storage to
external device (Write)
Operation (c)
Processing from/to storage
•Computer functions as a data processing device
•Data source and destination is computer storage
Operation (d)
Processing from storage to I/O
•Computer functions as a data processing device
•Data source and destination could be
computer storage and external device.
Structure - Top Level
Peripherals
Computer
Central
Processing
Unit
Computer
Systems
Interconnection
Input
Output
Communication
lines
Main
Memory
Structure - Top Level
Central Processing Unit (CPU): controls the operation of the
computer and performs its data processing functions.
Main Memory: stores data and instructions
Input/Output: moves data between computer and its external
environment.
Interconnection mechanism: provides for communication
between different components (Buses).
The Memory
A set of consecutive locations to store data and
instructions.
Memory locations are accessed by
addresses.
Execution of a program is sequential.
Address (address bus)
Data (data bus)
R/W (control bus)
The Input/Output
Output module: Receive data from computer and Send data to peripheral
Input module: Receive data from peripheral and Send data to computer
A t least one input device and one output device are needed.
The Interconnection mechanism
For all components to exchange data.
Three types of buses
address bus: carries the address sent by the CPU.
data bus: carries the data/instructions
control bus: all control signal form the control bus such
as Read, Write, Int,….
Structure - The CPU
CPU
Computer
Arithmetic
and
Logic Unit
Registers
I/O
System
Bus
Memory
CPU
Internal CPU
Interconnection
Control
Unit
Structure - The CPU
Control unit: controls the operation of the CPU and hence the
computer.
ALU: performs arithmetic and logic operations.
Registers: internal temporary storage.
CPU interconnection: provides a mechanism for comm. among
different components.
Structure - The Control Unit
Control Unit
CPU
Sequencing
Logic
ALU
Internal
Bus
Registers
Control
Unit
Control Unit
Registers and
Decoders
Control
Memory
Control Unit Block diagram