# US 2021/0278461 A1 · Digital circuit monitoring device

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

- Number: US 2021/0278461 A1
- Document ID: US20210278461A1
- Status: Published application
- Kind: A1
- Application number: 17/189,984
- Filed: 2021-03-02
- Published: 2021-09-09
- Earliest claimed: 2020-03-05
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMicroelectronics SA
- Inventors: Ricardo GOMEZ GOMEZ; Sylvain CLERC
- Web page: https://patentgrep.com/patent/US20210278461A1

## CPC

- G01R 31/31726: {Synchronization, e.g. of test, clock or strobe signals; Signals in different clock domains; Generation of Vernier signals; Comparison and adjustment of the signals}
- G11C 29/023: {in clock generator or timing circuitry}
- G01R 31/3016: {Delay or race condition test, e.g. race hazard test}
- G01R 31/3177: Testing of logic operation, e.g. by logic analysers
- G11C 29/028: {with adaption or trimming of parameters}
- H03K 3/0315: {Ring oscillators}
- G11C 7/222: {Clock generating, synchronizing or distributing circuits within memory device}
- G11C 2029/0409: {Online test}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- 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

A ring oscillator includes a chain of logic components. A storage element is associated with each logic component and configured to store a state of an output of the logic component to which the storage element is associated. A first circuit counts state transitions of an output of a given logic component of the chain. A second circuit synchronizes each storage with a clock signal. A third circuit determines a number of logic components crossed by a state transition between two edges of the clock signal. This determination is made based on the counted number of state transitions and on the stored states of the outputs.

## Claims

### Claim 1

A device, comprising:
a ring oscillator comprising a chain of logic components;
a first assembly of storage elements, wherein each storage element is associated with a different logic component of said chain and is configured to store a state of an output of said logic component to which said storage element is associated;
a first circuit configured to count a number of state transitions of an output of a given logic component of said chain;
a second circuit configured to synchronize each storing of the state with a clock signal; and
a third circuit configured to determine a number of logic components of said chain crossed by a state transition between two edges of the clock signal, wherein said determined number of logic components is based on the counted number of state transitions and on the stored states of said outputs from said first assembly;
wherein one of the logic components of said chain is configured to prevent a propagation of an oscillation in the oscillator in response to a control signal in a first state, and to allow the propagation of the oscillation in response to the control signal in a second state; and
wherein the second circuit is configured to generate said control signal and deliver the control signal in the second state between said two edges of the clock signal.

### Claim 2 (depends on 1)

The device according to claim 1, where said one of the logic components of said chain is said given logic component.

### Claim 3 (depends on 1)

The device according to claim 1, wherein the third circuit is further configured to determine a number of times when said state transition entirely runs through said chain between said two edges, wherein determination of the number of times is based on the counted number of state transitions.

### Claim 4 (depends on 1)

The device according to claim 1, wherein the third circuit is further configured to determine a position of said state transition in said chain during an edge of the clock signal, wherein determination of the position is based on states of said outputs stored during said edge.

### Claim 5 (depends on 4)

The device according to claim 4, wherein the third circuit is further configured to determine a number of times when said state transition entirely runs through said chain between said two edges, wherein determination of the number of times is based on the counted number of state transitions.

### Claim 6 (depends on 5)

The device according to claim 5, wherein the third circuit is further configured to determine the number of logic components crossed by said state transition between said two edges of the clock signal based on: the number of times when said transition runs through the entire oscillator between said two edges and the position of the transition in said chain during a last one of said two edges.

### Claim 7 (depends on 6)

The device according to claim 6, wherein the third circuit is configured to determine the number of logic components crossed by said state transition between said two edges of the clock signal further based on the position of the transition in said chain during a first one of said two edges.

### Claim 8 (depends on 1)

The device according to claim 1, wherein each logic component of said chain is associated with a storage element of said first assembly.

### Claim 9 (depends on 1)

The device according to claim 1, wherein the storage elements are latches.

### Claim 10 (depends on 9)

The device according to claim 9, wherein each of the latches has an input coupled to receive the output of the logic component to which said latch is associated.

### Claim 11 (depends on 10)

The device according to claim 10, wherein the first circuit comprises an input connected to an output of the latch having its input coupled to the output of said given logic component.

### Claim 12 (depends on 1)

The device according to claim 1, further comprising a second assembly of storage elements, wherein each storage element of the second assembly is associated with a different logic component of said chain and configured to store a state of the output of said logic component, said first assembly and said second assembly being configured so that each logic component associated with one storage element of said first assembly is further associated with one storage element of said second assembly.

