Question: Consider a 16 kB 2-way set associative cache. Each block holds 32 bytes of data. Physical addresses and data words are all 32 bits. (a)

 Consider a 16 kB 2-way set associative cache. Each block holds

Consider a 16 kB 2-way set associative cache. Each block holds 32 bytes of data. Physical addresses and data words are all 32 bits. (a) Calculate the number of blocks in the cache (b) Calculate the number of bits of tag stored with each block entry. (c) What would be the miss rate of this cache for the following code. Assume that if it's a miss, it fetches all blocks for the set from memory. addi $t0, $0, 8 loop: beq $t0, $0, done lw $t1, 0x4 ($0) lw $t2, 0x8($0) lw $t3, 0x24($0) addi $t0, $t0, -1 j loop done

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!