Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A memory has 3 2 - bit addresses. It also has a 2 5 6 K B cache. Blocks are 6 4 bytes in size.
A memory has bit addresses. It also has a cache. Blocks are bytes in size. Note a How many blocks are there in the cache if the cache is a directmapped cache? b How many sets are there in the cache if the cache is a way setassociative cache? c Show the partitioning of a memory address into the appropriate fields, if the cache is a directmapped cache, and way set associative, respectively. That is to find how many bits needed for tag, blockset index and byte offset, respectively. d What is the total size of the cache if the cache is a directmapped cache? e What is the total size of the cache if the cache is a way set associative cache?
A memory has bit addresses. It also has a cache. Blocks are bytes in size. Note
a How many blocks are there in the cache if the cache is a directmapped cache?
b How many sets are there in the cache if the cache is a way setassociative cache?
c Show the partitioning of a memory address into the appropriate fields, if the cache is a directmapped
cache, and way set associative, respectively. That is to find how many bits needed for tag, blockset
index and byte offset, respectively.
d What is the total size of the cache if the cache is a directmapped cache?
e What is the total size of the cache if the cache is a way set associative cache?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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