发明名称 SEMICONDUCTOR DEVICE AND METHOD FOR PREFETCHING TO CACHE MEMORY
摘要 A microcontroller includes multiple ways each including only one tag. When a first access and a second access are accesses performed in succession to consecutive addresses, and when the second access is the access through a first way, a cache controller performs the following operations: prefetching to the way whose tag value is smaller by 1 than the tag value corresponding to the first way when the second access is the access in the direction in which the address is incremented with respect to the first access; and prefetching to the way whose tag value is greater by 1 than the tag value corresponding to the first way when the access is in the direction in which the address is decremented.
申请公布号 US2015293850(A1) 申请公布日期 2015.10.15
申请号 US201214439355 申请日期 2012.10.31
申请人 RENESAS ELECTRONICS CORPORATION 发明人 Shindo Makoto
分类号 G06F12/08 主分类号 G06F12/08
代理机构 代理人
主权项 1. A semiconductor device comprising: a processor; a memory; a plurality of tags; a plurality of ways each of which can store a plurality of data of consecutive addresses of the memory in which the tag value stored in the each tag is taken as the reference address; and a cache controller, wherein each of the ways is provided with an address change direction flag that indicates either the direction in which the address is incremented or decremented with respect to the last two accesses to the way, wherein when a first access and a second access are accesses that are performed in succession to consecutive addresses from the processor to the memory, and when the second access is the access through a first way, the cache controller is configured to allow prefetching of data, which is indicated by the tag value continuous in the direction that the address change direction flag indicates with respect to the tag value corresponding to the first way, to a second way having the address change direction flag that matches the address change direction corresponding to the first way, and having the tag value continuous in the direction opposite to the direction that the address change direction flag indicates with respect to the tag value corresponding to the first way.
地址 Kanagawa JP