Control circuit and memory

By designing a control circuit in the DRAM chip, using intermediate command address signal and reset signal processing to generate gate enable signal and command clock signal, the problem of high current consumption in the non-operating state of the ODT circuit is solved, and current saving and reduction are achieved The effect of low power consumption.

CN119068942APending Publication Date: 2024-12-03CHANGXIN MEMORY TECH INC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310613574.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the dynamic random access memory (DRAM) chip, when the ODT command is lacking, the continuous level switching of the logic gate of the on-chip termination (ODT) circuit causes an increase in current consumption, thereby increasing power consumption.

Method used

A control circuit is designed, including an input sampling circuit, a gate generation circuit and a clock control circuit. Through the processing of intermediate command address signals and reset signals, a gate enable signal and command clock signals are generated to ensure that the gate signal is only in the ODT. The command is at a high level when working and at a low level when not working, thereby blocking the clock signal and avoiding logic gate level switching.

Benefits of technology

It effectively avoids the level switching of logic gates inside the ODT circuit, reduces current consumption, reduces memory power consumption, and improves memory performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119068942A_ABST
    Figure CN119068942A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a control circuit and a memory, and the control circuit comprises an input sampling circuit which is used for carrying out the sampling processing of an initial command address signal according to a first clock signal, and generating an intermediate command address signal; the gating generation circuit is 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 to generate a first gating signal; and the clock control circuit is used for performing control processing on the second clock signal according to the first gating signal to generate a command clock signal. Wherein an incidence relation exists between the 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 and the second clock signal have the same frequency; and when the first gating signal is in the second level state, the second clock signal is shielded, so that the command clock signal is at a low level, thereby saving current and improving the performance of the memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of semiconductor technology, people have put forward higher and higher requirements for data transmission speed when manufacturing and using computers and other equipment. In order to obtain faster data transmission speed, a series of devices such as memory that can transmit data at double data rate (DDR) have emerged.

[0003] 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 gate inside the ODT circuit to continuously switch levels, which will consume a lot of current, thereby increasing the power consumption of the DRAM chip. Summary of the invention

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

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

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

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

[0008] A gating generation circuit, used for receiving an intermediate command address signal and a reset signal, generating a first gating enable signal according to the intermediate command address signal, and adjusting the pulse width of 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;

[0009] 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;

[0010] 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 that of 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 a low level.

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

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

[0013] A decoding subcircuit, used for receiving an intermediate command address signal, and performing 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 with the intermediate command address signal;

[0014] The SR latch is used to receive a first gating enable signal and a reset signal, and to adjust the pulse width of the first gating enable signal according to the reset signal to generate a first gating signal;

[0015] 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 pre-charge command WRA, and a read command RD.

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

[0017] The first input end of the first NAND gate is used to receive the 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 the first gating signal.

[0018] In some embodiments, the control circuit further comprises a command decoding circuit, wherein:

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

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

[0021] A decoding module, used for receiving an intermediate command address signal and performing a second decoding process on the intermediate command address signal to obtain a decoding signal;

[0022] A sampling submodule, used for receiving the decoded signal and the third clock signal, and performing sampling processing on the decoded signal according to the third clock signal to obtain an intermediate command signal;

[0023] 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.

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

[0025] An output sampling circuit is used to receive a first command signal and a command clock signal, and to sample and process the first command signal according to the command clock signal to obtain a second command signal;

[0026] 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.

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

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

[0029] 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.

[0030] 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:

[0031] A second delay module, used for receiving the first initial clock signal, and performing a second delay process on the first initial clock signal to obtain a first clock signal;

[0032] A third delay module, used for receiving the first initial clock signal, and performing a third delay process on the first initial clock signal to obtain a third clock signal;

[0033] 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.

[0034] In some embodiments, the control circuit further comprises a clock buffer circuit, wherein:

[0035] 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;

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

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

[0038] 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.

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

[0040] 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;

[0041] The input end of the inversion 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 inversion module.

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

[0043] 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 command clock signal arrives at the output trigger earlier than the time when the first command signal arrives at the output trigger.

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

[0045] The embodiments of the present disclosure provide 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 the 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 a working state, so that the first gating signal is in a first level state only when the ODT command is working; in this way, 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a structural schematic diagram of an ODT functional circuit;

[0047] Figure 2 A signal timing diagram of an ODT function;

