0 0 votes consider prof vamshi writes a program given below and runs on a system which has 2 way set associative cache 16KB data cache with 32B block where each word is 32bits and LRU replacement policy is used. if the base address of array ‘a’ is 0*0 and initially cache is empty then the number of data cache misses are there _______??(assume int takes 4B) CO & Architecture co-and-architecture array + – Gate Fever 1.7k views answer comment Share Follow Print See all 14 Comments 14 14 Comments reply Gate Fever commented Dec 22, 2018 reply Follow flag i am getting 1151 misses! 1 1 replyShare Shobhit Joshi commented Dec 22, 2018 reply Follow flag i'm also getting 1151 misses! 0 0 replyShare Gate Fever commented Dec 22, 2018 reply Follow flag i think they have given wrong answer as 1279 misses 0 0 replyShare Shobhit Joshi commented Dec 22, 2018 reply Follow flag can you post the solution , may be we are wrong 0 0 replyShare Navneet Kalra commented Dec 22, 2018 reply Follow flag 1151 will be the answer 0 0 replyShare Hemanth_13 commented Dec 22, 2018 reply Follow flag Can some say how are you getting 1151 plz 0 0 replyShare Gate Fever commented Dec 22, 2018 reply Follow flag @Shobhit Joshi 0 0 replyShare Gate Fever commented Dec 22, 2018 reply Follow flag @Hemanth_13 what u are getting?? 0 0 replyShare Shobhit Joshi commented Dec 22, 2018 reply Follow flag @Gate Fever they are wrong as the are keeping 0-31 in a cache block but it should be only 0-7 as only 8 word of memory can be kept as each memory word takes 4 bytes 1 1 replyShare Gate Fever commented Dec 22, 2018 reply Follow flag yes, thats why i posted the ques, that means 1151 is correct right? 0 0 replyShare Shobhit Joshi commented Dec 22, 2018 reply Follow flag yes i think so ! 0 0 replyShare Hemanth_13 commented Dec 22, 2018 reply Follow flag @Mk Utkarsh Please check this 0 0 replyShare Gate Fever commented Dec 23, 2018 reply Follow flag @Hemanth_13 u have taken wrong word size in first line of ur solution, 32 bits = 4B not 8B 1 1 replyShare Hemanth_13 commented Dec 23, 2018 reply Follow flag Sorry for thatt.then 1151 will be answer 0 0 replyShare Please log in or register to add a comment.