in CO and Architecture edited by
1,346 views
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 ?

in CO and Architecture edited by
1.3k views

4 Comments

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
0
@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
0
@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
0
it true statement
1
1

1 Answer

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

by

1 comment

edited by
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
0

Related questions