# US 2014/0372821 A1 · Scan Chain Stitching For Test-Per-Clock

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

- Number: US 2014/0372821 A1
- Document ID: US20140372821A1
- Status: Published application
- Kind: A1
- Application number: 13/920,004
- Filed: 2013-06-17
- Published: 2014-12-18
- Earliest claimed: 2013-06-17
- Assignees: Mentor Graphics Corporation
- Applicants: Mentor Graphics Corporation
- Inventors: Janusz Rajski; Jedrzej Solecki; Jerzy Tyszer; Grzegorz Mrugalski
- Web page: https://patentgrep.com/patent/US20140372821A1

## CPC

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

## Abstract

Various aspects of the present invention relate to scan chain stitching techniques for test-per-clock. With various implementations of the invention, a plurality of scan cell partitions are generated based on combinational paths between scan cells. Scan cells may be assigned to one or more pairs of scan cell partitions based on combinational paths between the scan cells. Each pair of the scan cell partitions comprises one stimuli partition and one compacting partition. Using the plurality of scan cell partitions generated, scan chains are formed based on at least information of combinational paths between scan cell partitions in the plurality of scan cell partitions. The formed scan chains are to be dynamically divided into three groups during a test, which are configured to operate in a shifting-launching mode, a capturing-compacting-shifting mode and a mission mode, respectively.

## Claims

### Claim 1

A method, executed by at least one processor of a computer, comprising:
receiving information of a plurality of scan cells in a circuit;
generating a plurality of scan cell partitions based on combinational paths between scan cells in the plurality of scan cells;
forming scan chains using the plurality of scan cell partitions based on at least information of combinational paths between scan cell partitions in the plurality of scan cell partitions, wherein the scan chains are to be dynamically divided into three groups during testing the circuit, which are configured to operate in a shifting-launching mode, a capturing-compacting-shifting mode and a mission mode, respectively; and
storing information of the scan chains.

### Claim 2 (depends on 1)

The method recited in claim 1, wherein a scan chain in the capturing-compacting-shifting mode shifts out one bit of previously compacted test response data while compacting remaining bits of the previously compacted test response data with a currently-captured test response to form currently compacted test response data.

### Claim 3 (depends on 1)

The method recited in claim 1, wherein the generating comprises:
assigning scan cells to one or more pairs of scan cell partitions based on combinational paths between scan cells in the plurality of scan cells, each of the one or more pairs of scan cell partitions comprising one stimuli partition and one compacting partition.

### Claim 4 (depends on 3)

The method recited in claim 3, wherein the assigning scan cells comprises:
assigning to a compacting partition a scan cell having a highest number of combinational paths directed to from other scan cells;
assigning to a stimuli partition scan cells having combinational paths to the scan cell;
assigning to the compacting partition scan cells having combinational paths directed to from scan cells in the stimuli partition; and
assigning to the stimuli partition scan cells having combinational paths to scan cells in the compacting partition.

### Claim 5 (depends on 4)

The method recited in claim 4, wherein the assigning scan cells further comprises:
determining whether a predetermined condition on non-mission scan cells is satisfied; and
if the predetermined condition is satisfied, storing information of the stimuli partition and the compacting partition as an assignment.

### Claim 6 (depends on 5)

The method recited in claim 5, wherein the assigning scan cells further comprises:
if the predetermined condition is unsatisfied, assigning to the compacting partition scan cells having combinational paths directed to from scan cells in the compacting group.

### Claim 7 (depends on 1)

The method recited in claim 1, wherein the generating employs a graph coloring approach.

### Claim 8 (depends on 1)

The integrated circuit recited in claim 1, wherein the forming scan chains comprises:
combining scan cell partitions in the plurality of scan cell partitions to form scan chains based on a cost function for the plurality of scan chains, the cost function measuring numbers of combination paths between partitions.

### Claim 9

One or more non-transitory computer-readable media storing computer-executable instructions for causing one or more processors to perform a method, the method comprising:
receiving information of a plurality of scan cells in a circuit;
generating a plurality of scan cell partitions based on combinational paths between scan cells in the plurality of scan cells;
forming scan chains using the plurality of scan cell partitions based on at least information of combinational paths between scan cell partitions in the plurality of scan cell partitions, wherein the scan chains are to be dynamically divided into three groups during testing the circuit, which are configured to operate in a shifting-launching mode, a capturing-compacting-shifting mode and a mission mode, respectively; and
storing information of the scan chains.

### Claim 10 (depends on 9)

The one or more non-transitory computer-readable media recited in claim 9, wherein a scan chain in the capturing-compacting-shifting mode shifts out one bit of previously compacted test response data while compacting remaining bits of the previously compacted test response data with a currently-captured test response to form currently compacted test response data.

### Claim 11 (depends on 9)

The one or more non-transitory computer-readable media recited in claim 9, wherein the generating comprises:
assigning scan cells to one or more pairs of scan cell partitions based on combinational paths between scan cells in the plurality of scan cells, each of the one or more pairs of scan cell partitions comprising one stimuli partition and one compacting partition.

### Claim 12 (depends on 11)

The one or more non-transitory computer-readable media recited in claim 11, wherein the assigning scan cells comprises:
assigning to a compacting partition a scan cell having a highest number of combinational paths directed to from other scan cells;
assigning to a stimuli partition scan cells having combinational paths to the scan cell;
assigning to the compacting partition scan cells having combinational paths directed to from scan cells in the stimuli partition; and
assigning to the stimuli partition scan cells having combinational paths to scan cells in the compacting partition.

### Claim 13 (depends on 12)

The one or more non-transitory computer-readable media recited in claim 12, wherein the assigning scan cells further comprises:
determining whether a predetermined condition on non-mission scan cells is satisfied; and
if the predetermined condition is satisfied, storing information of the stimuli partition and the compacting partition as an assignment.

### Claim 14 (depends on 13)

The one or more non-transitory computer-readable media recited in claim 13, wherein the assigning scan cells further comprises:
if the predetermined condition is unsatisfied, assigning to the compacting partition scan cells having combinational paths directed to from scan cells in the compacting group.

### Claim 15 (depends on 9)

The one or more non-transitory computer-readable media recited in claim 9, wherein the generating employs a graph coloring approach.

### Claim 16 (depends on 9)

The one or more non-transitory computer-readable media recited in claim 9, wherein the forming scan chains comprises:
combining scan cell partitions in the plurality of scan cell partitions to form scan chains based on a cost function for the plurality of scan chains, the cost function measuring numbers of combination paths between partitions.
