Home » Computer Organization and Architecture » Computer organization and architecture miscellaneous » Question

Computer organization and architecture miscellaneous

Computer Organization and Architecture

  1. Consider a machine with a byte addressable main memory of 232 bytes divided into blocks of size 32 bytes. Assume that a direct mapped cache having 512 cache lines is used with this machine. The size of the tag field in bits is ________.
    1. 18
    2. 54
    3. 9
    4. 21
Correct Option: A

As given that, The main memory size = 232 byte
Block size = 32 byte
Direct Mapped Cache line = 512
Address Forment :

So, the size of the tag field (X) = (32 – (5 + 9)) = 18 bit. Hence, 18 bits is correct answer.



Your comments will be displayed only after manual approval.