0
$\begingroup$

Total Memory size = 65,536 bytes Number of cache blocks = 32 cache blocks Cache size = total 512 bytes

So using this info provided I cannot figure out how to calculate the cache block number. I know if number of cache blocks =2^M then the last M bits is the cache index. But how to calculate the block number? and then finally calculate the bits required for tag index and offset..

$\endgroup$
2
  • $\begingroup$ Welcome to COMPUTER SCIENCE @SE. Is the block number something other than Number of cache blocks? If yes, I think I'd need to consider mapping: To what address mappings have you been introduced? $\endgroup$
    – greybeard
    Oct 12 '20 at 20:29
  • $\begingroup$ check cs.stackexchange.com/a/43876/157 $\endgroup$
    – Ran G.
    May 19 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.