发明名称 ELECTRONIC DEVICE HAVING SCRATCHPAD MEMORY AND MANAGEMENT METHOD FOR SCRATCHPAD MEMORY
摘要 An electronic device having a scratchpad memory and a management method are provided. A recording circuit records multiple counter values which are corresponding to entries in a Translation Lookaside Buffer (TLB). A virtual address is matched with a first entry. If a cache miss occurs, the recording circuit updates a first counter value corresponding to the first entry, and determines if the first counter value meets a threshold criterion. If the first counter value meets the threshold criterion, the recording circuit transmits an interrupts signal to a processing unit, and the processing unit moves data into the scratchpad memory. If the first counter value does not meet the threshold criterion, the data is moved into a cache.
申请公布号 US2016342526(A1) 申请公布日期 2016.11.24
申请号 US201514940486 申请日期 2015.11.13
申请人 NATIONAL CHENG KUNG UNIVERSITY 发明人 Chang Ta-Wei;Lin Ing-Chao;Su Wen-Yu
分类号 G06F12/10;G06F12/08 主分类号 G06F12/10
代理机构 代理人
主权项 1. An electronic device, comprising: a processing unit; a translation lookaside buffer (TLB) coupled to the processing unit and having a plurality of entries, wherein the TLB receives a virtual address from the processing unit, the virtual address is matched with a first entry of the entries, and the TLB outputs a physical address according to the virtual address and a physical page number recorded in the first entry; a redirector coupled to the TLB and receiving the physical address; a scratchpad memory coupled to the redirector; a cache coupled to the redirector; and a recording circuit coupled to the TLB, the cache and the processing unit, and recording a plurality of count values, wherein the count values are respectively corresponding to the entries, wherein the redirector transmits the physical address to the scratchpad memory or the cache, wherein if a cache miss occurs when the physical address is transmitted to the cache, the recording circuit updates a first count value of the count values corresponding to the first entry, and determines whether the first count value meets a threshold criterion, if the first count value meets the threshold criterion, the recording circuit transmits an interrupt signal to the processing unit, and the processing unit moves data corresponding to the physical address to the scratchpad memory, if the first count value does not meet the threshold criterion, the data corresponding to the physical address is moved to the cache.
地址 Tainan City TW