GALOIS FIELD ARITHMETIC LOGIC UNIT

Abstract: The present invention relates to a Galois field arithmetic logic unit of a code error check/­ correct apparatus to be employed when recording/­ reproducing data on an optical disk. The arithmetic logic unit uses a combination including a parallel multiplication circuitry (1-8) of a primitive element α of a Galois field, an EX-OR addition circuitry (10) for the multiplication results, a 0 element decision circuitry (11) for the results of the addition, and registers (16-24) to which the multiplication results are fed back so as to accomplish a parallel computation of a polynomial, thereby enabling a root and an error value of an error location equation to be obtained at a high speed. The arithmetic logic unit develops a remarkable reduction of the amount of computation particularly when the code system has a great code length and the degree of the error location polynomial associated with the long distance code is as high as d = 17.

Description: BACKGROUND OF THE INVENTION The present invention relates to a Galois field arithmetic logic unit of a code error check and correct apparatus employed for recording and reproducing data on an optical disk. Description of the Related Art Recently, there has been achieved an intensive development of data record/reproduce apparatuses using an optical disk. Although the optical disk memory generally enables to record therein a greater amount of data as compared with a magnetic disk, the recording medium of the optical disk memory has a disadvantage that a higher raw error rate results. To overcome this difficulty, there has been commonly employed a method in which error correcting codes are added to data when recording the data so as to record both the data and the error Correcting codes on an optical disk and then a data error is detected and is corrected by use of the error correcting codes when reproducing the recorded data. As such an error correcting code, the Reed-Solomon code with a Hamming distance d = about 17 has attracted attention these days. For a decoding of the Reed-Solomon code, syndromes are first calculated from a received word and then an error location polynomial σ (x) and an error value polynomial ω (x) are attained from the syndrome. Finally, an error location and an error value are estimated from these polynomials so as to effect a correction; however, due to the great hamming distance, the decoding process becomes to be complicated and hence takes a long period of time; furthermore, a large-sized circuit is necessary to implement the decoding process by means of a hardware system. Since the calculation of the syndrome greatly influences the decode speed, a parallel operation hardware is employed in many cases. In a case where particularly a high-speed operation is required, also the other processing is effected, not by such a pure hardware system, but by means of a micro-programming scheme. In this case, there have been used algorithms such as the method of Barlekamp Massey or the Euclidean algorithm (of the mutual division) for the computations of the error location polynomial and the error value polynomial. In order to attain error locations from the error location polynomial, the Chien's algorithm is employed in which all the possible error locations are assigned to the error location polynomial. The error value is obtained by effecting a differential calculation of the error location polynomial and a calculation and a division of the error value polynomial. The Chien's algorithm, the calculation of the differentiation of the error location polynomial, and the calculation of the error value polynomial each are associated with values of polynomials. Heretofore, as a method to effect a calculation of values of a polynomial, there has been utilized a method called the Horner's method in which the computation is reduced to a repetitious computation of sun of products. (Refer to, for example, "High Speed Decoding of Reed-Solomon Codes" described in the U.S.P. 4,142,174 2/1979.) Referring now to the accompanying drawings, a conventional Galois field arithmetic logic unit will be described. FIGs. 4 and 5 show portions of a Galois field arithmetic logic unit employed in a conventional code correction processing. (Refer to, for example, Error-Correcting Codes, p. 180-182, The MIT Press, by W. Wesley Peterson et al) In FIG. 4, the configuration incudes a 0 element decision circuit 11, input pipeline registers 12, 13, 34, a memory 28, a Galois field multiplier unit 29, a Galois field add circuit (exclusive OR logic circuit) 30, switch logic gate circuits 31, 32, and a power generate circuit generating a power of a primitive element α (location generate circuit) 33. The arithmetic operation is effected in GF (2 r ). A received word is first deinterleaved and the resultant word is inputted to a code error detect circuit, namely, a syndrome calculate circuit. If all syndromes thus attained is other than 0, an occurrence of an error is assumed and the syndromes are delivered to the Galois arithmetic logic unit effecting an estimation of the number of errors and computations for coefficients of the error location polynomial, thereby computing the error locations based on the results. The memory 28 is supplied with syndromes of which the number is represented by (Hamming distance - 1) from the syndrome calculate circuit, and then the number t of errors and the t + 1 coefficients of the respective degrees of the error location polynomial are computed and are then stored by means of the multiplier 29, the adder 30, control logic circuit using a microprogram (not shown), an inversion memory, and the like. Thereafter, also using the same Galois arithmetic logic unit, the root of the error location polynomial is computed according to the Chien's method. Assuming for simplification that there exist two errors, in order to attain the root of the error location polynomial, the switch logic gate circuit 31 is changed over to the side of the adder 30 of the Galois arithmetic logic unit, the switch logic gate circuit 32 is set to the side of the location value generate circuit 33, coefficients k₂, k₁, k₀, k₂, k₁, k₀, etc. are sequentially assigned to the Rc34, and 0, α⁰, α⁰, 0, α¹, α¹, etc. are sequentially assigned to the Ra 12. Outputs from the adder 30 are, after the pipeline operation is completed, expressed as follows. k₂ + @*0 k₁ + (k₂)*α⁰ k₀ + (k₁ + k₂ * α⁰)*α⁰ k₂ + @*0 k₁ + (k₂)*α¹ k₀ + (k₁ + k₂ *α¹)*α¹ Namely, the root of the error location polynomial should be judged for every third operation. Incidentally, the expressions above each are executed in a Galois field in which the operators + and * respectively indicate an addition and a multiplication and @ denotes an undefined number. FIG. 5 shows an internal structure of the multiplier circuit 29. This configuration includes multipliers 1-8 multiplying fixed coefficients of a Galois field, and AND circuits 9 multiplying the output from each fixed coefficient multiplier by the 0 source when each corresponding bit of the pipeline register 12 is 0, in other words the AND circuits 9 each disposed for every bit of the output from the fixed coefficient multiplier. Reference numeral 10 designates a parity generate circuit which effects an odd/even parity decision for each degree of the binary vector expression of all the symbols obtained as a result of the multiplication. In the constitution above, however, as the number of error occurrences increases, the degrees respectively of the error location polynomial and the error value polynominal become greater, which leads to a problem that the amount of calculations of sum of products to obtain the values of the polynomials is increased and hence the decoding time becomes longer. For instance, in an example where the code length n = 130 and the number of errors t = 8, let us consider the computation steps of the calculation of sum of products necessary to attain the error locations X0, ---- , X7 from the error location polymonial σ (X). According to the Chien's algorithm, the possible error locations are sequentially assigned to the error location polynomial so as to obtain a result in which the value of the polynomial is 0. Since the number of errors is t, the polynomial σ (X) is of a t-degree polynomial, and t + 1 steps are required to calculate the value of the expression by assigning a location xi of each error to the error location polynomial; furthermore, under the worst condition, the error locations are to be checked as many times as there are codes, namely, (t + 1) * n = 9 X 130 = 1170 steps are required in total. Similarly, the error value e i can be calculated, assuming the error location polynomial and the error value polynomial to be ω (X) and σ' (X), respectively, from e i = -α i ·ω(α i )·σ'(α i )⁻¹ However, since ω (α i ) and σ' (α i ) must be computed as polynomical calculations, it is clear that the amount of the computation of sum of products is increased as the number of error occurrences becomes greater. SUMMARY OF THE INVENTION In a case where the Reed-Solomon code is employed for the recording and reproduction of data on an optical disk in a usual case, since the decode time is limited in relation to necessity to transfer data in a realtime fashion, the decode time, namely, the amount of computation necessary for the decode operation must be minimized to practically use codes with a high performance. Furthermore, the amount of the hardware must be sufficiently reduced in a practical range. The invention is defined in claim 1. A parallel processing and a shared use of multiplier hardware are employed for the arithmetic processing to attain the root of the error location polynomial; furthermore, a simultaneous processing is effected for the differential processing and the computation to obtain the error value. For a multiplication of a Galois field GF (2 r ), fixed coefficients ranging from α⁰ to α r-1 are multiplied by a common 1-symbol so as to attain r resultant values, and if a component of order r of a binary vector associated with a multiplicand symbol is 0, the result of the multiplication by the fixed multiplier corresponding to the component of order r is assumed to be 0 so as to effect an Exclusive-OR operation on the r symbols thus attained, thereby accomplishing the multiplication of a Galois field GF (2 r ). By using the same fixed-multiplier circuit and by inputting thereto outputs from a memory storing results of calculations of coefficient values from degree 0 to degree t of the error location polynomial, fixed coefficients from α⁰ to α t are multiplied by the outputs from the memory and the results of the multiplications are fed back for each degree and compute an Exclusive-OR of the t+1 symbols resulted from a group of fixed-coefficient multipliers, thereby attaining a result for a symbol, which enables to obtain a computation result in which the error locations are assigned to the error location polynomial. The error location number is identical to the feedback count. In this operation, the multiplicands need only be set to registers such that the binary vectors thereof are entirely 1's. Furthermore, in a case where the number t is greater than the value of (r-1), a group of fixed-coefficient multipliers for degree r and greater degrees need only be provided for symbols outputted from a group of memory elements which stored intermediate results associated with each degree in the computation assigning the respective locations to the error location polynomial. Moreover, when the result of a computation assigning the error location to the error location polynomial is a 0 element, the error location is a solution of the error location polynomial. Utilizing here a fact that the component of each degree of the error location polynomial has been determined prior to a computation of the next error location, the error position can be assigned to a differential polynomial resulted from a differentiation effected on the error location polynomial, thereby attaining a value of the polynomial. In the differentiation of a polynomial in a Galois field, a coefficient of an even-numbered degree before the differentiation results in 0 after the differentiation and a coefficient of an odd-numbered degree before the differentiation becomes to be a coefficient of a term having the next lower degree as a result of the differentiation. That is, the differentiation of results in σ' (X)=k₇X⁶ + k₅X⁴ + k₃X² + k₁ Using here that X·σ'(X)=k₇X⁷ + k₅X⁵ + k₃X³ + k₁X¹, X·σ'(X) can be readily computed by means of the same hardware configuration. In other words, outputs from a memory storing computation results for the degrees 0 to t of the error location polynomial are respectively multiplied by the fixed coefficients from α⁰ to α t , and for the results of the multiplications, if a symbol is selected as the multiplicand such that the binary vector includes 0 in the even-numbered positions relative to the lowermost position and 1 in the odd-numbered positions, the bit component corresponding to an even-numbered power of α in the outputs from the group of the fixed-coefficient multipliers becomes to be 0; consequently, by Exclusive-ORing the results of the multiplications by the fixed-coefficient multipliers associated only with an odd-numbered power of α, the result X·σ'(X) of an operation to assign the error location in the polynomial attained by differentiating the error location polynomial can be easily obtained without effecting a particular computation. Since the value thus attained for the differentiated polynomial is not associated with a computation to lower the degree of the variable of the polynomial by one during the differentiation thereof, the value includes an excessive multiplication by a degree as compared with the value of the actually differentiated polynomial; however, this can be solved in a process obtaining the error value, for example, by effecting an excessive multiplication of the error location by the error value. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be apparent from the following detailed description taken in conjunction with the accompanying drawings in which: FIGs. 1A and 1B are flowcharts illustrating a first embodiment according to the present invention; FIG. 1C is a schematic block diagram showing a configuration of a Galois field arithmetic logic unit to which the first embodiment of the present invention is applied; FIGs. 2A and 2B are flowcharts illustrating a second embodiment according to the present invention; FIG. 2C is a schematic block diagram showing a configuration of a Galois field arithmetic logic unit to which the second embodiment of the present invention is applied; FIG. 3 is a schematic block diagram showing a configuration of a Galois field arithmetic logic unit to which a third embodiment of the present invention is applied; FIG. 4 is a schematic block diagram showing a configuration of a Galois field arithmetic logic unit of a prior art example; and FIG. 5 is a schematic block diagram showing a configuration of a Galois field multiplier circuit of a prior art example. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring now to the accompanying drawings, description will be given of an embodiment of a Galois field arithmetic logic unit according to the present invention. FIGS. 1A, 1B and 1C respectively show flowcharts and a block diagram of a first embodiment of the Galois field arithmetic logic unit according to the present invention. The structure of FIG. 1C includes fixed-coefficient multipliers 1-8, AND circuits 9, parity generator circuits 10, and pipe-line registers 12, 13. These components are the same as those of FIG. 5. Furthermore, the configuration comprises a 0 element decision circuit 11, switch logic gate circuits 14, 15 and 36, and registers 16-18 storing intermediate values attained by multiplying coefficient input values of the error location polynomial by location values of the error location polynomial. Reference numeral 35 indicates an 8-bit fixed symbol generate circuit generating a binary constant 00000010, whereas reference numeral 37 designates a pipeline register. The arithmetic operations are effected in GF (2⁸) and the number t of errors is assumed to be at most two in the first embodiment. Referring here to FIGs. 1A, 1B and 1C, description will be given of the operation of the Galois field arithmetic logic unit constituted as described above. When the multiplication, division, and addition are achieved for a syndrome in a Galois field so as to attain the number of errors and the value of each coefficient of the error location polynomial, the multiplication is effected such that when a symbol is inputted as a multiplier, r fixed coefficients α⁰ to α r-1 , which respectively are a power of a primitive element α of GF (2 r ) and a power of (r-1) thereof, are multiplied in a common fashion, and the each results are further multiplied by the 0 if each corresponding r-order bit of a binary vector of a multiplicand symbol is 0, and attain an Exclusive-OR of symbols of the r multiplication results thus obtained, thereby completing the multiplication of a symbol. When the switch logic gate circuit 15 is changed over to the side of the input pipeline register 13 of FIG. 1C, the Galois field arithmetic logic unit of this embodiment functions in a similar fashion as the multiplier circuit of FIG. 5. The division and addition are to be effected by including functions of other blocks not shown in this embodiment; however, such a division can be implemented by combining a reverse element ROM with the multiplier circuit of this embodiment. After the operations above, the value of the coefficient obtained for the each degree of the error location polynomial is stored in the registers 16-18 by setting the switch logic circuits 14 to the respective input side (not to the feedback sides). The switch logic gate circuits 15 respectively change over between the outputs from the pipeline register 13 storing the multiplicand symbol for the function of the multiplier circuit and the outputs from the registers 16-18 storing feedback values of the intermediate values obtained by assigning the location value of the error location polynomial for each degree thereof through a multiplication effected with the fixed coefficients from α⁰ to α². By changing over the switch logic gate circuit 14 to the feedback side, the feedback operation is repetitiously accomplished as many times as there are steps corresponding to the code length n . In this operation, the input pipeline register 13 is supplied with the 0 and all bits of the input pipeline register 12 are set to 1 so as to suppress the influence from the terms having a degree equal to or greater than α³. This processing is effected at a quite high speed through a parallel processing and the 0 element decision circuit 11 confirms whether or not the symbol outputted from the parity generator circuit 37 is a 0 element, thereby judging the root, which enables to attain the error location represented as (feedback count + 1) in an exponential expression in the Galois field. Incidentally, since the 0 element decision circuit 11 is located after the fixed-coefficient multiplier, when the root of the error location polynomial is α⁰, the root decision cannot be accomplished by the 0 element decision circuit 11. In this case, however, since a condition that the Exclusive-OR of the coefficient of each degree of the error location polynomial results in 0 indicates that the root is α⁰, the root α⁰ can be confirmed, for example, by computing the Exclusive-OR in concurrence with an operation to store the coefficient values in the registers 16-18. When the root of the error of location polynomial is determined by the 0 element decision circuit 11 during the feedback step, the switch logic gate 36 is changed over to the side of the fixed-pattern generator 35 before the next feedback step is initiated. Since the feedback value registers 16-18 are loaded with the respective coefficients of an expression obtained by assigning the error locations in the error location polynomial and the fixed-pattern generator 36 generates a symbol containing a binary value 00000010, the parity generator circuit 10 is supplied only with a term of degree α¹. The pipeline register 37 is loaded with the value of an expression attained by assigning the error locations in a polynomial obtained by differentiating the error location polynomial. By using the value of this expression in a calculation to be achieved later to attain the error value, the amount of the computation of the polynomial can be reduced in the computation of the error locations. For the simplicity of explanation, the number of error is at most two in this example. When the number of error occurrences is particularly increased and the number of degrees of the error location polynomial becomes greater, namely, in a case where the longer period of time is required for the computation in the conventional method, the effect of reduction of the computation amount becomes greater. As described above, according to the embodiment, the subproducts from α⁰ to α r-1 obtained from the r fixed-coefficient multiplier circuits are fed back to the multiplier circuit of FIG. 5 so as to store intermediate results for each step in the registers provided therefor; furthermore, there are additionally arranged a logic circuit detecting a condition that an output symbol associated with a parity in the bit direction is a 0 element, a logic circuit generating a fixed symbol, and a logic circuit to change over among functions including an ordinary multiplication, a computation of a root of the error location polynomial, and a computation of a value of a polynomial resulted from a differentiation of the error location polynomial, thereby simultaneously implementing an efficient utilization and a high-speed operation of the hardware resource. Incidentally, the registers 16-18 as memory elements in the first embodiment of the present invention need not be dedicated ones, namely, memories to be used in a process calculating the coefficients of the error location polynomial may be employed; furthermore, the feedback value need not be effected to the same area in the process calculating the root of the error location polynomial. Next, referring to the drawings, description will be given of a second embodiment of the present invention. FIG. 2C is a block diagram showing a Galois arithmetic logic unit as a second embodiment according to the present invention. The configuration of FIG. 2 includes fixed-coefficient multipliers 1-8, AND circuits 9, parity generator circuits 10, and pipeline registers 12, 13. These components are the same as those of FIG. 5. The system further includes a 0 element decision circuit 11, switch logic gate circuits 14, 15 and 36, and registers 16-18 to store intermediate values resulted from multiplication effected between input coefficient values of the error location polynomial and the location values thereof for the respective degrees. These elements are identical to those of FIG. 1C. Reference numerals 19-24 are registers to store therein intermediate values resulted from multiplication effected between input coefficient values of the error location polynomial and the location values thereof for the respective degrees, reference numeral 25 designates a fixed-coefficient multiplier having a fixed coefficient of α⁸, reference numeral 26 indicates a logic switch circuit changing over between the L and H levels, reference numeral 27 denotes an AND circuit. Reference numeral 35 is an 8-bit fixed symbol generate circuit to generate a binary constant of 10101010, whereas reference numeral 37 indicates a pipeline register. The operations are accomplished in GF (2⁸). Since the number t of errors is at most eight in the second embodiment, the number of memory elements are increased, and because the number n of errors exceeds r-1, fixed-coefficient multipliers are dedicatedly added corresponding to computation for the degrees equal to or more than r . Referring now to FIGs. 2A, 2B and 2C, description will be given of a Galois arithmetic logic unit constituted as described above. When attaining the number of errors and the value of the coefficient of each degree of the error location polynomial, the multiplication in the Galois field is accomplished in the same fashion as for the case of FIG. 5; however, the logic switch circuit 26 is set to the L level to remove the influence from the term of the multiplier associated with α⁸. In this situation, all outputs from the AND circuit 27 are set to the L level and hence the output from the multiplier 25 associated with α⁸ does not affect the result of the multiplication. The computation of the error location polynomial is achieved in the same fashion as for the case related to FIGs. 1A, 1B and 1C; however, initialization is effected for up to the eighth degree at the maximum for the error location polynomial depending on the number of errors. In a case where the number of errors is at most seven, the calculation of the root of the error location polynomial and the computation of the value of a polynomial obtained by differentiating the error location polynomial can be effected without any problems only through an initialization setting the 0 element to the content of the register associated with the unused degree. In this fashion, after the error locations are determined according to the Chien's method, the value of an expression attained by differentiating the error location polynomial can be computed by use of the multiplier circuit again. In addition, when operating the apparatus as an ordinary Galois field multiplier, the 0 element may be assigned to the register 24 in place of the logic switch circuit 26. Incidentally, according to the method above, the error location α⁰ cannot be obtained as a feedback count; consequently, all coefficients of the error location equation must be EX-OR summed and be compared with 0, thereby determining the error location numbers associated with α⁰. Next, referring to the drawings, description will be given of a third embodiment according to the present invention. FIG. 3 is a block diagram showing a configuration of a Galois field arithmetic logic unit as a third embodiment according to the present invention comprising fixed-coefficient multipliers 2-8, parity generators 10, a 0 element decision circuit 11, pipeline registers 12 and 13, a switch logic gate circuit 36, registers 16-24 storing the intermediate values resulted from multiplications effected between the input values of coefficients of the error location polynomial and the location values of the error location polynomial corresponding to the respective degrees, a fixed-coefficient multiplier 25 with a fixed coefficient of α⁸, an 8-bit fixed-symbol generate circuit 35 generating a binary constant 10101010, pipeline registers 37 and 41, octuple selector 42 and octuple EX-OR gates 40. These elements are identical to those of the second embodiment. Reference numerals 38 and 39 respectively designate NAND circuits. The operations are accomplished in GF (2⁸) and it is assumed that the number t of errors is at most eight in the third embodiment. In this embodiment, the operation to set values of coefficients of a polynomial to the pipeline registers 16-24 is effected in a method in which the values are transmitted through a feedback loop passing the pipeline register 13, the NAND circuits 38, the multipliers 2-8 and 25, and the NAND circuits 39 in this order. Employing this method, it is possible to respectively eliminate switches located before the pipeline registers 16-24 and the multipliers 2-8. In a large-scale integrated circuit, particularly in a gate array, the cell area of an NAND circuit is smaller than that of a logic switch circuit, and hence the present embodiment enables to configure an LSI in a higher integration. For an operation of an ordinary Galois field multiplier, following initialization is needed. 1) The pipeline register 12 are first cleared and selector logic 26 selects L level. As a result, all outputs from the NAND circuits 39 are set to the H level. 2) Clocks are supplied to the pipeline registers 16-24 so as to Set all outputs from the pipeline registers 16-24 to the H level. 3) The pipeline registers 12 and 13 are each loaded with a multiplier and a multiplicand, respectively. 4) The result of the multiplication is attained in the pipeline register 37. Incidentally, according to the circuit above, the error locations for α⁰ and α¹ cannot be obtained as feedback counts; consequently, the error locations must be determined in another method. For example, the error location for α¹ is judged as follows. That is, when the coefficients of the error location polynomial are stored in memory elements through the feedback loop passing multipliers, a second one-symbol input is supplied through selector 36, the input having bits 1's corresponding to the respective degrees, and the outputs resulted from the multipliers associated with the respective degrees are added so as to compare the result of the addition with 0. Assume here the error location equation to be σ(X) = k₂X² + k₁X + k₀ Under this condition, the coefficient values are sequentially stored through the pipeline register 12 and the feedback loops as follows. 1) The pipeline registers 12 and 41 are first cleared and then selector logic 42 selects register 41. 2) Coefficient which corresponds with k₀ is stored in the register 16. Symbol α⁰ is supplied through the selector 36 in this situation, and k₀ is stored in the register 16. 3) Coefficient which corresponds with k₁ is stored in the register 17. Symbol α¹ is supplied through the selector 36 in this situation, and the pertinent multiplier outputs k₁α¹. 4) Coefficient which corresponds with k₂ is stored in the register 18. Symbol α² is supplied through the selector 36 in this situation, and the pertinent multiplier outputs k₂α². Consequently, adding the results with EX-OR gates 40 outputted from the multipliers as described in 1), 2), 3) and 4) above, k₂α² + k₁α¹ + k₀ is attained, namely, the result of computation of σ (α¹) is obtained at the register 41 output. When the error location equation is of eighth degree, the switch 26 must be naturally changed over. As described above, according to the present invention, many portions of the multipliers constituting the Galois field arithmetic unit of the code error check/correct apparatus can be used to achieve computations attaining the value of a polynomial obtained by differentiating the error location polynomial, the computations being effected at a high speed in a simplified fashion. Particularly, when the number of error occurrences becomes greater and hence the number of degree of the error location polynomial is increased, namely, in a case where a longer period of time is required for the conventional method to effect the computation, the effect of reducing the amount of computations is remarkably increased. As described above, by sharing the hardware resources, a high-speed decode operation can be accomplished by means of a minimized hardware, and hence the decoding operation can be practically achieved on such recording media having a high raw error rate as an optical disk requiring a high-speed and high-performance operations.

