Module-1_Overview of Computer Systems
Module-1_Overview of Computer Systems
(CMPN) SEM-II
Computer Organization & Architecture
By
Prof. Amaya Pethe
Syllabus:
5 Memory Organization 10 22
Total 45 100
Text Books:
1. William Stalling, “Computer Organization and Architecture:
Designing and Performance”, Pearson Publication 10TH
Edition.
Reference
Books: 1. Andrew S. Tanenbaum, “Structured Computer
Organization”, Pearson Publication.
https://www.udemy.com/course/computer-organization-and-architecture-
2024/?couponCode=NEWYEARCAREER
ALU
Input Output
Reg
Devices Devices
CU
Keyboard Printer
Mouse Monitor
Light pen Speaker
Touch Screen X-Y Plotter
Microphone
Web Camera
The designing aspect of Main
individual component of the Memory
computer is called COMPUTER ROM/RAM
ARCHITECTURE
Input Unit
Output Unit
Display Printer
Memory Unit
Auxillary
Memory
E.g. FD,
HD or
Main 700 ns
CD
Memory
4GB
D_RAM
Used to provide
1MB
BACK_UP CPU
storage due to Holds only one prog
its LARGE size which is to be executed
and Very SMALL Cache 100ns
cost Memory
S_RAM
2KB
Holds repeatedly requested data
during programs execution to
speedup memory system
Computers Memory Hierarchy:
What is Main memory , cache Memory & Auxiliary Memory?
Standard definitions of memory units of computer system.
1.Main memory: The memory unit in the computers memory hierarchy which is
DIRECTLY accessible to CPU is called MAIN MEMORY. (It is mostly D-RAM & holds only one
program)
2. Cahe Memory: The smallest and FASTEST S-RAM unit inserted
between main memory and CPU
to hold repeatedly requested
Data during programs execution
to increase SPEED of computers
memory is called Cache Memory.
3. Auxiliary Memory: The memory unit
which is not directly accessible to
CPU But provided in large size to
provide BACK UP storage is called
Auxillary Memory
Virtual Memory
• The block schematic of virtual memory is
• Virtual memory is an address translation mechanism implemented in software that translates the virtual address generated by the CPU for
accessing LARGE auxiliary memory into the physical address of very SMALL main memory.
• This will allow the computer to execute programs of LARGE sizes in the presence of SMALL main memory.
Address Translation
VA Mechanism
(in software)
PA
Virtual Address Physical Address
( Generated by (For very small main
CPU during Adv. Of virtual Memory: memory which is
programs 1. Allows to run BIG programs physically available
execution for even if main memory is small. in computer system)
LARGE Aux. 2. It makes programmer free from
Memory) storage calculation
3. It reduces Avg. cost of memory
system of computer
Module 1 : Overview of Computer Systems
• Fundamental Units of a Computer
Control Unit
Hardwired
Control Unit Here, the signals are generated by special hardwired logic
circuits. This type of unit is difficult to modify. They are also
quite expensive and are not capable of handling complex
instructions. This is used by those computers which use RISC
architecture.
Microprogrammed
In this type, the signals are generated using microinstructions
which are stored in the control memory. It is easier to modify
and is also less expensive. However, it is slower as compared to
a hardwired type. It is capable of handling complex instruction
and is used in devices that use CISC architecture.
1/16/2025 Prof.Amaya Pethe 20
Module 1 : Overview of Computer Systems
Arithmetic &
Logic Unit
Operand 1 Operand 2
Result
1/16/2025 Prof.Amaya Pethe 21
Module 1 : Overview of Computer Systems
Processor
Main Memory
MAR MDR
PC IR
PROGRAM
Address ADDR : Instruction
Bus 1050 : 81h (Opcode)
1051 : 72h (Opcode) External Memory
RD 1052 : 02h (Data) containing prog for
1053 :76h (Opcode) average of two nos.
WR
Data Bus
System Bus
MAR IR Accumulator
R2
1050 81h E.g. R1
PC ID
1051 (To select 81st ALU
microprog.)
M/C cycle
Encoder Control signals like
ER1,ER2,EADD etc.
Example of ALP for finding average of Two Numbers in reg.r1 and r2
• Introduction to buses
Types of buses
• Address Bus
• Data bus
• Control Bus
1/16/2025 Prof.Amaya Pethe 27
Module 1 : Overview of Computer Systems
• Introduction to buses
Address Bus-
The group of wires/conductors carrying address information to memory
and I/O devices in the computer system
Data Bus-
The group of wires/conductors carrying data information to or from
memory and I/O devices in the computer system
Control Bus-
The group of wires/conductors carrying control signals to memory and
I/O devices in the computer system
Address Bus, Data Bus and Control Bus is collectively called as System
Bus.
1/16/2025 Prof.Amaya Pethe 28
Types of computer Architectures
Von- Neuman Architecture Harvard Architecture
Prog Data
Memory memory memory
addr bus addr bus
Addr Bus Data
Inst
& Program CPU Memory
CPU Memory ( RAM)
Data Bus
Data
(ROM)
Prog Data
memory data memory data
bus bus
Von Neumann model(Typical CPU
Organization.)
PCU