US 12,217,820 B2
Counter circuit
Yinchuan Gu, Hefei (CN)
Assigned to CHANGXIN MEMORY TECHNOLOGIES, INC., Hefei (CN)
Filed by CHANGXIN MEMORY TECHNOLOGIES, INC., Hefei (CN)
Filed on Jan. 18, 2023, as Appl. No. 18/155,900.
Application 18/155,900 is a continuation of application No. PCT/CN2022/096073, filed on May 30, 2022.
Claims priority of application No. 202210562822.3 (CN), filed on May 23, 2022.
Prior Publication US 2023/0377615 A1, Nov. 23, 2023
Int. Cl. G11C 7/10 (2006.01); G11C 7/22 (2006.01); H03K 19/20 (2006.01)
CPC G11C 7/1063 (2013.01) [G11C 7/106 (2013.01); G11C 7/222 (2013.01); H03K 19/20 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A counter circuit, comprising: an addition circuit, a subtraction circuit and a plurality of control circuits, wherein:
the addition circuit comprises multiple stages of counting circuits corresponding to binary bits, and each stage of counting circuit is configured to: obtain a carry signal and a this-time bit value according to an addend signal and a bit value that is currently output by the stage of counting circuit, output the carry signal to a next-stage counting circuit, latch the this-time bit value in response to a first clock, and output the this-time bit value to an output terminal of the stage of counting circuit in response to a second clock, wherein an addend signal of a start-stage counting circuit is a high-level signal, and an addend signal of a non-start-stage counting circuit is a carry signal output by an immediately previous stage of counting circuit;
the subtraction circuit is connected to the multiple stages of counting circuits and is configured to: obtain a present subtraction counting result by calculating according to a present addition counting result and a subtrahend signal, and output the present subtraction counting result in response to a first refresh instruction, wherein the present addition counting result is a multi-bit signal composed of this-time bit values output by the multiple stages of counting circuits, and the present subtraction counting result comprises a multi-bit signal; and
each of the plurality of control circuits corresponds to a respective one of the multiple stages of counting circuits, is connected to the respective one of the multiple stages of counting circuits and the subtraction circuit, and is configured to output, in response to a second refresh instruction, a corresponding bit of the present subtraction counting result to the respective one of the multiple stages of counting circuits to serve as the bit value output by the respective one of the multiple stages of counting circuits, wherein an output of the counter circuit is composed by bit values output by the multiple stages of counting circuits, the output is a binary representation of a counting result, the first clock and the second clock are obtained based on division of a system clock, and the first refresh instruction and the second refresh instruction are obtained based on division of a refresh instruction.