Control circuit and memory

By designing a control circuit in the DRAM chip and using the intermediate command address signal to manage the working state of the ODT circuit, the problem of high current consumption in the non-operating state is solved, and current saving and power consumption reduction are achieved.

WO2024240143A1PCT designated stage expired Publication Date: 2024-11-28RUILI INTEGRATED CIRCUIT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/094422
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-24
Filing Date
2024-05-21
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

In dynamic random access memory (DRAM) chips, when ODT commands are lacking, the continuous level switching of logic gates inside the ODT circuit leads to an increase in current consumption and an increase in power consumption.

Method used

A control circuit is designed, including an input sampling circuit, a gate generation circuit and a clock control circuit. The working state of the ODT command is determined by the intermediate command address signal, and the clock signal is released only when the ODT command is working, otherwise the clock signal will be blocked to avoid logic. Gate level switching.

Benefits of technology

It effectively saves current consumption, reduces memory power consumption, and improves memory performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024094422_28112024_PF_FP_ABST
    Figure CN2024094422_28112024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a control circuit and a memory, the control circuit comprising: an input sampling circuit, used for performing sampling processing on an initial command address signal according to a first clock signal so as to generate an intermediate command address signal; a gating generation circuit, used for generating a first gating enable signal according to the intermediate command address signal, and performing pulse width adjustment on the first gating enable signal according to a reset signal so as to generate a first gating signal; and a clock control circuit, used for performing control processing on a second clock signal according to the first gating signal so as to generate a command clock signal. There is an association relationship between a level state of the first gating enable signal and the intermediate command address signal; when the first gating signal is in a first level state, the command clock signal has the same frequency as that of the second clock signal; and when the first gating signal is in a second level state, the second clock signal is shielded, such that the command clock signal is at a low level, thereby saving current and improving the memory performance.
Need to check novelty before this filing date? Find Prior Art

Description

A control circuit and memory

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 24, 2023, with application number 202310613574.5 and application name “A Control Circuit and Memory”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present disclosure relates to the field of semiconductor technology, and in particular to a control circuit and a memory. Background Art

[0003] With the continuous development of semiconductor technology, people have placed increasingly higher demands on data transmission speeds when manufacturing and using computers and other devices. To achieve faster data transmission speeds, a series of devices such as memories that can transmit data at double the data rate (DDR) have emerged.

[0004] In a dynamic random access memory (DRAM) chip, for the on-die termination (ODT) circuit, if no ODT command arrives, the existing ODT circuit will still release the clock signal related to the ODT command, causing the logic gates inside the ODT circuit to continuously switch levels, which will consume a large amount of current and thus increase the power consumption of the DRAM chip.

[0005] Summary of the Invention

[0006] The present disclosure provides a control circuit and a memory.

[0007] The technical solution of the present disclosure is achieved as follows:

[0008] In a first aspect, an embodiment of the present disclosure provides a control circuit, the control circuit including an input sampling circuit, a gate generation circuit, and a clock control circuit, wherein:

[0009] an input sampling circuit, configured to receive an initial command address signal and a first clock signal, sample the initial command address signal according to the first clock signal, and generate an intermediate command address signal;

[0010] a gating generation circuit, configured to receive an intermediate command address signal and a reset signal, generate a first gating enable signal according to the intermediate command address signal, and perform pulse width adjustment on the first gating enable signal according to the reset signal to generate a first gating signal, wherein the pulse width of the first gating signal is greater than the pulse width of the first gating enable signal;

[0011] a clock control circuit, configured to receive a first gating signal and a second clock signal, and control the second clock signal according to the first gating signal to generate a command clock signal;

[0012] Among them, there is a correlation between the level state of the first gating enable signal and the intermediate command address signal; and when the first gating signal is in a first level state, the frequency of the command clock signal is the same as the second clock signal; when the first gating signal is in a second level state, the second clock signal is shielded to make the command clock signal at a low level.

[0013] In some embodiments, the first level state is a high level state, and the second level state is a low level state.

[0014] In some embodiments, the gate generation circuit includes a decoding subcircuit and an SR latch, wherein:

[0015] a decoding sub-circuit, configured to receive an intermediate command address signal and perform a first decoding process on the intermediate command address signal to obtain a first gating enable signal, wherein the first gating enable signal has a preset delay time compared to the intermediate command address signal;

[0016] an SR latch, configured to receive a first gating enable signal and a reset signal, and perform pulse width adjustment on the first gating enable signal according to the reset signal to generate a first gating signal;

[0017] Among them, if it is determined according to the intermediate command address signal that the first command exists, the level state of the first gating enable signal is a low level; if it is determined according to the intermediate command address signal that the first command does not exist, the level state of the first gating enable signal is a high level; wherein, the first command includes at least one of the following: a mode register read command MRR, a write command WR, a write and automatic precharge command WRA, and a read command RD.

[0018] In some embodiments, the SR latch includes a first NAND gate and a second NAND gate, wherein:

[0019] The first input end of the first NAND gate is used to receive a first gating enable signal, and the second input end of the first NAND gate is connected to the output end of the second NAND gate; the first input end of the second NAND gate is connected to the output end of the first NAND gate, and the second input end of the second NAND gate is used to receive a reset signal; the output end of the first NAND gate is used to output a first gating signal.

[0020] In some embodiments, the control circuit further includes a command decoding circuit, wherein:

[0021] The command decoding circuit is used to receive the intermediate command address signal and the third clock signal, perform a second decoding process on the intermediate command address signal to obtain a decoded signal; and perform sampling and delay processing according to the third clock signal and the decoded signal to obtain a first command signal.

[0022] In some embodiments, the command decoding circuit includes a decoding module, a sampling submodule, and a first delay module, wherein the output of the decoding module is connected to the input of the sampling submodule, and the output of the sampling submodule is connected to the input of the first delay module, wherein:

[0023] a decoding module, configured to receive an intermediate command address signal and perform a second decoding process on the intermediate command address signal to obtain a decoded signal;

[0024] a sampling submodule, configured to receive the decoded signal and a third clock signal, and sample the decoded signal according to the third clock signal to obtain an intermediate command signal;

[0025] The first delay module is used to receive the intermediate command signal and perform a first delay process on the intermediate command signal to obtain a first command signal.

[0026] In some embodiments, the control circuit further includes an output sampling circuit and a delay shift circuit, wherein:

[0027] an output sampling circuit, configured to receive a first command signal and a command clock signal, and sample the first command signal according to the command clock signal to obtain a second command signal;

[0028] The delay shift circuit is used to sample and shift the second command signal to obtain a third command signal; wherein the third command signal is used to control the resistance switching of the terminal resistor.

[0029] In some embodiments, the output sampling circuit includes an output flip-flop, wherein:

[0030] The clock terminal of the output trigger is used to receive the command clock signal, the input terminal of the output trigger is used to receive the first command signal, and the first output terminal of the output trigger is used to output the second command signal;

[0031] The first output terminal of the output trigger is used to reflect the value of the input terminal of the output trigger after being sampled by the command clock signal.

[0032] In some embodiments, the control circuit further includes a clock delay circuit, and the clock delay circuit includes a second delay module, a third delay module, and a fourth delay module, wherein:

[0033] a second delay module, configured to receive the first initial clock signal and perform a second delay process on the first initial clock signal to obtain a first clock signal;

[0034] a third delay module, configured to receive the first initial clock signal and perform a third delay process on the first initial clock signal to obtain a third clock signal;

[0035] The fourth delay module is used to receive the second initial clock signal and perform a fourth delay process on the second initial clock signal to obtain a second clock signal.

[0036] In some embodiments, the control circuit further includes a clock buffer circuit, wherein:

[0037] A clock buffer circuit, configured to receive an initial clock signal and generate a first initial clock signal and a second initial clock signal according to the initial clock signal;

[0038] The first initial clock signal and the second initial clock signal have the same frequency and phase.

