Analog to digital converter with encoder circuit and testing method therefor
AssigneeFujitsu Limited
InventorSanroku Tsukamoto
Life of this patent
Estimating the term…
Abstract
A high speed A/D converter includes a series of encoder sections for converting a thermometer code to a gray code and an error signal production section for detecting a babble error in the gray code and generating an error signal indicating such a babble error. An error correction section corrects babble errors in the gray code in response to the error signal. The corrected gray code is then converted to a binary code with a gray code to binary code converter. When the high speed A/D converter is incorporated in a semiconductor device, the A/D converter may be tested using a sampling clock having a phase which varies successively with respect to the input analog signal to sample the analog signal, and then evaluating the corresponding generated digital signal.
Claims23
A semiconductor device for receiving an analog signal and generating a digital signal, the device comprising:
- a comparator for receiving the analog signal and generating a corresponding thermometer code;
- an encoder for receiving the thermometer code, detecting a logical boundary of the thermometer code, and generating a corresponding gray code including two or more bits;
- and
- a gray code to binary code converter for converting the gray code to a binary code, wherein the encoder includes,
- an error detector for detecting an error bit in the gray code by logically processing at least two bits in the gray code and generating an error signal when detecting an error bit in the gray code, and
- an error corrector for correcting the error bit in the gray code in response to the error signal.
An encoder for encoding a thermometer code, comprising:
- an encoder circuit for detecting a logical boundary of the thermometer code and generating a Gray code, wherein the Gray code signal comprises a lower order bit and an upper order bit;
- an error detector circuit, coupled to the encoder circuit, for detecting an error in the gray code by logically processing the lower order bit and the upper order bit and for generating an error signal when detecting an error bit in the gray code;
- an error correction circuit, coupled to the encoder circuit and the error detector circuit, for correcting an error bit of the Gray code signal in response to the error signal and generating a corrected bit;
- and
- a Gray to binary converter circuit connected to the error correction circuit for converting the Gray code into a binary code.
An encoder for encoding a thermometer code, comprising:
- an encoder circuit for detecting a logical boundary of the thermometer code and generating a corresponding gray code including two or more bits;
- an error detector circuit, coupled to the encoder circuit, for detecting an error bit in the gray code by logically processing at least two bits in the gray code and for generating an error signal when detecting an error bit in the gray code;
- and
- a Gray to binary converter circuit, coupled to the error detector circuit, for correcting the error bit in the Gray code in response to the error signal and converting the Gray code into a binary code.
An error correction method for an encoded signal including a thermometer code, comprising the steps of:
- detecting a logical boundary of the thermometer code;
- generating, based on the detected logical boundary, a Gray code including a lower order bit and an upper order bit detecting an error bit in the gray code by logically processing the lower order bit and the upper order bit;
- and
- correcting the error bit in the Gray code using a predetermined error code processing procedure when generating, based on the detected logical boundary, a Gray code including two or more bits;
- detecting an error bit in the gray code by logically processing at least two bits in the gray code;
- generating an error signal when detecting an error bit in the gray code;
- and
- correcting the error bit in the Gray code using a predetermined error code processing procedure in accordance with the error signal.
An error correction method for an encoded signal including a thermometer code, comprising the steps of:
- detecting a logical boundary of the thermometer code;
- producing, based on the detected logical boundary, a Gray code including a lower order bit and an upper order bit;
- dividing the lower order bit into a front lower order bit of a logical target and a back lower order bit of a non-logical target;
- decomposing the front lower order bit into decomposed front lower order bits and decomposing the back lower order bit into decomposed back lower bits, so that a particular relationship is set between the decomposed front and back lower order bits and the upper order bit when an error code bit is not included in the Gray code;
- determining whether the particular relationship is satisfied;
- and
- correcting an error code bit included in the Gray code using a predetermined error code processing procedure when the particular relationship is not satisfied.
A recording medium having recorded thereon a computer readable program code for correcting an error code in a Gray code, wherein the Gray code includes a lower order bit and an upper order bit, the computer readable program performing the steps of:
- detecting an error bit in the gray code by logically processing at least two bits in the gray code;
- generating an error signal when detecting an error bit in the gray code;
- and correcting the error bit in the Gray code in accordance with the error signal.
A recording medium having recorded thereon a computer readable program code for correcting an error code included in a Gray code, the Gray code having a lower order bit and an upper order bit, wherein the lower order bit includes a logical target lower order bit and a non-logical target lower order bit, the computer readable program performing the steps of:
- decomposing at least one of the logical and non-logical target lower order bits to generate decomposed Gray code bits;
- detecting an error bit in the Gray code by comparing the decomposed Gray code bits with the upper order bit;
- generating an error signal when detecting an error bit in the gray code;
- and
- correcting the error code bit in the Gray code in accordance with the error signal.
A recording medium having recorded thereon a computer readable program code for correcting an error code included in a Gray code, the Gray code having a lower order bit and an upper order bit, wherein the lower order bit includes a logical target lower order bit and a non-logical target lower order bit, the computer readable program performing the steps of:
- decomposing at least one of the logical and non-logical target lower order bits to generate decomposed lower order bits;
- detecting an error bit in the Gray code by comparing the decomposed lower order bits with the upper order bit;
- generating an error signal when detecting an error bit in the Gray code;
- and
- correcting the error code bit in the Gray code in accordance with the error signal.
A recording medium having recorded thereon a computer readable program code for correcting an error code included in a Gray code, the Gray code having a lower order bit and an upper order bit, wherein the lower order bit includes a logical target lower order bit and a non-logical target lower order bit, the computer readable program performing the steps of:
- decomposing at least one of the logical and non-logical target lower order bits to generate decomposed lower order bits;
- detecting an error bit in the Gray code by comparing the decomposed lower order bits with the upper order bit;
- generating an error signal when detecting an error bit in the gray code;
- correcting the error code bit in the Gray code by inverting the error code bit in accordance with the error signal;
- and
- converting the Gray code into a binary code.
Dependencies are inferred from the claim text.