# US 2013/0159799 A1 · Multi-core processor with internal voting-based built in self test (bist)

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

- Number: US 2013/0159799 A1
- Document ID: US20130159799A1
- Status: Published application
- Kind: A1
- Application number: 13/330,921
- Filed: 2011-12-20
- Published: 2013-06-20
- Earliest claimed: 2011-12-20
- Assignees: International Business Machines Corporation
- Inventors: Jeffrey D. Brown; Miguel Comparan; Robert A. Shearer; Alfred T. Watson, III
- Web page: https://patentgrep.com/patent/US20130159799A1

## CPC

- G06F 11/27: Built-in tests
- G01R 31/318566: {Comparators; Diagnosing the device under test}
- G06F 11/2242: {in multi-processor systems, e.g. one processor becoming the primary tester (G06F11/2736 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A method and circuit arrangement utilize scan logic disposed on a multi-core processor integrated circuit device or chip to perform internal voting-based built in self test (BIST) of the chip. Test patterns are generated internally on the chip and communicated to the scan chains within multiple processing cores on the chip. Test results output by the scan chains are compared with one another on the chip, and majority voting is used to identify outlier test results that are indicative of a faulty processing core. A bit position in a faulty test result may be used to identify a faulty latch in a scan chain and/or a faulty functional unit in the faulty processing core, and a faulty processing core and/or a faulty functional unit may be automatically disabled in response to the testing.

## Claims

### Claim 1

A circuit arrangement, comprising:
a plurality of processing cores disposed on a multi-core integrated circuit device, each processing core including a scan chain; and
scan logic disposed on the multi-core integrated circuit device and configured to communicate a test pattern to the scan chains of the plurality of processing cores and compare test results output by the scan chains of the plurality of processing cores in response to the test pattern, wherein the scan logic is further configured to identify a faulty processing core among the plurality of processing cores based upon the test result output by the scan chain of the faulty processing core differing from a majority of the test results output by the plurality of processing cores.

### Claim 2 (depends on 1)

The circuit arrangement of claim 1, wherein the scan chains are serial scan chains, and wherein the scan logic is configured to perform a bit-by-bit comparison of the test results output by the scan chains of the plurality of processing cores.

### Claim 3 (depends on 2)

The circuit arrangement of claim 2, wherein the scan chains each include a plurality of latches coupled to one another in series, and wherein the scan logic is further configured to identify a faulty latch in the faulty processing core based upon a position of a bit in the test result that differs from the majority of test results output by the plurality of processing cores.

### Claim 4 (depends on 3)

The circuit arrangement of claim 3, wherein the scan chains are each configured to output the test results one bit at a time, and wherein the scan logic is configured to increment a counter in association with receiving each bit of the test results, and to use the counter to identify the faulty latch.

### Claim 5 (depends on 4)

The circuit arrangement of claim 4, further comprising a fault data structure, wherein the scan logic is configured to store a value of the counter in the fault data structure in association with identifying a bit in the test result of the faulty processing core that differs from the majority of test results output by the plurality of processing cores.

### Claim 6 (depends on 5)

The circuit arrangement of claim 5, wherein the fault data structure includes a plurality of storage elements, each storage element associated with a processing core among the plurality of processing cores, and wherein the scan logic is configured to store the value of the counter in the storage element associated with the faulty processing core.

### Claim 7 (depends on 6)

The circuit arrangement of claim 6, wherein the fault data structure includes a plurality of entries, wherein the scan logic is configured to, in response to each fault detected in any of the plurality of processing cores, store a counter value associated with the fault in an entry in the fault data structure.

### Claim 8 (depends on 5)

The circuit arrangement of claim 5, wherein the fault data structure comprises a plurality of electronic fuses.

### Claim 9 (depends on 3)

The circuit arrangement of claim 3, wherein the plurality of latches in the scan chain of each processing core are disposed in a plurality of functional units of the processing core, and wherein the scan logic is configured to identify a faulty functional unit in response to identifying the faulty latch.

### Claim 10 (depends on 9)

The circuit arrangement of claim 9, wherein the scan logic is configured to automatically disable the faulty functional unit in response to identifying the faulty functional unit.

### Claim 11 (depends on 10)

The circuit arrangement of claim 10, wherein the scan logic is configured to automatically disable the faulty functional unit by blowing an electronic fuse associated with the faulty functional unit.

### Claim 12 (depends on 3)

The circuit arrangement of claim 3, wherein the scan logic is configured to communicate a plurality of test patterns to the plurality of processing cores, and wherein the scan logic is configured to, for each test pattern:
clock the test pattern into the scan chains of the plurality of processing cores;
clock the plurality of processing cores for a plurality of clock cycles; and
clock the test results out of the scan chains of the plurality of processing cores.

### Claim 13 (depends on 12)

The circuit arrangement of claim 12, wherein the scan logic includes pseudorandom logic configured to generate a plurality of pseudorandom test patterns.

### Claim 14 (depends on 12)

The circuit arrangement of claim 12, wherein the scan logic is configured to communicate a predetermined sequence of test patterns to the plurality of processing cores.

### Claim 15 (depends on 1)

The circuit arrangement of claim 1, wherein the scan logic is configured to compare test results output by the scan chains of all of the processing cores disposed on the multi-core integrated circuit device.

### Claim 16 (depends on 1)

The circuit arrangement of claim 1, wherein the scan logic is configured to perform a plurality of comparisons in parallel with one another, wherein each comparison compares test results output by the scan chains of a subset of the processing cores disposed on the multi-core integrated circuit device.

### Claim 17 (depends on 1)

An integrated circuit device including the circuit arrangement of claim 1.

### Claim 18 (depends on 1)

A program product comprising a computer readable medium and logic definition program code stored on the computer readable medium and defining the circuit arrangement of claim 1.

### Claim 19

A method of performing built in self test (BIST) of a multi-core integrated circuit device including a plurality of processing cores, wherein each processing core includes a scan chain, the method comprising:
communicating a test pattern to the scan chains of the plurality of processing cores using scan logic disposed on the multi-core integrated circuit device;
comparing test results output by the scan chains of the plurality of processing cores in response to the test pattern using the scan logic; and
identifying a faulty processing core among the plurality of processing cores based upon the test result output by the scan chain of the faulty processing core differing from a majority of the test results output by the plurality of processing cores.

### Claim 20 (depends on 19)

The method of claim 19, wherein the scan chains are serial scan chains, wherein comparing test results includes performing a bit-by-bit comparison of the test results output by the scan chains of the plurality of processing cores, wherein the scan chains each include a plurality of latches coupled to one another in series, and wherein the method further comprises identifying a faulty latch in the faulty processing core based upon a position of a bit in the test result that differs from the majority of test results output by the plurality of processing cores.

### Claim 21 (depends on 20)

The method of claim 20, further comprising storing a value associated with the bit position in a fault data structure.

### Claim 22 (depends on 21)

The method of claim 21, wherein the plurality of latches in the scan chain of each processing core are disposed in a plurality of functional units of the processing core, the method further comprising identifying a faulty functional unit in response to identifying the faulty latch.

### Claim 23 (depends on 22)

The method of claim 22, further comprising automatically disabling the faulty functional unit with the scan logic in response to identifying the faulty functional unit.

### Claim 24 (depends on 19)

The method of claim 19, further comprising generating a plurality of pseudorandom test patterns with the scan logic and communicating the plurality of pseudorandom test patterns to the plurality of processing cores.

### Claim 25 (depends on 19)

The method of claim 19, further comprising generating a plurality of predetermined sequence of test patterns with the scan logic and communicating the predetermined sequence of test patterns to the plurality of processing cores.