[0039] In some embodiments, the clock control circuit includes a fifth delay module, wherein:

[0040] The fifth delay module is used to receive the first gating signal and the second clock signal, perform a NAND logic operation and a fifth delay process on the first gating signal and the second clock signal, and obtain a command clock signal.

[0041] In some embodiments, the fifth delay module includes a third NAND gate and an inversion module, wherein:

[0042] The first input terminal of the third NAND gate is used to receive the first gating signal, the second input terminal of the third NAND gate is used to receive the second clock signal, and the output terminal of the third NAND gate is used to output the intermediate clock signal;

[0043] The input end of the inverting module is connected to the output end of the third NAND gate, and is used to delay and invert the intermediate clock signal, and output the command clock signal through the output end of the inverting module.

[0044] In some embodiments, the inverting module is composed of an odd number of NOT gates connected in series.

[0045] In some embodiments, the sum of the delay time corresponding to the first delay processing and the delay time corresponding to the third delay processing is greater than the sum of the preset delay time, the delay time corresponding to the second delay processing and the delay time corresponding to the fifth delay processing, so that the time when the command clock signal arrives at the output trigger is earlier than the time when the first command signal arrives at the output trigger.

[0046] In a second aspect, an embodiment of the present disclosure provides a memory, which at least includes the control circuit as described in any one of the first aspects.

[0047] An embodiment of the present disclosure provides a control circuit and a memory, in which an input sampling circuit is used to receive an initial command address signal and a first clock signal, and sample and process the initial command address signal according to the first clock signal to generate an intermediate command address signal; a gating generation circuit is used to receive an intermediate command address signal and a reset signal, generate a first gating enable signal according to the intermediate command address signal, and adjust the pulse width of the first gating enable signal according to the reset signal to generate a first gating signal, and the pulse width of the first gating signal is greater than the pulse width of the first gating enable signal; a clock control circuit is used to receive the first gating signal and a second clock signal, and control and process the second clock signal according to the first gating signal to generate a command clock signal. Among them, there is a correlation between the level state of the first gating enable signal and the intermediate command address signal, which not only makes the first gating signal no longer affected by the chip select signal, but also because the intermediate command address signal can also determine whether the ODT command is in the working state, the first gating signal is in the first level state only when the ODT command is working; in this way, when the ODT command is in the non-working state, the first gating signal is in the second level state, which can shield the second clock signal, so that the command clock signal is a low level; in this way, when the ODT command does not need to work, the phenomenon of continuous level switching of the logic gate inside the ODT circuit can be avoided, thereby effectively avoiding additional current consumption, achieving the purpose of saving current and reducing memory power consumption, and ultimately improving memory performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] FIG1 is a schematic structural diagram of an ODT functional circuit;

[0049] FIG2 is a schematic diagram of a signal timing of an ODT function;

[0050] FIG3 is a schematic diagram of a structure of a control circuit according to an embodiment of the present disclosure;

[0051] FIG4 is a schematic diagram of the structure of an input sampling circuit provided by an embodiment of the present disclosure;

[0052] FIG5 is a schematic diagram of the structure of a gate control generation circuit provided in an embodiment of the present disclosure;

[0053] FIG6 is a schematic diagram of the structure of a command decoding circuit provided in an embodiment of the present disclosure;

[0054] FIG7 is a second schematic diagram of the structure of a control circuit provided in an embodiment of the present disclosure;

[0055] FIG8 is a schematic diagram of the structure of an output sampling circuit provided by an embodiment of the present disclosure;

[0056] FIG9 is a third schematic diagram of the structure of a control circuit provided in an embodiment of the present disclosure;

[0057] FIG10 is a schematic diagram of the structure of a clock control circuit provided in an embodiment of the present disclosure;

[0058] FIG11 is a detailed structural diagram of a control circuit provided in an embodiment of the present disclosure;

[0059] FIG12 is a first signal timing diagram of a control circuit provided by an embodiment of the present disclosure;

[0060] FIG13 is a second signal timing diagram of a control circuit provided by an embodiment of the present disclosure;

[0061] FIG14 is a flow chart of a control method provided by an embodiment of the present disclosure;

[0062] FIG15 is a schematic diagram of the composition structure of a memory provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0063] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. It should be understood that the specific embodiments described herein are only used to explain the relevant applications and are not intended to limit the relevant applications. It should also be noted that for ease of description, only the portions relevant to the relevant applications are shown in the drawings.

[0064] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art in the art of the present disclosure. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.

[0065] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0066] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present disclosure are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present disclosure described here can be implemented in an order other than that illustrated or described here.

[0067] Before further explaining the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are explained first. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations:

[0068] Dynamic Random Access Memory (DRAM);

[0069] Double Data Rate (DDR);

[0070] The third generation of double data rate (Double Data Rate 3, DDR3);

[0071] Fourth-generation double data rate (Double Data Rate 4, DDR4);

[0072] Fifth-generation double data rate (DDR5);

[0073] On Die Termination (ODT);

[0074] Termination resistance / terminal resistance (RTT);

[0075] Command (CMD);

[0076] Data (DQ);

[0077] Chip Select signal (CS);

[0078] Mode Register Read command (MRR);

[0079] Write command (Write, WR);

[0080] Read command (Read, RD);

[0081] Write w / Auto Pre-charge (WRA)

[0082] Column address strobe write delay (CAS Write Latency, CWL);

[0083] Burst Length (BL);

[0084] Mode Register Setting (MRS);

[0085] High level (High, H);

[0086] Low level (Low, L);

[0087] Valid level (Valid, V);

[0088] D-type flip-flop (Data Flip-Flop or Delay Flip-Flop, DFF);

[0089] Central Processing Unit (CPU).

[0090] With the rapid development of semiconductor technology, signal transmission rates are increasing, leading to increasingly prominent signal integrity issues. To improve data signal integrity during high-speed signal transmission, DDR3, DDR4, and DDR5 designs incorporate dedicated ODT resistors. These resistors are used to impedance-match transmission lines, minimizing reflections and energy loss during transmission, thereby ensuring signal integrity at the receiving end.

[0091] Taking DDR5 DRAM as an example, DDR5 DRAM supports the ODT function, which can adjust the terminal resistance (also called "termination resistance") of the DQ, DQS_t / c, DM_n and TDQS_t / c ports of each device through ODT pin control, write commands or mode register settings. In addition, the purpose of the ODT function is to reduce reflections and effectively improve the signal integrity on the memory interface by independently controlling the terminal resistance of all or any one DRAM by the controller. As shown in Figure 1, it shows a structural schematic diagram of an ODT functional circuit provided by the relevant technology. In Figure 1, the ODT functional circuit may include at least a switch S1, a terminal resistor RTT and a power supply VDDQ. Among them, one end of the switch S1 is connected to one end of the terminal resistor RTT, the other end of the terminal resistor RTT is connected to the power supply VDDQ, and the other end of the switch S1 is connected to other circuits, as well as the DQ, DQS, DM, and TDQS ports. It should be noted that DQS may be a pair of differential data strobe signals DQS_t and DQS_c, and TDQS may be a pair of differential data strobe signals TDQS_t and TDQS_c.

[0092] In addition, switch S1 in Figure 1 is controlled by the ODT control logic. The ODT control logic includes the external ODT pin input, mode register configuration, and other control information. The RTT value is controlled by the configuration information in the mode register. Furthermore, if RTT_NOM is disabled in self-refresh mode or the mode register configuration, the ODT pin control is ignored.