Claims: A Galois field arithmetic logic unit comprising: a group of memory elements (16-23) each for storing a coefficient value for each term of respective orders in an error location polynomial with a maximum order of t for Reed-Solomon codes of which each code word includes elements of a Galois field GF (2 r ) and for storing values of intermediate computation results associated with at least t+1 symbols for each order obtained through substitution of location values to said error location polynomial; means (14) for supplying said coefficient values for Chien error location search calculation into said memory elements; a group of r multipliers (1-8) either for multiplying a first 1 symbol input (R b ) by fixed coefficients of α° to α r-1 , respectively, α being a primitive element of said Galois field GF (2 r ), or for multiplying t+1 symbols supplied by said group of memory elements (16-23) by fixed coefficients of α° to α t , respectively, the number t+1 being not greater than r ; means (9) for multiplying the outputs of said group of multipliers (1-8) by fixed coefficients of 0 elements in said Galois field GF (2 r ), respectively, the executing of the respective multiplication depending on whether each bit, ranging from a 0-th bit to a most significant (r-1)-th bit, respectively, of a second 1-symbol input (R a , GEN) in a binary representation, is 0 or 1; a group of r odd/even decision means (10) for attaining Exclusive-OR of each corresponding bit of respective binary vectors representing r symbols obtained as results from said means (9) for multiplying so as to obtain a 1-symbol; and means (11) for detecting whether or not the symbol output from said group of odd/even decision means (10) is a 0 element, characterized in that said unit comprises: means (15) for selectively supplying the inputs to the multipliers (1-7), said inputs being selected from said first symbol (R b ) and the outputs (R₀-R₂; R₀-R₇) of said group of memory elements (16-23); and means (14) for feeding back the t+1 symbols produced by said r multipliers (1-8) to said group of memory elements (16-23) so as to store said symbols therein. A Galois field arithmetic logic unit according to Claim 1, further comprising: a memory element (24); a multiplier (25) with a coefficient of α r ; and means (27) for multiplying the output of said multiplier (25) by coefficients of the 0 elements, respectively, wherein said group of r odd/even decision means (10) attain Exclusive-OR of each corresponding bit of respective binary vectors representing t+1 symbols exceeding r+1 in number obtained by said means (9) for multiplying where t is greater than or equal to r . A Galois field arithmetic logic unit according to Claim 1 or 2, further comprising: fixed-coefficient generate circuit means (35) for generating a symbol in which odd-numbered bits relative to a 0-th bit as a least-significant bit of a GF (2 r ), respectively, are 1, and even-numbered bits relative thereto, respectively, are 0; and means (36) for changing over said second 1-symbol input to a fixed coefficient output from said fixed-coefficient generate circuit means (35). A Galois field arithemtic logic unit according to Claim 1 wherein in a case where a Galois filed is to be subjected to a multiplication, r fixed coefficients from α⁰ to α r-1 are multiplied by said first 1-symbol input, and when the respective bits corresponding to bits ranging from a 0-th bit to an (r-1)-th bit are 0 in binary representation of the second 1-symbol input, said r fixed coefficients from α⁰ to α r-1 are changed over to fixed coefficients of a 0 element in said Galois field GF (2 r ) for the multiplication so as to attain a result of the multiplication through a symbol output from said group of odd/even decision means (10) and in a case where the error location numbers and a differentiation of the error location polynomial are to be attained, said group of memory elements (16-23) corresponding to α⁰---α t of said fixed-coefficient multipliers (1-8) are respectively loaded with a t-th order coefficient of said error location polynomial, bits ranging from a least-significant bit to at least a t-th bit are supplied with 1 as said second 1-symbol input and each said memory element associated therewith is selected for each input of said each multiplier so as to feed back results of multiplications of the t+1 symbols by said multipliers (1-8) to said respective memory elements, and when outputs from said group of odd/even decision means (10) become to indicate a 0 element, the feedback is temporarily stopped to measure a feedback count, thereby attaining the error location numbers. A Galois field arithmetic logic unit according to Claim 2 wherein in a case where a Galois field is to be subjected to a multiplication, r fixed coefficients from α⁰ to α r-1 are multiplied by said first 1-symbol input, and when the respective bits corresponding to bits ranging from a 0-th bit to an (r-1)-th bit are 0 in a binary representation of the second 1-symbol input, said r fixed coefficients from α⁰ to α r-1 of said group of fixed-coefficient multipliers (1-8) are changed over to fixed coefficients of a 0 element in said Galois field GF (2 r ), and means (11) for causing outputs of said fixed-coefficient multipliers with coefficients at least equal to α r to supply a 0 element to inputs of said group of odd/even decision means is utilized to attain a multiplication result through the outputs from said odd/even decision means, in a case where the number of errors associated with an order at least equal to r is to be attained, 1 is supplied to each bit of said second 1-symbol input and the inputs of said group of odd/even decision means (10) are supplied with the outputs from said group of fixed-coefficient multipliers (25) with coefficients at least equal to α r , and in a case where a value of a differentiation of the error location polynomial is to be attained, the output from said fixed-coefficient generate circuit (35) is supplied as said second 1-symbol input and a 0 element in outputted from even-numbered fixed-coefficient multipliers (25) relative to r-th multipliers thereof associated with coefficients at least equal to α r so as to be supplied to the inputs of said odd/even decision means (10), thereby effecting an operation through a similar procedure. A Galois field arithmetic logic unit according to Claim 3 wherein in a case where a Galois field is to be subjected to a multiplication, r fixed coefficients from α⁰ to α r-1 are multiplied by said first 1-symbol input, and when the respective bits corresponding to bits ranging from a 0-th bit to an (r-1)-th bit are 0 in binary representation of the second 1-symbol input, said r fixed coefficients from α⁰ to α r-1 are changed over to fixed coefficients of a 0 element in said Galois field GF (2 r ) for the multiplication or as to attain a result of the multiplication through a symbol output from said group of odd/even decision means (10) and in a case where the error location numbers and a value of a differentiation of the error location polynomial are to be attained, said group of memory elements corresponding to α⁰---∝ t of said fixed-coefficient multipliers (1-8,25) are respectively loaded with coefficients of said error location polynomial of order t , bits ranging from a lower-most bit to at least a t-th bit are supplied with 1 as said second 1-symbol input and each said memory element (16-24) associated therewith is selected for each input of said each multiplier so as to feed back results of multiplications of the t+1 symbols by said multipliers (1-8,25) to said respective memory elements (16-24), and when outputs from said group of odd/even decision means (10) become to indicate a 0 element, the feedback is temporarily stopped to measure a feedback count, thereby attaining the error location numbers, and thereafter the outpus from said fixed-coefficient generate circuit means (35) are supplied as said second 1-symbol input so as to attain a result of the differentiation computation of the error location polynomial to the outputs from said group of odd/even decision means (10) and then the feedback is continued so that the operation above is repetitiously effected by when a feedback count becomes to be equal to (code length - 1). A Galois field arithmetic logic unit according to Claim 5 or 6 including means (30) operative in a case where a Reed-Solomon code with an error location number of α⁰ is employed wherein through feedback loops, the coefficients of the error location polynomial are supplied to said memory elements (16-24) to store the coefficients therein so as to attain the error location numbers and all the coefficients of the error location polynomial are added to compare a result of the addition to 0 for a decision of the error location numbers of α⁰, and when an error is found at the location of α⁰, coefficients of odd-numbers orders of the error location polynomial are added so as to attain a result of a differentiation computation. A Galois field arithmetic logic unit according to Claim 4, 5 or 6 comprising, in place of said means (15) for selectively supplying the inputs to the multipliers, and OR circuit (38) for ORing said first symbol and outputs from said group of memory elements (16-24) wherein in a case of a multiplication of a Galois filed, 0 is loaded in each said memory element, feedback loops are not interrupted to supply said memory elements (16-24) with a new result of a multiplication so as to keep the contents to be 0 , and in a case to attain the error location numbers, said memory elements (16-24) are supplied with a clock through the feedback loop via multipliers (1-8,25) so as to store therein the coefficients of the error location polynomial and 0 is input as said first symbol to effect a feedback so as to attain the error location numbers. A Galois field arithmetic logic unit according to Claim 7 or 8 including means (40) operative in a case where a Reed-Solomon code with an error location number of α¹ is employed wherein through feedback loops, the coefficients of the error location polynomial are supplied to said memory elements (16-24) to store the coefficients therein so as to attain the error location numbers, when loading said memory elements (16-24) with the coefficents of the error location polynomial through the feedback loops via the multipliers (1-8,25), said changing over means (36) sets 1 only to bits of said second 1-symbol input corresponding to the respective orders and adds all results output from the multipliers (16-24) for the respective orders to compare a result of the addition to 0 for a decision whether an error exists at the location of α¹, and when an error is found at the location of α¹, contents of odd-numbered orders of said memory elements (16-24) are cleared, said means (36) then stores again coefficents of the odd-numbered orders of the error location polynomial in said memory elements (16-24) through the feedback loops via the multipliers (1-8,25), sets 1 only to the bits corresponding to the respective orders of the odd-numbered orders as said second 1-symbol input, and adds results output from the multipliers (1-8,25) associated with the respective orders so as to attain a result of a differentiation computation of the error location polynomial to which α¹ is assigned. A Galois field arithmetic logic unit according to Claim 2, further comprising means (35,36,39) for multiplying the output from each of said fixed coefficients multipliers (2-8,25) by fixed coefficients of the 0 elements in case the output corresponds to an even-numbered coefficient of the error location polynomial. A Galois field arithmetic logic unit according to Claim 10 including means (30) operative in a case where a Reed-Solomon code with an error location number of α⁰ is employed wherein through feedback loops, the coefficients of the error location polynomial are supplied to said memory elements (16-24) to store the coefficients therein so as to attain the error location numbers and all the coefficients of the error location polynomial are added to check a result of the addition to 0 for a decision whether an error exists at the location of α⁰, and when an error is found at the location of α⁰, coefficients of odd-numbered orders of the error location polynomial are added so as to attain a result of a differentiation computation. A Galois field arithmetic logic unit according to Claim 10 comprising, in place of said means (15) for selectively supplying the inputs to the multipliers, an OR circuit (38) for ORing said first symbol and outputs from said group of memory elements (16-24) wherein in a case to attain the error location numbers, said memory elements (16-24) are supplied with a clock through the feedback loop via the multipliers (2-8) so as to store therein the coefficients of the error location polynomial and 0 is input as said first symbol to effect a feedback so as to attain the error location numbers. A Galois field arithmetic logic unit according to Claim 10 including means (40) operative in a case where a Reed-Solomon code with an error location number of α¹ is employed wherein through feedback loops, the coefficients of the error location polynomial are supplied to said memory elements (16-24) to store the coefficients therein so as to attain the error location numbers, when loading said memory elements with the coefficients of the error location polynomial through the feedback loop via the multipliers (2-8,25), said means (36) sets 1 only to bits of said second 1-symbol input corresponding to the respective orders and adds all results outputted from the multipliers (2-8) for the respective orders to compare a result of the addition to 0 for a decision whether an error exists at the location of α¹; and when an error is found at the location of α¹, contents of odd-numbered orders of said memory elements (16-24) are cleared, said means (36) then stores again coefficients of the odd-numbered orders of the error location polynomial in said memory elements (16-24) through the feedback loop via the multipliers (2-8,25), sets 1 only to the bits corresponding to the respective orders of the odd-numbered orders as said second 1-symbol input, and adds results output from the multipliers (1-8,25) associated with the respective orders so as to attain a result of a differentiation computation of the error location polynomial to which α¹ is assigned.

Inventors: MURAI, KATSUMI, USUI, MAKOTO
Applicants: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1987
Main classification: G11B20
IPC codes: H03M13, G06F7