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

Computer organization and architecture miscellaneous

Computer Organization and Architecture

Direction: Consider two cache organizations :
The first one is 32 kbyte 2-way set associative with 32 k byte block size. The second one is of the same size but direct mapped. The size of an address is 32 bit in both cases. A 2- to-1 multiplexer has a latency of 0.6 ns while a k-bit comparator has a latency of k/10 ns. The hit latency of het set associative organization is h1 while that of the direct mapped one is h2.

  1. The value of h2 is
    1. 2.4 ns
    2. 2.3 ns
    3. 1.8 ns
    4. 1.7 ns
Correct Option: D

As we know that,

Number offsets =
cache size
(no of blocks in a set × block size)

=
32 kb
= (10 bits)
1*32 B

As given that, word offset = 5 bits
So, tag bits = 32 – 10 – 5 = 17
Hence h2 = 17/10 = 1.7ns



Your comments will be displayed only after manual approval.