# US 2019/0196563 A1 · Cost-Effective Clock Structure For Digital Systems And Methods Thereof

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

- Number: US 2019/0196563 A1
- Document ID: US20190196563A1
- Status: Published application
- Kind: A1
- Application number: 15/852,185
- Filed: 2017-12-22
- Published: 2019-06-27
- Earliest claimed: 2017-12-22
- Assignees: Mediatek Inc.
- Applicants: MediaTek Inc.
- Inventors: Ming-Shiang Lai
- Web page: https://patentgrep.com/patent/US20190196563A1

## CPC

- G06F 1/324: by lowering clock frequency
- G06F 1/3287: by switching off individual functional units in the computer system
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Examples pertaining to a cost-effective clock structure in a digital system are described. When in a low-power mode, a digital circuit operates at a first clock rate, and a counter of a non-stop system timer is incremented using a first clock having the first clock rate. When in a normal mode, the digital circuit operates at a second clock rate greater than the first clock rate, and values of the second clock signal of the second clock between adjacent edges of the first clock signal of the first clock are interpolated using a second clock having the second clock rate. The first clock remains running in both the low-power mode and the normal mode. The second clock is powered down in the low-power mode.

## Claims

### Claim 1

A method, comprising:
determining whether to operate a digital circuit in a low-power mode or a normal mode;
responsive to a determination to operate the digital circuit in the low-power mode, operating the digital circuit at a first clock rate; and
responsive to a determination to operate the digital circuit in the normal mode, operating the digital circuit at a second clock rate greater than the first clock rate,
wherein the operating of the digital circuit at the first clock rate comprises incrementing a first counter of a non-stop system timer using a first clock having the first clock rate,
wherein the operating of the digital circuit at the second clock rate comprises interpolating, using a second clock having the second clock rate, values of a second clock signal of the second clock between adjacent edges of a first clock signal of the first clock,
wherein the first clock remains running in both the low-power mode and the normal mode, and
wherein the second clock is powered down in the low-power mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein the incrementing of the first counter of the non-stop system timer using the first clock having the first clock rate comprises:
incrementing a value of the first counter by an integer at the first clock rate; and
outputting the value of the first counter as a value of the non-stop system timer.

### Claim 3 (depends on 2)

The method of claim 2, wherein the incrementing of the value of the first counter by the integer comprises incrementing the value of the first counter by a varying integer.

### Claim 4 (depends on 3)

The method of claim 3, wherein the incrementing of the value of the first counter by the varying integer comprises alternating a value of the varying integer between a first integer and a second integer such that over a period of time the value of the first counter is incremented by a rational number having a value between the first integer and the second integer.

### Claim 5 (depends on 4)

The method of claim 4, wherein the period of time is defined by an accumulated count of clock cycles of the first clock, and wherein the accumulated count is reset when the accumulated count reaches a predefined count.

### Claim 6 (depends on 5)

The method of claim 5, wherein the alternating of the value of the varying integer between the first integer and the second integer comprises:
setting the value of the varying integer to the first integer when the accumulated count of clock cycles of the first clock is an even number or one of a plurality of predefined numbers; and
setting the value of the varying integer to the second integer when the accumulated count of clock cycles of the first clock is an odd number and not any of the plurality of predefined numbers.

### Claim 7 (depends on 2)

The method of claim 2, wherein the interpolating of the values of the second clock signal of the second clock between adjacent edges of the first clock signal of the first clock comprises:
incrementing a value of a second counter by an integer at the second clock rate; and
outputting the value of the second counter.

### Claim 8 (depends on 7)

The method of claim 7, wherein the value of the second counter is reset to zero at the first clock rate.

### Claim 9 (depends on 7)

The method of claim 7, wherein the interpolating of the values of the second clock signal of the second clock between adjacent edges of the first clock signal of the first clock further comprises:
incrementing a value of an adder by the outputted value of the second counter at the second clock rate; and
outputting the value of the adder as a value of the non-stop system timer.

### Claim 10 (depends on 9)

The method of claim 9, wherein the interpolating of the values of the second clock signal of the second clock between adjacent edges of the first clock signal of the first clock further comprises:
latching the outputted value of the first counter at the first clock rate,
wherein the incrementing of the value of the adder by the outputted value of the second counter at the second clock rate comprises incrementing the value of the adder with the outputted value of the first counter from the latching as a starting value of the adder.

### Claim 11

An apparatus, comprising:
a non-stop system timer comprising a first counter, the non-stop system timer capable of outputting a system timer clock signal based on either a first clock having a first clock rate or a second clock having a second clock rate greater than the first clock rate;
a digital circuit capable to perform digital operations according to the system timer clock signal;
a central processing unit (CPU) capable of controlling the non-stop system timer and the digital circuit to operate either in a low-power mode at the first clock rate or in a normal mode at the second clock rate,
wherein, when in the low-power mode, the non-stop system timer increments the first counter using the first clock,
wherein, when in the normal mode, the non-stop system timer interpolates, using a second clock having the second clock rate, values of a second clock signal of the second clock between adjacent edges of a first clock signal of the first clock,
wherein the first clock remains running in both the low-power mode and the normal mode, and
wherein the second clock is powered down in the low-power mode.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein, in incrementing the first counter of the non-stop system timer using the first clock, the non-stop system timer performs operations comprising:
incrementing a value of the first counter by an integer at the first clock rate; and
outputting the value of the first counter as a value of the non-stop system timer.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein, in incrementing the value of the first counter by the integer, the non-stop system timer increments the value of the first counter by a varying integer.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein, in incrementing the value of the first counter by the varying integer, the non-stop system timer alternates a value of the varying integer between a first integer and a second integer such that over a period of time the value of the first counter is incremented by a rational number having a value between the first integer and the second integer.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the period of time is defined by an accumulated count of clock cycles of the first clock, and wherein the accumulated count is reset when the accumulated count reaches a predefined count.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein, in alternating the value of the varying integer between the first integer and the second integer, the non-stop system timer performs operations comprising:
setting the value of the varying integer to the first integer when the accumulated count of clock cycles of the first clock is an even number or one of a plurality of predefined numbers; and
setting the value of the varying integer to the second integer when the accumulated count of clock cycles of the first clock is an odd number and not any of the plurality of predefined numbers.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein the non-stop system timer further comprises a second counter, and wherein, in interpolating the values of the second clock signal of the second clock between adjacent edges of the first clock signal of the first clock, the non-stop system timer performs operations comprising:
incrementing a value of the second counter by an integer at the second clock rate; and
outputting the value of the second counter.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the value of the second counter is reset to zero at the first clock rate.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the non-stop system timer further comprises an adder, and wherein, in interpolating the values of the second clock signal of the second clock between adjacent edges of the first clock signal of the first clock, the non-stop system timer performs operations comprising:
incrementing a value of the adder by the outputted value of the second counter at the second clock rate; and
outputting the value of the adder as a value of the non-stop system timer.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein, in interpolating the values of the second clock signal of the second clock between adjacent edges of the first clock signal of the first clock, the non-stop system timer latches the outputted value of the first counter at the first clock rate, and wherein, in incrementing the value of the adder by the outputted value of the second counter at the second clock rate, the non-stop system timer increments the value of the adder with the outputted value of the first counter from the latching as a starting value of the adder.
