0% found this document useful (0 votes)
12 views

Coa Unit 4 Notes

The document contains lecture notes on computer organization and architecture from Dr. A.P.J. Abdul Kalam Technical University. The notes discuss cache memory, including that it is fast static RAM used to bridge the speed difference between the CPU and main memory. The notes also cover cache mapping, which is the process of how blocks of main memory are mapped to the cache memory.

Uploaded by

shalinimishra650
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Coa Unit 4 Notes

The document contains lecture notes on computer organization and architecture from Dr. A.P.J. Abdul Kalam Technical University. The notes discuss cache memory, including that it is fast static RAM used to bridge the speed difference between the CPU and main memory. The notes also cover cache mapping, which is the process of how blocks of main memory are mapped to the cache memory.

Uploaded by

shalinimishra650
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 45

lOMoARcPSD|24516743

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 Satyam Dubey ([email protected])
lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected]) Scanned by CamScanner


lOMoARcPSD|24516743

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.

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

• 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.

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Cache Mapping-

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

• 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.

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])


lOMoARcPSD|24516743

Downloaded by Satyam Dubey ([email protected])

You might also like