# US 12,488,826 B2 · Counting control circuit , method for counting control circuit and semiconductor memory with counting control circuit

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

- Number: US 12,488,826 B2
- Document ID: US12488826B2
- Status: Granted
- Kind: B2
- Application number: 18/452,518
- Filed: 2023-08-18
- Published: 2024-04-11
- Granted: 2025-12-02
- Earliest claimed: 2022-10-08
- Assignees: Changxin Memory Technologies, Inc.
- Applicants: Changxin Memory Technologies, Inc.
- Inventors: Zequn Huang; Kai Sun
- Web page: https://patentgrep.com/patent/US12488826B2

## CPC

- G11C 11/40615: {Internal triggering or timing of refresh, e.g. hidden refresh, self refresh, pseudo-SRAMs}
- G11C 7/02: with means for avoiding parasitic signals
- G11C 7/222: {Clock generating, synchronizing or distributing circuits within memory device}
- G11C 11/4063: Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
- G11C 11/4072: Circuits for initialization, powering up or down, clearing memory or presetting
- G11C 11/4076: Timing circuits (for regeneration management G11C11/406)
- G11C 29/12: Built-in arrangements for testing, e.g. built-in self testing [BIST] {or interconnection details}
- H03K 23/002: {using semiconductor devices (H03K23/78, H03K23/80, H03K23/84 take precedence)}
- G11C 11/40611: {External triggering or timing of internal or partially internal refresh operations, e.g. auto-refresh or CAS-before-RAS triggered refresh}
- G11C 2029/0409: {Online test}
- G11C 2029/0411: {Online error correction}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A counting control circuit includes a logic control circuit and a counting statistic circuit, an output terminal of the logic control circuit is connected to a clock terminal of the counting statistic circuit. The logic control circuit is configured to receive a first clock signal and a first identification signal, and generate a counting clock signal according to the first clock signal under a control of the first identification signal. The counting statistic circuit is configured to receive the counting clock signal, count according to the counting clock signal, and generate the first identification signal which indicates a generation of a command signal for performing a first operation, here, the first identification signal is in a valid state when a counting value meets a preset condition.

## Claims

### Claim 1

A counting control circuit, comprising a logic control circuit and a counting statistic circuit, an output terminal of the logic control circuit connected to a clock terminal of the counting statistic circuit,
wherein the logic control circuit is configured to receive a first clock signal and a first identification signal, and generate a counting clock signal according to the first clock signal under a control of the first identification signal, and
the counting statistic circuit is configured to receive the counting clock signal, count according to the counting clock signal, and generate the first identification signal, wherein the first identification signal indicates a generation of a command signal for performing a first operation, and the first identification signal is in a valid state under a condition that a counting value meets a preset condition;
wherein the logic control circuit comprises:
a first driving circuit, configured to perform driving on the first clock signal, to obtain a first intermediate signal; and
a first logic circuit, configured to perform a logical operation on the first intermediate signal and the first identification signal, to obtain the counting clock signal;
wherein the first logic circuit comprises:
a first delay inverting circuit, configured to delay and invert the first identification signal, to obtain a second intermediate signal;
a first NAND gate, configured to perform a NAND logical operation on the first intermediate signal and the second intermediate signal, to obtain a third intermediate signal; and
a second NOT gate, configured to perform a NOT logical operation on the third intermediate signal, to obtain the counting clock signal.

### Claim 2 (depends on 1)

The counting control circuit of claim 1, wherein
the logic control circuit is configured to: under a condition that the first identification signal is in an invalid state, generate the counting clock signal according to the first clock signal, and make the counting statistic circuit to count the counting clock signal; or under a condition that the first identification signal is in the valid state, shield the first clock signal to prevent a generation of the counting clock signal and make the counting statistic circuit to stop counting.

### Claim 3 (depends on 1)

The counting control circuit of claim 1, wherein the first driving circuit comprises an even number of cascaded first NOT gates.

### Claim 4 (depends on 1)

The counting control circuit of claim 1, wherein the first delay inverting circuit comprises an odd number of cascaded third NOT gates.

### Claim 5 (depends on 1)

The counting control circuit of claim 1, wherein the counting statistic circuit is further configured to:
receive a counting reset signal, reset the count according to the counting reset signal, and put the first identification signal in an invalid state.

### Claim 6 (depends on 5)

