Cache Mapping || Numerical || examples || Computer Org. And Architecture || IN Nepali By Pawan SIR

Описание к видео Cache Mapping || Numerical || examples || Computer Org. And Architecture || IN Nepali By Pawan SIR

Cache Mapping Numerical :
The transformation of data from main memory to cache memory is called mapping. There are 3 main types of mapping: || IN NEPALI || BY Prof. PAWAN ACHARYA||

Associative Mapping
Direct Mapping
Set Associative Mapping

The associative memory stores both address and data. The address value of 15 bits is 5 digit octal numbers and data is of 12 bits word in 4 digit octal number. A CPU address of 15 bits is placed in argument register and the associative memory is searched for matching address.

The CPU address of 15 bits is divided into 2 fields. In this the 9 least significant bits constitute the index field and the remaining 6 bits constitute the tag field. The number of bits in index field is equal to the number of address bits required to access cache memory.

The disadvantage of direct mapping is that two words with same index address can't reside in cache memory at the same time. This problem can be overcome by set associative mapping.

In this we can store two or more words of memory under the same index address. Each data word is stored together with its tag and this forms a set.

You can also watch theory portion :   • L-3.5: What is Cache Mapping || Cache...  (Gate Smashers YouTube channel

Комментарии

Информация по комментариям в разработке