Question: How to know if this question is 2-way set associative mapping or 4-way? in this qustion it's 2-way but how did we know? Given the
How to know if this question is 2-way set associative mapping or 4-way? in this qustion it's 2-way but how did we know?
Given the following: -Mapping type: Set Associative Mapping -Memory size :1146MM22=>24240240 -Cache size: 642+2B=>262=24 1 block: 4 bytes 4 words 22 1 word =1 byte -Addressable unit: word Find: 1- Cache address format 9!1312beg,set(t)w 552w 2- Memory address format 22/2 3- Address length (s+w)=(22+2)=24 bits 4- Number of addressable units =2s+w=222+2224 word 5- Block or line size =2w=22 word 6- Number of blocks in main memory =2w23+w=2222224 9-Number of lines in cache kv=K2d=2213=214 10- Size of tag (sd)=(2213)=9 bits
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