The counting control circuit of claim 5, further comprising:
a reset logic circuit, configured to receive a first command signal and an external reset signal, perform a logical operation on the first command signal and the external reset signal, and generate the counting reset signal to be transmitted to the counting statistic circuit, wherein the first identification signal indicates a generation of the first command signal under the condition that the first identification signal is in the valid state.

### Claim 7 (depends on 6)

The counting control circuit of claim 6, wherein the reset logic circuit comprises a first OR gate, and
a first input terminal of the first OR gate is configured to receive the external reset signal, a second input terminal of the first OR gate is configured to receive the first command signal, and an output terminal of the first OR gate is configured to output the counting reset signal.

### Claim 8 (depends on 1)

The counting control circuit of claim 1, wherein the counting statistic circuit comprises a counting circuit and a decoding circuit, an output terminal of the counting circuit is connected to an input terminal of the decoding circuit,
the counting circuit is configured to receive the counting clock signal, count according to the counting clock signal, and generate a counting signal used for characterizing the counting value,
the decoding circuit is configured to receive the counting signal, decode the counting signal, and generate the first identification signal, wherein the first identification signal is in the valid state under the condition that the counting value meets the preset condition.

### Claim 9 (depends on 8)

The counting control circuit of claim 8, wherein the counting circuit comprises a synchronous binary counter, the synchronous binary counter comprises a plurality of counting sub-circuits cascaded sequentially, each of the plurality of counting sub-circuits comprises a flip-flop, and a clock terminal of each flip-flop is configured to receive the counting clock signal,
the plurality of counting sub-circuits are configured to receive the counting clock signal, perform clock sampling through flip-flops respectively comprised in the plurality of counting sub-circuits, and output the counting signal,
the counting signal comprises a plurality of bits, and there exists one-to-one correspondences between the plurality of counting sub-circuits and the plurality of bits comprised in the counting signal.

### Claim 10 (depends on 9)

The counting control circuit of claim 9, wherein among the plurality of counting sub-circuits:
a first counting sub-circuit comprises a first flip-flop, an input terminal of the first flip-flop is connected to a second output terminal of the first flip-flop, a clock terminal of the first flip-flop is configured to receive the counting clock signal, and a first output terminal of the first flip-flop is configured to output a first counting signal, and the first counting signal is a 0-th bit in the counting signal;
a second counting sub-circuit comprises a second flip-flop and a second XOR gate, a first input terminal of the second XOR gate is connected to the first output terminal of the first flip-flop, a second input terminal of the second XOR gate is connected to a first output terminal of the second flip-flop, an output terminal of the second XOR gate is connected to an input terminal of the second flip-flop, a clock terminal of the second flip-flop is configured to receive the counting clock signal, and the first output terminal of the second flip-flop is configured to output a second counting signal, and the second counting signal is a first bit in the counting signal; and
an i-th counting sub-circuit comprises an i-th flip-flop, an i-th NAND gate, an i-th NOT gate and an i-th XOR gate, a first input terminal of the i-th NAND gate is connected to a first output terminal of a (i−1)-th flip-flop, a second input terminal of the i-th NAND gate is connected to a first input terminal of a (i−1)-th XOR gate, an output terminal of the i-th NAND gate is connected to an input terminal of the i-th NOT gate, an output terminal of the i-th NOT gate is connected to a first input terminal of the i-th XOR gate, a second input terminal of the i-th XOR gate is connected to a first output terminal of the i-th flip-flop, an output terminal of the i-th XOR gate is connected to an input terminal of the i-th flip-flop, a clock terminal of the i-th flip-flop is configured to receive the counting clock signal, and the first output terminal of the i-th flip-flop is configured to output an i-th counting signal, and the i-th counting signal is a (i−1)-th bit in the counting signal, wherein i is an integer greater than or equal to 3 and less than or equal to M, and M is a positive integer.

### Claim 11 (depends on 1)

The counting control circuit of claim 1, further comprising:
a command control circuit, configured to receive the first identification signal and a refresh command signal, and generate a first command signal according to the refresh command signal under a condition that the first identification signal is in the valid state, or generate a second command signal according to the refresh command signal under a condition that the first identification signal is in an invalid state.

### Claim 12 (depends on 11)

