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

Computer organization and architecture miscellaneous

Computer Organization and Architecture

  1. Consider a 4-way set associate cache consisting of 128 lines with a line size of 64 words. The CPU generates a 20- bit address of word in main memory. The number of bits in the TAG, LINE and WORD fields are respectively.
    1. 9, 6, 5
    2. 7, 7, 6
    3. 7, 5, 8
    4. 9, 5, 6
Correct Option: D

64 words require 6 bitsno. of sets = no. of lines/ set size = 128/4 = 32 sets which require 5 bitsno. of tag bits = 20-5-6 = 9,5,6



Your comments will be displayed only after manual approval.