How to efficiently invalidate cache?

A memory has 32bit address, It also has 256KB cache, blocks are 256bytes in size. Note 1K = 2^10, 1M=2^20?

  • a)How many are there in the cache if the cache is a direct-mapped cache? b)How many sets are there in the cache if the cache is a 2-way set-associative cache? c)Show the partition of a memory address into the appropriate field, if the cache is a direct-mapped cache, 2-way set associative, and fully associative cache d) what is the total size of the cache if the cache is a direct mapped cache? e) what is the total size of the cache is the cache is a 2 way set associative cache?

  • Answer:

    Do you own homework?

Patricio at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.