# US 2022/0036962 A1 · Device for detecting margin of circuit operating at certain speed

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

- Number: US 2022/0036962 A1
- Document ID: US20220036962A1
- Status: Published application
- Kind: A1
- Application number: 17/368,436
- Filed: 2021-07-06
- Published: 2022-02-03
- Earliest claimed: 2020-07-28
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corporation
- Inventors: CHUN-YI KUO; YING-YEN CHEN
- Web page: https://patentgrep.com/patent/US20220036962A1

## CPC

- G11C 29/50012: {of timing}
- G01R 31/3016: {Delay or race condition test, e.g. race hazard test}
- G01R 31/31712: {Input or output aspects}
- G01R 31/31727: {Clock circuits aspects, e.g. test clock circuit details, timing aspects for signal generation, circuits for testing clocks (G01R31/31725 takes precedence; concerning scan test G01R31/318552, for tester hardware G01R31/31922)}
- G11C 11/418: Address circuits
- G11C 29/023: {in clock generator or timing circuitry}
- G11C 29/028: {with adaption or trimming of parameters}
- H03K 5/01: Shaping pulses (discrimination against noise or interference H03K5/125)
- H03K 5/13: Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
- G11C 7/222: {Clock generating, synchronizing or distributing circuits within memory device}
- G11C 2207/2254: Calibration
- H03K 2005/00019: {Variable delay}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

Disclosed is a device for detecting the margin of a circuit operating at an operating speed. The device includes: a signal generating circuit generating an input signal including predetermined data; a first adjustable delay circuit delaying the input signal by a first delay amount and thereby generating a delayed input signal; a circuit under test performing a predetermined operation based on a predetermined operation timing and thereby generating a to-be-tested signal according to the delayed input signal; a second adjustable delay circuit delaying the to-be-tested signal by a second delay amount and thereby generating a delayed to-be-tested signal; a comparison circuit comparing the data included in the delayed to-be-tested signal with the predetermined data based on the predetermined operation timing and thereby generating a comparison result; and a calibration circuit determining whether the circuit under test passes a speed test according to the comparison result.

## Claims

### Claim 1

A device for detecting a margin of a circuit operating at a circuit operating speed, the device comprising:
a signal generating circuit configured to generate an input signal including predetermined data at a beginning of a detection process;
a first adjustable delay circuit coupled to the signal generating circuit, and configured to delay the input signal by a first delay amount to generate a delayed input signal;
a circuit under test (CUT) coupled to the first adjustable delay circuit, and configured to perform a predetermined operation after the beginning of the detection process to generate a to-be-tested signal according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation timing;
a second adjustable delay circuit coupled to the CUT, and configured to delay the to-be-tested signal by a second delay amount in the detection process to generate a delayed to-be-tested signal;
a comparison circuit coupled to the second adjustable delay circuit, and configured to compare data included in the delayed to-be-tested signal with the predetermined data according to the predetermined operation timing in the detection process and thereby generate a comparison result; and
a calibration circuit coupled to the comparison circuit, and configured to determine whether the CUT passes a speed test according to the comparison result in the detection process.

### Claim 2 (depends on 1)

The device of claim 1, wherein the detection process is a calibration process; the second delay amount is a predetermined delay amount; if the calibration circuit determines that the data included in the delayed to-be-tested signal is the same as the predetermined data according to the comparison result, the calibration circuit determines that the CUT passes the speed test, and thereby increases the first delay amount and requests the device to perform the calibration process again; and if the calibration circuit determines that the data included in the delayed to-be-tested signal is different from the predetermined data according to the comparison result, the calibration circuit determines that the CUT fails the speed test, and thereby determines that the first delay amount is a margin of the CUT operating at a first operating speed.

### Claim 3 (depends on 2)

The device of claim 2, wherein the margin of the CUT operating at the first operating speed is proportional to a margin of a target circuit operating at the first operating speed, the CUT is manufactured with a first process, the target circuit is manufactured with a second process, and the first process is equivalent to the second process.

### Claim 4 (depends on 2)

