Question 8815 – Engineering-Mathematics
June 3, 2024Question 7867 – Computer-Organization
June 3, 2024Question 7781 – Computer-Organization
A certain processor uses a fully associative cache of size 16 kB. The cache block size is 16 bytes. Assume that the main memory is byte addressable and uses a 32-bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?
Correct Answer: A
Question 1 Explanation:
Since, it is said for fully associative cache so
![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUEAAABNCAYAAAA4u9b+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABx0lEQVR4Ae3QMQEAAADCoPVPbQwfiEBhwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM3AcGgpAAAc9C1IIAAAAASUVORK5CYII=)
No index bits is there. So, now for tag bits,
Total bits – Offset bits = 32 – 4 = 28
So, tag bits = 28, Index bits = 0
No index bits is there. So, now for tag bits,
Total bits – Offset bits = 32 – 4 = 28
So, tag bits = 28, Index bits = 0
28 bits and 0 bits
24 bits and 4 bits
24 bits and 0 bits
28 bits and 4 bits
Subscribe
Login
0 Comments