[0093] For example, Figure 2 shows a signal timing diagram of an ODT function, specifically a control timing diagram of the ODT function during a write operation in DDR5. As shown in Figure 2, when DDR5 receives a command (CMD), it needs to transmit the command to the DQ end to control the change in the resistance of RTT. When DDR5 receives a write command, the resistance of RTT needs to switch from RTT_PARK to RTT_WR. That is, when the resistance of RTT is in the RTT_PARK stage, the DQ end does not receive data. When the write command is transmitted to the DQ end, the resistance of RTT switches to the RTT_WR stage, and the DQ end receives and writes data. That is, before the DQ end receives data, when the RTT resistance switches from RTT_PARK to RTT_WR, it is necessary to wait for tODTLon_WR preset clock cycles after the write command, where tODTLon_WR = CWL + ODTLon_WR_offset, where ODTLon_WR_offset is the adjustment value for the tODTLon_WR parameter issued by the controller. After the DQ end receives data, when the RTT resistance switches from RTT_WR to RTT_PARK again, it is necessary to wait for tODTLoff_WR preset clock cycles after the write command, where tODTLoff_WR = CWL + BL / 2 + ODTLoff_WR_offset, where ODTLoff_WR_offset is the adjustment value for the tODTLoff_WR parameter issued by the controller. Furthermore, the RTT resistance switching does not occur immediately but takes time to change. The RTT resistance switching time is represented by tADC. Here, the maximum and minimum values ​​of tADC can be set, represented as: tADC.Max and tADC.Min, respectively.

[0094] Furthermore, the DDR5 technical specification stipulates that DDR5 typically uses a half-rate clock scheme to achieve high-frequency (HF) operation above 4800 megabits per second (Mbps). Although this ODT circuit can prevent peak currents generated during high-frequency operation, it consumes higher standby current; therefore, a clock gating scheme that can reduce current consumption is needed.

[0095] Based on this, an embodiment of the present disclosure provides a control circuit, wherein the level state of a first gating enable signal is associated with an intermediate command address signal; when the first gating signal is at a first level, the command clock signal and the second clock signal have the same frequency; when the first gating signal is at a second level, the second clock signal is shielded, so that the command clock signal is at a low level. Thus, because the level state of the first gating enable signal is only associated with the intermediate command address signal and is no longer affected by the chip select signal, and the intermediate command address signal can also determine whether the ODT command is in operation, the first gating signal is at the first level only when the ODT command is in operation, at which time the command clock signal and the second clock signal have the same frequency; and when the ODT command is in an inoperative state, the first gating signal is at the second level, shielding the second clock signal, so that the command clock signal is at a low level. Thus, when the ODT command is not in operation, the phenomenon of constant level switching of logic gates within the ODT circuit can be avoided, thereby effectively avoiding additional current consumption, achieving the purpose of saving current and reducing memory power consumption, and ultimately improving memory performance.

[0096] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0097] In one embodiment of the present disclosure, referring to FIG3 , a schematic diagram of a control circuit structure is shown. As shown in FIG3 , the control circuit 10 may include an input sampling circuit 11, a gate generation circuit 12, and a clock control circuit 13, wherein:

[0098] An input sampling circuit 11 is configured to receive an initial command address signal and a first clock signal, sample the initial command address signal according to the first clock signal, and generate an intermediate command address signal;

[0099] a gating generation circuit 12, configured to receive an intermediate command address signal and a reset signal, generate a first gating enable signal according to the intermediate command address signal, and perform pulse width adjustment on the first gating enable signal according to the reset signal to generate a first gating signal, wherein the pulse width of the first gating signal is greater than the pulse width of the first gating enable signal;

[0100] The clock control circuit 13 is configured to receive a first gating signal and a second clock signal, and control the second clock signal according to the first gating signal to generate a command clock signal;

[0101] In an embodiment of the present disclosure, there is a correlation between the level state of the first gating enable signal and the intermediate command address signal; and when the first gating signal is in a first level state, the frequency of the command clock signal is the same as that of the second clock signal; when the first gating signal is in a second level state, the second clock signal is shielded so that the command clock signal is at a low level.

[0102] It should be noted that in the embodiments of the present disclosure, the control circuit 10 can be applied to a memory. The memory can be, for example, a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), etc., and this is not specifically limited here.

[0103] It should also be noted that in the embodiment of the present disclosure, the control circuit 10 may be a circuit for controlling an input clock for an ODT command. Here, an initial command address signal associated with the ODT command is used to generate a first gating signal. This first gating signal releases the clock signal only when the ODT command arrives, thereby saving current.

[0104] It should also be noted that in the embodiments of the present disclosure, the initial command address signal is a signal obtained by combining multiple command address signals. For example, the multiple command address signals may include CA0, CA1, and CA2. It should be noted that the initial command address signal includes not only CA0, CA1, and CA2, but may also include other initial command address signals, such as CA3, CA4, and CA5, without specific limitation.

[0105] It should also be noted that in the embodiment of the present disclosure, the clock periods of the first clock signal and the second clock signal are equal and can be represented by tck; the reset signal can be represented by RST, the first gating enable signal can be represented by ODT_Gating_EN, and the first gating signal can be represented by ODT_Gating.

[0106] It should also be noted that in the disclosed embodiment, the pulse width of the first gating enable signal is adjusted based on the reset signal, so that the pulse width of the generated first gating signal is greater than the pulse width of the first gating enable signal, where the pulse width may be simply referred to as "pulse width." Thus, when the first gating signal is at a first level, the command clock signal generated based on the first gating signal has a sufficiently long clock to ultimately generate the required ODT command, and the pulse width of the ultimately generated ODT command can cover the entire DQ data writing process.

[0107] It should also be noted that, in the embodiment of the present disclosure, when the first gating signal is in the second level state, the clock signal related to the ODT command will be turned off, that is, the second clock signal is shielded inside the ODT circuit, so that the command clock signal is at a low level; since the command clock signal is at a low level, the clock-related logic gates inside the ODT circuit will not switch levels, thereby achieving the purpose of saving current and reducing power consumption. Here, the clock-related logic gates refer to all logic gates that need to use the command clock signal on the transmission path of the ODT circuit (not shown in the figure). It can be understood that the logic gate level switching means that the clock signal input to the logic gate is always changing from a high level to a low level, so the output level state of the logic gate will also change accordingly, thereby consuming current. In addition, in the embodiment of the present disclosure, the logic gate may include a trigger, an AND gate, an OR gate, a NOT gate, a NAND gate, or a NOR gate, etc., without specific limitation.

[0108] Furthermore, in some embodiments, the first level state is a high level state, and the second level state is a low level state.

[0109] It should be noted that, in the embodiment of the present disclosure, a high level state may be represented as a logic 1; and a low level state may be represented as a logic 0.

[0110] It should also be noted that, in the embodiment of the present disclosure, when the first gating signal is in a high-level state, that is, when ODT_Gating = 1, the first gating signal is in a valid state, and a command clock signal can be generated according to the second clock signal. At this time, the second clock signal will not be blocked, and the clock end of the ODT circuit has a clock input; and when the first gating signal is in a low-level state, that is, when ODT_Gating = 0, the second clock signal will be blocked, so that the command clock signal is a low level. Since there is no clock input at the clock end of the ODT circuit, there will be no level switching of the clock-related logic gates inside the ODT circuit.

[0111] In some embodiments, the initial command address signal includes a first initial command address signal, a second initial command address signal, and a third initial command address signal.

[0112] It should be noted that in the disclosed embodiment, the first initial command address signal can be represented by CA0, the second initial command address signal can be represented by CA1, and the third initial command address signal can be represented by CA2. Table 1 shows the relevant provisions of CA0, CA1, and CA2 in DDR5. Among them, CS_n represents the chip select signal, H represents the high level state, L represents the low level state, V represents the valid level state, and C2, C3, and C4 represent address information.

[0113] It should also be noted that in the embodiments of the present disclosure, the initial command address signals include not only CA0, CA1, and CA2, but may also include other initial command address signals, without specific limitation. It is understood that CA0, CA1, and CA2 are the three key initial command address signals for decoding the first gating signal, so Table 1 exemplifies the relevant provisions regarding CA0, CA1, and CA2.

[0114] Table 1

