A byte offset of 2 in an address means that each set in a multiway set associative (or in the directly mapped) cache has 4 bytes per set, per cache line. Keeping this in mind, answer the questions given the following details. A cache is organized as a 4 way set associative cache Each set's cache line consists of 4 words (meaning there are 16 bytes per line, for each set of the cache). Each set individually has one Valid bit, and one Dirty bit, for each line. The tag field of this cache is 8 bits wide. The address is 32 bits wide.. Question 1c) What is the cache size? (Meaning the number of kilobytes of data being stored in this cache, ignoring the tag, dirty, and valid bits)
A byte offset of 2 in an address means that each set in a multiway set associative (or in the directly mapped) cache has 4 bytes per set, per cache line. Keeping this in mind, answer the questions given the following details.
A cache is organized as a 4 way set associative cache
Each set's cache line consists of 4 words (meaning there are 16 bytes per line, for each set of the cache).
Each set individually has one Valid bit, and one Dirty bit, for each line.
The tag field of this cache is 8 bits wide.
The address is 32 bits wide..
Question 1c) What is the cache size? (Meaning the number of kilobytes of data being stored in this cache, ignoring the tag, dirty, and valid bits)
Question 1d) If this same sized cache (meaning the number of kilobytes of the data part from the question 1c above) is instead organized as a direct-mapped cache, what is the total number of 'memory bit cells needed to design this cache instead (meaning how many bitcells including the tag, dirty, and valid bits? (Assume that the number of cache lines is not changing and that all the bytes of all four sets are now coalesced into one set, thus making it a direct-mapped cache)

Trending now
This is a popular solution!
Step by step
Solved in 2 steps









