# US 2024/0003970 A1 · Hybrid solver for integrated circuit diagnostics and testing

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

- Number: US 2024/0003970 A1
- Document ID: US20240003970A1
- Status: Published application
- Kind: A1
- Application number: 17/855,012
- Filed: 2022-06-30
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Palo Alto Research Center Incorporated
- Applicants: Palo Alto Research Center Incorporated
- Inventors: Aleksandar B. Feldman; Johan de Kleer; Alexandre Campos Perez; Ion Matei
- Web page: https://patentgrep.com/patent/US20240003970A1

## CPC

- G01R 31/318307: {computer-aided, e.g. automatic test program generator [ATPG], program translations, test program debugging}
- G06F 30/333: Design for testability [DFT], e.g. scan chain or built-in self-test [BIST]
- G01R 31/31704: {Design for test; Design verification (concerning scan tests G01R31/318583; computer-aided design G06F30/00)}
- G01R 31/318314: {Tools, e.g. program interfaces, test suite, test bench, simulation hardware, test compiler, test program languages (simulation software G01R31/318357; emulators G06F11/261)}
- G06F 11/263: Generation of test inputs, e.g. test vectors, patterns or sequences {; with adaptation of the tested hardware for testability with external testers}
- G01R 31/31709: {Jitter measurements; Jitter generators (measuring jitter, noise figure or signal-to-noise ratio per se G01R29/26; analysis of tester signals G01R31/31901)}
- G01R 31/3177: Testing of logic operation, e.g. by logic analysers
- G01R 31/318547: {Data generators or compressors}
- G01R 31/318558: {Addressing or selecting of subparts of the device under test}
- G06F 17/10: Complex mathematical operations {(function generation by table look-up G06F1/03; evaluation of elementary functions by calculation G06F7/544)}
- H04L 1/205: {jitter monitoring}
- 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)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

One embodiment provides a method and a system for computing diagnoses for a physical system. During operation, the system can obtain a design of the physical system, generate a design of a diagnostic system by augmenting the design of the physical system based on a number of fault-emulating subsystems, and convert the design of the diagnostic system into a polynomial formula comprising a plurality of variables. The plurality of variables can include inputs and outputs of the original physical system and a number of ancillary variables. The system can further embed the polynomial formula on a hardware-based solver configured to perform optimization using the polynomial formula as an objective function to obtain a diagnostic vector used for explaining faults in the physical system.

## Claims

### Claim 1

A computer-implemented method for computing diagnoses for a physical system, the method comprising:
obtaining, by a computer, a design of the physical system;
generating a design of a diagnostic system by augmenting the design of the computational system based on a number of fault-emulating subsystems;
converting the design of the diagnostic system into a polynomial formula comprising a plurality of variables, wherein the plurality of variables comprise inputs and outputs of the original system and a number of ancillary variables; and
embedding the polynomial formula on a hardware-based solver configured to perform optimization using the polynomial formula as an objective function to obtain a diagnostic vector used for explaining faults in the physical system.

### Claim 2 (depends on 1)

The method of claim 1, wherein the physical system comprises a plurality of logic gates, and wherein converting the design of the diagnostic system into the polynomial formula comprises representing each logic gate using a corresponding polynomial.

### Claim 3 (depends on 1)

The method of claim 1, further comprising splitting the physical system into a plurality of subsystems by implementing a cube-and-conquer technique, thereby facilitating parallel processing.

### Claim 4 (depends on 1)

The method of claim 1, wherein converting the design of the diagnostic system comprises reducing an order of the polynomial formula to obtain a quadratic polynomial formula.

### Claim 5 (depends on 4)

The method of claim 4, wherein reducing the order of the polynomial formula comprises:
determining an occurrence frequency of a product of a k-tuple of variables;
determining a ranking of the k-tuple of variables based on the occurrence frequency of the product; and
in response to determining that the ranking is higher than a predetermined ranking, introducing an additional ancillary variable to replace the product of the k-tuple of variables.