[0115] It should also be noted that when any of the following commands arrives: a mode register read command, a write command, a write and auto-precharge command, or a read command, the ODT circuit is in operation. For example, taking CA0, CA1, and CA2 as examples, the levels of CA0, CA1, and CA2 in Table 1 vary for different commands. Furthermore, the first gating enable signal is related to whether the ODT circuit is operational, so the disclosed embodiments can use CA0, CA1, and CA2 to represent the level of the first gating enable signal. In other words, the level of the first gating enable signal is associated with the initial command address signal.

[0116] Furthermore, the input sampling circuit 11 may include multiple flip-flops for receiving all initial command address signals and performing sampling processing thereon. For example, taking the initial command address signals as including a first initial command address signal, a second initial command address signal, and a third initial command address signal, as shown in FIG4 , the input sampling circuit 11 may include a first flip-flop DFF1, a second flip-flop DFF2, and a third flip-flop DFF3, wherein:

[0117] a first flip-flop DFF1, configured to receive a first initial command address signal and a first clock signal, and sample the first initial command address signal according to the first clock signal to obtain a first intermediate command address signal;

[0118] a second flip-flop DFF2, configured to receive a second initial command address signal and a first clock signal, and sample the second initial command address signal according to the first clock signal to obtain a second intermediate command address signal;

[0119] a third flip-flop DFF3, configured to receive a third initial command address signal and a first clock signal, and sample the third initial command address signal according to the first clock signal to obtain a third intermediate command address signal;

[0120] The intermediate command address signal is composed of a first intermediate command address signal, a second intermediate command address signal and a third intermediate command address signal.

[0121] It should be noted that, in the embodiment of the present disclosure, the first output end of the first trigger DFF1 is used to reflect the value of the input end of the first trigger DFF1 after being sampled by the first clock signal; the first output end of the second trigger DFF2 is used to reflect the value of the input end of the second trigger DFF2 after being sampled by the first clock signal; the first output end of the third trigger DFF3 is used to reflect the value of the input end of the third trigger DFF3 after being sampled by the first clock signal.

[0122] It should also be noted that in the embodiment of the present disclosure, the first trigger DFF1, the second trigger DFF2 and the third trigger DFF3 can be D-type triggers (Data Flip-Flop or Delay Flip-Flop, DFF). Among them, the D-type trigger is an information storage device with a memory function and two stable states. It is the most basic logic unit that constitutes a variety of timing circuits and is also an important unit circuit in digital logic circuits. Here, the D-type trigger has two stable states, namely "0" and "1", and can flip from one stable state to another under the action of the signal received at the clock end.

[0123] It should also be noted that, in the embodiment of the present disclosure, the first flip-flop DFF1, the second flip-flop DFF2 and the third flip-flop DFF3 may include a clock terminal (CK), an input terminal (D), a first output terminal (Q) and a second output terminal (Q). In addition, a set terminal (SET) and a reset terminal (RST) may also be included, but they are not shown in the figure.

[0124] It should also be noted that in the embodiment of the present disclosure, the initial command address signal can be sampled by the input sampling circuit 11 according to the first clock signal to generate an intermediate command address signal. Specifically, the level state of the first gating enable signal is associated with the intermediate command address signal.

[0125] In some embodiments, as for the gate control generation circuit 12, referring to FIG5, the gate control generation circuit 12 may include a decoding sub-circuit 121 and an SR latch 122, wherein:

[0126] The decoding sub-circuit 121 is configured to receive an intermediate command address signal and perform a first decoding process on the intermediate command address signal to obtain a first gating enable signal, wherein the first gating enable signal has a preset delay time compared to the intermediate command address signal;

[0127] The SR latch 122 is configured to receive a first gating enable signal and a reset signal, and perform pulse width adjustment on the first gating enable signal according to the reset signal to generate a first gating signal.

[0128] It should be noted that in the embodiment of the present disclosure, if it is determined based on the intermediate command address signal that the first command exists, the level state of the first gating enable signal is a low level; if it is determined based on the intermediate command address signal that the first command does not exist, the level state of the first gating enable signal is a high level.

[0129] The first command may include at least one of the following: a mode register read command MRR, a write command WR, a write and auto-precharge command WRA, and a read command RD.

[0130] It should also be noted that in the embodiment of the present disclosure, the decoding sub-circuit 121 can be represented by G7, and the preset delay time is also represented by G7. When any of the MRR, WR, WRA and RD commands occurs, the decoding sub-circuit 121 will output the first gating enable signal.

[0131] It should also be noted that, in the disclosed embodiment, the level state of the first gating enable signal can be determined based on the intermediate command address signal. Specifically, if any one of the commands MRR, WR, WRA, and RD is decoded based on the intermediate command address signal, the level state of the first gating enable signal is a low level; if MRR, WR, WRA, or RD cannot be decoded based on the intermediate command address signal, the level state of the first gating enable signal is a high level.

[0132] It should also be noted that in the disclosed embodiment, MRR, WR, WRA, or RD in Table 1 all require reflection using a terminal resistor, so an ODT command must be generated to control the resistance switching of the terminal resistor. In other words, the arrival of a first command is determined based on the intermediate command address signal. Regardless of which first command arrives, the first gating enable signal will become low.

[0133] It should also be noted that, in the embodiment of the present disclosure, the pulse width of the first gating enable signal is adjusted according to the reset signal by the SR latch 122, and the pulse width of the generated first gating signal is greater than the pulse width of the first gating enable signal. For example, the delay time between the level falling edge of the first gating enable signal and the level change of the reset signal (from high level to low level) is 128tck, so the pulse width of the first gating signal is 128tck. Here, taking the write command as an example, 128tck can ensure that there is a clock signal within the write delay time, and within this period of time, the delay processing of the write command signal can be completed even with the maximum write delay time. In other words, within 128tck, an ODT command that satisfies the control terminal resistance for resistance switching can be obtained, so that the ODT delay requirements can be better met.

[0134] Furthermore, in some embodiments, as shown in FIG5 , the SR latch 122 includes a first NAND gate U1 and a second NAND gate U2 , wherein:

[0135] The first input end of the first NAND gate U1 is used to receive a first gating enable signal, and the second input end of the first NAND gate U1 is connected to the output end of the second NAND gate U2; the first input end of the second NAND gate U2 is connected to the output end of the first NAND gate U1, and the second input end of the second NAND gate U2 is used to receive a reset signal; the output end of the first NAND gate U1 is used to output a first gating signal.

[0136] It should be noted that in the disclosed embodiment, the SR latch 122 performs pulse width adjustment on the first gating enable signal according to the reset signal to obtain the first gating signal. Specifically, the first input terminal of the first NAND gate U1 serves as the first input terminal of the SR latch 122 for receiving the first gating enable signal; the second input terminal of the second NAND gate U2 serves as the second input terminal of the SR latch 122 for receiving the reset signal; and the output terminal of the first NAND gate U1 serves as the output terminal of the SR latch 122 for outputting the first gating signal.

[0137] In some embodiments, the control circuit may further include a command decoding circuit 14, wherein:

[0138] The command decoding circuit 14 is used to receive the intermediate command address signal and the third clock signal, perform a second decoding process on the intermediate command address signal to obtain a decoded signal; and perform sampling and delay processing based on the third clock signal and the decoded signal to obtain a first command signal.

[0139] Furthermore, in some embodiments, as for the command decoding circuit 14, referring to FIG6, the command decoding circuit 14 includes a decoding module 141, a sampling submodule 142, and a first delay module 143, wherein the output end of the decoding module 141 is connected to the input end of the sampling submodule 142, and the output end of the sampling submodule 142 is connected to the input end of the first delay module 143, wherein:

[0140] The decoding module 141 is configured to receive the intermediate command address signal and perform a second decoding process on the intermediate command address signal to obtain a decoded signal;

[0141] The sampling submodule 142 is configured to receive the decoded signal and the third clock signal, and sample the decoded signal according to the third clock signal to obtain an intermediate command signal;

[0142] The first delay module 143 is configured to receive the intermediate command signal and perform a first delay process on the intermediate command signal to obtain a first command signal.

