白丝美女被狂躁免费视频网站,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
技術(shù)領域
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

FIG. 2 is a partial flow chart of the electronic device 100 operating in the inclusive mode. When a read miss occurs in the L1 cache 120, the L1 cache 120 requests the L2 cache 130 for data (step S210). In step S220, the control circuit 132 checks whether the data requested by the L1 cache 120 is stored in the storage circuit 136. If the data requested by the L1 cache 120 is not stored in the storage circuit 136 (i.e., a read miss in L2 cache), the control circuit 132 requests the system memory 140 for data (step S230). Next, the L2 cache 130 receives data from the system memory 140 (step S240) and then sends the data to the L1 cache 120 (step S250). After receiving the data from the L2 cache 130, the L1 cache 120 stores the data. Finally, the L1 cache 120 broadcasts the data to the L2 cache 130 (step S260). In step S260, the control circuit 132 must check the tags in the storage circuit 136 and write the data to the storage circuit 136. Since the capacity of the L2 cache 130 is typically greater than the capacity of the L1 cache 120, accessing the storage circuit 136 consumes more time. For example, if accessing the L1 cache 120 requires one cycle of the system clock, it may take two to three cycles to access the storage circuit 136. Since step S260 is relatively time consuming, the control circuit 132 cannot immediately proceed to carry out the next access command, leading to stalls in the processor 110.

權(quán)利要求

1
微信群二維碼
意見反饋