首页> 外国专利> Fast invalidation scheme for caches

Fast invalidation scheme for caches

机译:高速缓存的快速失效方案

摘要

A method and apparatus for single cycle, cache line invalidation within a cache memory is described. The method includes enabling memory cells within a cache state array of the cache memory. An invalid state is then written to each memory cell within the cache state array of the cache memory. The enabling of the memory cells within the cache state array of the cache memory occurs during a first phase of a clock cycle. While the writing of the invalid state to each memory cell within the cache state array of the cache memory occurs during a second phase of the clock cycle. Consequently, cache line invalidation of each cache line within the cache memory occurs within a single clock cycle formed by the first phase of the clock cycle and the second phase of the clock cycle. In partial invalidation of the cache memory is possible by way-subdividing the cache state array or set-subdividing the cache state array. One shot or single cycle cache line invalidation reduces the total time required for invalidation of all cache lines within the cache memory to just a clock cycle. The implementation is simple with minimal changes to the cache array limited only to those cells that store the state information of the cache lines. Since many system operations necessitate invalidation of the entire cache, one-shot invalidation clearly improves the system performance with no significant impact on the die size.
机译:描述了一种用于高速缓存存储器内的单周期高速缓存行无效的方法和装置。该方法包括启用高速缓存存储器的高速缓存状态阵列内的存储器单元。然后,将无效状态写入高速缓存存储器的高速缓存状态阵列内的每个存储单元。在时钟周期的第一阶段期间,使能高速缓冲存储器的高速缓存状态阵列内的存储单元。虽然将无效状态写入高速缓冲存储器的高速缓存状态阵列内的每个存储单元在时钟周期的第二阶段期间发生。因此,在由时钟周期的第一阶段和时钟周期的第二阶段形成的单个时钟周期内,发生在高速缓冲存储器中的每个高速缓存线的高速缓存线无效。通过细分缓存状态阵列或设置细分缓存状态阵列,可以部分地使缓存存储器无效。一发或单周期高速缓存行失效会使高速缓存存储器中所有高速缓存行失效所需的总时间减少到一个时钟周期。该实现是简单的,对高速缓存阵列的最小更改仅限于存储高速缓存行状态信息的那些单元。由于许多系统操作都需要使整个高速缓存失效,因此一次失效就可以明显提高系统性能,而对裸片尺寸没有重大影响。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号