# US 2009/0271133 A1 · Clock jitter measurement circuit and integrated circuit having the same

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

- Number: US 2009/0271133 A1
- Document ID: US20090271133A1
- Status: Published application
- Kind: A1
- Application number: 12/108,796
- Filed: 2008-04-24
- Published: 2009-10-29
- Earliest claimed: 2008-04-24
- Assignees: Faraday Technology Corp.
- Inventors: Jung-Chi Ho; Sheng-Bin Lin; Yeong-Jar Chang
- Web page: https://patentgrep.com/patent/US20090271133A1

## CPC

- G01R 29/26: Measuring noise figure; Measuring signal-to-noise ratio
- G01R 31/3016: {Delay or race condition test, e.g. race hazard test}
- 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: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

Provided is a measurement circuit for measuring a jitter of a clock signal. Delay elements delay the clock signal into delayed clock signal. Latches latch the delayed clock signals to indicate whether transition edges of the clock signal is within a window value which is corresponding to delays of the delay elements. Based on the latch result from the latches, a finite state machine generates control signals for controlling the delay elements. If the latch result indicates that the transition edges of the clock signal is not within the window value, the control signals adjust the delays of the delay elements and the window value. The jitter of the clock signal is measured based on the delays of the delay elements and the window value.

## Claims

### Claim 1

A measurement circuit within an integrated circuit, for measuring an error value of a clock signal under test, the measurement circuit comprising:
a first delay element, for delaying the clock signal under test to generate a first delayed clock signal;
a second delay element, for delaying the clock signal under test to generate a second delayed clock signal;
a condition indication element, coupled to the first and second delay elements, for indicating whether the error value of the clock signal under test is within a window value, the window value being corresponding to delays of the first and second delay elements; and
a state machine, coupled to the condition indication element, for generating first and second control signals based on an indication signal from the condition indication element, the first and second control signals being for controlling the first and second delay elements;
wherein if the indication signal indicates that the error value of the clock signal under test is not within the window value, the first and second control signals adjust the delays of the first and the second delay elements and the window value;
wherein the error value of the clock signal under test is measured based on the delays of the first and the second delay elements and the window value.

### Claim 2 (depends on 1)

The measurement circuit of claim 1, further comprising:
an output circuit, coupled to the state machine, for scanning out the first and second control signals.

### Claim 3 (depends on 2)

The measurement circuit of claim 2, further comprising:
a clock switch circuit, receiving a scan clock signal, for switching one of the clock under test and the scan clock signal to the state machine and the output circuit.

### Claim 4 (depends on 1)

The measurement circuit of claim 1, wherein the condition indication element includes:
a first flip-flop, coupled to the clock signal under test; and
a second flip-flop, coupled to the clock signal under test.

### Claim 5 (depends on 4)

The measurement circuit of claim 4, wherein:
the first delay element has:
an input terminal, for receiving the clock signal under test; and
an output terminal, coupled to the first flip-flop;
the second delay element has:
an input terminal, coupled to the output terminal of the first delay element; and
an output terminal, coupled to the second flip-flop.

### Claim 6 (depends on 4)

The measurement circuit of claim 4, wherein:
the first delay element has:
an input terminal, for receiving the clock signal under test; and
an output terminal, coupled to the first flip-flop; and
the second delay element has:
an input terminal, for receiving the clock signal under test; and
an output terminal, coupled to the second flip-flop.

### Claim 7 (depends on 4)

The measurement circuit of claim 4, wherein:
the first delay element has:
an input terminal, for receiving the clock signal under test; and
an output terminal, coupled to the first flip-flop and the second flip-flop; and
the second delay element has:
an input terminal, for receiving the clock signal under test; and
an output terminal, coupled to the first flip-flop;
wherein the clock signal under test further coupled to the second flip-flop.

### Claim 8 (depends on 4)

The measurement circuit of claim 4, wherein:
the first delay element has:
an input terminal, for receiving the clock signal under test; and
an output terminal, coupled to the first flip-flop and the second flip-flop; and
the second delay element has:
an input terminal, for receiving the clock signal under test; and
an output terminal, coupled to the second flip-flop;
wherein the clock signal under test further coupled to the first flip-flop.

### Claim 9 (depends on 1)

The measurement circuit of claim 1, wherein the measurement circuit has a first debug mode to debug the first and second delay elements and a second debug mode to debug the state machine.

### Claim 10 (depends on 1)

The measurement circuit of claim 1, wherein the error value is a peak-to-peak jitter value.

### Claim 11

An integrated circuit, comprising:
a clock generation circuit, for generating a clock signal under test; and
a measurement circuit, coupled to the clock generation circuit, for measuring an error value of the clock signal under test, wherein the measurement circuit comprising:
a delay stage, for delaying the clock signal under test to generate a plurality of delayed clock signals;
a condition indication element, for receiving the plurality of delay clock signals from the delay stage to indicating whether the error value of the clock signal under test is within a window value, the window value being corresponding to delays of the delay stage; and
a state machine, coupled to the condition indication element, for generating a control signal based on an indication signal from the condition indication element, the control signal being for controlling the delay stage;
wherein if the indication signal indicates that the error value of the clock signal under test is not within the window value, the control signal adjust the delays of the delay stage and the window value, so that the error value of the clock signal under test is to be within the window value, and the error value of the clock signal under test is measured based on the delays of the delay stage and the window value.

### Claim 12 (depends on 11)

The integrated circuit of claim 11, wherein the measurement circuit further comprising:
an output circuit, coupled to the state machine, for scanning out the control signal; and
a clock switch circuit, receiving a scan clock signal, for switching one of the clock under test and the scan clock signal to the state machine and the output circuit.

### Claim 13 (depends on 11)

The integrated circuit of claim 11, wherein the condition indication element includes:
a first flip-flop, coupled to the clock signal under test; and
a second flip-flop, coupled to the clock signal under test.

### Claim 14 (depends on 13)

The integrated circuit of claim 13, wherein the delay state includes:
a first delay element, having an input terminal, for receiving the clock signal under test; and an output terminal, coupled to the first flip-flop; and
a second delay element, having an input terminal, coupled to the output terminal of the first delay element; and an output terminal, coupled to the second flip-flop.

### Claim 15 (depends on 13)

The integrated circuit of claim 13, wherein the delay state includes:
a first delay element, having an input terminal, for receiving the clock signal under test; and an output terminal, coupled to the first flip-flop; and
a second delay element, having an input terminal, for receiving the clock signal under test; and an output terminal, coupled to the second flip-flop.

### Claim 16 (depends on 13)

The integrated circuit of claim 13, wherein the delay state includes:
a first delay element, having an input terminal, for receiving the clock signal under test; and an output terminal, coupled to the first flip-flop and the second flip-flop; and
a second delay element, having an input terminal, for receiving the clock signal under test; and an output terminal, coupled to the first flip-flop;
wherein the clock signal under test further coupled to the second flip-flop.

### Claim 17 (depends on 13)

The integrated circuit of claim 13, wherein the delay state includes:
a first delay element, having an input terminal, for receiving the clock signal under test; and an output terminal, coupled to the first flip-flop and the second flip-flop; and
a second delay element, having an input terminal, for receiving the clock signal under test; and an output terminal, coupled to the second flip-flop;
wherein the clock signal under test further coupled to the first flip-flop.

### Claim 18 (depends on 11)

The integrated circuit of claim 11, wherein the measurement circuit has a first debug mode to debug the delay stage and a second debug mode to debug the state machine.

### Claim 19 (depends on 11)

The integrated circuit of claim 11, wherein the error value is a peak-to-peak jitter value.
