00:02
In a two -way set associative catch, the catch is divided into sets and each set contain two blocks.
00:09
So to map addresses from main memory to catch, we need to determine the format of the main memory address.
00:16
So let's break down the components.
00:17
Number one is block offset for byte offset.
00:26
So size is determined by block size and the formula is block offset set size is equal to log two block size.
00:44
So in this case, the block size is eight bytes.
00:48
So the block offset size is log two eight, which is equal to three bits.
00:57
Number two is index that is set index.
01:02
The size is determined by the number of sets in the catch.
01:05
So the formula is index size is equal to log two that is number of sets.
01:18
So in this case, there are eight sets.
01:20
So the index size is log two eight, which is equal to three bits...