Operating-Systems
October 19, 2023
Programming
October 19, 2023
Operating-Systems
October 19, 2023
Programming
October 19, 2023

Cache

Question 7

A CPU has 32-bit memory address and a 256 KB cache memory. The cache is organized as a 4-way set associative cache with cache block size of 16 bytes.

    (a) What is the number of sets in the cache?
    (b) What is the size (in bits) of the tag field per cache block?
    (c) What is the number and size of comparators required for tag matching?
    (d) How many address bits are required to find the byte offset within a cache block?
    (e) What is the total amount of extra memory (in bytes) required for the tag bits?
A
Theory Explanation is given below.
Correct Answer: A
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!