Assume a computer architecture with 32 bit address.The system has been designed with 1MB cache which comes with 64KB cache line(cache block size).

1.What is the maximum main memory capacity this system can have?

Since computer architecture is 32 bit does it mean word size is 4 bytes?am i correct?

Words in one cahce line= 64KB/4Bytes= 2**18 words

Total cache blocks= 1MB/64KB=8 cache blocks

Am i going the right direction?I dont know what to do after this.Plz point me t the right direction.Thank you

  • $\begingroup$ With 32 address bits you can address $2^{32}$ different locations. $\endgroup$ Jul 4, 2018 at 15:49
  • $\begingroup$ Thank you.I think you are correct.Also one problem can we assume word size is 4 bytes because architecture is 32 bit? $\endgroup$ Jul 4, 2018 at 17:39
  • $\begingroup$ This would be the first guess, though the word size could also be smaller or larger. $\endgroup$ Jul 4, 2018 at 19:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.