# US 2024/0178849 A1 · Method and Apparatus for Controlling Clock Cycle Time

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

- Number: US 2024/0178849 A1
- Document ID: US20240178849A1
- Status: Published application
- Kind: A1
- Application number: 18/434,225
- Filed: 2024-02-06
- Published: 2024-05-30
- Earliest claimed: 2020-02-11
- Assignees: Marvell Asia Pte Ltd
- Applicants: Marvell Asia Pte., Ltd.
- Inventors: Eitan Rosen; Oded Norman
- Web page: https://patentgrep.com/patent/US20240178849A1

## CPC

- H03L 7/16: Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
- H03K 3/0315: {Ring oscillators}
- H03K 5/13: Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
- H03L 5/00: Automatic control of voltage, current, or power
- H03L 7/0995: {the oscillator comprising a ring oscillator}
- H03L 7/0996: {Selecting a signal among the plurality of phase-shifted signals produced by the ring oscillator}
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)
- 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 circuit and corresponding method control cycle time of an output clock used to clock at least one other circuit. The circuit comprises an agile ring oscillator (ARO) and ARO controller. The ARO includes at least one instance of a first ring oscillator (RO) and second RO that generate high and low phases, respectively, of cycles of the output clock. The ARO controller controls durations of the high and low phases, independently, via first and second control words output to the ARO, respectively. In a present cycle of the output clock, the ARO controller effects a change to the high or low phase, or a combination thereof, in a next cycle of the output clock by updating the first or second control word, or a combination thereof, based on an indication of expected usage of the at least one other circuit in the next cycle. The change improves a performance-to-power ratio of the at least one other circuit.

## Claims

### Claim 1

A circuit comprising:
an agile ring oscillator (ARO) configured to generate high and low phases of cycles of an output clock; and
an ARO controller configured to control durations of the high and low phases of the output clock, independently, via first and second outputs to the ARO, respectively.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the ARO controller is further configured to:
in a present cycle of the output clock, effect a change to the high or low phase, or a combination thereof, in a next cycle of the output clock by updating the first output or the second output, or a combination thereof, based on an indication of expected activity or inactivity of at least one other circuit expected in the next cycle.

### Claim 3 (depends on 2)

The circuit of claim 2, wherein the circuit further includes an instruction decoder and wherein the instruction decoder is configured to identify instructions to be executed by at least one other circuit and wherein the indication represents whether the at least one other circuit will be executing at least one instruction in the next cycle.

### Claim 4 (depends on 1)

The circuit of claim 1, wherein:
the ARO includes a first ring oscillator (RO) and a second RO;
the ARO controller is further configured to, in a present cycle of the output clock, effect a change to the high or low phase, or a combination thereof, in a next cycle of the output clock based on an indication of expected usage of at least one other circuit in the next cycle; and
the output clock is associated with a target frequency, wherein, in an event the indication indicates that the at least one other circuit is expected to be active in the next cycle, the change causes a frequency of the output clock to be lower or higher than the target frequency by altering a period of the output clock in the next cycle by changing a respective target count of signal inversions of a respective signal propagated in the first RO, second RO, or a combination thereof.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein the ARO controller is further configured to:
maintain first and second calibration controls for updating the first and second outputs, respectively, to cause the output clock to be generated with a target frequency; and
maintain first and second slower controls for configuring the first and second outputs, respectively, to cause the output clock to be generated with a slower frequency that is slower relative to the target frequency.

### Claim 6 (depends on 5)

The circuit of claim 5, wherein the ARO controller is further configured to relax timing, in a next cycle, by updating, in a present cycle, the first and second outputs to represent the first and second slower controls, respectively, causing a cycle time of the output clock to increase in the next cycle.

### Claim 7 (depends on 5)

The circuit of claim 5, wherein, in an event an indication of expected usage of at least one other circuit in a next cycle changes state in a present cycle and the first and second outputs are configured, in the present cycle, to represent the first and second calibration controls, respectively, the ARO controller is further configured to update the first and second outputs to represent the first and second slower controls, respectively.

### Claim 8 (depends on 5)

The circuit of claim 5, wherein, in an event an indication of expected usage of at least one other circuit in a next cycle changes state in a present cycle and the first and second outputs are, presently, configured to represent the first and second slower controls, respectively, the ARO controller is further configured to update the first and second outputs, in the present cycle, to represent the first and second calibration controls, respectively.

### Claim 9 (depends on 5)

The circuit of claim 5, wherein, the ARO controller is further configured to:
adjust the first and second calibration controls based on a calibration cycle; and
update the first and second outputs to represent the first and second calibration controls, respectively, in response to such adjustment and based on an indication of expected usage of at least one other circuit.

### Claim 10 (depends on 9)

The circuit of claim 9, wherein:
the ARO controller includes a calibration counter;
the ARO controller is further configured to reset and reload the calibration counter with a target reference count at a start of the calibration cycle;
the target reference count is based on the target frequency and a time window between the start of the calibration cycle and an end of the calibration cycle;
the calibration counter is configured to be triggered by the output clock; and
the first and second calibration controls are adjusted based on a value of the calibration counter at the end of the calibration cycle.

