摘要 |
<P>PROBLEM TO BE SOLVED: To reduce the cost of a system on which a cache memory holding stack data is mounted. <P>SOLUTION: A cache memory has a first way including a first data cache area for storing data and a stack cache area for storing stack data, and a second way including a second data cache area for storing data. A stack hit determination circuit asserts a stack hit signal when the stack cache area holds stack data to be accessed. A mask circuit masks a portion of an access address in order to access the stack cache area with access to the first data cache area disabled during the assertion of the stack hit signal. Therefore, usual data and the stack data can be held in a single cache memory. <P>COPYRIGHT: (C)2012,JPO&INPIT |