US 12,282,352 B2
Electronic device for performing clock management by using clock counters allocated at different power domains and associated method
I-Ping Huang, Hsinchu (TW); and Ching-An Chung, Miaoli County (TW)
Assigned to Airoha Technology Corp., Hsinchu (TW)
Filed by Airoha Technology Corp., Hsinchu (TW)
Filed on Apr. 26, 2023, as Appl. No. 18/139,939.
Prior Publication US 2024/0361798 A1, Oct. 31, 2024
Int. Cl. G06F 1/08 (2006.01)
CPC G06F 1/08 (2013.01) 12 Claims
OG exemplary drawing
 
1. An electronic device comprising:
a first circuit block, allocated in a first power domain, wherein the first circuit block comprises:
a first clock counter, arranged to generate a first counter value according to a first reference clock; and
an updating circuit, arranged to receive a second counter value, and update the first counter value according to the second counter value; and
a second circuit block, allocated in a second power domain, wherein the second circuit block comprises:
a second clock counter, arranged to generate the second counter value according to a second reference clock;
wherein the first power domain and the second power domain are controlled independently, and the updating circuit comprises:
a unit-time counter, arranged to generate a unit-time counter value by counting a unit time of the second reference clock according to the first reference clock, wherein a frequency of the first reference clock is higher than a frequency of the second reference clock; and
a calculation circuit, arranged to update the first counter value according to the second counter value and the unit-time counter value.