# US 2016/0238655 A1 · Enhanced status monitor for scan testing

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

- Number: US 2016/0238655 A1
- Document ID: US20160238655A1
- Status: Published application
- Kind: A1
- Application number: 14/850,965
- Filed: 2015-09-11
- Published: 2016-08-18
- Earliest claimed: 2015-02-17
- Assignees: Freescale Semiconductor, Inc.
- Applicants: Freescale Semiconductor, Inc.
- Inventors: Ling Wang; HUANGSHENG DING; WEI ZHANG
- Web page: https://patentgrep.com/patent/US20160238655A1

## CPC

- G06F 1/10: Distribution of clock signals {, e.g. skew}
- G01R 31/318544: {Scanning methods, algorithms and patterns (G01R31/3183 takes precedence)}
- G01R 31/318552: {Clock circuits details}
- G06F 1/04: Generating or distributing clock signals or signals derived directly therefrom
- G06F 1/28: Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

An integrated circuit receives test-control information that is phase encoded on a scan clock used for testing a scan chain within the IC. The phase encoding does not affect the normal use of the scan clock and scan test chain and allows additional test-related data such as power supply, clock, and additional global and specialized status data to be collected by a secondary test data storage system such as a shift register. The phase encoding further controls selectively outputting the enhanced test status or the traditional scan test outputs.

## Claims

### Claim 1

An integrated circuit (IC), comprising:
core logic;
scan test hardware integrated with the core logic for performing scan testing on the core logic based on a scan clock and a scan data input signal to generate a scan data output signal, wherein the scan clock is phase encoded with test-control information; and
an enhanced status monitor that receives the scan clock and a test clock, wherein the enhanced status monitor (i) decodes the phase-encoded scan clock relative to the test clock to recover the test-control information and (ii) uses the test-control information to selectively store enhanced test status data.

### Claim 2 (depends on 1)

The IC of claim 1, further comprising a multiplexer having a first input coupled to an enhanced test status data output of the enhanced status monitor and a second input coupled to the scan data output signal, wherein at least part of the test-control information is used to select between the first and second multiplexer inputs to drive a data output of the IC with one of the scan data output signal and the enhanced test status data output of the enhanced test status monitor.

### Claim 3 (depends on 1)

The IC of claim 1, wherein the enhanced status monitor comprises a shift register for selectively storing the enhanced test status data.

### Claim 4 (depends on 1)

The IC of claim 1, wherein the enhanced test status data includes status of a phase locked loop within the IC.

### Claim 5 (depends on 1)

The IC of claim 1, wherein the enhanced test status data includes status of a power source within the IC.

### Claim 6 (depends on 1)

The IC of claim 1, wherein the enhanced test status data includes a characteristic of a clock source within the IC.

### Claim 7 (depends on 1)

The IC of claim 1, wherein the enhanced test status data includes results of a built-in-self-test within the IC.

### Claim 8 (depends on 1)

The IC or claim 1, wherein the phase encoding of the test-control information on the scan clock does not substantively affect the operation of the scan-test hardware, such that the scan-test hardware can operate concurrently with the enhanced status monitor.

### Claim 9 (depends on 1)

The IC of claim 1, wherein the enhanced status monitor comprises:
a decoder module that decodes the phase-encoded scan clock to recover received data and a data valid signal;
a command module coupled to the decoder module for receiving the recovered received data and the data valid signal; and
a comparator for comparing the received data, when valid, with pre-stored commands, wherein a match of valid received data with the pre-stored commands results in the generation of the test-control information.

### Claim 10 (depends on 9)

The IC of claim 9, wherein the decoder module comprises:
a phase indicator module having inputs coupled to the test clock and the scan clock, wherein the phase indicator module has timing information outputs that provide logic values indicative of rising and falling edges of pulses occurring on the test clock and the scan clock; and
a phase decoder module having inputs coupled to the timing information outputs, wherein the phase decoder module compares at least two of the logic values at the timing information outputs with signals representative of leading and trailing edges of a pulse applied to one of the test clock and scan clock inputs to determine a pulse arrival order sequence between signals on the scan clock and the test clock inputs.

### Claim 11

A method for enhanced test status monitoring within an integrated circuit (IC), comprising:
decoding phase-encoded test-control information from a scan clock and a test clock, the scan clock otherwise dedicated to scan-test hardware associated with core logic within the IC; and
using the test-control information to direct selectively storing enhanced test status data used in the enhanced test status monitoring.

### Claim 12 (depends on 11)

The method of claim 11, wherein the test-control information is used to select between at least two multiplexer inputs to drive a data output of the IC with either a scan data output signal from the scan-test hardware or the stored enhanced test status data.

### Claim 13 (depends on 11)

The method of claim 11, wherein a shift register is used for the storing the enhanced test status data.

### Claim 14 (depends on 11)

The method of claim 11, wherein the enhanced test status data includes status of a phase locked loop within the IC.

### Claim 15 (depends on 11)

The method of claim 11, wherein the enhanced test status data includes status of a power source within the IC.

### Claim 16 (depends on 11)

The method of claim 11, wherein the enhanced test status data includes a characteristic of a clock source within the IC.

### Claim 17 (depends on 11)

The method of claim 11, wherein the enhanced test status data includes results of a built-in-self-test within the IC.

### Claim 18 (depends on 11)

The method of claim 11, wherein the phase encoding of the test-control information on the scan clock does not substantively affect the operation of the scan-test hardware such that the scan test hardware can operate concurrently with the enhanced status monitoring.

### Claim 19 (depends on 11)

The method of claim 11, wherein the enhanced test status monitoring comprises:
decoding the phase encoded test-control information from the scan clock and the test clock to produce received data and a data valid signal,
comparing the received data, when valid, with pre-stored commands, wherein a match of valid received data with the pre-stored commands results in the generation of the test-control information.

### Claim 20 (depends on 11)

The method of claim 11, further comprising comparing arrival times of rising and falling edges of the scan clock and the test clock to determine a phase relationship between the scan clock and the test clock, and decoding the phase relationship to a value used in the generation of the test-control information.