[0048] Figure 3 A schematic diagram of a control circuit provided in an embodiment of the present disclosure Figure 1 ;

[0049] Figure 4 A schematic diagram of the structure of an input sampling circuit provided by an embodiment of the present disclosure;

[0050] Figure 5 A schematic diagram of the structure of a gate control generation circuit provided in an embodiment of the present disclosure;

[0051] Figure 6 A schematic diagram of the structure of a command decoding circuit provided in an embodiment of the present disclosure;

[0052] Figure 7 A schematic diagram of a control circuit provided in an embodiment of the present disclosure Figure 2 ;

[0053] Figure 8 A schematic diagram of the structure of an output sampling circuit provided in an embodiment of the present disclosure;

[0054] Fig. 9 A schematic diagram of a control circuit provided in an embodiment of the present disclosure Figure 3 ;

[0055] Fig.10 A schematic diagram of the structure of a clock control circuit provided in an embodiment of the present disclosure;

[0056] Fig.11 A detailed structural diagram of a control circuit provided in an embodiment of the present disclosure;

[0057] Fig.12 A signal timing diagram of a control circuit provided in an embodiment of the present disclosure Figure 1 ;

[0058] Fig.13 A signal timing diagram of a control circuit provided in an embodiment of the present disclosure Figure 2 ;

[0059] Fig.14 A flow chart of a control method provided by an embodiment of the present disclosure;

[0060] Fig.15 A schematic diagram of the composition structure of a memory provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. It is understood that the specific embodiments described herein are only used to explain the relevant application, rather than to limit the application. It should also be noted that, for the convenience of description, only the parts related to the relevant application are shown in the drawings.

