Professional Documents
Culture Documents
Introduction To Information & Communication Technology: IICT by Muhammad Hussain
Introduction To Information & Communication Technology: IICT by Muhammad Hussain
Lecture 11
MICROPROCESSOR &
MEMORY
3
MICROPROCESSOR
4
MICROPROCESSOR
A microprocessor is a computer processor on a microchip. Its sometime called logic chips.
Todays state of the art processors including Pentium, Athalon, powerpc, etc, they are very
complex circuits, it has tens of millions of transistors.
They work at ultra fast speed, many can perform more than 1 billions operations per second.
These all microprocessors are made up of same material, which is semi-conductor means they
are made up of silicon.
5
INTEGRATED CIRCUITS
A microprocessor is an integrated circuit made up of silicon.
The components of IC
Transistors
Resistors
Diodes
Capacitors
Wiring
TRANSISTORS
The transistor is solid state semi-conductor device used for amplification and switching.
A small current or voltage applied to one terminal, controls current through the other two.
In digital circuits, transistors are used as very fast electrical switches, and arrangements
of transistors can function as logic gates.
10
MATERIALS
The materials used in IC are:
Silicon semiconductor
Copper conductor (wires, the connecting path are made up
of coppers)
Silicon Dioxide - insulator
12
SILICON
13
MICROPROCESSOR SYSTEM
Microprocessor System is different then microprocessor as the body is
different then the brain.
If we have the brain, but do not have hands, feet, then what is the benefit
of this brain.
MICRO-CONTROLLERS
Micro-controller is a type of microprocessor system.
The special thing is in micro-controller system these are all components i.e.
microprocessor, memory of the program (ROM), memory of the data (RAM), I/O
lines to communicate with peripherals & complementary recourses is on one chip.
Micro-controllers are found in almost any electrical device e.g. washing machines,
microwave ovens and in toaster etc
16
It means microprocessor who are capable to perform at high speed due to slow
memory are performing at low speed.
18
Alternate solution is on the same chip we put very high speed memory,
means 1 nanosecond response time memory. The benefit of this is data will
be available on same speed at which microprocessor work. To make this
solution effective, the memory we put on the same chip, insert those data
and instructions, which microprocessor need so often. 90 % of time
microprocessor need same data and instructions.
So, 90 % of time, microprocessor will not fetch data & instructions from
outside, in-fact the memory which is located near it, 90 % of time it get
data & instruction from the memory which is near it on the same chip.
20
So, this small, super fast memory that we locate on the same chip is called On-
Chip(L1) Cache Memory. The frequently used data and instructions reside on the on-
chip cache memory.
The size of cache memory is small and its one of the building blocks that is located on
a microprocessor.
21
Microprocessor
IICT By Muhammad Hussain
Data
Cache
Memory
Bus Control Arithmetic
RAM Bus Unit & Logic
Interface Unit
I/O Unit
Instruction Registers
System Decoder
Bus
Floating
Point
Unit
Instruction
Cache Registers
22
CACHE MEMORY
L2, cache memory, which is on a separate chip from the microprocessor.
It is the small size and proximity to the microprocessor makes access times
short, resulting in a boost in performance.
Buses
What is a bus?
Channel that allows devices inside
computer to communicate with each
other
INSTRUCTION DECODER
Instruction decoder analysis the instruction, which comes from
instruction cache and decide these instructions will be send to ALU or
FPU.
Modern microprocessors have two and more ALU, the benefit of it two
instructions can compute simultaneously.
29
Floating point numbers are those numbers which involved decimals or fractions.
Through FPU you can store very very large and small numbers in compact form.
NOTE
FPUs have importance when you are doing graphics calculations, design
engineering software or scientific software.
All those work which FPU perform, ALU also perform the difference is if
FPU do it 1 cycle, then ALU can perform same job in 100 cycles.
So, without FPU, your processor can work, but it really slow down the
speed.
REGISTERS
The registers are attached with ALU & FPU, they are super fast memory
like cache.
When ALU & FPU are doing some calculations, then they store their
intermediate calculations in registers on a temporary basis. Those
calculation, which results you need after some time.
When the calculation is finished, then this processed data from registers
goes to data cache and then to bus interface unit from there either it goes
out to memory or I/O devices.
32
The length of a register, sometimes called its word size, equals the
number of bits it can store.
33
CONTROL UNIT
Control unit is like a brain or heart of any microprocessor.
MACHINE CYCLES
Each time the CPU executes an instruction. It takes a series of steps.
The completed series of steps is called a machine cycle.
A machine cycle itself can be broken down into two smaller cycles:
Instruction cycle
Execution cycle
36
WORD SIZE
The length of register equals the number of bits it can store. Hence, a
register that can store 8 bits is normally referred to as 8-bit register.
The biggest the word size, the fastest the computer can process a set of
data.
39
MOORES LAW
Gordon Moore who was the co-founder of Intel published a paper in
1965.
MEMORY
43
RAM is considered random access because you can access any memory
cell directly.
00000000 00000010
11111111 11111111
45
SRAM
SRAM stands for Static RAM.
SRAM is a type of memory that is faster and more reliable than the more
common DRAM (dynamic RAM).
The term static is derived from the fact that it doesn't need to be refreshed
like dynamic RAM
Access time around 10 nanoseconds
Note: a nanosecond is one billionth of a second!
47
DRAM
DRAM stands for Dynamic RAM.
The term dynamic indicates that the memory must be constantly
refreshed or it will lose its contents.
Contents are constantly refreshed 1000 times per second
Access time 60 70 nanoseconds
Dynamic RAM is slower than Static RAM.
But it requires less power and is less expensive.
48
per second. Thus, one gigahertz (GHz) equals one billion ticks of the system clock per second .
49
TYPES OF ROMs
Type Usage.
Data is burnt by the manufacturer of the electronic
Manufactured-Programmed ROM
equipment in which it is used.
User-programmed ROM or User can load and store read-only programs and data in
Programmable ROM (PROM) it.
User can erase information stored in it and the chip can
Erasable PROM (EPROM)
be reprogrammed to store new information.
A type of EPROM chip in which information is erased by
Ultra Violet EPROM (UVEPROM) exposing the chip for some time to ultra-violet light.
Thank you