# US 2024/0345160 A1 · Methods and apparatus to identify faults in processors

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

- Number: US 2024/0345160 A1
- Document ID: US20240345160A1
- Status: Published application
- Kind: A1
- Application number: 18/749,823
- Filed: 2024-06-21
- Published: 2024-10-17
- Earliest claimed: 2022-04-11
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Devanathan Varadarajan; Benjamin Niewenhuis
- Web page: https://patentgrep.com/patent/US20240345160A1

## CPC

- G01R 31/31703: {Comparison aspects, e.g. signature analysis, comparators (concerning scan tests G01R31/318566; concerning testers G01R31/3193)}
- G01R 31/3177: Testing of logic operation, e.g. by logic analysers
- G06F 11/2236: {to test CPU or processors}
- G06F 11/26: Functional testing
- G06F 11/27: Built-in tests
- G01R 31/2851: {Testing of integrated circuits [IC] (G01R31/317 takes precedence; testing individual devices G01R31/26; testing printed circuits G01R31/2801)}
- G01R 31/31724: {Test controller, e.g. BIST state machine (for scan test G01R31/318555)}
- G01R 31/318536: {Scan chain arrangements, e.g. connections, test bus, analog signals}
- G01R 31/318547: {Data generators or compressors}
- G01R 31/318566: {Comparators; Diagnosing the device under test}
- G01R 31/318586: {with partial scan or non-scannable parts}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example device includes built in test observation controller circuitry configured to: obtain a test; send first instructions to the processor to begin to execute the test by modifying values stored in a plurality of memory circuits; send second instructions to the processor to stop execution of the test at a first simulation time, wherein one or more memory values that are unobservable during a second simulation time of the test execution are observable during the first simulation time; and enhanced chip access trace scan circuitry configured to select a subset of the values from the plurality of memory circuits while the test is stopped; and signature circuitry configured to: determine a logic signature based on the subset of the values; and provide the logic signature for comparison to an expected signature, wherein a difference between the logic signature and the expected signature corresponds to a fault in the processor.

## Claims

### Claim 1

A system, comprising:
first circuitry configured to:
obtain program instructions associated with a device under test (DUT); and
cause execution of the program instructions to modify contents of a set of memory circuits of the DUT; and
second circuitry configured to:
determine a duration of a time window;
determine a set of positions of the time window;
determine a number of observable modifications of the contents of the set of memory circuits in the time window for each of the set of positions; and
determine a first position out of the set of positions at which the time window provides the greatest number of observable modifications.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first circuitry is configured to:
cause re-execution of the program instructions; and
stop the re-execution of the program instructions during the time window, wherein the time window is at the first position.

### Claim 3 (depends on 2)

The system of claim 2, further comprising:
third circuitry configured to:
after stopping the re-execution,
store the contents of the set of memory circuits in a first set of chains;
compress the first set of chains to provide a second set of chains; and
mask the contents in the second set of chains corresponding to one or more unobservable modifications to provide an output.

### Claim 4 (depends on 3)

The system of claim 3, further comprising:
fourth circuitry configured to:
determine a multiple input signature register (MISR) value based on the output; and
compare the MISR value with an expected MISR value to detect a fault in the DUT.

### Claim 5 (depends on 1)

The system of claim 1, wherein the second circuitry is configured to determine the duration of the time window based on a clock frequency of the set of memory circuits.

### Claim 6 (depends on 1)

The system of claim 1, wherein the second circuitry is configured to determine the set of positions such that the time window at one position is adjacent to the time window at a next position.

### Claim 7 (depends on 1)

The system of claim 1, wherein to determine the first position,
the first circuitry is configured to:
for each position of the set of positions,
cause a set of re-execution of the program instructions; and
for each re-execution, stop the re-execution during the time window,
wherein the time window is at the position; and
the second circuitry is configured to:
for each re-execution, determine the number of observable modifications of the contents of the set of memory circuits in the time window; and
compare the numbers of observable modifications of the set of positions with each other to determine the first position.

### Claim 8

A non-transitory computer readable medium storing program instructions that, when executed by one or more processors, cause the one or more processors to:
cause execution of instructions to modify contents of a set of memory circuits of a device under test (DUT); and
determine a set of positions of a time window;
determine a number of observable modifications of the contents of the set of memory circuits in the time window for each of the set of positions; and
determine a first position out of the set of positions at which the time window provides the greatest number of observable modifications.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the program instructions cause the one or more processors to:
cause re-execution of the instructions; and
stop the re-execution of the instructions during the time window, wherein the time window is at the first position.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the program instructions cause the one or more processors to:
after stopping the re-execution,
store the contents of the set of memory circuits in a first set of chains;
compress the first set of chains to provide a second set of chains; and
mask the contents in the second set of chains corresponding to one or more unobservable modifications to provide an output.

### Claim 11 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the program instructions cause the one or more processors to:
determine a multiple input signature register (MISR) value based on the output; and
compare the MISR value with an expected MISR value to detect a fault in the DUT.

### Claim 12 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the program instructions cause the one or more processors to determine a duration of the time window based on a clock frequency of the set of memory circuits.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, wherein the program instructions cause the one or more processors to slide the time window based on the duration to determine the set of positions.

### Claim 14 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein to determine the first position, the program instructions cause the one or more processors to:
cause a set of re-execution of the instructions; and
for each re-execution,
stop the re-execution during the time window, wherein the time window is at one of the set of positions; and
determine the number of observable modifications of the contents of the set of memory circuits in the time window; and
compare the numbers of observable modifications of the set of positions with each other to determine the first position.

### Claim 15

A system, comprising:
first circuitry configured to:
cause performance of a first test on a device under test (DUT) to modify contents of a set of memory circuits of the DUT;
cause performance of a second test on the DUT, wherein the second test is a partial portion of the first test, and wherein at least one modification of the contents of the set of memory circuits is observable during the second test but unobservable after the first test; and
provide the contents of the set of memory circuits from the second test for detection of a fault in the DUT.

### Claim 16 (depends on 15)

The system of claim 15, further comprising:
second circuitry configured to determine a duration and a first position of a time window,
wherein the second test corresponds to the time window of the duration and at the first position.

### Claim 17 (depends on 16)

The system of claim 16, wherein the second circuitry is configured to determine the duration based on a clock frequency of the set of memory circuits.

### Claim 18 (depends on 16)

The system of claim 16, wherein to determine the first position,
the first circuitry is configured to:
for each position of a set of positions,
cause a set of re-execution of the first test; and
for each re-execution, stop the re-execution during the time window,
wherein the time window is at the position; and
the second circuitry is configured to:
for each re-execution, determine a number of observable modifications of the contents of the set of memory circuits in the time window; and
determine the first position out of the set of positions at which the time window provides the greatest number of observable modifications.

### Claim 19 (depends on 15)

The system of claim 15, further comprising:
third circuitry configured to:
store the contents of the set of memory circuits from the second test in a first set of chains;
compress the first set of chains to provide a second set of chains; and
mask the contents in the second set of chains that correspond to one or more unobservable modifications to provide an output.

### Claim 20 (depends on 19)

The system of claim 19, further comprising:
fourth circuitry configured to:
determine a multiple input signature register (MISR) value based on the output; and
compare the MISR value with an expected MISR value to detect a fault in the DUT.
