US 11,755,441 B2
Debugging unit and processor
Manzhou Wang, Hangzhou (CN); and Ruqin Zhang, Hangzhou (CN)
Assigned to Alibaba Group Holding Limited, Grand Cayman (KY)
Filed by Alibaba Group Holding Limited, Grand Cafyman (KY)
Filed on Sep. 4, 2020, as Appl. No. 17/13,221.
Claims priority of application No. 201910913771.2 (CN), filed on Sep. 25, 2019.
Prior Publication US 2021/0089419 A1, Mar. 25, 2021
Int. Cl. G06F 11/273 (2006.01); G06F 15/78 (2006.01); G06F 11/22 (2006.01); G06F 1/04 (2006.01); H03K 19/20 (2006.01)
CPC G06F 11/273 (2013.01) [G06F 1/04 (2013.01); G06F 11/2236 (2013.01); G06F 15/7807 (2013.01); H03K 19/20 (2013.01)] 22 Claims
OG exemplary drawing
 
18. A debugging unit, comprising:
a register, adapted to sample input data under control of a clock signal, wherein the register includes;
an input interface, adapted to receive the input data;
the enable interface, adapted to receive the control signal;
a clock interface, adapted to receive the clock signal; and
an output interface, adapted to output data;
wherein the register is adapted to;
in a validity period of the clock signal, if a clock enable signal and the enable signal of the register are both on high levels, sample the input data; or
in the validity period of the clock signal, if the clock enable signal and the enable signal of the register are not both on high levels, skip sampling the input data; and
a clock control unit, adapted to generate the control signal based on the clock enable signal to control the clock signal, so that the register is controlled to sample the input data in the validity period of the clock signal when the control signal is valid, wherein the clock control unit is coupled to an enable interface of the register, and further adapted to generate a control signal based on the clock enable signal and an enable signal of the register, and wherein the clock control unit includes a data selector, adapted to select, under control of the enable signal of the register, whether to output the clock enable signal to the enable interface of the register.