首页> 外国专利> Cache coherency test system and methodology for testing cache operation in the presence of an external snoop

Cache coherency test system and methodology for testing cache operation in the presence of an external snoop

机译:高速缓存一致性测试系统和方法,用于在存在外部监听的情况下测试高速缓存操作

摘要

A test methodology for a cache memory subsystem includes setting a test unit to initiate a snoop cycle on a local bus upon lapse of a predetermined delay. The predetermined delay is initially set to a very short delay or a zero delay. The snoop cycle to be executed may take the form of an inquire cycle to a predetermined memory address. The test unit is further set or programmed to begin monitoring the local bus for certain activity including activity which is indicative of whether the snoop cycle occurred. After programming the test unit, the processor core executes a memory operation associated with the address of the snoop cycle. This memory operation causes a cache line transition. At some point, either before, during or after effectuation of the memory operation, the snoop cycle is executed by the test unit in accordance with the predetermined delay. Upon completing the memory operation, a status register is read from the test unit to determine whether the snoop cycle has yet occurred. If the snoop cycle occurred prior to completing the memory operation, the predetermined delay is increased and the test is repeated for the increased delay. Prior to repeating the test, the cache line's coherency with external memory is checked for conformance with the cache protocol. Additionally, the test unit may further be programmed to detect an occurrence of certain external local bus signals generated by the cache memory subsystem, such as a signal indicating a hit to a cache line occurred, and a signal indicating that a hit to a modified line in the cache occurred. The test is repeated until it is determined that the snoop cycle has not occurred upon completion of the line fill instruction.
机译:用于高速缓存存储器子系统的测试方法包括:设置测试单元,以在经过预定延迟后在本地总线上启动监听周期。预定延迟最初被设置为非常短的延迟或零延迟。要执行的侦听周期可以采取到预定存储器地址的查询周期的形式。测试单元被进一步设置或编程为开始监视本地总线的某些活动,包括指示侦听周期是否发生的活动。对测试单元进行编程之后,处理器内核将执行与侦听周期的地址相关的存储操作。此内存操作导致高速缓存行转换。在某个时刻,在执行存储操作之前,之中或之后,监听周期由测试单元根据预定的延迟执行。完成存储操作后,会从测试单元读取状态寄存器,以确定是否已经发生了监听周期。如果在完成存储操作之前发生了侦听周期,则增加预定延迟,并针对增加的延迟重复测试。在重复测试之前,检查高速缓存行与外部存储器的一致性,以确保与高速缓存协议一致。另外,测试单元可以进一步被编程为检测由高速缓存存储器子系统生成的某些外部本地总线信号的发生,例如指示发生对高速缓存行的命中的信号以及指示对修改的行进行命中的信号。在缓存中发生。重复测试,直到在完成行填充指令后确定没有出现监听周期为止。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号