Documente Academic
Documente Profesional
Documente Cultură
Language Programming
Lecture-1
12/21/2019 1
Course Introduction
12/21/2019 2
Basic Computer Organization
Processor Memory
I/O
12/21/2019 3
Basic Computer Organization
12/21/2019 4
Basic Computer Organization
12/21/2019 5
CPU
Central Processing Unit
Brain of computer
12/21/2019 6
Basic Components of CPU
Arithmetic and Logic Unit
Control Unit
Register
Cache Memory
Internal Buses
12/21/2019 7
Arithmetic & Logic Unit
Give result
12/21/2019 8
Control Unit
Manage the functions performed by
different parts of computer
E.g. Brain control all parts of body
Execute programme instruction
Control & direct the input
Inform ALU for processing
12/21/2019 9
Register
Temporary storage area within CPU
Store the information being processing
Top of the memory hierarchy
Fast speed
Different size ,8 bits, 16 bits and 32 bits
Different registers
General purpose
Special purpose
12/21/2019 10
Cache Memory
12/21/2019 11
Cache Memory
Small and very fast memory
Speed up the transfer of data
Faster than RAM
Most recently or more frequently used data
and instructions store
Also called high speed buffer or chip
memory
12/21/2019 12
Cache types
Level 1 Cache:
Also called primary or internal cache
Built directly into the processor chip
Capacity 8 KB to 128 KB
Level 2 Cache:
Slower than level 1 cache
512 KB to 12MB
12/21/2019 13
Cache types
Level 3 Cache:
Separate from the processor chip
Fixed on motherboard
12/21/2019 14
Buses (Structure)
Control Bus
Data Bus
Control Bus
I/O
12/21/2019 15
Buses (Structure)
Three types of bus
Data Bus
Address Bus
Control Bus
12/21/2019 16
Data bus
Bi directional
Half duplex way
Handle transfer of data and instructions
Transfer the instruction from memory to
CPU for execution
Also transfer data b/w memory & I/O
Typical data bus is 32 bits, 64bits or more
(i.e. 32 bit/s)
12/21/2019 17
Address Bus
Carry address not data
Before data or instructions read or write to
the memory by CPU or I/O an address must
be transfer to memory by address bus
12/21/2019 18
Control Bus
Used to direct and monitor the actions of
functional areas of computer
Transmit verity of individual signal
E.g. read, write, interrupt, acknowledge
Size is 8 to 16 bits
12/21/2019 19
Basic Computer Organization
Address Bus
Data Bus
Processor Memory
Control Bus
12/21/2019 20
Dimensions of Memory
Horizontal Dimensions = Width of Memory Cell
00000000
00000001
Binary Vertical
Dimensions
Addresses
=
Of
Size of
00100011
Memory Memory
00100100
Cells 00100101
12/21/2019 21
Basic Computer Organization
Processor Memory
Control Bus
12/21/2019 22
End of Lecture
12/21/2019 23