# US 2005/0240847 A1 · Clock controller for at-speed testing of scan circuits

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

- Number: US 2005/0240847 A1
- Document ID: US20050240847A1
- Status: Published application
- Kind: A1
- Application number: 11/013,319
- Filed: 2004-12-17
- Published: 2005-10-27
- Earliest claimed: 2004-04-22
- Assignees: LogicVision, Inc.
- Inventors: Benoit Nadeau-Dostie; Jean-Francois Cote
- Web page: https://patentgrep.com/patent/US20050240847A1

## CPC

- G01R 31/31858: {Delay testing}
- G01R 31/31922: {Timing generation or clock distribution (G01R31/3191 takes precedence)}
- G01R 31/318552: {Clock circuits details}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A test clock controller for generating a test clock signal for scan chains in integrated circuits having one or more clock domains, comprises a shift clock controller for generating a shift clock signal for use in loading test patterns into scan chains in the clock domains and for unloading a test response patterns from the scan chains and for generating a burst phase signal after loading a test pattern; and a burst clock controller associated with each of one or more clock domains and responsive to a burst phase signal for generating a burst of clock pulses derived from a respective reference clocks and including a first group of burst clock pulses having a selected reduced frequency relative to the reference clock and a second group of burst clock pulses having a frequency corresponding to that of the reference clock.

## Claims

### Claim 1

A test clock controller for generating a test clock signal for scan chains in integrated circuits having one or more clock domains, comprising:
a shift clock controller for generating a shift clock signal for use in loading test patterns into scan chains in said clock domains and for unloading a test response patterns from said scan chains and for generating a burst phase signal after loading a test pattern; and
a burst clock controller responsive to a burst phase signal for generating a burst of clock pulses derived from a reference clock and including a first group of clock pulses having a selected reduced frequency relative to said reference clock and a second group of clock pulses having a frequency corresponding to that of said reference clock.

### Claim 2 (depends on 1)

A test clock controller as defined in claim 1, further including a gating circuit for gating said reference clock with a reference clock pulse disabling signal, output by said burst clock controller, for generating a burst clock pulse.

### Claim 3 (depends on 2)

A test clock controller as defined in claim 2, further including a burst clock controller associated with each of one or more of said clock domains.

### Claim 4 (depends on 3)

A test clock controller as defined in claim 3, said burst clock controllers being operable to synchronize said burst phase signal with respective domain reference clock.

### Claim 5 (depends on 1)

A test clock controller as defined in claim 1, further including, said burst clock controller being responsive to a slow burst cycles signal indicative of a number of clock pulses to be included in said first group, a slow burst rate signal indicative of a number of reference clock pulses to be disabled following each pulse of said first group and a burst length signal indicative of the number of cycles of said burst of clock pulses.

### Claim 6 (depends on 5)

A test clock controller as defined in claim 5, said burst clock controller having a predetermined burst length value.

### Claim 7 (depends on 5)

A test clock controller as defined in claim 5, said burst clock controller being responsive to said burst length signal by selecting between preprogrammed burst length values.

### Claim 8 (depends on 4)

A test clock controller as defined in claim 4, each said pulse of said burst of clock cycles being generated by enabling a pulse of said reference clock.

### Claim 9 (depends on 4)

A test clock controller as defined in claim 4, further including, burst clock controllers which control a group of interacting synchronous clock domains being operable to synchronize said burst phase signal with a reference clock associated with the clock domain having the lowest clock frequency and delay generation of said burst of clock pulses for respective predetermined time intervals so as to align a selected edge of the burst of clock cycles with a corresponding edge of all other clock domains of said group of interacting synchronous clock domains.

### Claim 10 (depends on 9)

A test clock controller as defined in claim 9, said burst clock controller having a clock alignment input for receiving a clock alignment signal identifying the selected edge to be aligned.

### Claim 11 (depends on 1)

A test clock controller as defined in claim 1, said shift clock controller having a shift clock output, each said burst clock controller having a reference clock pulse disabling output and a shift clock pulse disabling output, further including a clock gating circuit receiving said shift clock output, said reference clock, and said disable outputs for producing a clock signal to be applied to the clock input of scan memory elements in said clock domains.

### Claim 12 (depends on 11)

A test clock controller as defined in claim 11, said shift clock controller being responsive to a burst phase duration signal for selectively adjusting the duration of a burst state of said shift clock controller.

### Claim 13 (depends on 1)

A test clock controller as defined in claim 1, each burst clock controller having an input for a burst length signal indicative of the number of cycles of said burst of clock pulses.

### Claim 14 (depends on 1)

A test clock controller as defined in claim 1, said shift clock controller further including a shift clock source selector and a clock frequency divider responsive to a clock source selector output for selecting a shift clock rate to be used during a scan test.

### Claim 15 (depends on 1)

A test clock controller as defined in claim 1, said shift clock controller including a finite state machine having:
an idle state;
an initialization state;
a shift state for asserting a shift phase signal for configuring scan chain memory elements in shift mode and shifting test patterns into said scan chains and unloading any circuit test response from said scan chains under control of a shift clock;
a shift pause state for de-asserting said shift phase signal at the end of a test pattern shift operation and pausing a scan test for a number of shift clock cycles;
a burst state for asserting a burst phase signal for activating burst clock controllers, said clock controllers generating a burst of reference clock cycles for launching a test pattern loaded into said scan chains during said shift state and capturing the response of said integrated circuit to said test pattern;
a burst pause state for de-asserting said burst phase signal following a burst operation and pausing said scan test for a number of shift clock cycles and for returning to said shift state if further test patterns are to be processed; and
a done state for deactivating said shift clock controller upon completion of processing of all test patterns to be processed.

