lOMoARcPSD|19531713
COA Unit 4 notes
Computer Organization & Architecture (Dr. A.P.J. Abdul Kalam Technical University)
Studocu is not sponsored or endorsed by any college or university
Downloaded by Sidharth Sharma (
[email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Scanned by CamScanner
Downloaded by Sidharth Sharma ([email protected])
lOMoARcPSD|19531713
Cache Memory-
• Cache memory is a Static Random-Access Memory.
• The main advantage of cache memory is its very fast speed.
• It can be accessed by the CPU at much faster speed than main
memory.
• Cache memory bridges the speed mismatch between the
processor and the main memory.
• Cache memory lies on the path between the CPU and the
main memory.
• It facilitates the transfer of data between the processor and
the main memory at the speed which matches to the speed
of the processor.
lOMoARcPSD|19531713
• Data is transferred in the form of words between the cache memory
and the CPU.
• Data is transferred in the form of blocks or pages between the
cache memory and the main memory.
Purpose-
The fast speed of the cache memory makes it extremely useful.
• It is used for bridging the speed mismatch between the
fastest CPU and the main memory.
• It does not let the CPU performance suffer due to the slower
speed of the main memory.
lOMoARcPSD|19531713
Cache Mapping-
lOMoARcPSD|19531713
• Cache mapping defines how a block from the main memory
is mapped to the cache memory in case of a cache miss.
OR
• Cache mapping is a technique by which the contents of
main memory are brought into the cache memory.
The following diagram illustrates the mapping process-
• Main memory is divided into equal size partitions called as blocks or
frames.
• Cache memory is divided into partitions having same size as that of
blocks called as lines.
• During cache mapping, block of main memory is simply copied to the
cache and the block is not actually brought from the main memory.
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713
lOMoARcPSD|19531713