[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. 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.

[0063] In the following description, reference is made to “some embodiments”, which describe 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.

[0064] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present disclosure are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in 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.

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

[0066] Dynamic Random Access Memory (DRAM);

[0067] Double Data Rate (DDR);

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

[0069] The fourth generation of double data rate (Double Data Rate 4, DDR4);

[0070] The fifth generation of double data rate (Double Data Rate 5, DDR5);

[0071] On Die Termination (ODT);

[0072] Termination Resistance (RTT);

[0073] Command (CMD);

[0074] Data (DQ);

[0075] Chip select signal (Chip Select, CS);

[0076] Mode Register Read command (Mode Register Read, MRR);

[0077] Write command (Write, WR);

[0078] Read command (Read, RD);

[0079] Write w / Auto Pre-charge command (WRA);

[0080] CAS Write Latency (CWL)

[0081] Burst Length (BL);

[0082] Mode Register Setting (MRS);

[0083] High level (High, H);

[0084] Low level (Low, L);

[0085] Valid level (Valid, V);

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

[0087] Central Processing Unit (CPU).

[0088] With the rapid development of semiconductor technology, the transmission rate of signals is getting faster and faster, resulting in increasingly prominent signal integrity issues. In the process of high-speed signal transmission, in order to better improve the signal integrity of data, ODT resistors are added separately in the design of DDR3, DDR4 and DDR5. That is, ODT resistors are used to match the impedance of the transmission line, which reduces the reflection and energy loss of the signal during transmission, thereby ensuring the signal integrity received by the receiving end.

[0089] Taking DDR5 DRAM as an example, DDR5 DRAM supports ODT function, which can adjust the terminal resistance (also called "termination resistance") of each device's DQ, DQS_t / c, DM_n and TDQS_t / c ports through ODT pin control, write commands or mode registers to set default resistance values. In addition, the purpose of 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 DRAM by the controller. Figure 1 As shown, it shows a structural schematic diagram of an ODT functional circuit provided by the related art. Figure 1In the embodiment, the ODT functional circuit may at least include a switch S1, a terminal resistor RTT and a power supply VDDQ. 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 DQ, DQS, DM, and TDQS ports. It should be noted that DQS can be a pair of differential data selection signals DQS_t and DQS_c, and TDQS can be a pair of differential data selection signals TDQS_t and TDQS_c.

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

[0091] For example, Figure 2 FIG. 1 shows a signal timing diagram of an ODT function, specifically a control timing diagram of the ODT function during a write operation in DDR5. Figure 2As shown, 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 to say, 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 to say, before the DQ end receives data, when the resistance value of RTT 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, ODTLon_WR_offset is the adjustment value of the tODTLon_WR parameter issued by the controller; and after the DQ end receives data, when the resistance value of RTT switches from RTT_WR to RTT_PARK, it is necessary to wait for tODTLoff_WR preset clock cycles after the write command, where tODTLoff_WR=CWL+BL / 2+ODTLoff_WR_offset, ODTLoff_WR_offset is the adjustment value of the tODTLoff_WR parameter issued by the controller. In addition, the resistance switching of RTT does not occur immediately, but takes time to change. The time for the resistance switching of RTT is represented by tADC, where the maximum and minimum values ​​of tADC can be set, respectively represented as: tADC.Max and tADC.Min.

[0092] Furthermore, the technical specifications of DDR5 stipulate that DDR5 usually adopts a half-rate clock scheme to achieve high frequency (HF) operation above 4800 megabits per second (Mbps). Although this ODT circuit can prevent the peak current generated during high-frequency operation, it consumes higher standby current; therefore, it is necessary to provide a clock gating scheme that can reduce current consumption.

[0093] Based on this, the disclosed embodiment provides a control circuit, wherein the level state of the first gating enable signal is associated with the intermediate command address signal; when the first gating signal is in the first level state, the command clock signal has the same frequency as the second clock signal; when the first gating signal is in the second level state, the second clock signal is shielded so that the command clock signal is at a low level. In this way, 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, and the intermediate command address signal can also determine whether the ODT command is in a working state, so that the first gating signal is only in the first level state when the ODT command is working, and the command clock signal has the same frequency as the second clock signal; and when the ODT command is in a non-working state, the first gating signal is in the second level state, and the second clock signal can be shielded, so that the command clock signal is at 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.

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

[0095] In one embodiment of the present disclosure, see Figure 3 , which shows a schematic diagram of the composition structure of a control circuit provided by an embodiment of the present disclosure Figure 1 .like Figure 3 As shown, the control circuit 10 may include an input sampling circuit 11, a gate generation circuit 12 and a clock control circuit 13, wherein:

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

[0097] The gating generation circuit 12 is used to receive the intermediate command address signal and the 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;

[0098] 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;

[0099] In the 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 to make the command clock signal a low level.

[0100] It should be noted that in the embodiment 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., which is not specifically limited here.

[0101] It should also be noted that, in the embodiment of the present disclosure, the control circuit 10 may be specifically an input clock control circuit for an ODT command. Here, an initial command address signal related to the ODT command is used to generate a first gating signal, and the first gating signal will only release the clock signal when the ODT command arrives, thereby achieving the purpose of saving current.

[0102] 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. Exemplarily, 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 also other initial command address signals, such as CA3, CA4, and CA5, etc., which are not specifically limited.

[0103] 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.

[0104] 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, so that the pulse width of the generated first gating signal is greater than the pulse width of the first gating enable signal, wherein the pulse width may be referred to as "pulse width". In this way, when the first gating signal is in the first level state, the command clock signal generated according to the first gating signal has a sufficiently long clock to generate an ODT command that ultimately meets the requirements, and the pulse width of the ultimately generated ODT command can cover the entire DQ data writing process.

[0105] 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 gate inside the ODT circuit will not switch levels, thereby achieving the purpose of saving current and reducing power consumption. Here, the clock-related logic gate refers 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 refers to the clock signal input to the logic gate changing from high level to 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, an NAND gate, or an NOR gate, etc., without specific limitation.

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

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

[0108] 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.

[0109] 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.

[0110] 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.

[0111] It should also be noted that in the embodiment of the present disclosure, the initial command address signal includes not only CA0, CA1 and CA2, but also other initial command address signals, which are not specifically limited. It can be understood that CA0, CA1 and CA2 are the three initial command address signals that are critical for decoding the first gating signal, so Table 1 exemplarily lists the relevant provisions about CA0, CA1 and CA2.

[0112] Table 1

[0113]

[0114] It should also be noted that when any of the following commands arrives: mode register read command, write command, write and automatic precharge command, and read command, etc., it means that the ODT circuit is in working state. For example, taking CA0, CA1, and CA2 as examples, the level states of CA0, CA1, and CA2 in Table 1 are different for different commands; in addition, the first gating enable signal is related to whether the ODT circuit is working, so the embodiment of the present disclosure can use CA0, CA1, and CA2 to characterize the level state of the first gating enable signal. In other words, the level state of the first gating enable signal is associated with the initial command address signal.

[0115] Further, for the input sampling circuit 11, the input sampling circuit 11 may include a plurality of triggers for receiving all the initial command address signals and performing sampling processing on them. For example, taking the initial command address signal including the first initial command address signal, the second initial command address signal and the third initial command address signal as an example, see Figure 4 , the input sampling circuit 11 may include a first flip-flop DFF1, a second flip-flop DFF2 and a third flip-flop DFF3, wherein:

[0116] The first flip-flop DFF1 is used to receive a first initial command address signal and a first clock signal, and to sample the first initial command address signal according to the first clock signal to obtain a first intermediate command address signal;

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

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

[0119] 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.

[0120] 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.

[0121] It should also be noted that, in the disclosed embodiment, 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 stable state under the action of the signal received at the clock end.

[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 may include a clock terminal (CK), an input terminal (D), a first output terminal (Q) and a second output terminal In addition, a set terminal (SET) and a reset terminal (RST) may also be included, but they are not shown in the figure.

[0123] 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.

[0124] In some embodiments, for the gate control generating circuit 12, see Figure 5 , the gate control generation circuit 12 may include a decoding subcircuit 121 and an SR latch 122, wherein:

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

[0126] 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.

[0127] It should be noted that in the embodiment of the present disclosure, 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.

[0128] The first command may include 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.

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

[0130] It should also be noted that, in the embodiment of the present disclosure, the level state of the first gating enable signal can be determined according to the intermediate command address signal. Specifically, if any one of the commands MRR, WR, WRA and RD is decoded according to 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 according to the intermediate command address signal, the level state of the first gating enable signal is a high level.

[0131] It should also be noted that in the disclosed embodiment, MRR, WR, WRA or RD in Table 1 all need to be reflected by the terminal resistor, so an ODT command needs to be generated here to control the resistance switching of the terminal resistor. In other words, it is determined whether the first command arrives according to the intermediate command address signal, and no matter which first command arrives, the first gating enable signal will become a low level.

[0132] It should also be noted that, in the disclosed embodiment, 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. Exemplarily, the delay time between the falling edge of the level of the first gating enable signal and the change in the level of the reset signal (from a high level to a low level) is 128tck, then 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 of the terminal resistance for resistance switching can be obtained, so that the ODT delay requirements can be better met.

[0133] Further, in some embodiments, for the SR latch 122, if Figure 5 As shown, the SR latch 122 includes a first NAND gate U1 and a second NAND gate U2, wherein:

[0134] 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.

[0135] It should be noted that, in the embodiment of the present disclosure, the first gating signal is obtained by adjusting the pulse width of the first gating enable signal according to the reset signal through the SR latch 122. Specifically, the first input end of the first NAND gate U1 serves as the first input end of the SR latch 122, for receiving the first gating enable signal; the second input end of the second NAND gate U2 serves as the second input end of the SR latch 122, for receiving the reset signal; the output end of the first NAND gate U1 serves as the output end of the SR latch 122, for outputting the first gating signal.

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

[0137] 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.

[0138] Further, in some embodiments, for the command decoding circuit 14, see Figure 6The command decoding circuit 14 includes 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:

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

[0140] 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;

[0141] 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 a first command signal.

[0142] 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.

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

[0144] Furthermore, in some embodiments, for the sampling submodule 142, Figure 6 As shown, the sampling submodule 142 may include a fourth trigger DFF4, wherein:

[0145] 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;

[0146] 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 after being sampled by the third clock signal.

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

[0148] In some embodiments, Figure 3 Based on the control circuit 10 shown, see Figure 7 , the control circuit 10 may further include an output sampling circuit 15 and a delay shift circuit 16, wherein:

[0149] The output sampling circuit 15 is used to receive the first command signal and the command clock signal, and to sample the first command signal according to the command clock signal to obtain a second command signal;

[0150] 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.

[0151] 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.

[0152] It should also be noted that, in the embodiment of the present disclosure, a command clock signal is generated by the clock control circuit 13, a first command signal is generated by the command decoding circuit 14, 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.

[0153] 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.

[0154] 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.

[0155] It should also be noted that in the disclosed embodiment, the command clock signal is only related to the level state of the first gating signal. Specifically, when the first gating signal is in a high level state, the command clock signal has the same frequency as the second clock signal; when the first gating signal is in a low level state, the command clock signal is at a low level. Here, the delay shift circuit 16 also needs to receive the command clock signal. When the ODT command is in a non-working state, the command clock signal is at a low level, which can further save current.

[0156] Further, in some embodiments, for the output sampling circuit 15, see Figure 8 , the output sampling circuit 15 may include an output trigger DFF5, wherein:

[0157] 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;

[0158] 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.

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

[0160] It should also be noted that, in the embodiment of the present disclosure, the first output terminal of the output trigger DFF5 is used as the output terminal of the output sampling circuit 15 to output the second command signal.

[0161] In some embodiments, Figure 7 Based on the control circuit 10 shown, see Fig. 9 , 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:

[0162] The second delay module 171 is used 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;

[0163] 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 a third clock signal;

[0164] 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 a second clock signal.

[0165] 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.

[0166] 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.

[0167] It should also be noted that, in the embodiments 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 to say, 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 are in a sequential relationship in time.

[0168] It should also be noted that, in the embodiment of the present disclosure, the first clock signal is used as the clock source for the input sampling circuit 11 to sample the initial command address signal, and the third clock signal is used 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 through the input sampling circuit 11 to generate an intermediate command address signal, the intermediate command address signal is subjected to a second decoding process through the decoding module in the command decoding circuit 14 to obtain a decoded signal, and the third clock signal samples the decoded signal through the sampling submodule in the command decoding circuit 14 to obtain an intermediate command signal, the delay time corresponding to the second delay process and the third delay process must make the fourth flip-flop DFF4 meet the setup time.

[0169] Furthermore, in some embodiments, Fig. 9 As shown, the control circuit 10 may further include a clock buffer circuit 18, wherein:

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

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

[0172] 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.

[0173] 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.

[0174] Furthermore, in some embodiments, Fig. 9As shown, the control circuit 10 may further include a command cache circuit 19, wherein the command cache circuit 19 is used to provide an initial command address signal.

[0175] Further, in some embodiments, for the clock control circuit 13, see Fig.10 , the clock control circuit 13 may include a fifth delay module 131, wherein:

[0176] 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 process on the first gating signal and the second clock signal, and obtaining a command clock signal.

[0177] 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 a first level state, performs a non-AND logic 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 a first level state, the clock periods of the command clock signal and the second clock signal are equal.

[0178] It should also be noted that, in the embodiment of the present disclosure, the clock control circuit 13 can control the release of the command clock signal. Specifically, when an ODT command arrives, that is, the ODT circuit is in a working state, the clock control circuit 13 releases the command clock signal; when no ODT command arrives, that is, the ODT circuit is in a non-working state, the clock control circuit 13 shields the second clock signal to make the command clock signal low level, that is, does not release the command clock signal.

[0179] 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.

[0180] Further, in some embodiments, for the fifth delay module 131, Fig.10 As shown, the fifth delay module 131 includes a third NAND gate U3 and an inverting module U4, wherein:

[0181] 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;

[0182] 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.

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

[0184] It should be noted that, in the embodiment of the present disclosure, the inverting module U4 may be composed of one NOT gate, or three, or five, or seven NOT gates connected in series, and the embodiment of the present disclosure does not specifically limit this. Fig.10 In the embodiment, the specific implementation of the embodiment of the present disclosure is described in detail by taking the inverting module U4 consisting of three NOT gates connected in series as an example.

[0185] It should also be noted that, in the embodiment of the present disclosure, because the inverting module U4 includes an odd number of NOT gates, the intermediate clock signal is not only delayed, but also the level state of the intermediate clock signal is changed. In addition, the delay time between the intermediate clock signal input by the inverting module U4 and the command clock signal output is related to the specific number of NOT gates in the inverting module U4. The number of NOT gates in the inverting module U4 is different, and the delay time between the intermediate clock signal input by the inverting module U4 and the command clock signal output is different. In this way, the embodiment of the present disclosure can determine the specific number of NOT gates in the inverting module U4 according to the required delay time.

[0186] The disclosed embodiment provides a control circuit, which includes: an input sampling circuit, which is used to sample and process the initial command address signal according to a first clock signal to generate an intermediate command address signal; a gating generation circuit, which is used to generate a first gating enable signal according to the intermediate command address signal, and to adjust the pulse width of the first gating enable signal according to a reset signal to generate a first gating signal; a clock control circuit, which is used to control and process the second clock signal according to the first gating signal to generate a command clock signal. The level state of the first gating enable signal is associated with 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 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 low level. In this way, since 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 a working state, the first gating signal is in a first level state only when the ODT command is working, and the command clock signal has the same frequency as the second clock signal at this time; 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.

[0187] In another embodiment of the present disclosure, for the first gating enable signal, the first gating enable signal may 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 as a "second gating enable signal" and may 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 which 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 which time the clock signal associated with the ODT command will be turned off, 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, a 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.

[0188] Based on this, the present disclosure provides a control circuit 10, which is further refined by the control circuit 10 of the above-mentioned embodiment. Fig.11 The control circuit 10 may include a command cache circuit 201, a clock cache circuit 202, an input sampling circuit 203, a decoding subcircuit 204, an SR latch 205, a decoding module 206, a fourth trigger 207, a first delay module 208, an output trigger 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 is composed of a decoding subcircuit 204 and an SR latch 205; the command decoding circuit is composed of a decoding module 206, a fourth trigger 207 and a first delay module 208; the output sampling circuit is composed of an output trigger 209; the clock delay circuit is composed of a second delay module 210, a third delay module 211 and a fourth delay module 212; and the clock control circuit is composed of a fifth delay module 213. For details of the specific connection relationship, see Fig.11 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 made to this.

[0189] It should be noted that, in the embodiments 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.

[0190] It should also be noted that, in the disclosed embodiment, 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.

[0191] based on Fig.11 The control circuit 10 shown in FIG. 1 may have a corresponding signal timing sequence when the ODT command is in operation. Fig.12 As shown. Fig.12 As shown, 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 to sample the decoded signal, obtains the intermediate command signal, and then undergoes the first delay processing of the first delay module 208 to obtain the ODT_CMD signal, and 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 according to the RST signal, and the pulse width of the ODT_Gating signal is 128tck.

[0192] It should also be noted that in the embodiments of the present disclosure, Fig.12As shown, 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 frequency of the ODT_CLK signal is the same as that of the Input_CLK signal.

[0193] It should also be noted that in some embodiments, Fig.12 As shown, 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.

[0194] 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 trigger 209; that is, the time interval between the first command signal ODT_CMD reaching the output trigger 209 and the command clock signal ODT_CLK reaching the output trigger 209 needs to meet the setup time of the output trigger 209, so that the command clock signal ODT_CLK can sample the first command signal ODT_CMD when it is in a valid state.

[0195] 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.

[0196] based on Fig.11 When the ODT command does not work, the corresponding signal timing of the control circuit 10 shown in FIG. Fig.13 As shown. Fig.13 As shown, 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 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 to make ODT_CLK a low level, so that CMD_internal is in a high level state.

[0197] 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, Fig.12 and Fig.13 In the figure, the signal timings of the CLK signal, the CLK1 signal and the CLK2 signal are uniformly represented by the CLK signal.

[0198] It should also be noted that, for the command clock signal related to the ODT command, the second gating enable signal generated by the chip select signal controls the command clock signal. Although the current consumption caused by the command clock signal can be prevented, when there is no ODT command, the clock-related logic gates in the ODT circuit will still switch levels. In the embodiment of the present disclosure, the first gating enable signal generated by the initial command address signal (for example, it can 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, which can be realized when the ODT command arrives, The command clock signal is released; but when there is no ODT command, the command clock signal is made low, so that current can be saved. That is to say, in the embodiment of the present disclosure, since the chip select signal is no longer used as a gating signal, the level switching of the clock-related logic gates in the ODT circuit is independent of the chip select signal. Therefore, when there is no ODT command and the chip select signal is in a low level state, the clock-related logic gates in the ODT circuit will no longer switch levels, thereby avoiding additional current consumption and saving current.

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

[0200] In another embodiment of the present disclosure, see Fig.14 , which shows a flow chart of a control method provided by an embodiment of the present disclosure. Fig.14 As shown, the method may include:

[0201] S301 , receiving an initial command address signal and a first clock signal through an input sampling circuit, sampling the initial command address signal according to the first clock signal, and generating an intermediate command address signal.

[0202] 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 adjusting the pulse width of the first gating enable signal according to the reset signal to generate a first gating signal.

[0203] S303 , receiving a first gating signal and a second clock signal through a clock control circuit, and controlling and processing the second clock signal according to the first gating signal to generate a command clock signal.

[0204] In the 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 state of the first gating enable signal is associated with the intermediate command address signal; and when the first gating signal is in the first level state, the command clock signal has the same frequency as the second clock signal; when the first gating signal is in the second level state, the second clock signal is shielded to make the command clock signal low level.

[0205] 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.

[0206] The disclosed embodiment provides a control method. Since 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 a working state, the first gating signal is in a first level state only when the ODT command is working. At this time, the command clock signal has the same frequency as the second clock signal. 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.

[0207] In another embodiment of the present disclosure, see Fig.15 , which shows a schematic diagram of the composition structure of a memory provided by an embodiment of the present disclosure. Fig.15 As shown, the memory 40 may include the control circuit 10 described in any one of the aforementioned embodiments.

[0208] In some embodiments, the memory 40 may include a DRAM chip. The DRAM chip may not only comply with memory specifications such as DDR, DDR2, DDR3, DDR4, DDR5, DDR6, etc., but may also comply with memory specifications such as LPDDR, LPDDR2, LPDDR3, LPDDR4, LPDDR5, LPDDR6, etc., which are not specifically limited here.

[0209] In the disclosed embodiment, 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 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.

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

[0211] It should be noted that in the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

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

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

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

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

[0216] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A control circuit, characterized in that: The control circuit includes an input sampling circuit, a gate generation circuit and a clock control circuit, wherein: The input sampling circuit 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 is used to receive the intermediate command address signal and the 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; The clock control circuit is used to receive the first gating signal and the second clock signal, and control 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; 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 to make the command clock signal at a low level.

2. The control circuit 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 according to claim 1, characterized in that: The gate control generation circuit includes a decoding subcircuit and an SR latch, wherein: The decoding sub-circuit is used to receive the intermediate command address signal and perform a 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 with the intermediate command address signal; The SR latch is used to receive the first gating enable signal and the reset signal, and perform pulse width adjustment on the first gating enable signal according to the reset signal to generate the first gating signal; Among them, 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 pre-charge command WRA, and a read command RD.

4. The control circuit according to claim 3, characterized in that: The SR latch comprises a first NAND gate and a second NAND gate, wherein: The first input end of the first NAND gate is used to receive the 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 the reset signal; the output end of the first NAND gate is used to output the first gating signal.

5. The control circuit according to claim 3, characterized in that: The control circuit also includes a command decoding circuit, wherein: 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.

6. The control circuit according to claim 5, characterized in that: The command decoding circuit includes a decoding module, a sampling submodule and a first delay module, and the output end of the decoding module is connected to the input end of the sampling submodule, and the output end of the sampling submodule is connected to the input end of the first delay module, wherein: The decoding module is used to receive the intermediate command address signal and perform the second decoding process on the intermediate command address signal to obtain the decoding signal; The sampling submodule 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 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 according to claim 6, characterized in that: The control circuit also includes an output sampling circuit and a delay shift circuit, wherein: The output sampling circuit 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 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.

8. The control circuit according to claim 7, characterized in that: The output sampling circuit comprises an output trigger, wherein: The clock end of the output trigger is used to receive the command clock signal, the input end of the output trigger is used to receive the first command signal, and the first output end of the output trigger is used to output the second command signal; 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.

9. The control circuit according to claim 8, characterized in that: 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: The second delay module is used to receive the 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 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 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 according to claim 9, characterized in that: The control circuit also includes a clock buffer circuit, wherein: The clock buffer circuit 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 according to claim 9, characterized in that: The clock control circuit includes a fifth delay module, wherein: 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 the command clock signal.

12. The control circuit according to claim 11, characterized in that: The fifth delay module includes a third NAND gate and an inversion module, wherein: The first input end of the third NAND gate is used to receive the first gating signal, the second input end of the third NAND gate is used to receive the second clock signal, and the output end of the third NAND gate is used to output the intermediate clock signal; The input end of the inversion 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 inversion module.

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

14. The control circuit 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, characterized in that: The memory comprises a control circuit as claimed in any one of claims 1 to 14.

Citation Information

Cited By

  • Bank address decoder and memory

    CN119741951A