[0143] It should be noted that, in the embodiment of the present disclosure, the decoding module 141 can be represented by G3; the first delay module 143 can be represented by G5, and the delay time corresponding to the first delay processing is also represented by G5.

[0144] It should also be noted that, in the embodiment of the present disclosure, the decoding signal is the first command, namely, a specific command among MRR, WR, WRA and RD; that is, the decoding module 141 can decode a specific command, such as WR.

[0145] Furthermore, in some embodiments, as shown in FIG6 , the sampling submodule 142 may include a fourth flip-flop DFF4 , wherein:

[0146] The clock terminal of the fourth flip-flop DFF4 is used to receive the third clock signal, the input terminal of the fourth flip-flop DFF4 is used to receive the decoding signal, and the first output terminal of the fourth flip-flop DFF4 is used to output the intermediate command signal;

[0147] The first output terminal of the fourth flip-flop DFF4 is used to reflect the value of the input terminal of the fourth flip-flop DFF4 sampled by the third clock signal.

[0148] It should be noted that, in the embodiment of the present disclosure, the fourth flip-flop DFF4 may be a D-type flip-flop.

[0149] In some embodiments, based on the control circuit 10 shown in FIG3 , referring to FIG7 , the control circuit 10 may further include an output sampling circuit 15 and a delay shift circuit 16 , wherein:

[0150] an output sampling circuit 15, configured to receive a first command signal and a command clock signal, and sample the first command signal according to the command clock signal to obtain a second command signal;

[0151] The delay shift circuit 16 is used to sample and shift the second command signal to obtain a third command signal; wherein the third command signal is used to control the resistance switching of the terminal resistor.

[0152] It should be noted that, in the embodiment of the present disclosure, the pulse width of the third command signal is wider than that of the second command signal.

[0153] It should also be noted that in the disclosed embodiment, the clock control circuit 13 generates a command clock signal, the command decoding circuit 14 generates a first command signal, and then the first command signal is sampled according to the command clock signal to generate a second command signal. The second command signal is sampled and shifted to generate a third command signal for controlling the resistance switching of the terminal resistor.

[0154] It should also be noted that, in the embodiment of the present disclosure, the pulse width difference between the third command signal and the second command signal is associated with the on-chip termination compensation value set by the controller.

[0155] Here, in order to ensure that the reflection of the DQ pin is reduced when receiving DQ data, the pulse width of the third command signal needs to have an additional compensation amount (ODT_offset), where ODT_offset is determined according to the instruction issued by the CPU and is used to further widen the pulse width of the ODT command. In other words, at this time, the delay shift circuit 16 can further widen the pulse width of the ODT command according to the ODT_offset required by the CPU to generate the final ODT pulse at the DQ pin, that is, the third command signal here. The pulse width difference between the third command signal and the second command signal can be expressed as ODT_offset, and different on-chip termination compensation values ​​can be set by the controller; in addition, ODT_offset can have nine possibilities such as 0 to 8tck, which are not specifically limited here.

[0156] It should also be noted that in the disclosed embodiment, the command clock signal is only related to the level of the first gating signal. Specifically, when the first gating signal is high, the command clock signal has the same frequency as the second clock signal; when the first gating signal is low, the command clock signal is low. Delay shift circuit 16 also needs to receive the command clock signal. When the ODT command is inactive, the command clock signal is low, further saving current.

[0157] Furthermore, in some embodiments, as for the output sampling circuit 15, referring to FIG8 , the output sampling circuit 15 may include an output trigger DFF5, wherein:

[0158] The clock terminal of the output flip-flop DFF5 is used to receive the command clock signal, the input terminal of the output flip-flop DFF5 is used to receive the first command signal, and the first output terminal of the output flip-flop DFF5 is used to output the second command signal;

[0159] The first output terminal of the output flip-flop DFF5 is used to reflect the value of the input terminal of the output flip-flop DFF5 after being sampled by the command clock signal.

[0160] It should be noted that, in the embodiment of the present disclosure, the output trigger DFF5 may be a D-type trigger.

[0161] It should also be noted that, in the embodiment of the present disclosure, the first output terminal of the output flip-flop DFF5 serves as the output terminal of the output sampling circuit 15 for outputting the second command signal.

[0162] In some embodiments, based on the control circuit 10 shown in FIG7 , referring to FIG9 , the control circuit 10 may further include a clock delay circuit 17 , and the clock delay circuit 17 includes a second delay module 171 , a third delay module 172 , and a fourth delay module 173 , wherein:

[0163] The second delay module 171 is configured to receive the first initial clock signal and perform a second delay process on the first initial clock signal to obtain a first clock signal;

[0164] The third delay module 172 is configured to receive the first initial clock signal and perform a third delay process on the first initial clock signal to obtain a third clock signal;

[0165] The fourth delay module 173 is configured to receive the second initial clock signal and perform a fourth delay process on the second initial clock signal to obtain a second clock signal.

[0166] It should be noted that, in the embodiment of the present disclosure, the second delay module 171 can be represented by G2, and the delay time corresponding to the second delay processing is also represented by G2; the third delay module 172 can be represented by G4, and the delay time corresponding to the third delay processing is also represented by G4; the fourth delay module 173 can be represented by Ga, and the delay time corresponding to the fourth delay processing is also represented by Ga.

[0167] It should also be noted that, in the embodiment of the present disclosure, the clock periods of the first initial clock signal, the second initial clock signal, the first clock signal, the second clock signal and the third clock signal are equal.

[0168] It should also be noted that, in the embodiment of the present disclosure, the first clock signal and the third clock signal can be obtained respectively by performing different delay processing on the first initial clock signal. That is, after the first initial clock signal passes through the second delay module 171 and the third delay module 172 respectively, the first clock signal and the third clock signal with different delay times can be obtained. The second delay processing and the third delay processing are different, and the first clock signal and the third clock signal have a temporal sequence.

[0169] It should also be noted that, in the disclosed embodiment, the first clock signal serves as the clock source for the input sampling circuit 11 to sample the initial command address signal, and the third clock signal serves as the clock source for the sampling submodule in the command decoding circuit 14 to sample the decoded signal. Because the first clock signal samples the initial command address signal via the input sampling circuit 11 to generate an intermediate command address signal, the intermediate command address signal undergoes a second decoding process via the decoding module in the command decoding circuit 14 to obtain a decoded signal, and the third clock signal samples the decoded signal via the sampling submodule in the command decoding circuit 14 to obtain an intermediate command signal, the delay times corresponding to the second and third delay processes must ensure that the fourth flip-flop DFF4 meets the setup time.

[0170] Furthermore, in some embodiments, as shown in FIG9 , the control circuit 10 may further include a clock buffer circuit 18 , wherein:

[0171] The clock buffer circuit 18 is configured to receive an initial clock signal and generate a first initial clock signal and a second initial clock signal according to the initial clock signal;

[0172] The first initial clock signal and the second initial clock signal have the same frequency and phase.

[0173] It should be noted that, in the embodiment of the present disclosure, the first initial clock signal and the second initial clock signal are two clock signals with the same waveform. Here, dividing the initial clock signal into two clock signals with the same waveform can reduce the load of clock transmission and improve clock quality.

[0174] It should also be noted that in the embodiment of the present disclosure, after the first initial clock signal and the second initial clock signal are generated by the clock buffer circuit 18, the first clock signal and the third clock signal can be generated according to the first initial clock signal, and the second clock signal can be generated according to the second initial clock signal.

[0175] Furthermore, in some embodiments, as shown in FIG9 , the control circuit 10 may further include a command cache circuit 19 , wherein the command cache circuit 19 is configured to provide an initial command address signal.

[0176] Furthermore, in some embodiments, as for the clock control circuit 13, referring to FIG10 , the clock control circuit 13 may include a fifth delay module 131, wherein:

