# US 2003/0229838 A1 · Apparatus and method for diagnosing integrated circuit, and integrated circuit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0229838 A1
- Document ID: US20030229838A1
- Status: Published application
- Kind: A1
- Application number: 10/355,014
- Filed: 2003-01-31
- Published: 2003-12-11
- Earliest claimed: 2002-06-11
- Assignees: Fujitsu Limited
- Inventors: Takahisa Hiraide
- Web page: https://patentgrep.com/patent/US20030229838A1

## CPC

- G01R 31/318547: {Data generators or compressors}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

An apparatus being able to not only detect a manufacturing defect of an integrated circuit but also specify a position at which the detect occurs even when outputs from scan paths are compressed and stored, or when the number of the scan paths is large. The apparatus has a pattern generator built in an integrated circuit to generate test patterns, a plurality of shift registers formed in parallel, into which the test patterns are shifted, and an output compressor for compressing a plurality of outputs shifted out from the shift registers with check bits of a Hamming code, and outputting them to the outside of the integrated circuit.

## Claims

### Claim 1

A diagnosing apparatus for an integrated circuit comprising:
a pattern generator built in an integrated circuit to generate test patterns;
a plurality of shift registers formed in parallel with sequential circuit elements inside said integrated circuit, the test patterns generated by said pattern generator being shifted into said shift registers, respectively; and
an output compressor for compressing a plurality of outputs shifted out from said shift registers with check bits of a Hamming code, and outputting the compressed outputs as a compressed value to the outside of said integrated circuit.

### Claim 2 (depends on 1)

The diagnosing apparatus for an integrated circuit according to claim 1 further comprising:
diagnosing means for comparing an output expected value beforehand obtained with said compressed value from said output compressor to make fault diagnosis.

### Claim 3 (depends on 2)

The diagnosing apparatus for an integrated circuit according to claim 2, wherein when said diagnosing means diagnoses as a result of the comparison that a fault occurs at one position, said diagnosing means specifies a shift register in which the fault exists.

### Claim 4 (depends on 2)

The diagnosing apparatus for an integrated circuit according to claim 2, wherein when said diagnosing means diagnoses as a result of comparison that faults occur at two or three positions, said diagnosing means indicates presence of said faults.

### Claim 5 (depends on 1)

The diagnosing apparatus for an integrated circuit according to claim 1 further comprising:
a pattern modifier for modifying said test patterns generated by said pattern generator according to an external input, then inputting the modified test patterns to said shift registers.

### Claim 6 (depends on 1)

The diagnosing apparatus for an integrated circuit according to claim 1 further comprising:
a mask for masking an indeterminate value in said outputs from said shift registers; and
an output verifier for verifying the outputs masked by said mask;
the outputs of said mask being inputted to said output compressor.

### Claim 7

A diagnosing apparatus for an integrated circuit comprising:
a pattern generator built in an integrated circuit to generate test patterns;
a plurality of shift registers formed in parallel with sequential circuit elements inside said integrated circuit, the test patterns generated by said pattern generator being shifted into said shift registers, respectively;
at least one EOR (exclusive OR) tree circuit for compressing a plurality of outputs shifted out from said shift registers, and outputting the compressed outputs as a compressed value to the outside of said integrated circuit; and
a control circuit for enabling one of said plurality of outputs to be inputted to said EOR tree circuit.

### Claim 8 (depends on 7)

The diagnosing apparatus for an integrated circuit according to claim 7 further comprising:
diagnosing means for comparing an output expected value beforehand obtained with said compressed value from said FOR tree circuit to make fault diagnosis.

### Claim 9 (depends on 8)

The diagnosing apparatus for an integrated circuit according to claim 8, wherein said control circuit enables said plurality of outputs one by one;
said FOR tree circuit compresses outputs enabled by said control circuit, and successively outputs the compressed outputs as said compressed value to the outside of said integrated circuit; and
said diagnosing means makes said fault diagnosis on said shift registers one by one on the basis of said compressed value from said EOR tree circuit to specify a shift register in which the fault exists.

### Claim 10 (depends on 7)

The diagnosing apparatus for an integrated circuit according to claim 7, wherein said control circuit enables said outputs from said shift registers corresponding to said test patterns of pattern numbers within a predetermined range generated by said pattern generator to narrow down a pattern number where a fault occurs.

### Claim 11 (depends on 7)

The diagnosing apparatus for an integrated circuit according to claim 7 further comprising:
a pattern modifier for modifying said test patterns generated by said pattern generator according to an external input, then inputting the modified test patterns to said shift registers.