The counting control circuit of claim 11, wherein
the first command signal is an Error Check and Scrub (ECS) command signal for performing an ECS operation, and
the second command signal is an internal refresh signal for performing a refresh operation.

### Claim 13 (depends on 11)

The counting control circuit of claim 11, wherein the refresh command signal comprises at least one of a refresh signal or a self-refresh signal.

### Claim 14 (depends on 1)

The counting control circuit of claim 1, further comprising:
a clock generation circuit, configured to generate the first clock signal.

### Claim 15 (depends on 14)

The counting control circuit of claim 14, wherein the clock generation circuit comprises:
an oscillation circuit, configured to output a second clock signal with a preset frequency; and
a frequency division circuit, configured to perform n-frequency division on the second clock signal, to obtain the first clock signal,
wherein a frequency of the first clock signal is one n-ths of the preset frequency, n is an integer greater than zero.

### Claim 16 (depends on 1)

A counting control method, applied to the counting control circuit according to claim 1, comprising:
receiving the first clock signal and the first identification signal, and generating the counting clock signal according to the first clock signal under the control of the first identification signal; and
counting according to the counting clock signal, and generating the first identification signal, wherein the first identification signal indicates the generation of the command signal for performing the first operation, and the first identification signal is in the valid state under the condition that the counting value meets the preset condition.

### Claim 17

A semiconductor memory, comprising a counting control circuit, wherein the counting control circuit comprises a logic control circuit and a counting statistic circuit, an output terminal of the logic control circuit is connected to a clock terminal of the counting statistic circuit,
the logic control circuit is configured to receive a first clock signal and a first identification signal, and generate a counting clock signal according to the first clock signal under a control of the first identification signal, and
the counting statistic circuit is configured to receive the counting clock signal, count according to the counting clock signal, and generate the first identification signal, wherein the first identification signal indicates a generation of a command signal for performing a first operation, and the first identification signal is in a valid state under a condition that a counting value meets a preset condition;
wherein the logic control circuit comprises:
a first driving circuit, configured to perform driving on the first clock signal, to obtain a first intermediate signal; and
a first logic circuit, configured to perform a logical operation on the first intermediate signal and the first identification signal, to obtain the counting clock signal;
wherein the first logic circuit comprises:
a first delay inverting circuit, configured to delay and invert the first identification signal, to obtain a second intermediate signal;
a first NAND gate, configured to perform a NAND logical operation on the first intermediate signal and the second intermediate signal, to obtain a third intermediate signal; and
a second NOT gate, configured to perform a NOT logical operation on the third intermediate signal, to obtain the counting clock signal.

### Claim 18 (depends on 17)

The semiconductor memory of claim 17, comprising a Dynamic Random Access Memory (DRAM).

### Claim 19

A counting control circuit, comprising a logic control circuit and a counting statistic circuit, an output terminal of the logic control circuit connected to a clock terminal of the counting statistic circuit,
wherein the logic control circuit is configured to receive a first clock signal and a first identification signal, and generate a counting clock signal according to the first clock signal under a control of the first identification signal, and
the counting statistic circuit is configured to receive the counting clock signal, count according to the counting clock signal, and generate the first identification signal, wherein the first identification signal indicates a generation of a command signal for performing a first operation, and the first identification signal is in a valid state under a condition that a counting value meets a preset condition;
wherein the counting statistic circuit comprises a counting circuit and a decoding circuit, an output terminal of the counting circuit is connected to an input terminal of the decoding circuit,
the counting circuit is configured to receive the counting clock signal, count according to the counting clock signal, and generate a counting signal used for characterizing the counting value,
the decoding circuit is configured to receive the counting signal, decode the counting signal, and generate the first identification signal, wherein the first identification signal is in the valid state under the condition that the counting value meets the preset condition;
wherein the counting circuit comprises a synchronous binary counter, the synchronous binary counter comprises a plurality of counting sub-circuits cascaded sequentially, each of the plurality of counting sub-circuits comprises a flip-flop, and a clock terminal of each flip-flop is configured to receive the counting clock signal,
the plurality of counting sub-circuits are configured to receive the counting clock signal, perform clock sampling through flip-flops respectively comprised in the plurality of counting sub-circuits, and output the counting signal,
the counting signal comprises a plurality of bits, and there exists one-to-one correspondences between the plurality of counting sub-circuits and the plurality of bits comprised in the counting signal.