### Claim 11 (depends on 5)

The circuit of claim 5, wherein the slower frequency represents a slowest frequency for a voltage below which at least one other circuit is unable to perform its intended function at the voltage.

### Claim 12 (depends on 1)

The circuit of claim 1, wherein the ARO includes a first RO and a second RO and wherein:
the first RO is used to reset and enable the second RO;
the second RO is used to reset and enable the first RO;
the first RO includes a first plurality of inverting gates formed in a first ring;
the first RO is coupled to a first multiplexer;
the first multiplexer is coupled to a first counter configured to generate a first done signal;
the first RO, first multiplexer, and first counter, in combination, are configured to count a first target number of inversions propagated along the first plurality of inverting gates, the first multiplexer configured to select a given first inverting gate of the plurality of first inverting gates based on a first control, the given first inverting gate selected to trigger the first counter;
the second RO includes a second plurality of inverting gates formed in a second ring;
the second RO is coupled to a second multiplexer;
the second multiplexer is coupled to a second counter configured to generate a second done signal;
the second RO, second multiplexer, and second counter are configured, in combination, to count a second target number of inversions propagated along the second plurality of inverting gates, the second multiplexer configured to select a given second inverting gate of the plurality of second inverting gates based on a second control, the second inverting gate selected to trigger the second counter.

### Claim 13 (depends on 12)

The circuit of claim 12, wherein the circuit is configured to:
employ the first done signal to reset the second RO and cause the second counter to be reset and re-loaded with the second target number; and
employ the second done signal to reset the first RO and cause the first counter to be reset and re-loaded with the first target number, the first and second target numbers configured based on a target frequency for at least one other circuit.

### Claim 14 (depends on 12)

The circuit of claim 12, further comprising a clock output circuit configured to output the output clock based on the first and second done signals.

### Claim 15 (depends on 1)

The circuit of claim 1, wherein the output clock is used to clock at least one other circuit and wherein the at least one other circuit has a single clock domain.

### Claim 16 (depends on 1)

The circuit of claim 1, wherein the ARO includes a first RO and a second RO, wherein the first RO and second RO are a first instance of the first RO and second RO and, wherein the circuit further comprises a second instance of the first RO and second RO, and wherein the first and second instances have different voltage scaling characteristics.

### Claim 17 (depends on 16)

The circuit of claim 16, wherein the output clock is output to at least one other circuit and sourced by the ARO, wherein the first instance is associated with a first voltage scaling characteristic, wherein the second instance is associated with a second voltage scaling characteristic, and wherein the circuit further includes:
a first shadow ARO, the first shadow ARO replicating the ARO; and
a second shadow ARO, the second shadow ARO replicating the ARO,
wherein the first instance that is associated with the first voltage scaling characteristic and replicated in the first shadow ARO is disabled in the first shadow ARO, and wherein the second instance that is associated with the second voltage scaling characteristic and replicated in the second shadow ARO is disabled in the second shadow ARO.

### Claim 18 (depends on 17)

The circuit of claim 17, wherein the ARO controller is further configured to:
employ the first shadow ARO to calibrate respective controls sent to the ARO for controlling inversion delay in the first instance for achieving a target frequency;
employ the second shadow ARO to calibrate respective controls sent to the ARO for controlling inversion delay in the second instance for achieving the target frequency;
employ a first pair of counters associated with the first shadow ARO and to employ a second pair of counters associated with the second shadow ARO; and
toggle between use of the first shadow ARO and the second shadow ARO on a calibration-window-by-calibration window basis.

### Claim 19

A method comprising:
generating high and low phases, respectively, of cycles of an output clock from a circuit, the generating employing an agile ring oscillator (ARO);
controlling durations of the high and low phases of the output clock, independently, via first and second outputs to the ARO, respectively; and
outputting the output clock generated.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
in a present cycle of the output clock, effecting a change to the high or low phase, or a combination thereof, in a next cycle of the output clock by updating the first output or the second output, or a combination thereof, based on an indication of expected activity or inactivity of at least one other circuit expected in the next cycle.

### Claim 21 (depends on 19)

The method of claim 19, wherein the ARO includes a first ring oscillator (RO) and a second RO, and wherein the method further comprises:
in a present cycle of the output clock, effecting a change to the high or low phase, or a combination thereof, in a next cycle of the output clock, based on an indication of expected usage of at least one other circuit in the next cycle, wherein the output clock is associated with a target frequency,
wherein, in an event the indication indicates that the at least one other circuit is expected to be active in the next cycle, the change causes a frequency of the output clock to be lower or higher than the target frequency by altering a period of the output clock in the next cycle by changing a respective target count of signal inversions of a respective signal propagated in the first RO, second RO, or a combination thereof.

### Claim 22 (depends on 19)