### Claim 16 (depends on 1)

A test clock controller as defined in claim 1, said burst clock controller further including:
means responsive to a rising edge of said Burst Phase signal for synchronizing said Burst Phase signal with a domain reference clock;
a pulse counter for counting clock pulses during said Burst Phase;
a pulse counter for counting pulses of said first group;
a circuit receiving a reference clock and operable to disable a predetermined number of reference clock cycles to produce a reduced frequency and thereafter generate clock pulses at the frequency of said reference clock signal.

### Claim 17 (depends on 16)

A test clock controller as defined in claim 16, said circuit receiving a reference clock further including a counter for counting suppressed clock cycles of said reference clock signals following each pulse of said first group.

### Claim 18 (depends on 1)

A test clock controller as defined in claim 1, said shift clock controller generating a shift clock signal during said burst phase, said burst clock controller being responsive to a reference clock disable signal for disabling said reference clock and enabling said shift clock as a reference clock source during said burst phase.

### Claim 19

A method for at-speed testing of integrated circuits having one or more clock domains, said method having a shift phase for loading test patterns into scan chains in said clock domains and unloading test response patterns from said scan chains, and a burst phase for launching said test patterns and capturing test responses to said test patterns, said method comprising:
generating a burst phase signal following said shift phase; and
for each clock domain:
synchronizing said burst phase signal with a reference clock signal of each clock domain;
generating a burst of clock cycles derived from a reference clock signal associated with said clock domain, including:
generating a first number of said clock cycles at a reduced frequency by disabling a second number of cycles following each of said first number of cycles and generating remaining cycles of said burst of clock cycles at the frequency of said reference clock signal.

### Claim 20 (depends on 19)

A method as defined in claim 19, further including, for each group of interacting synchronous clock domains, synchronizing said burst phase signal with a reference clock associated with the clock domain having the lowest clock frequency and delaying commencement of said burst of clock pulses in each said domain for a respective predetermined time interval so as to align a selected clock edge with a corresponding clock in all other interacting synchronous clock domains.

### Claim 21 (depends on 19)

A method as defined in claim 19, said selected edge being the last edge of said burst of clock cycles.

### Claim 22 (depends on 20)

A method as defined in claim 20, said selected edge being the penultimate clock edge of said burst of clock cycles.

### Claim 23 (depends on 20)

A method as defined in claim 20, when said selected edge is the last edge of said burst of clock cycles, said delaying includes calculating a delay as follows:
Delayi=Tref−(SlowBurstCyclesi*SlowBurstRatei+BurstLengthi)*Ti (1)
where:
i is a synchronous clock domain in a group of interacting clock domains;
SlowBurstCycles is said first number of first cycles;
SlowBurstRate is said second number of cycles;
BurstLength is the number of cycles of said burst of clock cycles;
Ti is the period of the reference clock signal of the synchronous clock domain;
Tref is a reference period of time from the synchronized version of the Burst Phase signal to the aligned clock edges and is the maximum of all times required to generate said predetermined number of burst clock pulses in synchronous domains, determined as follows:
max((SlowBurstCyclesi*SlowBurstRatei+BurstLengthi)*Ti) (2)

### Claim 24 (depends on 23)

A method as defined in claim 23, wherein when said selected edge is a penultimate edge of said burst of clock cycles, the delay is calculated using equation (1) but with the term BurstLengthi being replaced by the term BurstLengthi−1 for all domains except the domain with the slowest frequency.

### Claim 25

An at-speed scan test method for testing a circuit having interacting synchronous clock domains, said method having a shift phase for loading test patterns into scan chains in said clock domains and unloading test response patterns from said scan chains, and a burst phase for launching said test patterns and capturing test responses to said test patterns, said method comprising:
generating a burst phase signal following said shift phase;
synchronizing said burst phase signal with a reference clock associated with the clock domain having the lowest clock frequency; and,
for each clock domain:
generating a burst of clock cycles derived from a reference clock signal associated with said clock domain; and
prior to said generating a burst of clock cycles, delaying commencement of said burst of clock cycles by a predetermined time interval so as to align a selected edge of said burst of clock cycles with a corresponding edge in all other interacting synchronous clock domains.

### Claim 26 (depends on 25)

A method as defined in claim 25, said selected edge is the last edge of said burst of clock cycles.

### Claim 27 (depends on 25)

A method as defined in claim 25, said selected edge is the penultimate edge of said burst of clock cycles.

### Claim 28 (depends on 25)

A method as defined in claim 25, when said selected edge is the last edge of said burst of clock cycles, said delaying includes calculating a delay as follows:
Delayi=Tref−(BurstLengthi*Ti) (5)
where:
i is a synchronous clock domain in a group of interacting clock domains;
BurstLengthi is the number of cycles of said burst of clock cycles for clock domain i;
Ti is the period of the reference clock signal of the synchronous clock domain;
Tref is a reference period of time from the synchronized version of the Burst Phase signal to the aligned clock edges and is the maximum of all times required to generate said predetermined number of burst clock pulses in synchronous domains, determined as follows:
max(BurstLengthi)*Ti).

### Claim 29 (depends on 28)

A method as defined in claim 28, wherein when said selected edge is a penultimate edge of said burst of clock cycles, the delay is calculated using equation (5) but with the term BurstLengthi being replaced by the term BurstLengthi−1 for all domains except the domain with the slowest frequency.
