Cache Size=32KB
Block Size=64B
4-way set associative
No. of sets =2^15/(2^6*2^2)=2^7
Hence Tag Bit=19, Set Bit=7, Word Bit=6
So we need total 4 comparators each of Size 19 bit.
But, when we calculate Latency of Comparator then we take only one comparator latency (Since all Comparator works in parallel).
Total latency= Delay of One 19-bit Comparator + Delay of one 4:1 Multiplexer (it is used for OR-ing the 4 comparators)
=2*kns+1ns
=2*19 +1
=39ns