Configurable cache for coherent system
Abstract
A device includes a memory bank. The memory bank includes data portions of a first way group. The data portions of the first way group include a data portion of a first way of the first way group and a data portion of a second way of the first way group. The memory bank further includes data portions of a second way group. The device further includes a configuration register and a controller configured to individually allocate, based on one or more settings in the configuration register, the first way and the second way to one of an addressable memory space and a data cache.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A device comprising: a controller configurable to receive an access request from a peripheral, wherein the access request includes a memory address; and a cache configuration register coupled to the controller and configured to store a first mask bit associated with the peripheral, wherein the controller is configurable to: perform a first logical operation with a first pointer bit and the first mask bit to generate a first output bit; and allocate, using the first output bit, a cache way to a cache tag associated with the memory address from the access request.
- Claim 2Depends on #1
The device of claim 1, wherein the controller is configurable to allocate the cache way to the cache tag using the first output bit and a second pointer bit.
- Claim 3Depends on #2
The device of claim 2, wherein the first pointer bit is a least significant bit of a pointer, and wherein the second pointer bit is a most significant bit of the pointer.
- Claim 4Depends on #1
The device of claim 1, wherein the controller is configurable to: retrieve a second mask bit from the cache configuration register; perform the first logical operation with a second pointer bit and the second mask bit to generate a second output bit; and allocate the cache way to the cache tag using the first output bit and the second output bit.
- Claim 5Depends on #4
The device of claim 4, wherein the first pointer bit is a first least significant bit of a pointer, wherein the second pointer bit is a second least significant bit of the pointer, wherein the pointer further includes a most significant pointer bit, and wherein the controller is configurable to allocate the cache way to the cache tag using the first output bit, the second output bit, and the most significant pointer bit.
- Claim 6Depends on #5
The device of claim 5, wherein the most significant pointer bit is a first most significant pointer bit, wherein the pointer further includes a second most significant pointer bit, and wherein the controller is configurable to allocate the cache way to the cache tag using the first output bit, the second output bit, the first most significant pointer bit, and the second most significant pointer bit.
- Claim 7Depends on #1
The device of claim 1, wherein the cache configuration register is configured to store the first mask bit associated with a membership of the peripheral, and wherein the membership of the peripheral indicates whether the peripheral is associated with a real-time priority or a non-real-time priority.
- Claim 8Depends on #1
The device of claim 1, wherein the cache configuration register is configured to store a second mask bit associated with the peripheral, and wherein the controller is configurable to: perform a second logical operation with the first output bit and the second mask bit to generate a first identifier bit; and allocate the cache way to the cache tag using the first identifier bit.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. application Ser. No. 18/229,814, filed Aug. 3, 2023, currently pending and scheduled to grant as U.S. Pat. No. 12,141,435 on Nov. 12, 2024, which is a continuation of U.S. application Ser. No. 17/715,022, filed Apr. 6, 2022 (now U.S. Pat. No. 11,720,248), which is a continuation of U.S. application Ser. No. 16/653,263, filed Oct. 15, 2019 (now U.S. Pat. No. 11,307,988), which claims priority to U.S. Provisional Application No. 62/745,842, filed Oct. 15, 2018, all of which are hereby incorporated by reference. BACKGROUND Multi-core systems provide shared access to one or more memory devices. A core connected to such a system may implement its own data cache which stores (i.e. “ caches ” ) data from the one or more memory devices as the core accesses the data so that the core need not send a request out to the one or more memory devices each time the data is used. In such systems multiple processing cores occasionally access the same memory address in the shared memory devices which may lead to coherency issues. For example, if a first core stores cached data from address “ Z ” of the shared memory devices and modifies the cached data without committing the modified data back to the shared memory devices, a second core reading from the address “ Z ” may receive out of date data. Some multi-core systems provide coherency using software cache maintenance operations. However, such operations may lead to operational inefficiencies (e.g., may be slow or consume excessive amounts of operational time). Further, multi-core systems may present additional challenges. SUMMARY Various systems and methods for providing multi-core coherent systems are disclosed herein. In one implementation, a device includes a snoop filter bank, a cache tag bank, and a memory bank. The cache tag bank is connected to both the cache tag bank and the memory bank. In another implementation, a system includes a multi-cor
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
| Patent | Title | Year | Citations |
|---|---|---|---|
| SE 7,900,025 L | Transportbehallare och redskap for hantering av sadana | — | 0 |
Non-Patent Literature (10)
- H. Park, S. Yoo and S. Lee,
- “
- A Multistep Tag Comparison Method for a Low-Power L2 Cache,
- ”
- in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 31, No. 4, pp. 559-572, Apr. 2012, doi: 10.1109/TCAD.2011.2177458. (Year: 2012).
- J. M. Tendler, J. S. Dodson, J. S. Fields, H. Le and B. Sinharoy,
- “
- POWER4 system microarchitecture,
- ”
- in IBM Journal of Research and Development, vol. 46, No. 1, pp. 5-25, Jan. 2002, doi: 10.1147/rd.461.0005. (Year: 2002).