The device of claim 2, wherein the CUT includes a static random access memory (SRAM), the input signal includes a write address corresponding to an address of the SRAM, the predetermined operation is a data access operation, the calibration circuit requests the device to perform the calibration process again through a plurality of operations, and the plurality of operations include: requesting the signal generating circuit to generate the input signal; requesting the CUT to be reset; and requesting the comparison circuit to do comparison according to the predetermined operation timing.

### Claim 5 (depends on 4)

The device of claim 4, wherein the calibration circuit has the plurality of operations be performed simultaneously.

### Claim 6 (depends on 1)

The device of claim 1, wherein the detection process is a calibration process; the first delay amount is a predetermined delay amount; if the calibration circuit determines that the data included in the delayed to-be-tested signal is the same as the predetermined data according to the comparison result, the calibration circuit determines that the CUT passes the speed test, and thereby increases the second delay amount and requests the device to perform the calibration process again; and if the calibration circuit determines that the data included in the delayed to-be-tested signal is different from the predetermined data according to the comparison result, the calibration circuit determines that the CUT fails the speed test, and thereby determines that the second delay amount is a margin of the CUT operating at a second operating speed.

### Claim 7 (depends on 6)

The device of claim 6, wherein the margin of the CUT operating at the second operating speed is proportional to a margin of a target circuit operating at the second operating speed, the CUT is manufactured with a first process, the target circuit is manufactured with a second process, and the first process is equivalent to the second process.

### Claim 8 (depends on 6)

The device of claim 6, wherein the CUT includes a static random access memory (SRAM), the input signal includes a write address corresponding to an address of the SRAM, the predetermined operation is a data access operation, the calibration circuit requests the device to perform the calibration process again through a plurality of operations, and the plurality of operations include: requesting the signal generating circuit to generate the input signal;
requesting the CUT to be reset; and requesting the comparison circuit to do comparison according to the predetermined operation timing.

### Claim 9 (depends on 8)

The device of claim 8, wherein the calibration circuit has the plurality of operations be performed simultaneously.

### Claim 10 (depends on 1)

The device of claim 1, wherein the CUT includes an input pad and an output pad; the input pad and the output pad are coupled through an external circuit; the input pad receives the delayed input signal in the detection process and outputs the delayed input signal to the external circuit; the external circuit transmits the delayed input signal to provide an output; the output pad outputs the to-be-tested signal according to the output of the external circuit; and the predetermined operation is a signal transmission operation.

### Claim 11 (depends on 1)

The device of claim 1, wherein the CUT includes a digital-to-analog converter (DAC) and an analog-to-digital converter (ADC); the DAC converts the delayed input signal into an analog signal; the ADC converts the analog signal into the to-be-tested signal; and the predetermined operation is a signal conversion operation.

### Claim 12 (depends on 1)

The device of claim 1, wherein the detection process is a monitoring process; if the calibration circuit determines that data included in the delayed to-be-tested signal is the same as the predetermined data, the calibration circuit determines that the CUT passes the speed test and requests the device to perform the monitoring process again; and if the calibration circuit determines that the data included in the delayed to-be-tested signal is different from the predetermined data according to the comparison result, the calibration circuit determines that the CUT fails the speed test and the calibration circuit issues an alert.

### Claim 13

A device for detecting a margin of a circuit operating at a circuit operating speed, the device comprising:
a signal generating circuit configured to generate an input signal including predetermined data at a beginning of a detection process;
an adjustable delay circuit coupled to the signal generating circuit, and configured to delay the input signal by a first delay amount to generate a delayed input signal;
a circuit under test (CUT) coupled to the adjustable delay circuit, and configured to perform a predetermined operation after the beginning of the detection process to generate a to-be-tested signal according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation timing;
a comparison circuit coupled to the CUT, and configured to compare data included in the to-be-tested signal with the predetermined data according to the predetermined operation timing in the detection process and thereby generate a comparison result; and
a calibration circuit coupled to the comparison circuit, and configured to determine whether the CUT passes a speed test according to the comparison result in the detection process.

### Claim 14 (depends on 13)

The device of claim 13, wherein the detection process is a calibration process; if the calibration circuit determines that the data included in the to-be-tested signal is the same as the predetermined data according to the comparison result, the calibration circuit determines that the CUT passes the speed test, and thereby increases the first delay amount and requests the device to perform the calibration process again; and if the calibration circuit determines that the data included in the to-be-tested signal is different from the predetermined data according to the comparison result, the calibration circuit determines that the CUT fails the speed test, and thereby determines that the first delay amount is a margin of the CUT operating at an operating speed.

