Computer Organization and Architecture
Computer Organization and Architecture
AND ARCHITECTURE
INTRODUCTION
Just as buildings, each computer has a visible structure,
referred to as its architecture.
In computer science and engineering computer
architecture is the practical art of selecting and
interconnecting hardware components to create
computers that meet functional, performance and cost
goals and the formal modeling of those systems.
The functional blocks in a computer are of four types:
Memory
Output
Input
Unit
Unit
Registers
Processor
CENTRAL PROCESSING UNIT (CPU)
The CPU or the microprocessor (or simply processor) is
referred as the brain of a computer system.
CPU consists of three main subsystems, the Control Unit
(CU), the Arithmetic Logic Unit (ALU), and the
Registers.
Speed of the computer system is defined by the
architecture of the processor being used.
CENTRAL PROCESSING UNIT (CPU)
(CONDT…)
ARITHMETIC LOGIC UNIT
The ALU contains electronic circuits necessary to
perform arithmetic and logical operations.
The arithmetic operations are ADD, SUBSTRACT,
MULTIPLY, DIVIDE, etc.
The logical operations include COMPARE, SHIFT,
ROTATE, AND, OR, etc
The control unit analyses each instruction in the program
and sends the relevant signals to all other units – ALU,
Memory, Input unit and Output unit
COMMUNICATION INSIDE A
COMPUTER..
A computer program consists of both instructions and
data. The program is fed into the computer through the
input unit and stored in the memory.
In order to execute the program, the instructions have to
be fetched from memory one by one.
This fetching of instructions is done by the control unit.
Input and
Memory
CPU Output(I/O)
Unit
Units
Data Bus
Address Bus
Control Bus
System
Bus
INTERCONNECTION OF COMPUTERS
UNITS VIA BUS
Shows how the system
bus interconnects the
processor, memory and
I/O devices.
Both processor and
memory units hold a bi-
directional relationship
with the control and data
bus.
INTERCONNECTION OF COMPUTERS
UNITS VIA BUS
In case of an address bus,
the communication with
processor and memory is
unidirectional.
Processor provides
location of data (stored in
the register) to be fetched
from the memory to the
address bus and the data
carries the required data to
the processor.
INTERCONNECTION OF COMPUTER
UNITS VIA BUS
I/O devices have a bi-
directional relationship
with the system bus.
REGISTERS
It is a special temporary storage location within the CPU.
Registers quickly accept, store and transfer data and instructions that
are being used immediately.
To execute an instruction, the control unit of the CPU retrieves it
from main memory and places it onto a register.
The typical operations that take place in the processing of
instruction are part of the instruction cycle or execution cycle.
The instruction cycle refers to the retrieval of the instruction from
main memory and its sub sequence at decoding.
The time it takes to go through the instruction cycle is referred to as
I-time.
ARITHMETIC LOGIC UNIT (ALU)
ALU performs all the arithmetic and logical functions.
It performs arithmetic as well as logical functions.
Read/Write
memory Factory User Erasable PROM
Programmed Programmable
PROM
SRAM DRAM
Permanent
non-erasable (Non-erasable)
UVEPROM EEPROM
CACHE MEMORY
High speed memory kept in between processor and
RAM to increase the data execution speed.
Kept near to the processor.