[0177] The fifth delay module 131 is configured to receive the first gating signal and the second clock signal, perform a NAND logic operation and a fifth delay process on the first gating signal and the second clock signal, and obtain a command clock signal.

[0178] It should be noted that, in the embodiment of the present disclosure, the clock control circuit 13 controls and processes the second clock signal according to the first gating signal, and when the first gating signal is in the first level state, performs a NOT logical operation and a fifth delay processing on the second clock signal to generate a command clock signal; in addition, when the first gating signal is in the first level state, the clock periods of the command clock signal and the second clock signal are equal.

[0179] It should also be noted that in the disclosed embodiment, the clock control circuit 13 can control the release of the command clock signal. Specifically, when an ODT command arrives, that is, when the ODT circuit is in an operating state, the clock control circuit 13 releases the command clock signal. When no ODT command arrives, that is, when the ODT circuit is in an inoperative state, the clock control circuit 13 shields the second clock signal to keep the command clock signal at a low level, that is, does not release the command clock signal.

[0180] It should also be noted that, in the embodiment of the present disclosure, the fifth delay module 131 can be represented by Gb, and the delay time corresponding to the fifth delay processing is also represented by Gb.

[0181] Furthermore, in some embodiments, as shown in FIG10 , the fifth delay module 131 includes a third NAND gate U3 and an inverting module U4 , wherein:

[0182] A first input terminal of the third NAND gate U3 is used to receive the first gating signal, a second input terminal of the third NAND gate U3 is used to receive the second clock signal, and an output terminal of the third NAND gate U3 is used to output the intermediate clock signal;

[0183] The input end of the inverting module U4 is connected to the output end of the third NAND gate U3 , and is used to delay and invert the intermediate clock signal, and output the command clock signal through the output end of the inverting module U4 .

[0184] It can be understood that in some embodiments, the inverting module U4 is composed of an odd number of NOT gates connected in series.

[0185] It should be noted that in the embodiment of the present disclosure, the inverting module U4 can be composed of one NOT gate, or can be composed of three, five, seven, or other NOT gates connected in series, and the embodiment of the present disclosure is not specifically limited to this. For example, in Figure 10, the specific implementation of the embodiment of the present disclosure is described in detail using the example of the inverting module U4 being composed of three NOT gates connected in series.

[0186] It should also be noted that in the disclosed embodiment, because inverting module U4 includes an odd number of NOT gates, the intermediate clock signal is not only delayed but also has its level changed compared to the intermediate clock signal. Furthermore, the delay time between the intermediate clock signal input by inverting module U4 and the command clock signal output by it is related to the specific number of NOT gates in inverting module U4. Different numbers of NOT gates in inverting module U4 result in different delay times between the intermediate clock signal input by inverting module U4 and the command clock signal output by it. Thus, the disclosed embodiment can determine the specific number of NOT gates in inverting module U4 based on the desired delay time.

[0187] An embodiment of the present disclosure provides a control circuit, comprising: an input sampling circuit for sampling an initial command address signal according to a first clock signal to generate an intermediate command address signal; a gating generation circuit for generating a first gating enable signal according to the intermediate command address signal, and performing pulse width adjustment on the first gating enable signal according to a reset signal to generate a first gating signal; and a clock control circuit for controlling a second clock signal according to the first gating signal to generate a command clock signal. The first gating enable signal has a level associated with the intermediate command address signal; when the first gating signal is at a first level, the command clock signal has the same frequency as the second clock signal; and when the first gating signal is at a second level, the second clock signal is shielded to render the command clock signal at a low level. In this way, since the level state of the first gating enable signal is only related to the intermediate command address signal, it is no longer affected by the chip select signal. At the same time, the intermediate command address signal can also determine whether the ODT command is in the working state, so that the first gating signal is in the first level state only when the ODT command is working. At this time, the command clock signal and the second clock signal have the same frequency; when the ODT command is in the non-working state, the first gating signal is in the second level state, which can shield the second clock signal, so that the command clock signal is a low level; in this way, when the ODT command does not need to work, the phenomenon of continuous level switching of the logic gate inside the ODT circuit can be avoided, thereby effectively avoiding additional current consumption, achieving the purpose of saving current and reducing memory power consumption, and ultimately improving memory performance.

[0188] In another embodiment of the present disclosure, for the first gating enable signal, the first gating enable signal can also be generated by a chip select (CS) signal. For ease of distinction, the gating enable signal generated by the chip select signal is referred to herein as a "second gating enable signal," which can be represented by CS_MASK_Gating_EN. Specifically, when the chip select signal is in a low-level state, i.e., CS=0, the second gating enable signal is in a high-level state, i.e., CS_MASK_Gating_EN=1. At this time, the clock signal associated with the ODT command will no longer be shielded, and the clock-related logic gates in the ODT circuit will continuously switch levels; and when the chip select signal is in a high-level state, i.e., CS=1, the second gating enable signal is in a low-level state, i.e., CS_MASK_Gating_EN=0. At this time, the clock signal associated with the ODT command will be turned off, and the clock signal associated with the ODT command will be shielded inside the ODT circuit, and the clock-related logic gates in the ODT circuit will not switch levels. Here, the chip select (CS) signal is used to generate a second gating enable signal to control the clock-related logic gates inside the ODT circuit. However, when there is no ODT command and the chip select signal is in a low state, the clock-related logic gates inside the ODT circuit still undergo level switching, which will consume a lot of current and power.

[0189] Based on this, the present disclosure provides a control circuit 10. By further refining the control circuit 10 of the aforementioned embodiment, specifically referring to FIG11 , the control circuit 10 may include a command buffer circuit 201, a clock buffer circuit 202, an input sampling circuit 203, a decoding subcircuit 204, an SR latch 205, a decoding module 206, a fourth flip-flop 207, a first delay module 208, an output flip-flop 209, a second delay module 210, a third delay module 211, a fourth delay module 212, and a fifth delay module 213. Specifically, the gate generation circuit comprises the decoding subcircuit 204 and the SR latch 205; the command decoding circuit comprises the decoding module 206, the fourth flip-flop 207, and the first delay module 208; the output sampling circuit comprises the output flip-flop 209; the clock delay circuit comprises the second delay module 210, the third delay module 211, and the fourth delay module 212; and the clock control circuit comprises the fifth delay module 213. The specific connection relationships are shown in FIG11 . It should be noted that, here, the input sampling circuit 203 including the first trigger, the second trigger and the third trigger is taken as an example, and no specific limitation is given to this.

[0190] It should be noted that, in the embodiment of the present disclosure, the initial clock signal can be represented by CLK, the first initial clock signal can be represented by CLK1, the second initial clock signal can be represented by CLK2, the second clock signal can be represented by Input_CLK, the command clock signal can be represented by ODT_CLK, the first gating enable signal can be represented by ODT_Gating_EN, the first gating signal can be represented by ODT_Gating, the reset signal can be represented by RST, the first command signal can be represented by ODT_CMD, and the second command signal can be represented by CMD_internal.

[0191] It should also be noted that, in the embodiment of the present disclosure, the command buffer circuit 201 can be represented by CABUF; the clock buffer circuit 202 can be represented by CKBUF; the first delay module 208 can be represented by G5, which also represents the delay time corresponding to the first delay processing; the second delay module 210 can be represented by G2, which also represents the delay time corresponding to the second delay processing; the third delay module 211 can be represented by G4, which also represents the delay time corresponding to the third delay processing; the fourth delay module 212 can be represented by Ga, which also represents the delay time corresponding to the fourth delay processing; the fifth delay module 213 can be represented by Gb, which also represents the delay time corresponding to the fifth delay processing; the decoding sub-circuit 204 can be represented by G7, which also represents the preset delay time.