### Claim 15 (depends on 13)

The device of claim 13, wherein the detection process is a monitoring process; if the calibration circuit determines that data included in the to-be-tested signal is the same as the predetermined data, the calibration circuit determines that the CUT passes the speed test and requests the device to perform the monitoring process again; and if the calibration circuit determines that the data included in the to-be-tested signal is different from the predetermined data according to the comparison result, the calibration circuit determines that the CUT fails the speed test and the calibration circuit issues an alert.

### Claim 16 (depends on 13)

The device of claim 13, wherein the CUT includes one of the following:
a static random access memory (SRAM), wherein the input signal includes a write address corresponding to an address of the SRAM, and the predetermined operation is a data access operation;
a transmission interface including an input pad and an output pad, wherein the input pad and the output pad are coupled through an external circuit, the input pad receives the delayed input signal in the detection process and outputs the delayed input signal to the external circuit so that the output pad outputs the to-be-tested signal according to an output of the external circuit, and the predetermined operation is a signal transmission operation; and
a converter including a digital-to-analog converter (DAC) and an analog-to-digital converter (ADC), wherein the DAC converts the delayed input signal into an analog signal, the ADC converts the analog signal into the to-be-tested signal, and the predetermined operation is a signal conversion operation.

### Claim 17

A device for detecting a margin of a circuit operating at a circuit operating speed, the device comprising:
a signal generating circuit configured to generate an input signal including predetermined data at a beginning of a detection process;
a circuit under test (CUT) coupled to the signal generating circuit, and configured to perform a predetermined operation after the beginning of the detection process to generate a to-be-tested signal according to the input signal, wherein the predetermined operation is based on a predetermined operation timing;
an adjustable delay circuit coupled to the CUT, and configured to delay the to-be-tested signal by a second delay amount to generate a delayed to-be-tested signal;
a comparison circuit coupled to the adjustable delay circuit, and configured to compare data included in the delayed to-be-tested signal with the predetermined data according to the predetermined operation timing in the detection process and thereby generate a comparison result; and
a calibration circuit coupled to the comparison circuit, and configured to determine whether the CUT passes a speed test according to the comparison result in the detection process.

### Claim 18 (depends on 17)

The device of claim 17, wherein the detection process is a calibration process; if the calibration circuit determines that the data included in the delayed to-be-tested signal is the same as the predetermined data according to the comparison result, the calibration circuit determines that the CUT passes the speed test, and thereby increases the second delay amount and requests the device to perform the calibration process again; and if the calibration circuit determines that the data included in the delayed to-be-tested signal is different from the predetermined data according to the comparison result, the calibration circuit determines that the CUT fails the speed test, and thereby determines that the second delay amount is a margin of the CUT operating at an operating speed.

### Claim 19 (depends on 17)

The device of claim 17, wherein the detection process is a monitoring process; if the calibration circuit determines that data included in the delayed to-be-tested signal is the same as the predetermined data, the calibration circuit determines that the CUT passes the speed test and requests the device to perform the monitoring process again; and if the calibration circuit determines that the data included in the delayed to-be-tested signal is different from the predetermined data according to the comparison result, the calibration circuit determines that the CUT fails the speed test and the calibration circuit issues an alert.

### Claim 20 (depends on 17)

The device of claim 17, wherein the CUT includes one of the following:
a static random access memory (SRAM), wherein the input signal includes a write address corresponding to an address of the SRAM, and the predetermined operation is a data access operation;
a transmission interface including an input pad and an output pad, wherein the input pad and the output pad are coupled through an external circuit, the input pad receives the input signal in the detection process and outputs the input signal to the external circuit so that the output pad outputs the to-be-tested signal according to an output of the external circuit, and the predetermined operation is a signal transmission operation; and
a converter including a digital-to-analog converter (DAC) and an analog-to-digital converter (ADC), wherein the DAC converts the input signal into an analog signal, the ADC converts the analog signal into the to-be-tested signal, and the predetermined operation is a signal conversion operation.
