Computer Science, asked by Shahdhakagdka, 1 month ago

Draw a diagram showing the organization of the cache and indicating how physical addresses are related to cache addresses.

Answers

Answered by TrishnaMandal
3

Answer:

Given cache size =128 = 2^7

Block size = 8 bytes = 2^3

Physical address = 32 bits.

It uses four-way set-associative mapping.

Therefore total no.of sets in four-way set-associative mapping = (cache size/block size*4)

= 128/32

= 4

therefore index = log2(no.of sets) = 2

offset = log2(block size) = 3

Tag = 32-2-3 => 27

Similar questions