3 votes 3 votes The statement " Direct mapped cache, may produce more misses if programs refers to memory words that occupy a same tag value." is true or false ? CO and Architecture made-easy-test-series co-and-architecture direct-mapping cache-memory + – ashish pal asked Dec 31, 2017 edited Mar 5, 2019 by Aditi Singh ashish pal 1.8k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Ashwin Kulkarni commented Dec 31, 2017 reply Follow Share It is false, Direct mapped cache, may produce misses when refers to same line number The above statement is true of Fully associative cache. 0 votes 0 votes Ajay Jadhav commented Dec 31, 2017 reply Follow Share @Ashwin,Correct In direct mapped location is searched by line number then tag comparison is done Same tag no of memory addresses does not necessarily mean that they are at same location(line number wise) 0 votes 0 votes ashish pal commented Dec 31, 2017 reply Follow Share @Ashwin in fully associative cache every request will be hit after the first miss. So the no. Of misses are reduced. Then how the above statement is true for fully associative cache. 0 votes 0 votes Hradesh patel commented Jan 1, 2018 reply Follow Share it true statement 1 votes 1 votes Please log in or register to add a comment.
4 votes 4 votes In direct mapping a block can be mapped to one and only cache line even if other cache lines are free. Hence the statement is true sh!va answered Dec 31, 2017 sh!va comment Share Follow See 1 comment See all 1 1 comment reply Himanshu Kumar Gupta commented Aug 14, 2020 i edited by Himanshu Kumar Gupta Aug 20, 2020 reply Follow Share in Direct mapping how it is conflict when tag are same and our main memory block is also try to map in same line number which is already present in cashe then it means we try to refer same main memory block which is already present in cache memory because tag bit are same . please clear my doubt………... 0 votes 0 votes Please log in or register to add a comment.