首页> 外国专利> Method of using stream buffer to perform operation under normal operation mode and selectively switching to test mode to check data integrity during system operation

Method of using stream buffer to perform operation under normal operation mode and selectively switching to test mode to check data integrity during system operation

机译:在系统操作期间使用流缓冲器在正常操作模式下执行操作并选择性地切换到测试模式以检查数据完整性的方法

摘要

The operation of a stream buffer varies depending on whether a normal operation mode or a test mode is selected. In the normal operation mode, the stream buffer is read from only when the data requested by a CPU read has been determined to reside there, and the stream buffer location read from is the location determined to contain the requested data. This determination is made by comparing the address of the read request with addresses of the data stored in the stream buffer. Also, the stream buffer is written with memory data in response to a read that misses the stream buffer, and the location written to is one that has been allocated to receive the incoming memory data. Two different buffer allocation methods are shown, first-in-first-out (FIFO) and least- recently-used (LRU) . During the test operation mode, the stream buffer is written to and read from directly by the CPU at locations specified in the write and read requests, without regard to the data presence determination and the allocation that take place in the normal operation mode. The method provides a straightforward way of testing the stream buffer during system operation by bypassing some normal functions during test mode in favor of direct stream buffer access by the CPU.
机译:流缓冲区的操作根据选择的是正常操作模式还是测试模式而有所不同。在正常操作模式下,仅当已确定由CPU读取的请求数据驻留在其中时,才从其中读取流缓冲区,并且从中读取的流缓冲区位置是确定为包含请求的数据的位置。通过将读取请求的地址与流缓冲区中存储的数据的地址进行比较来进行此确定。另外,响应于错过了流缓冲器的读取,向流缓冲器写入存储器数据,并且被写入的位置是已被分配以接收进入的存储器数据的位置。示出了两种不同的缓冲器分配方法,先进先出(FIFO)和最近最少使用(LRU)。在测试操作模式期间,流缓冲区在写入和读取请求中指定的位置被CPU直接写入和读取,而不考虑在正常操作模式下进行的数据存在确定和分配。该方法通过在测试模式期间绕过某些常规功能,从而支持CPU直接访问流缓冲区,从而提供了一种在系统操作期间测试流缓冲区的直接方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号