Differences between revisions 1 and 2
Revision 1 as of 2004-03-09 22:50:31
Size: 425
Editor: yakko
Comment:
Revision 2 as of 2004-03-09 23:04:17
Size: 483
Editor: yakko
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:

http://www.scotnpatti.com/images/directmappedcache.jpg

Cache

Direct Mapped Cache Cache's are directed mapped if each memory location is mapped to exactly one location in the cache. An example would be:

     location = (Block Address) MOD (Number of cache blocks in the cache)

In this way we can map a memory location to a cache location.

Example: Suppose we have a cache with 8 slots 2^3. Then a word at 45 would be found at slot 5 in the cache.

http://www.scotnpatti.com/images/directmappedcache.jpg

CaChe (last edited 2020-01-23 23:10:01 by scot)