首页> 外国专利> Error checking method, error correcting code checker and computer system comprising same

Error checking method, error correcting code checker and computer system comprising same

机译:错误检查方法,错误校正代码检查器以及包括该方法的计算机系统

摘要

A method of correcting an error in an ECC protected mechanism of a computer system, such as a cache or system bus, by applying data with a number of bits N to an error correction code (ECC) matrix to yield an error detection syndrome, wherein the ECC matrix has a plurality of rows and columns with a given column corresponding to a respective one of the data bits, and selected bits are set in the ECC matrix along each column and each row such that encoding for the ECC matrix allows N-bit error correction and (N-1)-bit error detection. In the illustrative embodiment, the ECC matrix has an odd number of bits set in each row thereof. In the case of an ECC protected mechanism such as a memory device, these properties facilitate the use of an inversion bit for correcting hard faults in the stored data. When an error is detected and after it is corrected, the corrected data is inverted and then rewritten to the cache array. The corresponding inversion bit for this entry is accordingly set to indicate that the data as currently stored is inverted. Thereafter, the data is re-read from the array, and if the error was due to a hard fault (stuck bit), it will appear correct (after applying the polarity indicated by the inversion bit), since the inversion will have changed the value of the defective bit to the stuck value. The inversion bit may be part of the data itself. In this case, one of the columns in the ECC matrix corresponds to the inversion bit, and each bit in that column of the matrix is set. In the case of an ECC protected mechanism such as a system bus, once a stuck bit condition is detected, the sending device can elect to send data such that the polarity of the data for that bit is always flipped to match the logic level of the stuck value on the wire. This approach allows for full single-bit correct, double-bit detect even in the presence of a stuck bit.
机译:一种通过将具有位数N的数据应用于纠错码(ECC)矩阵以产生错误检测校验子来纠正计算机系统(例如高速缓存或系统总线)受ECC保护的机制中的错误的方法,其中ECC矩阵具有多个行和列,给定的列对应于相应的数据位中的一个,并且沿着每一列和每一行在ECC矩阵中设置选定的位,以便对ECC矩阵进行编码允许N位错误校正和(N-1)位错误检测。在说明性实施例中,ECC矩阵在其每一行中设置了奇数个比特。在诸如存储设备之类的受ECC保护的机制的情况下,这些属性有利于使用反转位来校正所存储数据中的硬故障。当检测到错误并进行纠正后,将纠正后的数据反转,然后重新写入高速缓存阵列。因此,该条目的相应反转位被设置为指示当前存储的数据已反转。此后,从阵列重新读取数据,并且如果错误是由于硬故障(卡住位)引起的,则该错误将显示为正确的(在应用了反转位指示的极性之后),因为反转将改变缺陷位的值变为固定值。反转位可以是数据本身的一部分。在这种情况下,ECC矩阵中的一列对应于反转位,并且矩阵的该列中的每一位都被设置。在使用ECC保护机制(例如系统总线)的情况下,一旦检测到卡住的位情况,发送设备就可以选择发送数据,以使该位的数据极性始终被翻转以匹配该位的逻辑电平。电线上的固定值。即使存在卡住的位,该方法也可以进行完整的单位正确,双位检测。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号