GB2537876A - Error protection key generation method and system - Google Patents
Error protection key generation method and system Download PDFInfo
- Publication number
- GB2537876A GB2537876A GB1507317.4A GB201507317A GB2537876A GB 2537876 A GB2537876 A GB 2537876A GB 201507317 A GB201507317 A GB 201507317A GB 2537876 A GB2537876 A GB 2537876A
- Authority
- GB
- United Kingdom
- Prior art keywords
- key
- error protection
- sub
- data value
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/088—Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1048—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using arrangements adapted for a specific error detection or correction feature
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1076—Parity data used in redundant arrays of independent storages, e.g. in RAID systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1012—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/033—Theoretical methods to calculate these checking codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/13—Linear codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/29—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M13/2906—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes using block codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/35—Unequal or adaptive error protection, e.g. by providing a different level of protection according to significance of source information or by adapting the coding according to the change of transmission channel characteristics
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/35—Unequal or adaptive error protection, e.g. by providing a different level of protection according to significance of source information or by adapting the coding according to the change of transmission channel characteristics
- H03M13/356—Unequal error protection [UEP]
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/47—Error detection, forward error correction or error protection, not provided for in groups H03M13/01 - H03M13/37
- H03M13/49—Unidirectional error detection or correction
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/61—Aspects and characteristics of methods and arrangements for error correction or error detection, not provided for otherwise
- H03M13/615—Use of computational or mathematical techniques
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/61—Aspects and characteristics of methods and arrangements for error correction or error detection, not provided for otherwise
- H03M13/618—Shortening and extension of codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/63—Joint error correction and other techniques
- H03M13/635—Error control coding in combination with rate matching
- H03M13/6362—Error control coding in combination with rate matching by puncturing
- H03M13/6368—Error control coding in combination with rate matching by puncturing using rate compatible puncturing or complementary puncturing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0079—Formats for control data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Algebra (AREA)
- Computational Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Storage Device Security (AREA)
- Detection And Correction Of Errors (AREA)
Abstract
An error protection key (matrix) generation method to generate a matrix for use in computing an error protection (detection/correction) code for input data values of different data sizes. The method comprises inputting a plurality of desired data value sizes, and then applying a key generation algorithm to generate a matrix Mmax for use in computing the error protection code for a maximum data value size amongst the plurality of data value sizes. The key generation algorithm is arranged so that it generates the key so as to comprise a plurality of sub-keys (sub-matrices) M1, M2, M3, where each sub-matrix is associated with one of the input data value sizes, and where each sub-key conforms to a key requirement of the error protection scheme. A data processing system comprising a plurality of error protection (detection/correction) circuits in which first and second error protection circuits respectively handle data values of first and second different sizes utilising the matrix generated according to the method is also disclosed.
Description
ERROR PROTECTION KEY GENERATION METHOD AND SYSTEM
The present technique relates to a method and system for generating a key for use in computing an error protection code for an input data value, and to a data processing system incorporating error protection circuits for performing computations using the key.
In data processing systems, it is known to provide error protection mechanisms with the aim of improving the robustness to errors of various data values propagated within the data processing system. In particular, an error protection code can be generated for associating with a data value, and then later that error protection code can be used in combination with the data value to detect situations where the data value has been corrupted, due for example to a soft or a hard error. The error protection code may be sufficient merely to identify that there is an error with the data, or the error protection code may be sufficient not only to enable the presence of the error to be detected, but also to enable the error to be corrected. Generally, both types of error protection code are referred to as error correction codes (ECCs), and accordingly herein the error protection code will also be referred to as an ECC In such data processing systems, there will typically be provided error protection circuits in the form of error protection code generation circuits that generate the error protection code to be associated with a data value, and also error protection circuits in the form of error checking circuits that analyse the data value and its associated error protection code in order to detect situations where the data value has been subjected to an error, and to correct that error if the error protection scheme allows for such correction.
In accordance with typical error protection schemes, a key is generated that is used both by the error protection code generation circuit to generate the error protection code for an input data value, and which is also used by the error checking circuitry in combination with the data value and associated error protection code in order to enable errors to be identified and corrected.
For any particular error protection scheme, the size of the key (also referred to herein as a mask) is typically dependent on the size of the data value to be protected. It is often the case within a data processing system that data values of various different sizes will be propagated within the system, and hence different keys will be required in order to provide appropriate protection for those various different sizes of data value. Typically, the standard practice is to generate a unique key for each specific input data value size, the key being generated having regard to the error protection scheme. However, with the proliferation in the number of different sized data values being processed within a data processing system, all with their associated uniquely generated keys, this has led to significant design and verification costs associated with the generation of the necessary error protection circuits for use within the data processing system. It would be desirable to provide a mechanism which enabled a reduction in such design and verification costs.
In one example configuration, there is provided a computer-implemented method of generating a key for use in computing an error protection code for an input data value according to an error protection scheme, comprising: inputting a plurality of data value sizes; and applying a key generation algorithm to generate a key for use in computing the error protection code for a maximum data value size amongst said plurality of data value sizes, the key generation algorithm generating the key to comprise a plurality of sub-keys, each sub-key being associated with one of the input data value sizes and conforming to a key requirement for the error protection scheme.
In another example configuration, there is provided a non-transitory computer program product providing a computer program which, when executed on a computer, performs a method of generating a key for use in computing an error protection code for an input data value according to an error protection scheme, in accordance with the above mentioned example configuration.
In a yet further example configuration, there is provided a data processing system comprising: a plurality of error protection circuits including at least a first error protection circuit to handle data values of a first data value size, and a second error protection circuit to handle data values of a second data value size different to said first data value size; said first and second error protection circuits comprising computation circuitry to perform a computation utilising a sub-key selected from a key generated in accordance with the above-mentioned method, for each of the first and second error protection circuits the sub-key being selected based on the associated data value size handled by that error protection circuit.
In a still further example configuration, there is provided a data processing system comprising: a plurality of error protection means including at least a first error protection means for handling data values of a first data value size, and a second error protection means for handling data values of a second data value size different to said first data value size; said first and second error protection means comprising computation means for performing a computation utilising a sub-key selected from a key generated in accordance with the above-mentioned method, for each of the first and second error protection means the sub-key being selected based on the associated data value size handled by that error protection means The present technique will be described further, by way of example only, with reference to embodiments thereof as illustrated in the accompanying drawings, in which: Figure I is a block diagram of a data processing system in accordance with one embodiment, Figure 2 schematically illustrates a mask used in one embodiment, and the associated computation for computing an error correction code for a received data value, Figure 3 is a flow diagram illustrating a mask generation technique in accordance with one embodiment; Figure 4 illustrates a sequence of sub-masks generated in accordance with one embodiment when adopting the approach of Figure 3, Figure 5 schematically illustrates the size of error correction code produced for different data value sizes, and for two different error protection schemes in accordance with one embodiment; Figure 6 is a flow diagram illustrating the steps performed when generating an error protection circuit in accordance with one embodiment, Figure 7 illustrates various portions of a mask for a data value of size dw_x+ I, when generated using the mechanism of one embodiment; Figure 8 is a flow diagram illustrating how an error correction code for a data value of size dw x+1 can be generated from an error correction code for a data value of size dw x in accordance with an upscaling mechanism of one embodiment; Figure 9 is a block diagram illustrating error correction code generation circuitry arranged to operate in accordance with the method of Figure 8 in accordance with one embodiment; Figure 10 is a block diagram illustrating error correction code generation circuitry arranged to perform a downscaling operation to generate an error correction code for a data value of size dw x from the error correction code produced for a data value of size dw x+1, in accordance with one embodiment; Figures 11A to 11C illustrate alternative forms for the mask of Figure 7, in accordance with different embodiments; and Figure 12 schematically illustrates a general purpose computer of the type which can be used to implement the present techniques.
Before discussing the embodiments with reference to the accompanying figures, the following description of embodiments is provided.
In one example configuration, a computer implemented method is provided for generating a key for use in computing an error protection code for an input data value according to a chosen error protection scheme. In particular, a plurality of data value sizes are input, and a key generation algorithm is then applied to generate a key for use in computing the error protection code for a maximum data value size amongst the plurality of data value sizes. In generating the key, the key generation algorithm produces the key such that it comprises a plurality of sub-keys, where each sub-key is associated with one of the input data value sizes and conforms to a key requirement for the chosen error protection scheme.
As a result, the generated key effectively forms a generic set of sub-keys, each of which conforms to the requirements of a key for the error protection scheme, and each of which is associated with a particular one of the input data value sizes.
Accordingly, for any particular data value size amongst the input plurality of data value sizes, error protection circuitry can be arranged to perform a computation utilising the relevant sub-key selected from the key generated in the above described manner. This provides a significant reduction in design and verification cost when designing error protection circuits to handle a variety of different data value sizes. In particular, the same generic set of sub-keys provided by the generated key can be referred to in each instance, and the relevant sub-key extracted having regards to the required data value size.
The key generation algorithm will depend on the error protection scheme chosen. For example, it will be understood that the number of bits required in the error protection code for a data value of a particular size will vary dependent on the error protection scheme chosen, and there will typically be rules specifying how the key should be generated from the data value dependent on the error protection scheme. In accordance with the present technique, the key generation algorithm not only generates a key associated with the maximum data value size, where that key conforms to the key requirements of the error protection scheme, but also ensures that each individual sub-key also conforms to the key requirements for the error protection scheme, having regards to the associated data value size for that sub-key. This hence enables each of the individual sub-keys to be used independently.
In one embodiment, the key (which as mentioned earlier is effectively a generic set of sub-keys for different data value sizes) is output by the computer implemented method, so that it can then be used as an input in generating error protection circuits conforming to the error protection scheme. The error protection circuits can take a variety of forms, and hence for example may be error protection code generation circuits (also referred to herein as FCC generation circuits) for generating the error protection code for an input data value of a particular size, or may be error checking circuits used to detect, and potentially correct, errors identified in a data value based on an analysis of the data value and the associated ECC. In both instances, the relevant sub-key associated with the size of data being processed is used in the computation performed by the error protection circuits.
There are a number of ways in which the key generation algorithm can be arranged to generate the key so as to comprise a plurality of sub-keys. However, in one embodiment the step of applying the key generation algorithm comprises computing a sequence of sub-keys, such that each sub-key in the sequence other than a first sub-key contains an immediately preceding sub-key in the sequence, with the remaining portion computed to ensure that the key requirement is conformed to, and with the final sub-key forming the key to be used in computing the error protection code for said maximum data value size.
Hence, the sequence of sub-keys effectively form a nested sequence, where a portion of a sub-key is formed by the immediately preceding sub-key.
In one embodiment, the step of applying the key generation algorithm comprises processing the plurality of data sizes in increasing size order, such that the first sub-key computed is a sub-key for a smallest data value size amongst said plurality of data sizes.
Then, for each subsequent sub-key in the sequence, that sub-key is computed by incorporating therein the immediately preceding sub-key in the sequence, determining the remaining portion of the sub-key having regard to the associated data value size, and computing values for the remaining portion of the sub-key such that the key requirement is conformed to.
In one embodiment, each of the sub-keys contains a matrix of values arranged in rows and columns. In one such arrangement, for each subsequent sub-key in the sequence, the immediately preceding sub-key occupies a subset of the columns of that subsequent sub-key, and the step of computing the remaining portion of the sub-key includes filling the remaining column values within the subset of columns with a predetermined value, and computing the values for the remaining columns not in said subset of the columns.
The exact location at which the immediately preceding sub-key is located within the current sub-key being generated can vary dependent on embodiment. In one embodiment, the immediately preceding sub-key is positioned so that one of its corners is co-located with the corner of the current sub-key being generated. As mentioned above, for the subset of the columns that the immediately preceding sub-key occupies, the remaining column values within that subset of columns for the current sub-key being generated can be filled with a predetermined value, in one embodiment the predetermined value being a zero value. Accordingly, all that is then required is to generate the values for the remaining columns that are not in the subset of columns occupied by the immediately preceding sub-key. These can be generated using the key generation algorithm having regard to the rules applicable for the chosen error protection scheme that may dictate allowable sequences of values for those columns.
In one embodiment, when computing the values for the remaining columns not in said subset of the columns, the key generation algorithm excludes any value sequences already present in the subset of the columns. For many error protection schemes, it will be necessary to ensure that none of the columns within a particular sub-key have the same sequence of values.
There are a number of ways in which the plurality of data value sizes used as an input to the key generation method can be specified. For example, in one embodiment the plurality of data sizes are specified independently, for example as a list of required data values sizes. However, in an alternative embodiment the plurality of data sizes may be determined by input of a range identifying a minimum data value size and a maximum data value size. The actual data value sizes can then be determined from the range in a variety of ways, for example to incorporate every integer value within the range, to apply a predetermined stride when selecting the required data value sizes within the range, etc. In one embodiment, a non-transitory computer program product can be provided containing a computer program which, when executed on a computer, performs the method of generating a key as outlined above. This would hence for example enable a general purpose computer to perform the necessary steps required to generate the key containing a generic set of sub-keys for the different specified data value sizes.
Alternatively, a dedicated apparatus could be provided for generating the key based on the input data value sizes.
The key generated by the above described technique can be used in a wide variety of different situations. However, it can be particularly beneficially applied within a data processing system having multiple error protection circuits, with data of various different data value sizes being processed within the system, and accordingly with some error protection circuits needing to operate on data value sizes different to other error protection circuits.
For example, in one embodiment a data processing system may be provided comprising a plurality of error protection circuits including at least a first error protection circuit for handling data values of a first data value size, and a second error protection circuit for handling data values of a second data value size different to said first data value size. The first and second error protection circuits comprise computation circuitry to perform a computation utilising a sub-key selected from a key generated in accordance with the above described computer-implemented method, for each of the first and second error protection circuits the sub-key being selected based on the associated data value size handled by that error protection circuit.
The use of the key generated by the earlier described method when designing such a data processing system can give rise to significant reductions in design and verification cost associated with the data processing system. In particular, instead of the known prior art approach where unique keys are generated for different data value sizes, which all need to be documented separately and require the associated error protection circuits to be designed accordingly, when using the earlier described mechanism of the present technique for generating a key, since the key effectively provides a generic set of sub-keys associated with different data value sizes, that generic key can be referenced each time, and the relevant sub-key extracted from it, significantly reducing the design and verification costs associated with the provision of the error protection circuits within the data processing system.
In one embodiment, all of the various error protection circuits can be self-contained, comprising computation circuitry configured having regards to the appropriate sub-key. Hence, in such an arrangement the computation circuitry in each of the earlier-mentioned first and second error protection circuits would implement a function utilising the entirety of the selected sub-key for that error protection circuit However, in an alternative embodiment, it is possible within certain of the error protection circuits to reduce the size and complexity of the computation circuitry, by reusing the output from a computation circuit associated with an error protection circuit handling a different data value size. In particular, in one embodiment, the computation circuitry in the first error protection circuit implements a function utilising the entirety of the selected sub-key for the first error protection circuit, and the computation circuitry in the second error protection circuit implements a first function utilising a determined portion of the selected sub-key for the second error protection circuit, and a second function utilising an output of the function implemented by the computation circuitry in the first error protection circuit. Hence, in this embodiment the computation circuitry in the second error protection circuit only needs to utilise a determined portion of the selected sub-key for that error protection circuit, and can re-utilise the output from the computation circuitry in the first error protection circuit.
k one particular example arrangement, the first data value size is smaller than the second data value size, which will be referred to herein as an upscaling embodiment. In particular, in this instance the second error protection circuit is operating on a data value size that is larger than that processed by the first error protection circuit, but utilises the output from the first error protection circuit when computing its required output, hence enabling a reduction in the size of the computation circuitry in the second error protection circuit.
In an alternative embodiment, the first data value size is larger than the second data value size, which will be referred to herein as a downscaling embodiment, hi such a downscaling embodiment, the output from the first error protection circuit can still be used to reduce the complexity of the computation circuitry in the second error protection circuit Accordingly, through use of such upscaling and downscaling embodiments, the overall size of the computation circuitry required can be reduced, which can give rise to both performance and energy savings.
As mentioned earlier, the error protection circuits can take a variety of forms. In one embodiment, the first and second error protection circuits are error protection code generation circuits for generating an error protection code using the selected sub-key and an input data value In one particular embodiment, within the second error protection circuit the second function is arranged to apply an operation using as inputs an output from the first function and data derived from the output of the function implemented by the computation circuitry in the first error protection circuit.
In an alternative embodiment, the first and second error protection circuits are error checking circuits used to generate syndrome information using the selected sub-key, an input data value, and an associated error protection code. In one particular embodiment where the first and second error protection circuits are error checking circuits, those first and second error protection circuits implement a function utilising the entirety of the selected sub-key for that error protection circuit.
Particular embodiments will now be described with reference to the Figures. Figure 1 is a block diagram of a data processing system 10 in which the techniques of the described embodiments can be implemented. In this example system, a processing circuit 15, which may for example be a central processing unit (CPU), is arranged to communicate with a variety of other components 25, 35, 45, 55 and also with an on-chip memory 70. The components 25, 35, 45, 55 can take a variety of forms, and hence may for example be memory interfaces, cache control interfaces, etc. As shown in the figure, data values of various different sizes are transferred between the CPU 15 and the various components. For the sake of illustration, only certain channels of communication are shown, and in particular, with regard to components 25, 35 and 45, a communication channel transferring data from the CPU 15 to those components is shown, with associated ECC generator circuitry 20, 30, 40 being provided within the CPU for generating ECC codes to be associated with the data transferred to the components 25, 35, 45, respectively, and with each of the components including associated ECC check circuits 22, 32, 42 for detecting and potentially correcting errors in the data, as determined by analysis of the data and associated ECC.
Further, in the illustrated example, it is assumed that the component 55 is transmitting data to the CPU 15, and accordingly the associated ECC generator circuitry 50 is provided within the component 55, and the ECC check circuitry 52 is provided within the CPU 15.
With regard to the communication between the CPU 15 and the memory 70, it is assumed that the memory does not perform any error correction code generation or checking, but merely stores the provided data and associated ECC within the memory, so that when the data is subsequently retrieved, error checking can be performed. Accordingly, in that embodiment, combined ECC generator and check circuitry 60 can be provided for communicating via a bus interface 65 with the memory 70. When a data value is written into the memory, associated ECC data will be generated for storing in the memory in association with the data value, and then when the data value is subsequently retrieved, check circuitry within the CPU will detect any errors in the data based on analysis of the data value and associated ECC.
As will be well understood, a number of different error protection schemes exist, and the size of ECC data required for a particular data value size will vary dependent on the error protection scheme. For example, one type of error protection scheme is the SEDDED (Single Error Detect, Double Error Detect) scheme, whilst another known error protection scheme is the SECDED (Single Error Correct, Double Error Detect) scheme.
For any particular size of data value, the SECDED scheme will typically require more ECC bits than the SEDDED scheme. In the example illustrated in Figure 1, the example ECC sizes shown are for the SECDED scheme. Hence, an 8-bit data value passed from the CPU 15 to component 25 is accompanied by a 5-bit ECC, a 32-bit data value transferred from the CPU 15 to the component 35 is accompanied by a 7-bit ECC, a 16-bit data value passed from the CPU 15 to the component 45 is accompanied by a 6-bit ECC, and a 64-bit data value transferred from the component 55 to the CPU 15 is accompanied by an 8-bit ECC.
When generating an error correction code E from an input data value D, a computation is performed on that data value using a key of an appropriate size. The key can also be described as a mask, and Figure 2 illustrates an example mask M. The mask can be considered to form a matrix of values arranged in rows and columns. As shown in Figure 2, the mask 90 is configured so that the number of rows is equal to the number of ECC bits in the error code E, whilst the number of columns is equal to the number of bits in the data value D to be protected by the ECC. Hence considering the earlier example of an 8-bit data value being protected by a 5-bit ECC, the mask M would have five rows and eight columns, with a logic one or a logic zero value being provided at each matrix location within the mask.
Typically, ECC generation is performed in a similar manner regardless of the kind of protection the scheme gives, and can be represented by the equation: E = M * D The asterisk symbol represents the vectorial product of the matrix M with the 20 vector D, such that each bit of the ECC equates to an XOR reduction of the bitwise AND of the corresponding row of the matrix with the vector D. The actual form of the mask will depend on the chosen error protection scheme, and in particular an algorithm can be used to select appropriate values for each of the columns within the mask having regard to the chosen error protection scheme. Typically, in known prior art systems, each time a mask is required for a particular size of data value, the mask is uniquely generated based on the application of such an algorithm, and accordingly, for any chosen error protection scheme, the mask generated for one particular data value size will have no correlation with the mask generated for a different data value size. This can give rise to significant design and verification costs when incorporating multiple error protection circuits within a data processing system, where those error protection circuits are processing different sized data, as in the example of the system discussed earlier with reference to Figure 1.
However, in accordance with the technique of one embodiment, a method is provided for generating a generic mask that incorporates a sequence of sub-masks within it, where each of the sub-masks is associated with a particular input data value size, and each of the sub-masks independently conforms to the mask requirements of the error protection scheme. This process will be described further with reference to Figure 3.
At step 100, the desired data widths to be protected are input. These can be specified individually, or with reference to a range from which the desired data widths are determined. As shown in Figure 3, these data widths are labelled dw_l, dw_2, dw max.
At step 105, the type of protection is identified, which will have a bearing on the number of ECC bits required for each data width, the algorithm used to populate the various columns of the mask, etc. At step 110, the corresponding error code widths ew_l, ew_2, ew_max are determined for each of the desired data widths having regard to the protection type input at step 105. Thereafter, the parameters dw and ew are set equal to dw 1 and ew 1, respectively, at step 115.
At step 120, the column generator algorithm applicable for the particular protection type is applied in order to generate a sub-mask with ew rows and dw columns. This process excludes a computation for any columns computed for a preceding sub-mask. During the first iteration there will be no preceding sub-mask, and accordingly the column generator algorithm generates each of the columns.
At step 125, it is determined whether all data widths that were input at step 100 have been considered. If so, then the process is complete, and branches to step 140 where the latest sub-mask becomes the final mask MmAx.p. However, for at least the first iteration this will not be the case and the process will proceed to step 130, where dw and ew are updated for the next desired data width. Thereafter, at step 135 for any additional rows within existing columns, logic zero values are added to extend those columns to ew bits in length. Thereafter, the process returns to step 120.
As a result of this process, a generic mask MmAxy will be generated that itself contains a plurality of sub-masks, each sub-mask being associated with a particular input data width, and each sub-mask conforming to the mask requirements for the error protection scheme, i.e. enabling that sub-mask to be used independently. This is illustrated schematically in Figure 4, where the maximum sized mask Mmax associated with the largest input data width is constituted by the sub-mask 150, this being the final sub-mask created. However, the process of generating that mask starts with the generation of the mask 160 for the smallest specified data width, and then is repeated iteratively for each subsequent sub-mask 170, 180, etc associated with each of the other specified data widths. The plurality of data size widths are processed in increasing size order.
In the example shown in Figure 4, it is assumed that the smallest data width specified is 4-bits, the second data width specified is 8-bits, and thereafter a number of further data sizes are specified. As mentioned earlier, the number of rows within each sub-mask will depend on the type of protection scheme used, but for the earlier mentioned SECDED scheme, there will need to be four rows for a data width size of four, and five rows for a data width size of eight. This is shown schematically by the masks 160, 170. On a first iteration, the column generator algorithm will generate the four columns of values shown within the sub-mask 160. Thereafter, the original dw and ew values of four and four will be updated to eight and five in order to specify the next sub-mask 170. In this example, the sub-mask 160 occupies the upper left part of the sub-mask 170, and all of the columns containing the sub-mask 160 are extended with logic zero values. This is performed at step 135 of Figure 3. During the next iteration of step 120, then the four additional columns of five values shown within the sub-mask 170 are computed having regard to the rules of the chosen error protection scheme. When the next sub-mask 180 is considered, all of the eight columns associated with the sub-mask 170 are again extended with logic zero values for any additional rows within the sub-mask 180, as illustrated schematically in Figure 4, and then remaining part of the sub-mask is computed. This process is continued until the final sub-mask 150 associated with the maximum data width size specified is computed, at which point that sub-mask becomes the final mask MmAx,p.
Figure 5 is a table illustrating the ECC widths ew for various different data widths dw, for both the SECDED scheme and the SEDDED scheme. As can be seen from the 30 table 190, the number of ECC bits for any particular data width will be more when employing the SECDED scheme, when compared with the SEDDED scheme. This is due to the additional information required to enable an error to be corrected rather than just detected.
The various specified data sizes for which associated sub-masks need to be generated can take any arbitrary form. Whilst in the example of Figure 5 most of the values are double the preceding value, there is no requirement for this, and indeed it will be seen that one of the examples given is a data width of 47, which has no particular relationship to the preceding specified data widths.
Having generated a generic mask containing a set of sub-masks in the manner discussed with reference to the preceding figures, it is then possible to design individual error protection circuits using the generic mask, and in particular using the relevant sub-mask from within the generic mask. This process is illustrated schematically in Figure 6. At step 200, the maximum sized mask MN.iimp is input, this being the mask applicable for the chosen protection type p. At step 205, the desired data width dw_x to be handled by the error protection circuit is input, and then at step 210 the relevant sub-mask is extracted from the input mask, the relevant sub-mask being the sub-mask applicable for the specified data width dw x. Thereafter, at step 215 an error protection circuit is constructed using the selected sub-mask.
The error protection circuit can take a variety of forms, and hence for example may take the form of an ECC generator circuit used to generate an ECC code E from corresponding input data D using the selected sub-mask M. In particular, as discussed earlier, the ECC generator circuit will be arranged to perform the computation: Ex = * fix where the asterisk represents the vectorial product of the matrix Mx with the vector Dx, i.e. the vectorial product defined earlier.
However, in an alternative embodiment the error protection circuit may take the form of an ECC checking circuit used to determine whether there are any errors in a data value based on an analysis of that data value and its associated ECC, and then potentially correct any detected error dependent on the error protection scheme, i.e. the protection type P. In particular, in such an embodiment, the ECC checker circuit will be arranged to generate syndrome information Sx by performing the following computation: Sx = (Mx.p, 1)* fpx,Ex) where
IS
100...0 010...0 I is the identity matrix 0 0 1 *** 0 0 0 0 ** * 1 As can be seen, the identity matrix contains logic one values in the diagonal direction, with all other values being set equal to zero. The computation Mx.p, I is the horizontal concatenation of the two matrices formed by the mask M and the identify matrix I. The asterisk represents the vectorial product of the resulting matrix with the vector given by concatenating Dx and Ex together.
As will be well understood, once the syndrome data has been generated, then the syndrome information can be used to understand what errors have occurred, with that information then potentially being used to correct the errors dependent on the error protection scheme used.
The process outlined in steps 200, 205, 210 and 215 can be repeated as required for each error protection circuit that is required within the data processing system. Provided every error protection circuit operates on a data value of a size associated with one of the sub-masks within the input mask, then the same generic input mask can be used in all instances, hence significantly reducing design and verification costs. The process of repeating steps 200 to 215 for each of the required error protection circuits is shown schematically by the dotted box 220 in Figure 6.
Once all of the required error protection circuits have been designed, then an integrated circuit can be manufactured incorporating the various error protection circuits, as indicated by the dotted box 225. It will be appreciated that the manufacture of the integrated circuit may be performed as an entirely separate process, and by an entirely separate entity, with the designer of the integrated circuit incorporating into the overall integrated circuit design the various error protection circuit designs generated using the process of steps 200 to 220, and thereafter manufacturing the integrated circuit. Indeed, it will also be understood that different entities may be responsible for designing the integrated circuit, and for subsequently manufacturing the integrated circuit according to that design.
Figure 7 schematically illustrates the relationship between a sub-mask WHY and the preceding sub-mask NIxp. In this example, it is assumed that dw _x is the data width associated with the mask Mxy, and dw x+1 is the data width associated with the next sub-mask Mx-FLp, The difference between the two data widths is indicated in Figure 7 as aw_x+1.
As will be recalled from the earlier discussion of Figure 3, once the mask MX,P 255 has been generated, then the mask Mx-Fi,p 250 is generated by incorporating the mask 255, extending all of the columns incorporated by the mask 255 by adding logic zero values to the remaining rows 265, and then computing appropriate column values for the remaining columns. The resulting matrix for the remaining columns is denoted in Figure 7 as AN/Ix+Lp 260.
As will now be described with reference to Figures 8 and 9, by way of example with reference to the design of ECC generation circuitry, when designing the ECC generation circuitry used to produce the ECC code Ex+i, i.e. the ECC associated with the data value Dx+1 having the data width dw x+1, it is possible to utilise the ECC code Ex provided by an ECC generator used to compute that value from the data value Dx having the data width dw x.
In particular, as shown in Figure 8, at step 300, the ECC code Ex can be input, and thereafter at step 305 the generic mask MmAxy can be input.
At step 310, the relevant portion of the sub-mask Mx-Fly associated with the additional columns, namely the portion AMx+iy 260 shown in Figure 7 can be extracted from the input mask. Thereafter, at step 315, circuitry can be constructed to perform the computation * ADx+ in order to produce an internal value Q. Again the asterisk represents the vectorial product of the identified part of the mask with the vector representing the relevant data bits, in this case the data bits ADx+,, i.e. the additional data bits that convert the data value Dx into the data value Dx+1.
At step 320, circuitry is then constructed to compute as the ECC Ex_i the XOR 30 of Q and a width extended version of the ECC Ex.
This is illustrated further with reference to Figure 9. In particular, a component 350 performs the ECC computation required to generate the ECC Ex for the input data Dx. This is performed in the standard way using the relevant sub-mask Mxp.
Further ECC generation circuitry 355 is then provided for generating the ECC Ex+, from the associated input data Dx+1. Whereas in one embodiment such ECC generation circuitry could be constructed in much the same way as the component 350, using the entirety of the relevant mask Mx+, y, the arrangement shown in Figure 9 enables a reduction in the size and complexity of the ECC generation circuitry by making use of the ECC Ex already generated by the component 350. In particular, the additional data portion ADx+i is extracted from the input data Dx+i and input over path 362 into the Q computation circuitry 360. This performs the computation discussed earlier with reference to step 315 of Figure 8, using the relevant mask portion AMx+u, and the input data over path 362.
The circuitry 370 width extends the ECC Ex input over path 364, by appending a series of logic zero values to extend the width of Ex so as to have the same width as Ex+,. The component 375 then performs an XOR operation using Q and the output from the width extend circuit 370, in order to produce as the output over path 380 the ECC Ex+1.
Due to the fact that the computation performed by the block 360 only needs to be performed in relation to the sub-section of the mask 260 shown in Figure 7, this can significantly reduce the size and complexity of the ECC generation circuitry.
Whilst all of the components shown in Figure 9 may be provided within the same component of a data processing system, it is possible in alternative embodiments that the ECC computation circuitry 350 may reside in an entirely separate component to the component containing the ECC generation circuitry 355. For example, considering the particular example of Figure 1, the ECC generator circuitry 20 may include the component 350 for generating the error correction code Ex for an 8-bit data value, and with the resultant ECC Ex also being provided as an input to the ECC generator circuitry 40 which incorporates the functionality shown by the block 355 in order to generate an ECC Ex-1 for a 16-bit data value.
The process described above with reference to Figures 8 and 9 will be referred to as an upscaling arrangement in the present application.
In an alternative embodiment, it is possible to support downscaling embodiments where the ECC Ex+i generated for a data value Dx+i is then also used to assist in the generation of the ECC Ex for a reduced size data value Dx. One such embodiment is shown in Figure 10.
As shown in Figure 10, ECC computation circuitry 450 is provided for computing the ECC Ex+i for the associated data value Dx-i, using the relevant sub-mask N/lx-Lp shown in Figure 7. Further ECC generation circuitry 455 is then provided for computing the ECC Ex associated with the data value Dx, again Dx and Dx-1 having the relationship shown at the top of Figures 7 and 8. The additional data section ADx-i is extracted and input over path 462 to the Q computation circuitry 460 which operates in the same way as discussed for the Q computation circuitry 360 of Figure 9.
The circuitry 470 performs an XOR operation on the output Q from the Q computation circuitry 460 and the ECC Ex+i input over path 464 from the circuitry 450, to produce an internal value R. From R, the ECC Ex can be determined using the width reduce circuit 480, which as shown in Figure 10 extracts the required number of least significant bits from the value R, the number of bits extracted being equal to the width of the ECC Ex. The resultant value for Ex is then output over path 482.
Figures 11A to 11C illustrates alternative ways of arranging the various sub-masks, whilst still allowing the above-described upscaling and downscaling embodiments to be performed. As can be seen from a comparison of Figure I IA with Figure 7, the mask Mxp 405 is positioned at the bottom left of the next sub-mask MX-1.P rather than in the upper left as shown in Figure 7 Again logic zero values are added to the remaining rows of the columns containing the sub-mask Mix.p, as shown by the reference sign 415. Still further, it can be seen that the additional matrix section Aktx+1,1, 410 is also still provided, this corresponding to the section 260 in Figure 7. The upscaling process of Figures 8 and 9 can then be applied as previously described. However, the operation of the width extend circuit 370 will change slightly in that the logic zero values appended will form the most significant bit positions of the extended ECC Ex (as shown by the equation in Figure 11A), rather than the least significant bit positions as in the example of Figure 7. Similarly, when adopting the downscaling embodiment of Figure 10, the operation of the width reduce circuit 480 will change slightly, in that a number of most significant bits of R are selected to form Ex rather than a number of least significant bits, as shown by the equation set out in Figure 11A. Figure 11B illustrates another possible arrangement for the sub-masks, where the sub-mask 425 is placed in the upper right hand corner of the next sub-mask Mx-Fly.
As before, logic zero values 435 are used to extend the columns that are contained within the sub-mask 425, and an additional mask section AMx+i,p 430 is created in the standard manner. The operations of the width extend circuit 370 when upscaling and the width reduce circuit 480 when downscaling are shown in the equations set out in Figure 11B.
Figure 11C illustrates an alternative arrangement of the sub-masks to that shown in Figure 11B, which can also facilitate the above described upscaling and downscaling embodiments. Here the sub-mask Mxy 905 is positioned at the bottom right of the next sub-mask MX+ y 900, logic zero values 915 are added to extend the columns associated with the sub-mask 905, and then the additional mask section ANIx+Lp 910 is calculated, this section corresponding to the section 430 shown in Figure 11B The operations of the width extend circuit 370 when upscaling and the width reduce circuit 480 when downscaling are shown in the equations set out in Figure 11C.
The above described upscaling and downscaling embodiments can enable a significant saving in energy and/or area, and also give rise to performance improvements.
In principle, the upscaling and downscaling arrangements could also be utilised in some embodiments in relation to ECC checking circuits used to generate syndrome information from the received data and ECC information. However, in one embodiment such techniques are not used for the ECC checking circuits, and instead each ECC checking circuit is generated using the approach discussed earlier with reference to Figure 6, and in particular utilising the entirety of the relevant sub-mask extracted from the generic mask.
Figure 12 schematically illustrates a general purpose computer 1000 of the type that may be used to implement the above described techniques, and in particular the generation of a key comprising a sequence of sub-keys for use in computing an error protection code for an input data value The general purpose computer 1000 includes a central processing unit 1002, a random access memory 1004, a read-only memory 1006, a network interface card 1008, a hard disk drive 1010, a display driver 1012 and monitor 1014, and a user input/output circuit 1016 with a keyboard 1018 and mouse 1020 all connected via a common bus 1022. In operation the central processing unit 1002 will execute computer program instructions that may be stored in one or more of the random access memory 1004, the read-only memory 1006 and the hard disk drive 1010, or dynamically downloaded via the network interface card 1008. The results of the processing performed may be displayed to a user via the display driver 1012 and the monitor 1014. User inputs for controlling the operation of the general purpose computer 1000 may be received via the user input/output circuit 1016 from the keyboard 1018 or the mouse 1020. It will be appreciated that the computer program could be written in a variety of different computer languages. The computer program may be stored and distributed on a recording medium or dynamically downloaded to the general purpose computer 1000. When operating under control of an appropriate computer program, the general purpose computer 1000 can perform the above described key generation techniques and can be considered to form an apparatus for performing the above described techniques. The architecture of the general purpose computer could vary considerably, and Figure 12 is only one example.
From the above described embodiments, it will be seen that such embodiments provide a mechanism for generating a generic mask containing a set of sub-masks, where each sub-mask is associated with a particular data width, and where each sub-mask itself meets the mask requirements for a chosen error protection scheme. This provides significant benefits when generating error protection circuits, whether they be FCC generation circuits or error checking circuits, for use within a data processing system, particularly in situations where the data processing system is required to process data values of various different widths, and hence such error protection circuits are required to handle the various different data width sizes. Further performance and efficiency gains can be achieved in some embodiments by utilising the above described upscaling and downscaling embodiments to further reduce the complexity of some of the components provided within the error protection circuits.
In the present application, the words "configured to..." are used to mean that an element of an apparatus has a configuration able to carry out the defined operation.
In this context, a "configuration means an arrangement or manner of interconnection of hardware or software For example, the apparatus may have dedicated hardware which provides the defined operation, or a processor or other processing device may be programmed to perform the function. "Configured to-does not imply that the apparatus element needs to be changed in any way in order to provide the defined operation.
Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes, additions and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims. For example, various combinations of the features of the dependent claims could be made with the features of the independent claims without departing from the scope of the present invention.
Claims (20)
- CLAIMS1 A computer-implemented method of generating a key for use in computing an error protection code for an input data value according to an error protection scheme, 5 comprising: inputting a plurality of data value sizes; and applying a key generation algorithm to generate a key for use in computing the error protection code for a maximum data value size amongst said plurality of data value sizes, the key generation algorithm generating the key to comprise a plurality of sub-keys, each sub-key being associated with one of the input data value sizes and conforming to a key requirement for the error protection scheme.
- 2 A computer-implemented method as claimed in Claim 1, further comprising: outputting said key for use in generating error protection circuitry conforming to the error protection scheme.
- 3. A computer-implemented method as claimed in Claim 1 or Claim 2, wherein the step of applying the key generation algorithm comprises: computing a sequence of sub-keys, such that each sub-key in the sequence other than a first sub-key contains an immediately preceding sub-key in the sequence, with the remaining portion computed to ensure that the key requirement is conformed to, and with the final sub-key forming the key to be used in computing the error protection code for said maximum data value size.
- 4. A computer-implemented method as claimed in Claim 3, wherein the step of applying the key generation algorithm comprises: processing the plurality of data sizes in increasing size order, such that the first sub-key computed is a sub-key for a smallest data value size amongst said plurality of data sizes; for each subsequent sub-key in the sequence, computing that sub-key by incorporating therein the immediately preceding sub-key in the sequence, determining the remaining portion of the sub-key having regard to the associated data value size, and computing values for the remaining portion of the sub-key such that the key requirement is conformed to.
- 5. A computer-implemented method as claimed in Claim 4, wherein each of the sub- keys contains a matrix of values arranged in rows and columns, for each subsequent sub-key in the sequence, the immediately preceding sub-key occupies a subset of the columns of that subsequent sub-key, and the step of computing the remaining portion of the sub-key includes filling the remaining column values within the subset of columns with a predetermined value, and computing the values for the remaining columns not in said subset of the columns.
- 6. A computer-implemented method as claimed in Claim 5, wherein said predetermined value is a zero value.
- 7. A computer-implemented method as claimed in Claim 5 or Claim 6, wherein when computing the values for the remaining columns not in said subset of the columns, the key generation algorithm excludes any value sequences already present in the subset of the columns.
- 8 A computer-implemented method as claimed in any preceding claim, wherein the plurality of data sizes are specified independently.
- 9. A computer-implemented method as claimed in any of claims 1 to 7, wherein the plurality of data sizes are determined by input of a range identifying a minimum data size 25 and a maximum data size.
- 10. A non-transitory computer program product providing a computer program which, when executed on a computer, performs a method of generating a key for use in computing an error protection code for an input data value according to an error protection scheme, as claimed in any preceding claim.
- 11. A data processing system comprising: a plurality of error protection circuits including at least a first error protection circuit to handle data values of a first data value size, and a second error protection circuit to handle data values of a second data value size different to said first data value size; said first and second error protection circuits comprising computation circuitry to perform a computation utilising a sub-key selected from a key generated in accordance with the computer-implemented method of Claim 1, for each of the first and second error protection circuits the sub-key being selected based on the associated data value size handled by that error protection circuit.
- 12. A data processing system as claimed in Claim 11, wherein: the computation circuitry in each of the first and second error protection circuits implements a function utilising the entirety of the selected sub-key for that error protection circuit.
- 13. A data processing system as claimed in Claim 11, wherein: the computation circuitry in the first error protection circuit implements a function utilising the entirety of the selected sub-key for the first error protection circuit; and the computation circuitry in the second error protection circuit implements a first function utilising a determined portion of the selected sub-key for the second error protection circuit, and a second function utilising an output of the function implemented by the computation circuitry in the first error protection circuit.
- 14. A data processing system as claimed in Claim 13, wherein the first data value size is smaller than the second data value size.
- 15. A data processing system as claimed in Claim 13, wherein the first data value size is larger than the second data value size.
- 16. A data processing system as claimed in any of claims 11 to 15, wherein the first and second error protection circuits are error protection code generation circuits for generating an error protection code using the selected sub-key and an input data value.
- 17. A data processing system as claimed in Claim 16 when dependent on Claim 13, wherein within the second error protection circuit the second function is arranged to apply an operation using as inputs an output from the first function and data derived from the output of the function implemented by the computation circuitry in the first error protection circuit.
- 18. A data processing system as claimed in any of claims 11 to 15, wherein the first and second error protection circuits are error checking circuits used to generate syndrome information using the selected sub-key, an input data value, and an associated error protection code.
- 19. A data processing system comprising: a plurality of error protection means including at least a first error protection means for handling data values of a first data value size, and a second error protection means for handling data values of a second data value size different to said first data value size; said first and second error protection means comprising computation means for performing a computation utilising a sub-key selected from a key generated in accordance with the computer-implemented method of Claim 1, for each of the first and second error protection means the sub-key being selected based on the associated data value size handled by that error protection means.
- 20. A method of generating a key for use in computing an error protection code for an input data value according to an error protection scheme, substantially as hereinbefore described with reference to the accompanying figures.21 A data processing system comprising a plurality of error protection circuits, substantially as hereinbefore described with reference to the accompanying figures
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1507317.4A GB2537876A (en) | 2015-04-29 | 2015-04-29 | Error protection key generation method and system |
US15/073,807 US11360850B2 (en) | 2015-04-29 | 2016-03-18 | Error protection key generation method and system |
EP16162086.9A EP3096228B1 (en) | 2015-04-29 | 2016-03-23 | Error protection key generation method and system |
KR1020160046706A KR102586256B1 (en) | 2015-04-29 | 2016-04-18 | Error protection key generation method and system |
JP2016084992A JP6756514B2 (en) | 2015-04-29 | 2016-04-21 | Error protection key generation method and system |
CN201610258545.1A CN106100827B (en) | 2015-04-29 | 2016-04-22 | Error protection key generation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1507317.4A GB2537876A (en) | 2015-04-29 | 2015-04-29 | Error protection key generation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
GB201507317D0 GB201507317D0 (en) | 2015-06-10 |
GB2537876A true GB2537876A (en) | 2016-11-02 |
Family
ID=53488865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB1507317.4A Withdrawn GB2537876A (en) | 2015-04-29 | 2015-04-29 | Error protection key generation method and system |
Country Status (6)
Country | Link |
---|---|
US (1) | US11360850B2 (en) |
EP (1) | EP3096228B1 (en) |
JP (1) | JP6756514B2 (en) |
KR (1) | KR102586256B1 (en) |
CN (1) | CN106100827B (en) |
GB (1) | GB2537876A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5146461A (en) * | 1989-11-13 | 1992-09-08 | Solbourne Computer, Inc. | Memory error correction system distributed on a high performance multiprocessor bus and method therefor |
US20040098659A1 (en) * | 2002-11-18 | 2004-05-20 | Bjerke Bjorn A. | Rate-compatible LDPC codes |
WO2009136751A2 (en) * | 2008-05-08 | 2009-11-12 | Lg Electronics Inc. | Method and apparatus of generating codewords in wireless communication system |
US20100325511A1 (en) * | 2006-12-05 | 2010-12-23 | Jong-Ee Oh | Method of generating parity-check matrix, encoding/decoding method for low density parity-check code with variable information length and variable code rate and apparatus using the same |
US20120151301A1 (en) * | 2010-12-10 | 2012-06-14 | Kabushiki Kaisha Toshiba | Semiconductor memory device |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW323029U (en) * | 1993-06-30 | 1997-12-11 | Victor Company Of Japan Co Ltd | Processing system for digital video signal |
TW574660B (en) * | 2002-05-16 | 2004-02-01 | Ind Tech Res Inst | Method targeting at range search and for information search complying with specified rule |
US8374284B2 (en) * | 2004-02-12 | 2013-02-12 | Apple, Inc. | Universal decoder |
US20060130154A1 (en) * | 2004-11-30 | 2006-06-15 | Wai Lam | Method and system for protecting and verifying stored data |
KR101366284B1 (en) | 2007-11-13 | 2014-02-20 | 엘지전자 주식회사 | Method for generating block codes from Golay code and coding data, and Apparatus thereof |
JPWO2011142133A1 (en) * | 2010-05-11 | 2013-07-22 | エイシップ・ソリューションズ株式会社 | Error correction code processing method and apparatus |
US8908564B2 (en) * | 2010-06-28 | 2014-12-09 | Avaya Inc. | Method for Media Access Control address learning and learning rate suppression |
CN102255729B (en) | 2011-07-07 | 2013-07-10 | 武汉理工大学 | IBE (Internet Booking Engine) data encryption system based on medium digital certificate |
KR101837099B1 (en) * | 2012-07-05 | 2018-03-09 | 에스케이하이닉스 주식회사 | Reconfigurable error correction code device |
KR101922205B1 (en) * | 2012-09-07 | 2018-11-26 | 에스케이 텔레콤주식회사 | Method for Generating Matrix by Using Luby-Transform Code, Encoding/Decoding Apparatus therefor |
CN103646219B (en) | 2013-11-29 | 2016-03-30 | 东南大学 | Based on power consumption compensation anti-attack circuit and the control method of neural network power consumption prediction |
CN103997402B (en) | 2014-05-30 | 2017-06-23 | 中国科学院深圳先进技术研究院 | A kind of encryption chip Testing Method of Safety and device |
-
2015
- 2015-04-29 GB GB1507317.4A patent/GB2537876A/en not_active Withdrawn
-
2016
- 2016-03-18 US US15/073,807 patent/US11360850B2/en active Active
- 2016-03-23 EP EP16162086.9A patent/EP3096228B1/en active Active
- 2016-04-18 KR KR1020160046706A patent/KR102586256B1/en active IP Right Grant
- 2016-04-21 JP JP2016084992A patent/JP6756514B2/en active Active
- 2016-04-22 CN CN201610258545.1A patent/CN106100827B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5146461A (en) * | 1989-11-13 | 1992-09-08 | Solbourne Computer, Inc. | Memory error correction system distributed on a high performance multiprocessor bus and method therefor |
US20040098659A1 (en) * | 2002-11-18 | 2004-05-20 | Bjerke Bjorn A. | Rate-compatible LDPC codes |
US20100325511A1 (en) * | 2006-12-05 | 2010-12-23 | Jong-Ee Oh | Method of generating parity-check matrix, encoding/decoding method for low density parity-check code with variable information length and variable code rate and apparatus using the same |
WO2009136751A2 (en) * | 2008-05-08 | 2009-11-12 | Lg Electronics Inc. | Method and apparatus of generating codewords in wireless communication system |
US20120151301A1 (en) * | 2010-12-10 | 2012-06-14 | Kabushiki Kaisha Toshiba | Semiconductor memory device |
Also Published As
Publication number | Publication date |
---|---|
EP3096228A1 (en) | 2016-11-23 |
CN106100827A (en) | 2016-11-09 |
US11360850B2 (en) | 2022-06-14 |
US20160321137A1 (en) | 2016-11-03 |
KR102586256B1 (en) | 2023-10-10 |
GB201507317D0 (en) | 2015-06-10 |
CN106100827B (en) | 2021-01-12 |
JP6756514B2 (en) | 2020-09-16 |
EP3096228B1 (en) | 2020-03-11 |
KR20160128910A (en) | 2016-11-08 |
JP2016212851A (en) | 2016-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6058245B2 (en) | Random number expansion apparatus, random number expansion method and random number expansion program | |
US8954828B2 (en) | Memory controller | |
KR101522509B1 (en) | Efficient and scalable cyclic redundancy check circuit using galois-field arithmetic | |
JP4935367B2 (en) | RAID device and Galois field product operation processing method | |
US8069392B1 (en) | Error correction code system and method | |
CN107436821A (en) | It is the apparatus and method for the block generation error code for including multiple data bit and address bit | |
KR20180059150A (en) | ECC encoder and encoding method capable of encoding during one clock cycle and memory controller having the ECC encoder | |
Sasao | Index Generation Functions: Tutorial. | |
EP3185462B1 (en) | Linear transformation method (variants) | |
JP5353655B2 (en) | Error detection / correction code generation circuit and control method thereof | |
CN110941505A (en) | Method for generating error correction circuit | |
US7085988B1 (en) | Hashing system utilizing error correction coding techniques | |
US11360850B2 (en) | Error protection key generation method and system | |
US10067821B2 (en) | Apparatus and method for cyclic redundancy check | |
JP2010199811A (en) | Memory system of controller | |
WO2015133095A1 (en) | Apparatus for generating parity check code, coding method, coding apparatus, and storage medium | |
US6848094B2 (en) | Netlist redundancy detection and global simplification | |
KR20200120524A (en) | Memory system and operation method of memory | |
US8312363B2 (en) | Residue generation | |
US20230370091A1 (en) | Error Correction With Fast Syndrome Calculation | |
KR101655809B1 (en) | Method and Apparatus for Cyclic Redundancy Check Calculation by Using Multiple Look Up Table | |
JP2017098945A (en) | Circuit arrangement for determining correction signal, and method therefor | |
WO2004090714A2 (en) | Configurable multi-step linear feedback shift register | |
US8977943B2 (en) | Implementation of CRC32 using carryless multiplier | |
JP5131379B2 (en) | RAID device and Galois field product operation processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WAP | Application withdrawn, taken to be withdrawn or refused ** after publication under section 16(1) |