148k views
5 votes
Assume a 64KB cache with four-word block size (a word is 4 bytes) and a 32-bit address. If a block has 28 tag bits, what is the type of this cache

1 Answer

4 votes

Answer:

Fully associative

Step-by-step explanation:

Fully associative cache is a type of cache in which after retrieving the data from memory, it subsequently allows data to be deposited in the available but unused cache block. This is to ensure that the storage of cache is done without forcing each memory address into one specific block.

Given the following

address = 32 bits,

tag = 28 bits, as a block is 4 words that are, 4x4 bytes,

offset = 4 bits, which equates to index = 0 bits.

Hence, it can be concluded that the type of cache is FULLY ASSOCIATIVE.

User Marco Moschettini
by
5.5k points