### Claim 13 (depends on 12)

The device according to claim 12, wherein the second circuit is configured so that storage elements of said first assembly are in a transparent state when storage elements of said second assembly are in a latched state, and so that storage elements of said first assembly are in the latched state when storage elements of said second assembly are in the transparent state, the second circuit being configured so that the storage elements switch between the latched and transparent states at each changing of cycle of a succession of cycles of the clock signal.

### Claim 14 (depends on 1)

The device according to claim 1, wherein the first circuit is configured to count the transitions from a first state to a second state, and from the second state to the first state.

### Claim 15 (depends on 1)

The device according to claim 1, wherein the second circuit is configured to synchronize each storage with an active edge of the clock signal.

### Claim 16

A device, comprising:
a ring oscillator comprising a chain of logic components;
a first assembly of first storage elements, wherein each first storage element is associated with a different logic component of said chain and is configured to store a state of an output of said logic component to which said storage element is associated;
a second assembly of second storage elements, wherein each second storage element is associated with a different logic component of said chain and configured to store a state of the output of said logic component, said first assembly and said second assembly being configured so that each logic component associated with one first storage element of said first assembly is further associated with one second storage element of said second assembly;
a first circuit configured to count a number of state transitions of a logical combination of outputs of at least two logic components of said chain;
a second circuit configured to synchronize each storing of the state with a clock signal; and
a third circuit configured to determine a number of logic components of said chain crossed by a state transition between two edges of the clock signal, wherein said determined number of logic components is based on the counted number of state transitions and on the stored states of said outputs in the first and second assemblies.

### Claim 17 (depends on 16)

The device according to claim 16, wherein the third circuit is further configured to determine a number of times when said state transition entirely runs through said chain between said two edges, wherein determination of the number of times is based on the counted number of state transitions.

### Claim 18 (depends on 16)

The device according to claim 16, wherein the third circuit is further configured to determine a position of said state transition in said chain during an edge of the clock signal, wherein determination of the position is based on states of said outputs stored during said edge.

### Claim 19 (depends on 18)

The device according to claim 18, wherein the third circuit is further configured to determine a number of times when said state transition entirely runs through said chain between said two edges, wherein determination of the number of times is based on the counted number of state transitions.

### Claim 20 (depends on 19)

The device according to claim 19, wherein the third circuit is further configured to determine the number of logic components crossed by said state transition between said two edges of the clock signal based on: the number of times when said transition runs through the entire oscillator between said two edges and the position of the transition in said chain during a last one of said two edges.

### Claim 21 (depends on 20)

The device according to claim 20, wherein the third circuit is configured to determine the number of logic components crossed by said state transition between said two edges of the clock signal further based on the position of the transition in said chain during a first one of said two edges.

### Claim 22 (depends on 16)

The device according to claim 16, wherein each logic component of said chain is associated with a storage element of said first assembly.

### Claim 23 (depends on 16)

The device according to claim 16, wherein the storage elements are latches.

### Claim 24 (depends on 23)

The device according to claim 23, wherein each of the latches has an input coupled to receive the output of the logic component to which said latch is associated.

### Claim 25 (depends on 24)

The device according to claim 24, wherein the first circuit comprises an input connected to an output of the latch having its input coupled to the output of said given logic component.

### Claim 26 (depends on 16)

The device according to claim 16, wherein the second circuit is configured so that storage elements of said first assembly are in a transparent state when storage elements of said second assembly are in a latched state, and so that storage elements of said first assembly are in the latched state when storage elements of said second assembly are in the transparent state, the second circuit being configured so that the storage elements switch between the latched and transparent states at each changing of cycle of a succession of cycles of the clock signal.

### Claim 27 (depends on 16)

The device according to claim 16, wherein the first circuit is configured to count the transitions from a first state to a second state, and from the second state to the first state.

### Claim 28 (depends on 16)

The device according to claim 16, wherein the second circuit is configured to synchronize each storage with an active edge of the clock signal.

### Claim 29 (depends on 16)

The device according to claim 16, wherein one of the logic components of said chain is configured to prevent a propagation of an oscillation in the oscillator in response to a control signal in a first state, and to allow the propagation of the oscillation in response to the control signal in a second state, and wherein the second circuit is configured to generate said control signal and deliver the control signal in the second state between said two edges.

### Claim 30 (depends on 30)

The device according to claim 30, where said one of the logic components of said chain is said given logic component.
