US 12,111,679 B2
Clock control device and related products
Heng Liu, Hefei (CN); Song Gao, Hefei (CN); and Yao Zhang, Hefei (CN)
Assigned to ANHUI CAMBRICON INFORMATION TECHNOLOGY CO., LTD., Hefei (CN)
Appl. No. 17/620,535
Filed by Anhui Cambricon Information Technology Co., Ltd., Hefei (CN)
PCT Filed Jan. 4, 2021, PCT No. PCT/CN2021/070148
§ 371(c)(1), (2) Date Oct. 3, 2022,
PCT Pub. No. WO2021/238227, PCT Pub. Date Dec. 2, 2021.
Claims priority of application No. 202010460009.6 (CN), filed on May 27, 2020.
Prior Publication US 2023/0067178 A1, Mar. 2, 2023
Int. Cl. G06F 1/06 (2006.01)
CPC G06F 1/06 (2013.01) 19 Claims
OG exemplary drawing
 
1. A device for clock control, being applied to a processor and comprising:
a voltage detecting unit configured to detect a supply voltage at a target position in the processor, and output a voltage-alarm signal when the supply voltage is lower than or equal to a preset first threshold; and
a clock stretching unit connected with the voltage detecting unit and configured to generate a second clock signal according to a first clock signal having a reference frequency in response to reception of the voltage-alarm signal, such that the processor uses the second clock signal to perform data processing, wherein
a frequency of the second clock signal is lower than the reference frequency,
wherein the voltage detecting unit includes a first detecting unit, wherein the first detecting unit includes:
a pulse generation circuit configured to receive an input of a fifth clock signal and output a pulse signal,
a delay circuit connected with the pulse generation circuit, and configured to receive an input of the pulse signal and output a delayed pulse signal, wherein a delay between the delayed pulse signal and the pulse signal is negatively correlated with the supply voltage at the target position, and
a voltage detecting and processing circuit connected with the delay circuit, and configured to determine the supply voltage at the target position according to the delayed pulse signal and the fifth clock signal and output a first voltage-alarm signal when the supply voltage is lower than or equal to the first threshold.