0 votes
190 views
by
recategorized by
Cache Mapping Technique

Your answer

Can you give answer to this question ?

Upload an image:

Privacy: Your email address will only be used for sending these notifications.

3 Answers

0 votes
by

Cache Mapping Technique

•Cache is small, fast and expensive memory.

•This is also use for reducing access time.

•Cache is more closer to CPU than main memory.

•Cache is use to store addresses.

•There are three ways for mapping cache memory.

1.Direct mapping

2.Fully Associative mapping

3.Set-Associative mapping

•These method are use for assigning addresses to cache locations.

1.Direct mapping

•Direct mapping is the easiest.

•It is often use for instruction cache.

•In direct mapping no search is needed.

•But in this method the cache memory is not fully utilized.

•No replacement technique is required in this method of cache mapping.

•In this method only one tag compare is require per access.

•All words stored in cache must have different indices.

2. Fully Associative mapping

•In this type of mapping the tag memory is searched in parallel (Associative) hence it is called Associative mapping.

•In this method cache utilization is very high as compare to other two technique.

•In this method main memory divided into two groups lower order bits for location of a word in block and higher order bits for blocks.

•It is expensive to implement because of cache searching.

•As much comparators as number of tags is required means large number of comparators is required.

•The internal logic compare the incoming address with all the stored addresses.

3. Set-Associative mapping

•Set-Associative mapping have good performance but it is complex.

•Set-Associative mapping is the combination of both direct mapping and fully associative mapping.

•In this method the cache is divided into sets.

•So the search is performed over a cache set in parallel.

•Set-Associative mapping is use in microprocessors.

•It allows limited number of blocks with same index and different tags.

•The incoming tag is compared with all tags of selected sets with the help of comparator.

VISIT AT YOUTUBE

BUY BOOKS AT EEE STORE

0 votes
by

Cache Mapping Technique

image

image

image

image

image

0 votes
by

Cache Mapping Technique:-

image

image

← Prev Question Next Question →
Request Answer

Related questions

–1 vote
1 answer 46 views
0 votes
2 answers 2,648 views
0 votes
0 answers 71 views
0 votes
1 answer 117 views
0 votes
1 answer 3 views
asked Jun 29 by anonymous
0 votes
1 answer 9 views
0 votes
0 answers 44 views
0 votes
0 answers 39 views
asked Apr 10, 2018 by anonymous
0 votes
1 answer 70 views
asked Apr 3, 2019 by anonymous
0 votes
1 answer 124 views
asked Apr 3, 2019 by anonymous
0 votes
1 answer 66 views
asked Apr 3, 2019 by anonymous
0 votes
1 answer 37 views
asked May 23, 2018 by anonymous
0 votes
1 answer 41 views
asked May 14, 2018 by anonymous
0 votes
1 answer 34 views
asked Apr 11, 2018 by anonymous
0 votes
0 answers 46 views
asked Apr 10, 2018 by anonymous
0 votes
0 answers 31 views
0 votes
0 answers 221 views
0 votes
1 answer 119 views
0 votes
1 answer 189 views
0 votes
0 answers 69 views
0 votes
0 answers 51 views
asked Apr 1, 2018 by anonymous
0 votes
1 answer 82 views
0 votes
1 answer 55 views
asked Mar 28, 2018 by anonymous
0 votes
0 answers 562 views
0 votes
1 answer 53 views
0 votes
1 answer 459 views
asked Mar 28, 2018 by anonymous
0 votes
1 answer 98 views
0 votes
1 answer 74 views
asked Mar 26, 2018 by anonymous
0 votes
1 answer 87 views
asked Mar 26, 2018 by anonymous
0 votes
1 answer 2,988 views
0 votes
1 answer 155 views
asked Mar 21, 2018 by anonymous
0 votes
1 answer 260 views
0 votes
1 answer 47 views
0 votes
1 answer 80 views
0 votes
1 answer 57 views
asked Mar 17, 2018 by anonymous
0 votes
1 answer 79 views
asked Mar 17, 2018 by anonymous
0 votes
1 answer 1,195 views
asked Mar 15, 2018 by anonymous
0 votes
1 answer 102 views
0 votes
1 answer 113 views
asked Mar 3, 2018 by anonymous
+2 votes
1 answer 2,299 views
asked Jan 27, 2018 by anonymous
+1 vote
1 answer 88 views
asked Jan 25, 2018 by anonymous
+1 vote
1 answer 100 views
asked Jan 25, 2018 by anonymous
Welcome to AskOrAnswerMe.com , where you can ask questions and receive answers from other user. Feel free to ask any question. Help everyone by giving best answer to the questions.

11,433 questions

10,158 answers

190 comments

4,085 users

...