# US 2024/0201257 A1 · Automated test pattern generation for testing design redacting reconfigurable hardware

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

- Number: US 2024/0201257 A1
- Document ID: US20240201257A1
- Status: Published application
- Kind: A1
- Application number: 18/536,973
- Filed: 2023-12-12
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: University of Florida Research Foundation, Inc.
- Applicants: University of Florida Research Foundation, Incorporated
- Inventors: Greg M. Stitt; Swarup Bhunia; Naren Vikram Raj Masna; Aritra Dasgupta
- Web page: https://patentgrep.com/patent/US20240201257A1

## CPC

- G01R 31/318307: {computer-aided, e.g. automatic test program generator [ATPG], program translations, test program debugging}
- G01R 31/318525: {Test of flip-flops or latches}
- G01R 31/318536: {Scan chain arrangements, e.g. connections, test bus, analog signals}
- G01R 31/318566: {Comparators; Diagnosing the device under test}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A method and system are directed to testing reconfigurable hardware designs, the method comprising inserting a scan chain into a reconfigurable hardware design associated with an integrated circuit comprising a redacted design; generating, using an automatic test pattern generation (ATPG) system, one or more test patterns and one or more bitstreams; receiving one or more primary outputs and contents of the scan chain from the reconfigurable hardware design by applying the one or more test patterns and the one or more bitstreams to the reconfigurable hardware design based on an ATPG test method of a plurality of ATPG test methods and a test architecture of a plurality of test architectures; comparing the one or more outputs and contents of the scan chain with one or more respective expected outcomes; and determining one or more faults associated with the reconfigurable hardware design based on the comparison.

## Claims

### Claim 1

A method for testing reconfigurable hardware designs, the method comprising:
inserting, by one or more processors, a scan chain into a reconfigurable hardware design associated with an integrated circuit comprising a redacted design;
generating, by the one or more processors and using an automatic test pattern generation (ATPG) system, one or more test patterns and one or more bitstreams;
receiving, by the one or more processors, one or more primary outputs and contents of the scan chain from the reconfigurable hardware design by applying the one or more test patterns and the one or more bitstreams to the reconfigurable hardware design based on an ATPG test method of a plurality of ATPG test methods and a test architecture of a plurality of test architectures;
comparing the one or more outputs and contents of the scan chain with one or more respective expected outcomes; and
determining one or more faults associated with the reconfigurable hardware design based on the comparison.

### Claim 2 (depends on 1)

The method of claim 1 further comprising, based on the ATPG test method of the plurality of ATPG test methods comprising a base ATPG test method, treating contents of one or more configuration flip-flops associated with the reconfigurable hardware design as one or more primary inputs.

### Claim 3 (depends on 1)

The method of claim 1 further comprising, based on the ATPG test method of the plurality of ATPG test methods comprising a shift ATPG test method:
treating contents of one or more configuration flip-flops associated with the reconfigurable hardware design as one or more primary inputs; and
shifting the one or more bitstreams by a selected number of bits for each test.

### Claim 4 (depends on 3)

The method of claim 3 further comprising shifting the one or more bitstreams a length of the scan chain.

### Claim 5 (depends on 1)

The method of claim 1 further comprising, based on the ATPG test method of the plurality of ATPG test methods comprising an overlapped ATPG test method, loading the scan chain and the one or more bitstreams simultaneously.

### Claim 6 (depends on 1)

The method of claim 1 further comprising, based on the ATPG test method of the plurality of ATPG test methods comprising an overlapped parallel ATPG test method:
loading a plurality of bits each cycle; and
overlapping loading of the one or more bitstreams with loading of the scan chain.

### Claim 7 (depends on 1)

The method of claim 1, wherein the reconfigurable hardware comprises field-programmable gate arrays (FPGAs), or embedded FPGAs (e-FPGAs) used in application-specific integrated circuits (ASICs).

### Claim 8 (depends on 1)

The method of claim 1, wherein applying the one or more test patterns and the one or more bitstreams to the reconfigurable hardware design further comprises loading the one or more test patterns and the one or more bitstreams into one or more of i) the scan chain, ii) the primary inputs, or iii) configuration flip-flops of the reconfigurable hardware design.

### Claim 9

