考虑由128行的64行字组成的4路集合关联高速缓存。CPU在主存储器中生成一个20位的字地址。标记、行和字字段中的位数分别为:
null
(A) 9,6,5 (B) 7, 7, 6 (C) 7, 5, 8 (D) 9, 5, 6 答复: (D) 说明:
Here the number of sets = 128/4 = 32 (as it is 4 say set associative) We have total 64 words then we need 6 bits to identify the word So the line offset is 5 bits and the word offset is 6 bits and the TAG = 20-(5+6) =9 bits so it should be 9,5,6
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END