Processing system error management, related integrated circuit, apparatus and method
AssigneesStmicroelectronics Application GmbH, STMicroelectronics International N.V.
InventorsVivek Mohan Sharma, Roberto Colombo
Life of this patent
Estimating the term…
Abstract
A processing system includes an error detection circuit configured to receive data bits and ECC bits, calculate further ECC bits as a function of the data bits, and generate a syndrome by comparing the calculated ECC bits with the received ECC bits. When the syndrome corresponds to one of N+K single bit-flip reference syndromes, the error detection circuit asserts a first error signal, and asserts one bit of a bit-flip signature corresponding to a single bit-flip error indicated by the respective single bit-flip reference syndrome.
Claims20
A processing system comprising:
- a circuit configured to provide a given number N of data bits and a given number K of Error Correction Code (ECC) bits;
- an error detection circuit configured to:
- receive the data bits and the ECC bits;
- calculate further ECC bits as a function of the data bits according to a given ECC scheme;
- generate a syndrome by comparing the calculated ECC bits with the received ECC bits, wherein the syndrome has K bits;
- compare the syndrome with a plurality of N+K single bit-flip reference syndromes, wherein each single bit-flip reference syndrome is associated with a respective single bit-flip error;
- and
- in response to determining that the syndrome corresponds to a single bit-flip reference syndrome:
- assert a first error signal;
- and
- assert one bit of a bit-flip signature corresponding to the single bit-flip error indicated by the respective single bit-flip reference syndrome, wherein the bit-flip signature has a given number N+K bits and indicates a position of one or more incorrect bits in the data bits and ECC bits;
- and
- a test circuit configured to:
- provide, during a test-mode, a sequence of patterns to the error detection circuit, each pattern comprising data bits and ECC bits, and monitor the respective first error signal and bit-flip signature;
- obtain a first pattern, the first pattern corresponding to a given sequence of data bits and ECC bits calculated as a function of the given data bits according to the given ECC scheme;
- provide the first pattern to the error detection circuit and verify whether the first error signal is de-asserted and all bits of the bit-flip signature are de-asserted;
- obtain a sequence of N+K further bit-flip signatures, each further bit-flip signature having asserted a single bit;
- obtain for each further bit-flip signature a respective second pattern, wherein each second pattern corresponds to a pattern having a single bit flipped with respect to a reference pattern at positions of the single asserted bit of the respective further bit-flip signature, wherein the reference pattern corresponds to a given sequence of data bits and ECC bits calculate as a function of the respective data bits according to the given ECC scheme, wherein each second pattern corresponds to a pattern with a correctable single bit error;
- provide each of the second patterns to the error detection circuit and verify whether the first error signal is asserted and the bit-flip signature corresponds to the respective further bit-flip signature;
- and
- assert one or more error signals in response to determining that:
- for the first pattern, the first error signal is asserted and/or at least one bit of the bit-flip signature is asserted;
- and/or
- for each of the second patterns, the first error signal is de-asserted and/or the bit-flip signature does not correspond to the respective further bit-flip signature.
An apparatus comprising:
- a communication system connecting a plurality of processing systems;
- and
- the processing systems, wherein each of the processing systems comprises:
- a circuit configured to provide a given number N of data bits and a given number K of Error Correction Code (ECC) bits;
- an error detection circuit configured to:
- receive the data bits and the ECC bits;
- calculate further ECC bits as a function of the data bits according to a given ECC scheme;
- generate a syndrome by comparing the calculated ECC bits with the received ECC bits, wherein the syndrome has K bits;
- compare the syndrome with a plurality of N+K single bit-flip reference syndromes, wherein each single bit-flip reference syndrome is associated with a respective single bit-flip error;
- and
- in response to determining that the syndrome corresponds to a single bit-flip reference syndrome:
- assert a first error signal;
- and
- assert one bit of a bit-flip signature corresponding to the single bit-flip error indicated by the respective single bit-flip reference syndrome, wherein the bit-flip signature has a given number N+K bits and indicates a position of one or more incorrect bits in the data bits and ECC bits;
- and
- a test circuit configured to:
- provide, during a test-mode, a sequence of patterns to the error detection circuit, each pattern comprising data bits and ECC bits, and monitor the respective first error signal and bit-flip signature;
- obtain a first pattern, the first pattern corresponding to a given sequence of data bits and ECC bits calculated as a function of the given data bits according to the given ECC scheme;
- provide the first pattern to the error detection circuit and verify whether the first error signal is de-asserted and all bits of the bit-flip signature are de-asserted;
- obtain a sequence of N+K further bit-flip signatures, each further bit-flip signature having asserted a single bit;
- obtain for each further bit-flip signature a respective second pattern, wherein each second pattern corresponds to a pattern having a single bit flipped with respect to a reference pattern at positions of the single asserted bit of the respective further bit-flip signature, wherein the reference pattern corresponds to a given sequence of data bits and ECC bits calculate as a function of the respective data bits according to the given ECC scheme, wherein each second pattern corresponds to a pattern with a correctable single bit error;
- provide each of the second patterns to the error detection circuit and verify whether the first error signal is asserted and the bit-flip signature corresponds to the respective further bit-flip signature;
- and
- assert one or more error signals in response to determining that:
- for the first pattern, the first error signal is asserted and/or at least one bit of the bit-flip signature is asserted;
- and/or
- for each of the second patterns, the first error signal is de-asserted and/or the bit-flip signature does not correspond to the respective further bit-flip signature.
The apparatus of claim ii, wherein the apparatus is a vehicle.
A method of operating a processing system comprising a circuit configured to provide a given number N of data bits and a given number K of Error Correction Code (ECC) bits, an error detection circuit, and a test circuit, the method comprising:
- receiving, by the error detection circuit, the data bits and the ECC bits;
- calculating, by the error detection circuit, further ECC bits as a function of the data bits according to a given ECC scheme;
- generating, by the error detection circuit, a syndrome by comparing the calculated ECC bits with the received ECC bits, wherein the syndrome has K bits;
- comparing, by the error detection circuit, the syndrome with a plurality of N+K single bit-flip reference syndromes, each single bit-flip reference syndrome being associated with a respective single bit-flip error;
- in response to determining that the syndrome corresponds to a single bit-flip reference syndrome:
- asserting, by the error detection circuit, a first error signal;
- and
- asserting, by the error detection circuit, one bit of a bit-flip signature corresponding to the single bit-flip error indicated by the respective single bit-flip reference syndrome, the bit-flip signature having a given number N+K bits and indicating a position of one or more incorrect bits in the data bits and ECC bits;
- providing, by the test circuit during a test-mode, a sequence of patterns to the error detection circuit, each pattern comprising data bits and ECC bits, and monitoring the respective first error signal and bit-flip signature;
- obtaining, by the test circuit, a first pattern, the first pattern corresponding to a given sequence of data bits and ECC bits calculated as a function of the given data bits according to the given ECC scheme;
- providing, by the test circuit, the first pattern to the error detection circuit;
- verifying, by the test circuit, whether the first error signal is de-asserted and all bits of the bit-flip signature are de-asserted;
- obtaining, by the test circuit, a sequence of N+K further bit-flip signatures, each further bit-flip signature having asserted a single bit;
- obtaining, by the test circuit, for each further bit-flip signature, a respective second pattern, each second pattern corresponding to a pattern having a single bit flipped with respect to a reference pattern at positions of the single asserted bit of the respective further bit-flip signature, the reference pattern corresponding to a given sequence of data bits and ECC bits calculate as a function of the respective data bits according to the given ECC scheme, and each second pattern corresponding to a pattern with a correctable single bit error;
- providing, by the test circuit, each second pattern to the error detection circuit;
- verifying, by the test circuit, whether the first error signal is asserted and the bit-flip signature corresponds to the respective further bit-flip signature;
- asserting, by the test circuit, one or more error signals in response to determining that:
- for the first pattern, the first error signal is asserted and/or at least one bit of the bit-flip signature is asserted;
- and/or
- for each of the second patterns, the first error signal is de-asserted and/or the bit-flip signature does not correspond to the respective further bit-flip signature.
Dependencies are inferred from the claim text.