A computing system comprising memory and one or more processors communicatively coupled to the memory, the one or more processors configured to:
insert a scan chain into a reconfigurable hardware design associated with an integrated circuit comprising a redacted design;
generate, using an automatic test pattern generation (ATPG) system, one or more test patterns and one or more bitstreams;
receive one or more primary outputs and contents of the scan chain from the reconfigurable hardware design by applying the one or more test patterns and the one or more bitstreams to the reconfigurable hardware design based on an ATPG test method of a plurality of ATPG test methods and a test architecture of a plurality of test architectures;
compare the one or more outputs and contents of the scan chain with one or more respective expected outcomes; and
determine one or more faults associated with the reconfigurable hardware design based on the comparison.

### Claim 10 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further configured to, based on the ATPG test method of the plurality of ATPG test methods comprising a base ATPG test method, treat contents of one or more configuration flip-flops associated with the reconfigurable hardware design as one or more primary inputs.

### Claim 11 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further configured to, based on the ATPG test method of the plurality of ATPG test methods comprising a shift ATPG test method:
treat contents of one or more configuration flip-flops associated with the reconfigurable hardware design as one or more primary inputs; and
shift the one or more bitstreams by a selected number of bits for each test.

### Claim 12 (depends on 11)

The computing system of claim 11, wherein the one or more processors are further configured to shift the one or more bitstreams a length of the scan chain.

### Claim 13 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further configured to, based on the ATPG test method of the plurality of ATPG test methods comprising an overlapped ATPG test method, load the scan chain and the one or more bitstreams simultaneously.

### Claim 14 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further configured to, based on the ATPG test method of the plurality of ATPG test methods comprising an overlapped parallel ATPG test method:
load a plurality of bits each cycle, and
overlap loading of the one or more bitstreams with loading of the scan chain.

### Claim 15 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further configured to apply the one or more test patterns and the one or more bitstreams to the reconfigurable hardware design further comprises loading the one or more test patterns and the one or more bitstreams into one or more of (i) the scan chain, (ii) the primary inputs, or (iii) configuration flip-flops of the reconfigurable hardware design.

### Claim 16

One or more non-transitory computer-readable storage media including instructions that, when executed by one or more processors, cause the one or more processors to:
insert a scan chain into a reconfigurable hardware design associated with an integrated circuit comprising a redacted design;
generate, using an automatic test pattern generation (ATPG) system, one or more test patterns and one or more bitstreams;
receive one or more primary outputs and contents of the scan chain from the reconfigurable hardware design by applying the one or more test patterns and the one or more bitstreams to the reconfigurable hardware design based on an ATPG test method of a plurality of ATPG test methods and a test architecture of a plurality of test architectures;
compare the one or more outputs and contents of the scan chain with one or more respective expected outcomes; and
determine one or more faults associated with the reconfigurable hardware design based on the comparison.

### Claim 17 (depends on 16)

The one or more non-transitory computer-readable storage media of claim 16 further including instructions that, when executed by the one or more processors, cause the one or more processors to, based on the ATPG test method of the plurality of ATPG test methods comprises a base ATPG test method, treat contents of one or more configuration flip-flops associated with the reconfigurable hardware design as one or more primary inputs.

### Claim 18 (depends on 16)

The one or more non-transitory computer-readable storage media of claim 16 further including instructions that, when executed by the one or more processors, cause the one or more processors to, based on the ATPG test method of the plurality of ATPG test methods comprises a shift ATPG test method:
treat contents of one or more configuration flip-flops associated with the reconfigurable hardware design as one or more primary inputs; and
shift the one or more bitstreams by a selected number of bits for each test.

### Claim 19 (depends on 16)

The one or more non-transitory computer-readable storage media of claim 16 further including instructions that, when executed by the one or more processors, cause the one or more processors to, based on the ATPG test method of the plurality of ATPG test methods comprises an overlapped ATPG test method, load the scan chain and the one or more bitstreams simultaneously.

### Claim 20 (depends on 16)

The one or more non-transitory computer-readable storage media of claim 16 further including instructions that, when executed by the one or more processors, cause the one or more processors to, based on the ATPG test method of the plurality of ATPG test methods comprises an overlapped parallel ATPG test method:
load a plurality of bits each cycle, and
overlap loading of the one or more bitstreams with loading of the scan chain.