### Claim 6 (depends on 1)

The method of claim 1, further comprising mapping the polynomial formula to a formula embeddable on the hardware-based solver, wherein mapping the polynomial formula to the embeddable formula comprises solving a graph isomorphism problem.

### Claim 7 (depends on 1)

The method of claim 1, wherein the hardware-based solver comprises an Ising machine.

### Claim 8

A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for generating test vectors for a computational system, the method comprising:
obtaining a design of the computational system;
generating a design of a test system by augmenting the design of the computational system based on a number of fault-emulating subsystems;
converting the design of the test system into a polynomial formula comprising a plurality of variables, wherein the plurality of variables comprise inputs and outputs of the original system and a number of ancillary variables; and
embedding the polynomial formula on a hardware-based solver configured to perform optimization using the polynomial formula as an objective function to obtain a set of test vectors used for testing potential faults in the computational system.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the computational system comprises a plurality of logic gates, and wherein converting the design of the test system into the polynomial formula comprises representing each logic gate using a corresponding polynomial.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the method further comprises splitting the test system into a plurality of subsystems by implementing a cube-and-conquer technique, thereby facilitating parallel processing.

### Claim 11 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein converting the design of the test system comprises reducing an order of the polynomial formula to obtain a quadratic polynomial formula.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein reducing the order of the polynomial formula comprises:
determining an occurrence frequency of a product of a k-tuple of variables;
determining a ranking of the k-tuple of variables based on the occurrence frequency of the product; and
in response to determining that the ranking is higher than a predetermined ranking, introducing an additional ancillary variable to replace the product of the k-tuple of variables.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the method further comprises mapping the polynomial formula to a formula embeddable on the hardware-based solver, and wherein mapping the polynomial formula to the embeddable formula comprises solving a graph isomorphism problem.

### Claim 14 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the hardware-based solver comprises an Ising machine.

### Claim 15

A hybrid system for computing diagnoses or generating test vectors for a digital circuit, the system comprising:
a receiving module configured to receive a design of the digital circuit;
a circuit-augmentation module configured to generate a design of a fault-augmented diagnostic or test circuit by augmenting the design of the digital circuit based on a number of fault-emulating subcircuits;
a circuit-conversion module configured to convert the design of the diagnostic or test circuit into a polynomial formula comprising a plurality of variables, wherein the plurality of variables comprise inputs and outputs of the original digital circuit and a number of ancillary variables; and
a hardware-based solver configured to perform optimization using the polynomial formula as an objective function to obtain a diagnostic vector used for explaining faults or a set of test vectors used for testing potential faults in the digital circuit.

### Claim 16 (depends on 15)

The hybrid system of claim 15, wherein the digital circuit comprises a plurality of logic gates, and wherein, while converting the design of the test circuit into the polynomial formula, the circuit-conversion module is configured to represent each logic gate using a corresponding polynomial.

### Claim 17 (depends on 15)

The hybrid system of claim 15, wherein, while converting the design of the diagnostic or test circuit into the polynomial formula, the circuit-conversion module is configured to reduce an order of the polynomial formula to obtain a quadratic polynomial formula.

### Claim 18 (depends on 17)

The hybrid system of claim 17, wherein, while reducing the order of the polynomial formula, the circuit-conversion module is configured to:
determine an occurrence frequency of a product of a k-tuple of variables;
determine a ranking of the k-tuple of variables based on the occurrence frequency of the product; and
in response to determining that the ranking is higher than a predetermined ranking, introduce an additional ancillary variable to replace the product of the k-tuple of variables.

### Claim 19 (depends on 15)

The hybrid system of claim 15, further comprising a mapping module configured to map the polynomial formula to a formula embeddable on the hardware-based solver, and wherein, while mapping the polynomial formula to the embeddable formula, the mapping module is configured to solve a graph isomorphism problem.

### Claim 20 (depends on 15)

The hybrid system of claim 15, wherein the hardware-based solver comprises an Ising machine.