The method of claim 19, further comprising:
maintaining first and second calibration controls for updating the first and second outputs, respectively, to cause the output clock to be generated with a target frequency; and
maintaining first and second slower controls for configuring the first and second outputs, respectively, to cause the output clock to be generated with a slower frequency that is slower relative to the target frequency.

### Claim 23 (depends on 22)

The method of claim 22, further comprising relaxing timing, in a next cycle, by updating, in a present cycle, the first and second outputs to represent the first and second slower controls, respectively, causing a cycle time of the output clock to increase in the next cycle.

### Claim 24 (depends on 23)

The method of claim 23, wherein, in an event an indication of expected usage of at least one other circuit in a next cycle changes state in the present cycle and the first and second outputs are configured, in the present cycle, to represent the first and second calibration controls, respectively, the updating includes updating the first and second outputs to represent the first and second slower controls, respectively.

### Claim 25 (depends on 24)

The method of claim 24, wherein, in an event an indication of expected usage of at least one other circuit in a next cycle changes state in a present cycle and the first and second outputs are, presently, configured to represent the first and second slower controls, respectively, the updating includes updating the first and second outputs, in the present cycle, to represent the first and second calibration controls, respectively.

### Claim 26 (depends on 22)

The method of claim 22, further comprising:
adjusting the first and second calibration controls based on a calibration cycle; and
updating the first and second outputs to represent the first and second calibration controls, respectively, in response to the adjusting and based on the indication.

### Claim 27 (depends on 26)

The method of claim 26, further comprising:
resetting and reloading a calibration counter with a target reference count at a start of the calibration cycle;
setting the target reference count based on the target frequency and a time window between the start of the calibration cycle and an end of the calibration cycle;
triggering the calibration counter via the output clock; and
adjusting the first and second calibration controls based on a value of the calibration counter at the end of the calibration cycle.

### Claim 28 (depends on 22)

The method of claim 22, wherein the slower frequency represents a slowest frequency for a voltage below which at least one other circuit is unable to perform its intended function at the voltage.

### Claim 29 (depends on 19)

The method of claim 19, wherein the ARO includes a first RO and a second RO and wherein the method further comprises:
using the first RO to reset and enable the second RO;
using the second RO to reset and enable the first RO;
counting, by a first counter, a first target number of inversions propagated along a first plurality of inverting gates, the first RO including the first plurality of inverting gates formed in a first ring;
selecting, by a first multiplexer coupled to the first RO, a given first inverting gate of the plurality of first inverting gates based on the first output;
triggering the first counter via an output of the given first inverting gate, the first counter coupled to the first multiplexer;
counting, by a second counter, a second target number of inversions propagated along a second plurality of inverting gates, the second RO including the second plurality of inverting gates formed in a second ring;
selecting, by a second multiplexer coupled to the second RO, a given second inverting gate of the plurality of second inverting gates based on the second output; and
triggering the second counter via an output of the given second inverting gate, the second counter coupled to the second multiplexer.

### Claim 30 (depends on 29)

The method of claim 29, further comprising:
generating a first done signal and a second done signal by the first and second counters, respectively;
employing the first done signal to reset the second RO, reset the second counter, and re-load the second counter with the second target number;
employing the second done signal to reset the first RO, reset the first counter, and re-load the first counter with the first target number; and
setting the first and second target numbers based on a target frequency for at least one other circuit.

### Claim 31 (depends on 30)

The method of claim 30, further comprising generating the output clock based on the first and second done signals.

### Claim 32 (depends on 19)

The method of claim 19, wherein the ARO includes a first RO and a second RO, wherein the first RO and second RO are a first instance of the first RO and second RO and, wherein the method further comprises employing a second instance of the first RO and second RO, and wherein the first and second instances have different voltage scaling characteristics.

### Claim 33 (depends on 32)

The method of claim 32, wherein the first instance is associated with a first voltage scaling characteristic, wherein the second instance is associated with a second voltage scaling characteristic, wherein the ARO is replicated in a first shadow ARO and in a second shadow ARO, and wherein the method further includes:
sourcing the output clock to at least one other circuit by the ARO;
disabling the first instance associated with the first voltage scaling characteristic and replicated in the first shadow ARO; and
disabling the second instance associated with the second voltage scaling characteristic and replicated in the second shadow ARO.

### Claim 34 (depends on 33)

The method of claim 33, wherein the method further comprises:
employing the first shadow ARO to calibrate respective controls sent to the ARO for controlling inversion delay in the first instance for achieving a target frequency;
employing the second shadow ARO to calibrate respective controls sent to the ARO for controlling inversion delay in the second instance for achieving the target frequency;
employing a first pair of counters associated with the first shadow ARO and a second pair of counters associated with the second shadow ARO; and
toggling between use of the first shadow ARO and the second shadow ARO on a calibration-window-by-calibration window basis.

### Claim 35

An apparatus comprising:
means for generating high and low phases of cycles of an output clock;
means for controlling durations of the high and low phases, independently, via first and second outputs, respectively; and
means for outputting the output clock.
