白丝美女被狂躁免费视频网站,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

The control circuit 7241 of the L1 cache 724, the control circuit 7341 of the L1 cache 734, and the control circuit 742 of the L2 cache 74 refer to the register value of the register 76 to respectively control the L1 cache 724, the L1 cache 734 and the L2 cache 74 to operate in the inclusive mode or the exclusive mode. In other words, the L1 cache and the L2 cache are controlled in a programmable manner to operate in either the inclusive mode or the exclusive mode. In this way, there is no need to decide the operation mode of the L1 cache 724, the L1 cache 734 and the L2 cache 74 when the electronic device 70 is being designed. Instead, the user can set the register value of the register 76 after the completion of the circuit based on the practical applications. That is, dynamic adjustments are feasible. In some embodiments, the register 76 can be a control register of the processor 72.

The followings are some application examples of the electronic device 70.

Examples (1): in a case where the core 720 and the core 730 operate in a parallel processing mode (i.e., both executing the same program), the register value of the register 76 can be set to a first value (e.g., 1) such that the L1 cache 724, the L1 cache 734 and the L2 cache 74 operate in the inclusive mode.

Example (2): in a case where the core 720 and the core 730 respectively execute the first program and the second program that share instructions and/or data, the register value of the register 76 can be set to a first value (e.g., 1) such that the L1 cache 724, the L1 cache 734 and the L2 cache 74 operate in the inclusive mode.

權利要求

1
微信群二維碼
意見反饋