白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Cache and method for managing cache

專利號
US11176039B2
公開日期
2021-11-16
申請人
REALTEK SEMICONDUCTOR CORPORATION(TW Hsinchu)
發(fā)明人
Jui-Yuan Lin; Yen-Ju Lu
IPC分類
G06F12/00; G06F12/0811
技術領域
cache,circuit,l1,l2,storage,data,in,buffer,control,step
地域: Hsinchu

摘要

A cache and a method for managing a cache are provided. The cache includes a storage circuit, a buffer circuit and a control circuit. The buffer circuit stores data in a first-in first-out (FIFO) manner. The control circuit is coupled to the storage circuit and the buffer circuit and is configured to find a storage space in the storage circuit and write the data to the storage space.

說明書

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

A method for managing a cache is also provided. The cache includes a storage circuit and a buffer circuit. The buffer circuit stores data in a first-in first-out manner. The method includes the following steps: when a target data is being written to the cache, writing the target data to the buffer circuit without checking the storage circuit; and finding a storage space in the storage circuit and writing the target data to the storage space.

A cache is also provided. The cache includes a first level cache, a second level cache and a register. The first level cache includes a first control circuit. The second level cache includes a second control circuit. The register is coupled to the first control circuit and the second control circuit. The first control circuit and the second control circuit refer to a register value of the register to respectively control the first level cache and the second level cache to operate in an inclusive mode or an exclusive mode.

According to the present disclosure, the access speed of the cache is improved due to the arrangement of a buffer circuit in the cache. Compared with the conventional technology, processor stall is less likely to occur in the electronic device employing the cache of the present disclosure. Furthermore, the cache of the present disclosure is easy to switch between the inclusive mode and the exclusive mode.

These and other objectives of the present disclosure no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiments with reference to the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a block diagram of a conventional electronic device.

權利要求

1
微信群二維碼
意見反饋