Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose you are designing a cache for a machine with 40-bit addresses. The cache is 1MB in size. Cache blocks are 64 bytes. a. How
Suppose you are designing a cache for a machine with 40-bit addresses. The cache is 1MB in size. Cache blocks are 64 bytes.
a. How many blocks can be held in the cache
b. How many bits of the address are devoted to the offset?
c. If the cache is direct-mapped, how many bits are devoted to the tag and index?
d. If the cache is 4-way set associative, how many bits are devoted to the tag and index? How many sets are there?
e. If the cache is fully associative, how many bits are devoted to the tag and index?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started