发明名称 STRING DATAFLOW ERROR DETECTION
摘要 An apparatus for comparing strings comprises a first and a second set of input registers, a matrix of comparator circuits wherein rows of the matrix correspond to the first set of input registers and columns of the matrix correspond to the second set of input registers, a set of row control registers wherein each register corresponds to a row of the matrix of the comparator circuits, the matrix of comparator circuits configured to compare data provided by the first set of registers with data provided by the second set of registers according to the row control registers, and an error detection circuit configured to compare results from four comparator circuits corresponding to two adjacent rows and two columns of the matrix of comparator circuits. A method that invokes the above mentioned apparatus is also disclosed herein, along with a computer program product corresponding to the method.
申请公布号 US2016210182(A1) 申请公布日期 2016.07.21
申请号 US201514982005 申请日期 2015.12.29
申请人 International Business Machines Corporation 发明人 Cuffney James R.;Koprowski Timothy J.;Rell, JR. John G.;West, JR. Patrick M.
分类号 G06F11/07 主分类号 G06F11/07
代理机构 代理人
主权项 1. A method, executed by a computer, for detecting errors when comparing strings, the method comprising: providing a first and a second set of input registers; providing a matrix of comparator circuits wherein rows of the matrix correspond to the first set of input registers and columns of the matrix correspond to the second set of input registers, providing a set of row control registers wherein each register of the set of row control registers corresponds to a row of the matrix of comparator circuits, and wherein each row control register of the set of row control registers indicates whether each of less than, equal to, and greater than comparisons are to occur within a row of the matrix of comparator circuits; calculating a results vector for each comparator circuit by ANDing a row control vector provided by a row control register with an output vector of a comparator logic circuit; conducting an XOR operation on the results vectors from four comparator circuits of the matrix of comparator circuits, wherein the four comparator circuits correspond to two adjacent rows and two columns of the matrix of comparator circuits separated by at least n columns, where n is the number of columns corresponding to a largest element size for string comparison operations, and wherein the XOR operation on the results vectors which acts as an orthogonality check on the results vectors to provide an orthogonality bit for the comparator circuits; conducting an XOR operation, an OR operation, and an AND operation on the results vectors from comparator circuits that share a common column to provide a first and a second truth vector; and conducting an XOR operation on each bit of the first and the second truth vector to provide an error detection bit.
地址 Armonk NY US