[0192] Based on the control circuit 10 shown in FIG11 , when the ODT command is in operation, the corresponding signal timing can be shown in FIG12 . As shown in FIG12 , the CLK2 signal undergoes the fourth delay processing of the fourth delay module 212, and the delay time between the Input_CLK signal and the CLK2 signal is Ga. Similarly, the CLK1 signal undergoes the third delay processing of the third delay module 211, and then samples and decodes the signal to obtain the intermediate command signal. This signal then undergoes the first delay processing of the first delay module 208 to obtain the ODT_CMD signal. The delay time between the ODT_CMD signal and the CLK1 signal is G4 + G5. The CLK1 signal undergoes the second delay processing of the second delay module 210 and the first decoding processing of the decoding sub-circuit 204, and the delay time between the ODT_Gating_EN signal and the CLK1 signal is G2 + G7. In addition, the pulse width of the ODT_Gating_EN signal is adjusted based on the RST signal, and the pulse width of the ODT_Gating signal is 128tck.

[0193] It should also be noted that in the embodiment of the present disclosure, as shown in FIG12 , when the ODT_Gating signal is in a low level state, the ODT_CLK signal is at a low level; when the ODT_Gating signal is in a high level state, the ODT_CLK signal has the same frequency as the Input_CLK signal.

[0194] It should also be noted that, in some embodiments, as shown in Figure 12, the sum of the delay time corresponding to the first delay processing and the delay time corresponding to the third delay processing is greater than the sum of the preset delay time, the delay time corresponding to the second delay processing and the delay time corresponding to the fifth delay processing, so that the time when the command clock signal arrives at the output trigger is earlier than the time when the first command signal arrives at the output trigger.

[0195] It can be understood that in the embodiment of the present disclosure, G4+G5>G2+G7+Gb. When G4+G5>G2+G7+Gb, in the output sampling circuit, the time interval between the falling edge of the first command signal ODT_CMD and the rising edge of the command clock signal ODT_CLK meets the setup time of the output flip-flop 209; that is, the time interval between the first command signal ODT_CMD arriving at the output flip-flop 209 and the command clock signal ODT_CLK arriving at the output flip-flop 209 needs to meet the setup time of the output flip-flop 209, so that the command clock signal ODT_CLK can sample the first command signal ODT_CMD when it is in the valid state.

[0196] It should be noted that, in the embodiments of the present disclosure, the setup time of different triggers is different, and the setup time of each trigger is related to its own design and process.

[0197] Based on the control circuit 10 shown in FIG11 , when the ODT command is not working, its corresponding signal timing can be shown in FIG13 . As shown in FIG13 , the CLK2 signal undergoes the fourth delay processing of the fourth delay module 212 , and the delay time between the Input_CLK signal and the CLK2 signal is Ga; when the ODT command is not working, the ODT_CMD signal is in a high-level state, the ODT_Gating_EN signal is in a high-level state, the RST signal is in a high-level state, and the ODT_Gating signal obtained by the ODT_Gating_EN signal and the RST signal passing through the SR latch 205 is in a low-level state; when the ODT_Gating signal is in a low-level state, the Input_CLK signal is shielded, so that ODT_CLK is low, and thus CMD_internal is in a high-level state.

[0198] It should be noted that in the embodiment of the present disclosure, since the frequencies and phases of the CLK signal, the CLK1 signal, and the CLK2 signal are equal, in FIG12 and FIG13 , the signal timings of the CLK signal, the CLK1 signal, and the CLK2 signal are uniformly represented by the CLK signal.

[0199] It should also be noted that for the command clock signal associated with the ODT command, the second gating enable signal generated by the chip select signal controls the command clock signal. While this can prevent current consumption caused by the command clock signal, the clock-related logic gates within the ODT circuit will still undergo level switching when no ODT command is received. In the disclosed embodiment, however, the first gating enable signal generated by the initial command address signal (e.g., which may include the first initial command address signal CA0, the second initial command address signal CA1, and the third initial command address signal CA2) controls the command clock signal. This allows the command clock signal to be released when an ODT command is received, but the command clock signal is kept at a low level when no ODT command is received, thereby saving current. That is, in the disclosed embodiment, since the chip select signal is no longer used as a gating signal, the level switching of the clock-related logic gates within the ODT circuit is independent of the chip select signal. Therefore, when no ODT command is received and the chip select signal is low, the clock-related logic gates within the ODT circuit will no longer undergo level switching, thereby avoiding additional current consumption and saving current.

[0200] The embodiment of the present disclosure provides a control circuit. The specific implementation of the aforementioned embodiment is described in detail based on the above embodiment. It can be seen that in the control circuit 10, the initial command address signal obtained by combining the CA0 / CA1 / CA2 signals related to the ODT command is used to generate a first gating signal. The first gating signal will only release the clock when the ODT command arrives, thereby saving a lot of current and achieving the purpose of reducing power consumption.

[0201] In another embodiment of the present disclosure, referring to FIG14 , a flow chart of a control method provided by an embodiment of the present disclosure is shown. As shown in FIG14 , the method may include:

[0202] S301 : Receive an initial command address signal and a first clock signal through an input sampling circuit, sample the initial command address signal according to the first clock signal, and generate an intermediate command address signal.

[0203] S302 , receiving an intermediate command address signal and a reset signal through a gating generation circuit, generating a first gating enable signal according to the intermediate command address signal, and performing pulse width adjustment on the first gating enable signal according to the reset signal to generate a first gating signal.

[0204] S303 : Receive the first gating signal and the second clock signal through the clock control circuit, and control the second clock signal according to the first gating signal to generate a command clock signal.

[0205] In an embodiment of the present disclosure, the pulse width of the first gating signal is greater than the pulse width of the first gating enable signal. The level of the first gating enable signal is associated with the intermediate command address signal. When the first gating signal is at a first level, the command clock signal and the second clock signal have the same frequency. When the first gating signal is at a second level, the second clock signal is shielded, so that the command clock signal is at a low level.

[0206] In the embodiment of the present disclosure, the method is specifically a method for controlling the input clock of the ODT command, and the method is applied to the control circuit 10 in the above embodiment. For details not disclosed in the embodiment of the present disclosure, please refer to the description of the above embodiment for understanding.

[0207] The disclosed embodiment provides a control method, in which the level state of the first gating enable signal is only associated with the intermediate command address signal and is no longer affected by the chip select signal. At the same time, the intermediate command address signal can also determine whether the ODT command is in a working state, so that the first gating signal is in a first level state only when the ODT command is working. At this time, the command clock signal and the second clock signal have the same frequency; when the ODT command is in a non-working state, the first gating signal is in a second level state, which can shield the second clock signal, so that the command clock signal is a low level; in this way, when the ODT command does not need to work, the phenomenon of continuous level switching of the logic gate inside the ODT circuit can be avoided, thereby effectively avoiding additional current consumption, achieving the purpose of saving current and reducing memory power consumption, and ultimately improving memory performance.

[0208] In another embodiment of the present disclosure, referring to Figure 15 , a schematic diagram of the composition structure of a memory provided by an embodiment of the present disclosure is shown. As shown in Figure 15 , the memory 40 may include the control circuit 10 according to any one of the aforementioned embodiments.

[0209] In some embodiments, the memory 40 may include a DRAM chip. The DRAM chip may conform not only to memory specifications such as DDR, DDR2, DDR3, DDR4, DDR5, and DDR6, but also to memory specifications such as LPDDR, LPDDR2, LPDDR3, LPDDR4, LPDDR5, and LPDDR6, which are not specifically limited herein.

[0210] In the embodiment of the present disclosure, for the memory 40, since the level state of the first gating enable signal is only associated with the intermediate command address signal, it is no longer affected by the chip select signal. At the same time, the intermediate command address signal can also determine whether the ODT command is in a working state; wherein, when the ODT command is in a non-working state, the first gating signal is in a second level state, which can shield the second clock signal, so that the command clock signal is a low level; in this way, when the ODT command does not need to work, the phenomenon of the logic gate in the ODT circuit constantly switching levels can be avoided, thereby effectively avoiding additional current consumption, achieving the purpose of saving current and reducing memory power consumption, and ultimately improving memory performance.

