摘要 |
<p>PROBLEM TO BE SOLVED: To optionally set the use of a cache memory by a programmer side and to optimize the use of the cache memory according to the kind of a program. SOLUTION: This controller has a cache tag memory 70 which holds the address of contents stored in a cache data memory, an access history memory 80 which holds information on a history of access to ways of the cache data memory, and a cache controller 2 which determines an object way to be replaced according to the access history information that the access history memory holds when an address that a CPU ?accesses does not coincide with the address that the cache tag memory holds. Then the cache controller 2 alters the access history information LRU according to way mask data WM limiting the object way to be replaced.</p> |