Invention Grant
- Patent Title: Dynamic set associative cache apparatus for processor and access method thereof
-
Application No.: US14328173Application Date: 2014-07-10
-
Publication No.: US09880937B2Publication Date: 2018-01-30
- Inventor: Lingjun Fan , Shibin Tang , Da Wang , Hao Zhang , Dongrui Fan
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Priority: CN201210134204 20120502
- Main IPC: G06F12/08
- IPC: G06F12/08 ; G06F1/32 ; G06F12/0864 ; G06F12/0895 ; G06F12/0831 ; G06F12/0891

Abstract:
The present invention provides a dynamic set associative cache apparatus for a processor. When read access occurs, the apparatus first determines a valid/invalid bit of each cache block in a cache set to be accessed, and sets, according to the valid/invalid bit of each cache block, an enable/disable bit of a cache way in which the cache block is located; then, reads valid cache blocks, compares a tag section in a memory address with a tag block in each cache block that is read, and if there is a hit, reads data from a data block in a hit cache block according to an offset section of the memory address.
Public/Granted literature
- US20140344522A1 DYNAMIC SET ASSOCIATIVE CACHE APPARATUS FOR PROCESSOR AND ACCESS METHOD THEREOF Public/Granted day:2014-11-20
Information query