[0211] The above description is merely a preferred embodiment of the present disclosure and is not intended to limit the scope of protection of the present disclosure.

[0212] It should be noted that, in this disclosure, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0213] The serial numbers of the above-mentioned embodiments of the present disclosure are for description only and do not represent the advantages or disadvantages of the embodiments.

[0214] The methods disclosed in the several method embodiments provided in this disclosure can be arbitrarily combined without conflict to obtain new method embodiments.

[0215] The features disclosed in the several product embodiments provided in this disclosure can be arbitrarily combined without conflict to obtain new product embodiments.

[0216] The features disclosed in several method or device embodiments provided in this disclosure may be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0217] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A control circuit (10), characterized in that: The control circuit comprises an input sampling circuit (11), a gate generation circuit (12) and a clock control circuit (13), wherein: The input sampling circuit (11) is used to receive an initial command address signal and a first clock signal, and perform sampling processing on the initial command address signal according to the first clock signal to generate an intermediate command address signal; The gating generation circuit (12) is used to receive the intermediate command address signal and the reset signal, perform a first decoding process on the intermediate command address signal to obtain a first gating enable signal, and perform pulse width adjustment on the first gating enable signal according to the reset signal to generate a first gating signal, wherein the pulse width of the first gating signal is greater than the pulse width of the first gating enable signal; The clock control circuit (13) is used to receive the first gating signal and the second clock signal, and to control the second clock signal according to the first gating signal to generate a command clock signal; Wherein, if it is determined according to the intermediate command address signal that there is a first command, the level state of the first gating enable signal is a low level; if it is determined according to the intermediate command address signal that there is no first command, the level state of the first gating enable signal is a high level; wherein, the first command includes at least one of the following: a mode register read command MRR, a write command WR, a write and automatic precharge command WRA and a read command RD; and when the first gating signal is in a first level state, the command clock signal has the same frequency as the second clock signal; when the first gating signal is in a second level state, the second clock signal is shielded so that the command clock signal is a low level.

2. The control circuit (10) according to claim 1, characterized in that: The first level state is a high level state, and the second level state is a low level state.

3. The control circuit (10) according to any one of claims 1 to 2, characterized in that: The gate control generation circuit (12) comprises a decoding subcircuit (121) and an SR latch (122), wherein: The decoding subcircuit (121) is used to receive the intermediate command address signal and perform the first decoding process on the intermediate command address signal to obtain the first gating enable signal, and the first gating enable signal has a preset delay time compared to the intermediate command address signal; The SR latch (122) is used to receive the first gating enable signal and the reset signal, and to adjust the pulse width of the first gating enable signal according to the reset signal to generate the first gating signal.

4. The control circuit (10) according to claim 3, characterized in that: The SR latch (122) comprises a first NAND gate (U1) and a second NAND gate (U2), wherein: The first input end of the first NAND gate (U1) is used to receive the first gating enable signal, and the second input end of the first NAND gate (U1) is connected to the output end of the second NAND gate (U2); the first input end of the second NAND gate (U2) is connected to the output end of the first NAND gate (U1), and the second input end of the second NAND gate (U2) is used to receive the reset signal; the output end of the first NAND gate (U1) is used to output the first gating signal.

5. The control circuit (10) according to any one of claims 3 to 4, characterized in that: The control circuit (10) further comprises a command decoding circuit (14), wherein: The command decoding circuit (14) is used to receive the intermediate command address signal and the third clock signal, perform a second decoding process on the intermediate command address signal to obtain a decoded signal; and perform sampling and delay processing according to the third clock signal and the decoded signal to obtain a first command signal.

6. The control circuit (10) according to claim 5, characterized in that: The command decoding circuit (14) comprises a decoding module (141), a sampling submodule (142) and a first delay module (143), and the output end of the decoding module (141) is connected to the input end of the sampling submodule (142), and the output end of the sampling submodule (142) is connected to the input end of the first delay module (143), wherein: The decoding module (141) is used to receive the intermediate command address signal and perform the second decoding process on the intermediate command address signal to obtain the decoded signal; The sampling submodule (142) is used to receive the decoded signal and the third clock signal, and perform sampling processing on the decoded signal according to the third clock signal to obtain an intermediate command signal; The first delay module (143) is used to receive the intermediate command signal and perform a first delay process on the intermediate command signal to obtain the first command signal.

7. The control circuit (10) according to claim 6, characterized in that: The control circuit (10) further comprises an output sampling circuit (15) and a delay shift circuit (16), wherein: The output sampling circuit (15) is used to receive the first command signal and the command clock signal, and perform sampling processing on the first command signal according to the command clock signal to obtain a second command signal; The delay shift circuit (16) is used to perform sampling and shift processing on the second command signal to obtain a third command signal; wherein the third command signal is used to control the resistance value switching of the terminal resistor.

8. The control circuit (10) according to claim 7, characterized in that: The output sampling circuit (15) comprises an output trigger (DFF5), wherein: The clock end of the output trigger (DFF5) is used to receive the command clock signal, the input end of the output trigger (DFF5) is used to receive the first command signal, and the first output end of the output trigger (DFF5) is used to output the second command signal; The first output terminal of the output trigger (DFF5) is used to reflect the value of the input terminal of the output trigger (DFF5) after being sampled by the command clock signal.

9. The control circuit (10) according to claim 8, characterized in that: The control circuit (10) further comprises a clock delay circuit (17), and the clock delay circuit (17) comprises a second delay module (171), a third delay module (172) and a fourth delay module (173), wherein: The second delay module (171) is used to receive a first initial clock signal and perform a second delay process on the first initial clock signal to obtain the first clock signal; The third delay module (172) is used to receive the first initial clock signal and perform a third delay process on the first initial clock signal to obtain the third clock signal; The fourth delay module (173) is used to receive the second initial clock signal and perform a fourth delay process on the second initial clock signal to obtain the second clock signal.

10. The control circuit (10) according to claim 9, characterized in that: The control circuit (10) further comprises a clock buffer circuit (18), wherein: The clock buffer circuit (18) is used to receive an initial clock signal and generate the first initial clock signal and the second initial clock signal according to the initial clock signal; The first initial clock signal and the second initial clock signal have the same frequency and phase.

11. The control circuit (10) according to any one of claims 9 to 10, characterized in that: The clock control circuit (13) comprises a fifth delay module (131), wherein: The fifth delay module (131) is used for receiving the first gating signal and the second clock signal, performing a NAND logic operation and a fifth delay processing on the first gating signal and the second clock signal, and obtaining the command clock signal.

12. The control circuit (10) according to claim 11, characterized in that: The fifth delay module (131) comprises a third NAND gate (U3) and an inverting module (U4), wherein: The first input end of the third NAND gate (U3) is used to receive the first gating signal, the second input end of the third NAND gate (U3) is used to receive the second clock signal, and the output end of the third NAND gate (U3) is used to output the intermediate clock signal; The input end of the inversion module (U4) is connected to the output end of the third NAND gate (U3) and is used to delay and invert the intermediate clock signal, and output the command clock signal through the output end of the inversion module (U4).

13. The control circuit (10) according to claim 12, characterized in that: The inverting module (U4) is composed of an odd number of NOT gates connected in series.

14. The control circuit (10) according to claim 13, characterized in that: The sum of the delay time corresponding to the first delay processing and the delay time corresponding to the third delay processing is greater than the sum of the preset delay time, the delay time corresponding to the second delay processing and the delay time corresponding to the fifth delay processing, so that the command clock signal arrives at the output trigger earlier than the first command signal arrives at the output trigger.

15. A memory (40), characterized in that: The memory (40) comprises a control circuit (10) according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Semiconductor memory device and memory system

    CN109903793A

  • Sampling control circuit and method and memory

    CN115775579A

  • Command generation circuit and memory

    CN116092546A

  • Synchronous semiconductor memory device having input circuit with reduced power consumption

    US6188641B1