0 votes 0 votes Consider a 2 way set associative cache with 4 blocks. The memory block requests in the order. 4,6,3,8,5,6,0,15,6,17,20,15,0,8 If LRU is used for block replacement then memory set 17 will be in the cache block ____. (PS: the given answer is 1) CO and Architecture co-and-architecture cache-memory made-easy-test-series + – snaily16 asked Jan 28, 2019 edited Mar 3, 2019 by ajaysoni1924 snaily16 780 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Gupta731 commented Jan 28, 2019 reply Follow Share they have given the answer for set number and asked for cache block number. Answer is cache block number 4(or 3 if you start from 0) and set number 1(as there are two sets 0 and 1) 1 votes 1 votes himgta commented Jan 30, 2019 reply Follow Share @Shaik Masthan @MiNiPanda what should be correct ans 4 or 3, or it depend upon the implementation? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes iam getting ans as set no 1 , i think cant tell specifically in which block it will be in Raavi Karthik answered May 16, 2021 Raavi Karthik comment Share Follow See all 0 reply Please log in or register to add a comment.