### Claim 12 (depends on 7)

The diagnosing apparatus for an integrated circuit according to claim 7 further comprising:
a mask for masking an indeterminate value in said outputs from said shift registers; and
an output verifier for verifying the outputs masked by said mask;
said output verifier functioning as said EOR tree circuit.

### Claim 13

A diagnosing method for an integrated circuit comprising the steps of:
generating test patterns by a pattern generator built in an integrated circuit;
shifting the test patterns generated by said pattern generator into a plurality of shift registers formed in parallel with sequential circuit elements inside said integrated circuit;
compressing a plurality of outputs shifted out from said plural shift registers with check bits of a Hamming code, and outputting the compressed outputs as a compressed value to the outside of said integrated circuit; and
comparing an output expected value beforehand obtained with said compressed value from said integrated circuit to make fault diagnosis.

### Claim 14 (depends on 13)

The diagnosing method for an integrated circuit according to claim 13, further comprising the step of:
specifying a shift register in which the fault exists when it is diagnosed as a result of comparison that a fault occurs at only one position.

### Claim 15 (depends on 13)

The diagnosing method for an integrated circuit according to claim 13, further comprising the steps of:
indicating presence of the faults when it is diagnosed as a result of comparison that faults occur at two or three positions.

### Claim 16

A diagnosing method for an integrated circuit comprising the steps of:
generating test patterns by a pattern generator built in an integrated circuit;
shifting the test patterns generated by said pattern generator into a plurality of shift registers formed in parallel with sequential circuit elements inside said integrated circuit;
enabling a plurality of outputs shifted out from said shift registers one by one;
compressing the enabled outputs by an EOR (exclusive OR) tree circuit, and successively outputting the compressed outputs as a compressed value to the outside of said integrated circuit; and
comparing an output expected value beforehand obtained with said compressed value from said EOR tree circuit to make fault diagnosis.

### Claim 17 (depends on 16)

The diagnosing method for an integrated circuit according to claim 16, wherein said fault diagnosis is made on said shift registers one by one on the basis of said compressed value from said EOR tree circuit to specify a shift register in which the fault exists.

### Claim 18 (depends on 16)

The diagnosing method for an integrated circuit according to claim 16, wherein said outputs from said shift registers corresponding to said test patterns of pattern numbers within a predetermined range generated by said pattern generator are enabled to narrow down a pattern number where a fault occurs.

### Claim 19

An integrated circuit including sequential circuit elements, built therein being:
a pattern generator for generating test patterns;
a plurality of shift registers formed in parallel with said sequential circuit elements, the test patterns generated by said pattern generator being shifted into said shift registers, respectively; and
an output compressor for compressing a plurality of outputs shifted out from said shift registers with check bits of a Hamming code, and outputting the compressed outputs as a compressed value to the outside of said integrated circuit.

### Claim 20 (depends on 19)

The integrated circuit according to claim 19, further built therein being:
a pattern modifier for modifying said test patterns generated by said pattern generator according to an external input, then inputting the modified test patterns to said shift registers.

### Claim 21 (depends on 19)

The integrated circuit according to claim 19, further built therein being:
a mask for masking an indeterminate value in said outputs from said shift registers; and
an output verifier for verifying the outputs masked by said mask;
the outputs of said mask being inputted to said output compressor.

### Claim 22

An integrated circuit including sequential circuit elements, built therein being:
a pattern generator for generating test patterns;
a plurality of shift registers formed in parallel with said sequential circuit elements, the test patterns generated by said pattern generator being shifted into said shift registers, respectively;
at least one EOR (exclusive OR) tree circuit for compressing a plurality of outputs shifted out from said shift registers, and outputting the compressed outputs as a compressed value to the outside of said integrated circuit; and
a control circuit for enabling one of said plurality of outputs to be inputted to said EOR tree circuit.

### Claim 23 (depends on 22)

The integrated circuit according to claim 22, wherein said control circuit enables said outputs from said shift registers corresponding to said test patterns of pattern numbers within a predetermined range generated by said pattern generator to narrow down a pattern number where a fault occurs.

### Claim 24 (depends on 22)

The integrated circuit according to claim 22, further built therein being:
a pattern modifier for modifying said test patterns generated by said pattern generator according to an external input, then inputting the modified test patterns to said shift registers.

### Claim 25 (depends on 22)

The integrated circuit according to claim 22, further built therein being:
a mask for masking an indeterminate value in said outputs from said shift registers; and
an output verifier for verifying the outputs masked by said mask;
said output verifier fulfilling a function as said EOR tree circuit.
