Computer Organization KCS 302
Computer Organization KCS 302
KCS 302
By
SHIVANI AGARWAL
Department of Computer Science & Engineering
IMS Engineering College, Ghaziabad
COMPUTER ORGANISATION AND
ARCHITECTURE
Organization describes how it does it. Architecture describes what the computer does.
Computer Organization deals with structural relationship. Computer Architecture deals with functional behavior of
computer system.
For designing a computer, organization is decided after For designing a computer, its architecture is fixed first.
its architecture.
Computer Organization is frequently called as micro Computer Architecture is also called as instruction set
architecture. architecture.
Computer Architecture comprises logical functions such Computer Organization consists of physical units like
as instruction sets, registers, data types and addressing circuit designs, peripherals and adders
modes.
Computer Organization handles the segments of the Architecture coordinates between the hardware and
network in a system. software of the system.
Difference between Computer
Organization and Architecture
FUNCTIONAL UNITS OF
COMPUTER
Input Unit
Output Unit
ALU
Control Unit
Memory Unit
FUNCTIONAL UNITS OF
COMPUTER
Input Unit: Computer accepts encoded information
through input unit. The standard input device is a keyboard.
Whenever a key is pressed, keyboard controller sends the
code to CPU/Memory. Converts the external world data to
a binary format, which can be understood by CPU.
MAIN MEMORY
Program
Data
or
A=10;
instructio
B=5
n
C=A+B
VON NEUMANN
ARCHITECHURE
Central processing Unit:- These have many components:-
1) ALU:- perform logical operations, speed is very fast
2) Registers:- it is a set of flip-flop, it has very small in
size, speed is very high, it's a temporary storing memory,
that is used to store intermediate results.
BUS
Buses – A bus is a subsystem that is used to connect
computer components and transfer data between them.
For example, an internal bus connects computer
internals to the motherboard.
A bus may be parallel or serial. Parallel buses transmit
data across multiple wires. Serial buses transmit data
in bit-serial format.
Data is transmitted from one part of a computer to
another, connecting all major internal components to
the CPU and memory, by the means of Buses.
Types of Buses
1. Data Bus: It carries data among the memory unit,
the I/O devices, and the processor.
2. Address Bus: It carries the address of data (not the
actual data) between memory and processor.
3. Control Bus: It carries control commands from the
CPU (and status signals from other devices) in order
to control and coordinate all the activities within the
computer.
BUS STRUCTURE
•Single bus structure: Common bus used to communicate between peripherals
and microprocessor
0 0 0 0th Location
0 0 1 1st Location
0 1 0
W/R
CS RD 0 1 1
A0 PROCESSOR
A1 1 0 0
A2
1 0 1
ADDRESS BUS
1 1 0
D7 D0
D0 D7
1 1 1
DATA BUS
•23 = 8 i.e. 3 address line is required to select 8
location
•The outputs generated by the four buffers are connected to
form a single bus line.
•Only one buffer can be in active state at a given point of time.
•The control inputs to the buffers determine which of the four
normal inputs will communicate with the bus line.
•A 2 * 4 decoder ensures that no more than one control input is
active at any given point of time.
Memory Transfer
Most of the standard notations used for specifying operations on memory
transfer are stated below.
•The transfer of information from a memory unit to the user end is
called a Read operation.
•The transfer of new information to be stored in the memory is called
a Write operation.
•A memory word is designated by the letter M.
•We must specify the address of memory word while writing the
memory transfer operations. •.