How to find the total bits in cache, I found the professor\'s note and online so
ID: 3659260 • Letter: H
Question
How to find the total bits in cache, I found the professor's note and online source example, the answers are different, which one is correct one?
Suppose direct-mapped cache has 64KB data and one word blocks,(32-bit memory address)How many total bits does it contain?
---------------------------
Professor solution is:
number of cache slots = 64KB/4B = 16K
cache index = log (16K) = 14 bits
number of bits in tag = 32 - 14 -2 = 16
each cache slot contains 1 + 16 + 32 = 49 bits
total bits in cache = 49 * 16k
--------------------------
textbook:
Explanation / Answer
the professor's note is correct
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.