00:01
Hello students in this question in a direct mapped cache each memory block can be mapped to one specific cache block.
00:09
The number of cache blocks in the cache is determined by the size of the cache and block size.
00:15
So we are given data words are 8 bits long.
00:19
8 bits.
00:20
So each word is 1 bit 1 byte.
00:24
So each word is 1 byte.
00:28
We have data addresses are to the word and physical address is 20 bits long.
00:35
Our word and physical address is 20 bits long.
00:43
The tag is 11 bits and each block holds 16 bytes.
00:55
So the cache size.
00:56
So the number of blocks is what we need to find out right number of blocks blocks.
01:04
Let's call this nb.
01:11
Nb.
01:14
So nb is equal to cache size cache size divided by block size.
01:26
Okay cache size divided by block size.
01:30
So to find cache size so cache size will be equal to number of blocks number of blocks to block size.
01:42
Okay.
01:45
So this is the equation that we are going to use...