Sampling control circuit and method, and memory
By using the cooperation of the clock signal and the enable control signal in the sampling control circuit of the DRAM, it is ensured that only the specific command address signal is sampled during the power-down mode, thus solving the problems of power consumption waste and signal instability during the DRAM power-down mode. , improving memory performance.
Patent Information
- Application Number
- PCT/CN2023/082516
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-13
- Filing Date
- 2023-03-20
- Publication Date
- 2024-09-19
AI Technical Summary
Existing DRAM has problems with power consumption waste and signal instability during power-down mode, especially improper processing of command address signals due to signal sampling conflicts.
A sampling control circuit is designed, including an input module, a decoding module and a control module. Through the cooperation of the clock signal and the enable control signal, it is ensured that only the specific command address signal is sampled during power-off, and the sampling of non-target signals is avoided. , thereby reducing power consumption and ensuring signal stability.
It effectively avoids signal instability and sampling conflicts, reduces circuit power consumption, and improves memory performance and signal processing standard compliance.
Smart Images

Figure CN2023082516_19092024_PF_FP_ABST
Abstract
Description
Sampling control circuit, method and memory
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on the Chinese patent application with application number 202310102047.8, application date February 13, 2023, and invention name “Sampling Control Circuit, Method and Memory”, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this disclosure as a reference. Technical Field
[0003] The present disclosure relates to the field of semiconductor technology, and in particular to a sampling control circuit, method, and memory. Background Art
[0004] Dynamic Random Access Memory (DRAM) is a type of semiconductor memory that uses the amount of charge stored in a capacitor to represent whether a binary bit is 1 or 0. Taking the fifth-generation double data rate (DDR5) DRAM as an example, when the on-die termination (ODT) control enables the device to enter power-down mode, the DRAM needs to classify and control each command address signal to ensure that the non-target-ODT (NT_ODT) command is always valid during power-down, while other commands are only valid within the command path disable delay time (tCPDED). However, current solutions are prone to power consumption and may even cause signal instability due to signal sampling conflicts.
[0005] Summary of the Invention
[0006] Embodiments of the present disclosure provide a sampling control circuit, method, and memory.
[0007] In a first aspect, an embodiment of the present disclosure provides a sampling control circuit, comprising a first input module, a second input module, a decoding module, and a control module, wherein:
[0008] The first input module is configured to receive a first input signal and a clock signal, and sample the first input signal according to the clock signal to obtain a first sampling signal;
[0009] The second input module is configured to receive the clock signal, the second input signal and the first enable control signal, and when the first enable control signal is in an invalid state, sample the second input signal according to the clock signal and the first enable control signal to obtain a second sampling signal;
[0010] The decoding module is configured to receive a chip select sampling signal, the first sampling signal, and the second sampling signal, and decode the first sampling signal and the second sampling signal according to the chip select sampling signal to obtain a power-off entry command and a power-off exit command;
[0011] The control module is configured to generate the first enable control signal according to the power-off entry command and the power-off exit command; wherein, when the first enable control signal is in a valid state, the second input module is placed in a non-working state during power-off.
[0012] In some embodiments, the first input module includes a first receiving module and a first sampling module, wherein:
[0013] The first receiving module is configured to receive the first input signal and output a first intermediate signal according to the first input signal;
[0014] The first sampling module is configured to receive the clock signal and the first intermediate signal, and perform sampling processing on the first intermediate signal according to the clock signal to obtain the first sampling signal.
[0015] In some embodiments, the second input module includes a second receiving module and a second sampling module, wherein:
[0016] The second receiving module is configured to receive the second input signal and output a second intermediate signal according to the second input signal;
[0017] The second sampling module is configured to receive the clock signal, the second intermediate signal and the first enable control signal, generate a target clock signal according to the clock signal and the first enable control signal; and when the first enable control signal is in an invalid state, sample the second intermediate signal according to the target clock signal to obtain the second sampling signal.
[0018] In some embodiments, the second sampling module is further configured to, when the first enable control signal is in an invalid state, generate the target clock signal based on the clock signal, so that the second sampling module performs sampling processing on the second intermediate signal; or, when the first enable control signal is in a valid state, shield the clock signal to prevent the generation of the target clock signal, so that the second sampling module stops sampling processing on the second intermediate signal.
[0019] In some embodiments, the second sampling module includes a clock control module and a sampling submodule, wherein:
[0020] The clock control module is configured to receive the clock signal and the first enable control signal, and when the first enable control signal is in a valid state, shield the clock signal to prevent the generation of the target clock signal; or when the first enable control signal is in an invalid state, generate the target clock signal according to the clock signal;
[0021] The sampling submodule is configured to receive the target clock signal, the second intermediate signal and the first enable control signal, and when the first enable control signal is in an invalid state, sample the second intermediate signal according to the target clock signal to obtain the second sampling signal.
[0022] In some embodiments, the clock control module includes a first NOT gate and a first AND gate, wherein:
[0023] The input end of the first NOT gate is used to receive the first enable control signal, the first input end of the first AND gate is used to receive the clock signal, the second input end of the first AND gate is connected to the output end of the first NOT gate, and the output end of the first AND gate is connected to the clock end of the sampling sub-module, so as to provide the target clock signal for the sampling sub-module.
[0024] In some embodiments, the sampling control circuit further includes a chip select input module, wherein:
[0025] The chip select input module is configured to receive a chip select signal and the clock signal, and perform sampling processing on the chip select signal according to the clock signal to obtain the chip select sampling signal.
[0026] In some embodiments, the chip select input module includes a third receiving module and a third sampling module, wherein:
[0027] The third receiving module is configured to receive the chip select signal and output a third intermediate signal according to the chip select signal;
[0028] The third sampling module is configured to receive the clock signal and the third intermediate signal, and perform sampling processing on the third intermediate signal according to the clock signal to obtain the chip selection sampling signal.
[0029] In some embodiments, the number of the first sampling signal is at least one, and the number of the second sampling signal is at least one, wherein:
[0030] The decoding module is configured to decode at least one of the first sampling signals and at least one of the second sampling signals according to the chip select sampling signal to generate the power-off entry command; and to decode at least one of the first sampling signals and at least one of the second sampling signals according to the chip select sampling signal to generate the power-off exit command during a period when the power-off entry command indicates that the sampling control circuit is in power-off.
[0031] In some embodiments, the decoding module is configured to generate the power-down exit command if the chip select sampling signal is in a low level state and at least one first sampling signal and at least one second sampling signal are both in a high level state when the power-down entry command indicates that the sampling control circuit is in a power-down period.
[0032] In some embodiments, the control module is further configured to generate a second enable control signal according to the power-down entry command and the power-down exit command; wherein the first enable control signal is delayed by one clock cycle compared to the second enable control signal.
[0033] In some embodiments, the sampling control circuit further includes an enabling processing module, which is connected to the control module, wherein:
[0034] The enable processing module is configured to delay the first enable control signal to generate a third enable control signal, generate a fourth enable control signal according to the second enable control signal and the third enable control signal, and send the fourth enable control signal to the second receiving module.
[0035] In some embodiments, the second receiving module includes a receiving submodule, and the receiving submodule is connected to the enabling processing module, wherein:
[0036] The receiving submodule is configured to receive the fourth enable control signal; and, when the fourth enable control signal is in an invalid state, enable the second receiving module to receive the second input signal; or, when the fourth enable control signal is in a valid state, enable the second receiving module to stop receiving the second input signal and control the second intermediate signal output by the second receiving module to be in a high level state.
[0037] In some embodiments, the enabling processing module includes a delay module and a logic module, wherein:
[0038] The delay module is configured to delay the first enable control signal to generate the third enable control signal;
[0039] The logic module is configured to perform an AND logic process on the second enable control signal and the third enable control signal to obtain the fourth enable control signal.
[0040] In some embodiments, the logic module includes a second AND gate, wherein:
[0041] The first input terminal of the second AND gate is used to receive the second enable control signal, the second input terminal of the second AND gate is used to receive the third enable control signal, and the output terminal of the second AND gate is used to output the fourth enable control signal.
[0042] In some embodiments, the control module is further configured to, after receiving the power-off entry command and after a preset time interval, control the first enable control signal to be in a valid state, so that the sampling control circuit is in a power-off period; and, after receiving the power-off exit command, control the first enable control signal to be in an invalid state, so that the sampling control circuit exits power-off.
[0043] In some embodiments, the first input signal and the second input signal are both command address signals.
[0044] In a second aspect, an embodiment of the present disclosure provides a sampling control method, applied to the sampling control circuit according to any one of the first aspects, the method comprising:
[0045] receiving a first input signal and a clock signal through the first input module, and sampling the first input signal according to the clock signal to obtain a first sampling signal;
[0046] receiving the clock signal, the second input signal and the first enable control signal through the second input module, and sampling the second input signal according to the clock signal and the first enable control signal when the first enable control signal is in an invalid state to obtain a second sampling signal;
[0047] receiving a chip select sampling signal, the first sampling signal, and the second sampling signal through the decoding module, decoding the first sampling signal and the second sampling signal according to the chip select sampling signal to obtain a power-off entry command and a power-off exit command;
[0048] The power-off entry command and the power-off exit command are received by the control module, and the first enable control signal is generated according to the power-off entry command and the power-off exit command; wherein, when the first enable control signal is in a valid state, the second input module is placed in a non-working state during the power-off period.
[0049] In a third aspect, an embodiment of the present disclosure provides a memory comprising the sampling control circuit as described in any one of the first aspects.
[0050] The present disclosure provides a sampling control circuit, method, and memory, the circuit comprising a first input module, a second input module, a decoding module, and a control module. The first input module is configured to receive a first input signal and a clock signal, and to sample and process the first input signal according to the clock signal to obtain a first sampling signal. The second input module is configured to receive a clock signal, a second input signal, and a first enable control signal, and to sample and process the second input signal according to the clock signal and the first enable control signal when the first enable control signal is in an invalid state to obtain a second sampling signal. The decoding module is configured to receive a chip select sampling signal, a first sampling signal, and a second sampling signal, and to decode and process the first sampling signal and the second sampling signal according to the chip select sampling signal to obtain a power-off entry command and a power-off exit command. The control module is configured to generate a first enable control signal according to the power-off entry command and the power-off exit command. When the first enable control signal is in an effective state, the second input module is placed in a non-operating state during power-off. In this way, the second input module is controlled to be in a non-working state during power-off according to the first enable control signal, thereby ensuring that during this period the sampling control circuit only receives and samples the first input signal, so that the reception and sampling of the signal meet the standard requirements, and can avoid signal instability and sampling conflicts; it is also beneficial to reduce circuit power consumption, thereby improving memory performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] FIG1 is a schematic diagram of a signal timing sequence;
[0052] FIG2 is a schematic diagram of a first structure of a sampling control circuit provided by an embodiment of the present disclosure;
[0053] FIG3 is a second schematic diagram of the composition structure of a sampling control circuit provided in an embodiment of the present disclosure;
[0054] FIG4 is a third structural diagram of a sampling control circuit provided in an embodiment of the present disclosure;
[0055] FIG5 is a fourth structural diagram of a sampling control circuit provided in an embodiment of the present disclosure;
[0056] FIG6 is a schematic diagram of a signal timing sequence provided by an embodiment of the present disclosure;
[0057] FIG7 is a flow chart of a sampling control method provided by an embodiment of the present disclosure;
[0058] FIG8 is a schematic diagram of the composition structure of a memory provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0059] 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 illustrate the relevant disclosure and are not intended to limit the disclosure. It should also be noted that for ease of description, only the portions relevant to the relevant disclosure are shown in the drawings.
[0060] 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.
[0061] 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.
[0062] 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.
[0063] 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:
[0064] Double Data Rate (DDR);
[0065] Dynamic Random Access Memory (DRAM);
[0066] On-Die Termination (ODT)
[0067] Non-target chip termination resistor (Non-target-ODT, NT_ODT);
[0068] Command / Address (C / A or CA);
[0069] Chip Select (CS);
[0070] Power down / power down mode / power saving mode (Power Down, PD);
[0071] Enter Power Down Entry (PDE);
[0072] Power Down Exit (PDX);
[0073] Command (CMD);
[0074] D-type flip-flop (Data Flip-Flop or Delay Flip-Flop, DFF);
[0075] Standard (SPEC);
[0076] Reserved for future use (RFU);
[0077] Mode Register Write (MRW);
[0078] Mode Register Read (MRR);
[0079] Write (WR);
[0080] Write w / Auto Precharge (WRA);
[0081] Read (RD);
[0082] Read w / Auto Precharge (RDA);
[0083] Multi Purpose Command (MPC);
[0084] No Operation (NOP).
[0085] Taking DDR5 DRAM as an example, when entering power-down with ODT Control enabled, the DRAM needs to categorize CA1, CA4, and other CAs to ensure that the NT_ODT command is always valid during the power-down process, while other commands are only valid within the tCPDED time. Figure 1 shows the signal timing diagram for DRAM entering and exiting power-down as specified by the standard.
[0086] When ODT control is enabled during power-down, the DRAM will continue to receive NT_ODT commands throughout the power-down period. As shown in Figure 1, upon power-down, the DRAM switches from decoding all CA signals to only decoding CA1 and CA4. When the chip select signal CS_n is asserted by a complete RD or WR command, all CA signal bits must be valid, as the DRAM may still be decoding the complete command. During tCPDED, an invalid DES command is received. After tCPDED, only CA1 and CA4 need to be valid; the DRAM ignores the other CA signals. After the PDX command, all CA signal bits must also be valid for NT_ODT, so the DRAM switches to decoding all CA signals. In other words, during the DRAM power-down period, the DRAM only needs to decode CA1 and CA4, not the other CA signals.
[0087] Based on this, an embodiment of the present disclosure provides a sampling control circuit. In this sampling control circuit, after obtaining a first sampling signal and a second sampling signal, a decoding module can generate a power-off entry command and a power-off exit command. Then, after the power-off entry command and the power-off exit command enter the control module, the control module outputs a first enable control signal. The second input module is controlled to be in an inactive state during the power-off period based on the first enable control signal, thereby ensuring that the sampling control circuit only receives and samples the first input signal during this period, effectively avoiding signal instability and sampling conflicts. This also helps reduce circuit power consumption and improves memory performance.
[0088] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0089] In one embodiment of the present disclosure, referring to FIG2 , a schematic diagram of the structure of a sampling control circuit according to an embodiment of the present disclosure is shown. As shown in FIG2 , the sampling control circuit 20 may include a first input module 201, a second input module 202, a decoding module 203, and a control module 204, wherein:
[0090] The first input module 201 is configured to receive a first input signal and a clock signal, and sample the first input signal according to the clock signal to obtain a first sampled signal;
[0091] The second input module 202 is configured to receive the clock signal, the second input signal and the first enable control signal, and when the first enable control signal is in an invalid state, sample the second input signal according to the clock signal and the first enable control signal to obtain a second sampled signal;
[0092] The decoding module 203 is configured to receive the chip select sampling signal, the first sampling signal, and the second sampling signal, and decode the first sampling signal and the second sampling signal according to the chip select sampling signal to obtain a power-off entry command and a power-off exit command;
[0093] The control module 204 is configured to generate a first enable control signal according to the power-off entry command and the power-off exit command; wherein, when the first enable control signal is in a valid state, the second input module 202 is in a non-working state during the power-off period.
[0094] It should be noted that the sampling control circuit 20 can be applied to a memory. Specifically, the sampling control circuit 20 can be used for the NT_ODT command during power-off. More specifically, during power-off, the second input module 202 is inactive, while the first input module 201 operates normally. Thus, during power-off, the first input signal can be received and sampled normally, while the second input signal cannot be received and sampled.
[0095] It should also be noted that, as shown in Figure 2, the output end of the first input module 201 is connected to an input end of the decoding module 203 (also denoted as CMDDEC), the output end of the second input module 202 is connected to an input end of the decoding module 203, and the decoding module 203 also has an input end for receiving a chip select sampling signal. The output end of the decoding module 203 is connected to the control module 204 (also denoted as Power Down Control); the output end of the control module 204 is connected to the second input module 202, thereby providing the output first enable control signal to the second input module 202 to control the working state of the second input module 202.
[0096] The first enable control signal is active at least during the power-off period, thereby rendering the second input module 202 inactive during the power-off period. The first enable control signal is not sent to the first input module 201, thereby maintaining normal operation of the first input module 201 during the power-off period. Thus, during the power-off period, the second input module 202 does not sample the second input signal, while the first input signal can be sampled normally. This ensures normal operation of the memory, reduces circuit power consumption, and improves memory performance.
[0097] It should also be noted that the sampling control circuit 20 can be used to decode the NT_ODT command. During power-off, only CA1 and CA4 are required to decode the NT_ODT command. In this case, the first input signal can include CA1 and CA4, and the second input signal can include other CA signals. That is, the first input signal and the second input signal are both command address signals. Accordingly, the first input module 201 can include two submodules, which respectively sample CA1 and CA4 to obtain the first sampling signal corresponding to CA1 and the first sampling signal corresponding to CA4. Similarly, the second input module 202 can include several submodules, which respectively sample the other CA signals except CA1 and CA4 to obtain the second sampling signal corresponding to each CA signal.
[0098] Table 1 shows the instruction decoding table for implementing different functions. In Table 1, the first column is the signal function description or signal name, the second column is the abbreviation of the signal name, the third column is the level status of the chip select signal (CS_n), and the following columns are the level status of CA0 to CA4.
[0099] Table 1
[0100] For example, taking MRR as an example, as shown in Table 1, when the CS_n signal is at a low level (L), CA0, CA2, and CA4 are at H, and CA1 and CA3 are at L; when the CS_n signal is at a high level (H), CA0 and CA1 are at L, and CA2, CA3, and CA4 are at a valid level (V).
[0101] In addition, as shown in Table 1, L represents a low level (usually indicating a logic "0"), H represents a high level (usually indicating a logic "1"), V represents a valid level (either high or low), and C2 to C6 represent address information. In the instruction decoding table, NT_ODT commands include MRR, WR (WRA), and RD (RDA), and these three commands can be distinguished by CA1 and CA4.
[0102] When CA1 is high, no command is executed. When CA1 is low and CA4 is low, the NT_ODT command corresponding to WR (WR_NT_ODT command) is executed. When CA1 is low and CA4 is high, the NT_ODT commands corresponding to RD and MRR (RD_NT_ODT command) are executed. Therefore, only CA1 and CA4 are needed to decode all required NT_ODT commands. It is important to note that the NT_ODT commands corresponding to RD and MRR are the same RD_NT_ODT command, WRA and WR correspond to the same WR_NT_ODT command, and RDA and RD correspond to the same RD_NT_ODT command.
[0103] As can be seen, the NT_ODT command only applies to the MRR, WR, and RD commands. Furthermore, the NT_ODT commands for MRR and RD have the same functionality and can therefore be combined. Therefore, the disclosed embodiments combine the instruction decoding table shown in Table 1 with the requirements of the aforementioned SPEC to design the CA receiver and sampling circuit to achieve the corresponding functions. This ensures that during power-off, CA1 and CA4 can be received, sampled, and decoded normally, while other CA signals are not sampled and decoded.
[0104] In addition, the first input signal and the second input signal may also be signals of other types or numbers to meet other application scenarios, which are not specifically limited here. For example, if the number of first input signals is a first number, the first input module includes a first number of submodules, thereby sampling the corresponding first input signals and obtaining a first number of first sampling signals; if the number of second input signals is a second number, the second input module includes a second number of submodules, thereby sampling the corresponding second input signals and obtaining a second number of second sampling signals. In other words, the sampling control method provided in this embodiment can be applied not only to sampling control of CA signals, but also to other scenarios where only some signals are received and others are not received during a specific time period.
[0105] In some embodiments, the control module 204 is further configured to, after receiving a power-off entry command and after a preset time interval, control the first enable control signal to be in a valid state, so that the sampling control circuit 20 is in a power-off period; and, after receiving a power-off exit command, control the first enable control signal to be in an invalid state, so that the sampling control circuit 20 exits power-off.
[0106] It should be noted that the power-off entry command is used to instruct the sampling control circuit 20, the entire DRAM, or a portion of the DRAM circuits to enter power-off mode (also known as power-off mode, power-saving mode, power-down mode, etc.), while the power-off exit command is used to instruct the sampling control circuit 20 to exit power-off mode. That is, during the power-off entry and exit processes, the control module 204 first receives the power-off entry command and, in accordance with the power-off entry command, causes the sampling control circuit 20 to enter power-off mode. Upon receiving the power-off exit command, the control module 204 causes the sampling control circuit 20 to exit power-off mode in accordance with the power-off exit command.
[0107] It should also be noted that after receiving the power-off command, the circuit will not enter the power-off state immediately, but will fully enter the power-off state after a preset time interval; wherein the preset time interval can be tCPDED, and this period of time is the process of the DRAM shutting down the CA receiver and clock. The CA receiver here mainly refers to the second input module 202.
[0108] Since this embodiment needs to control the second input module 202 to be in a non-working state during the power-off period, the control module 204 controls the first enable control signal to be in a valid state after receiving the power-off entry command and an interval tCPDED. At this time, the circuit enters the power-off period, and the first enable control signal controls the second input module 202 to be in a non-working state; and when the control module 204 receives the power-off exit command, the DRAM needs to exit the power-off state and restore the CA receiver and clock. Therefore, the control module 204 can also control the first enable control signal to be in an invalid state after receiving the power-off exit command and an interval of a preset recovery time, so that the second input module 202 can resume normal working state.
[0109] Furthermore, when decoding the power-down entry command and the power-down exit command, the chip select sampling signal is required. For the chip select sampling signal, see Figure 3, which shows a schematic diagram of the second structure of a sampling control circuit provided by an embodiment of the present disclosure. As shown in Figure 3, in some embodiments, the sampling control circuit 20 may further include a chip select input module 205, wherein:
[0110] The chip select input module 205 is configured to receive a chip select signal and a clock signal, and perform sampling processing on the chip select signal according to the clock signal to obtain a chip select sampling signal.
[0111] It should be noted that, as shown in Figure 3, the first input module 201, the second input module 202 and the chip select input module 205 all sample the signals input therein based on the same clock signal to obtain corresponding sampling signals, which are then decoded by the decoding module 203.
[0112] It can be seen that for these three input modules, the second input module 202 does not work during power-off based on the control of the first enable control signal, and the first input module 201 and the chip select input module 205 maintain normal operation during power-off, thereby ensuring the decoding of the NT_ODT command during power-off.
[0113] Further, referring to FIG4 , which shows a third schematic diagram of the composition structure of a sampling control circuit provided by an embodiment of the present disclosure. As shown in FIG4 , in some embodiments, the first input module 201 includes a first receiving module 2011 and a first sampling module 2012, wherein:
[0114] A first receiving module 2011 is configured to receive a first input signal and output a first intermediate signal according to the first input signal;
[0115] The first sampling module 2012 is configured to receive a clock signal and a first intermediate signal, and perform sampling processing on the first intermediate signal according to the clock signal to obtain a first sampling signal.
[0116] It should be noted that, as shown in Figure 4, the input end of the first receiving module 2011 (also denoted as CA_Rx) serves as the input end of the first input module 201, the output end of the first receiving module 2011 is connected to the input end of the first sampling module 2012, the clock end of the first sampling module 2012 receives the clock signal, and the output end of the first sampling module 2012 is connected to the input end of the decoding module 203 to send the first sampling signal to the decoding module 203.
[0117] The first receiving module 2011 can amplify and receive the first input signal to obtain a first intermediate signal. The first receiving module 2011 can be a device with a receiving function, such as a receiver or a buffer.
[0118] The first sampling module 2012 uses the clock signal as a sampling clock to sample the first intermediate signal to obtain a first sampling signal. The first sampling module 2012 can be a DFF or other device with a sampling latch function.
[0119] Regarding the chip select input module 205, as shown in FIG4, in some embodiments, the chip select input module 205 includes a third receiving module 2051 and a third sampling module 2052, wherein:
[0120] The third receiving module 2051 is configured to receive a chip select signal and output a third intermediate signal according to the chip select signal;
[0121] The third sampling module 2052 is configured to receive the clock signal and the third intermediate signal, and perform sampling processing on the third intermediate signal according to the clock signal to obtain a chip selection sampling signal.
[0122] It should be noted that, as shown in Figure 4, the input end of the third receiving module 2051 (also denoted as CS_Rx) serves as the input end of the chip select input module 205, the output end of the third receiving module 2051 is connected to the input end of the third sampling module 2052, the clock end of the third sampling module 2052 receives the clock signal, and the output end of the third sampling module 2052 is connected to the input end of the decoding module 203 to send the chip select sampling signal to the decoding module 203.
[0123] The third receiving module 2051 can amplify and receive the chip select signal to obtain a third intermediate signal. The third receiving module 2051 can be a device with a receiving function such as a receiver or a buffer.
[0124] The third sampling module 2052 uses the clock signal as a sampling clock to sample the third intermediate signal to obtain a third sampled signal. The third sampling module 2052 can be a DFF or other device with a sampling latch function.
[0125] It can be seen that the way in which the chip select input module 205 samples the chip select signal is substantially consistent with the way in which the first input module 201 samples the first input signal.
[0126] As shown in FIG4 , in some embodiments, the second input module 202 includes a second receiving module 2021 and a second sampling module 2022 , wherein:
[0127] The second receiving module 2021 is configured to receive a second input signal and output a second intermediate signal according to the second input signal;
[0128] The second sampling module 2022 is configured to receive the clock signal, the second intermediate signal and the first enable control signal, generate a target clock signal based on the clock signal and the first enable control signal; and when the first enable control signal is in an invalid state, sample the second intermediate signal according to the target clock signal to obtain a second sampling signal.
[0129] It should be noted that, as shown in Figure 4, the input end of the second receiving module 2021 (also denoted as CA_Rx) serves as the input end of the second input module 202, the output end of the second receiving module 2021 is connected to the input end of the second sampling module 2022, the second sampling module 2022 also receives the clock signal and the first enable control signal, the output end of the second sampling module 2022 is connected to the input end of the decoding module 203, and the second sampling signal is sent to the decoding module 203.
[0130] The second receiving module 2021 can amplify and receive the second input signal to obtain a second intermediate signal. The second receiving module 2021 can be a device with a receiving function, such as a receiver or a buffer.
[0131] The second sampling module 2022 generates a target clock signal according to the clock signal and the first enable control signal, and samples the second intermediate signal using the target clock signal as a sampling clock to obtain a second sampled signal.
[0132] In some embodiments, the second sampling module 2022 is further configured to generate a target clock signal based on the clock signal when the first enable control signal is in an invalid state, so that the second sampling module performs sampling processing on the second intermediate signal; or, when the first enable control signal is in a valid state, shield the clock signal to prevent the generation of the target clock signal, so that the second sampling module stops sampling processing on the second intermediate signal.
[0133] It should be noted that the first enable control signal can control whether the target clock signal is generated. When the first enable control signal is in an inactive state, the second sampling module 2022 needs to perform sampling operations normally. At this time, the clock signal is not blocked, and the target clock signal for sampling can be obtained based on the clock signal. During power-off, the first enable control signal is in an active state, and the clock signal is blocked, so the target clock signal is not generated, causing the clock of the second input module 202 to be turned off. As a result, the second sampling module 2022 has no signal serving as the sampling clock and does not sample the second intermediate signal.
[0134] Further, referring to FIG5 , a fourth schematic diagram of the structure of a sampling control circuit provided in an embodiment of the present disclosure is shown. As previously mentioned, in this embodiment, the number of first input signals and second input signals can be multiple. Accordingly, the first input module 201 and the second input module 202 can include multiple submodules to respectively sample the multiple first input signals and the multiple second input signals to obtain multiple first sampling signals and multiple second sampling signals. It can be understood that in the first input module 201, a first receiving module 2011 and a first sampling module 2012 form a submodule that can sample a first input signal to obtain a first sampling signal. In the second input module 202, a second receiving module 2021 and a second sampling module 2022 form a submodule that can sample a second input signal to obtain a second sampling signal. In the figures of this embodiment, only one submodule is shown for exemplary description. In FIG5 , the first input signal includes CA1 and CA4, and the second input signal includes other CA signals (represented by "Other CA") other than CA1 and CA4.
[0135] As shown in FIG5 , in some embodiments, the second sampling module 2022 includes a clock control module 2023 and a sampling submodule 2024 , wherein:
[0136] The clock control module 2023 is configured to receive a clock signal and a first enable control signal, and to shield the clock signal to prevent the generation of a target clock signal when the first enable control signal is in an active state; or to generate a target clock signal according to the clock signal when the first enable control signal is in an inactive state;
[0137] The sampling submodule 2024 is configured to receive the target clock signal, the second intermediate signal and the first enable control signal, and to sample the second intermediate signal according to the target clock signal to obtain a second sampling signal when the first enable control signal is in an invalid state.
[0138] It should be noted that, as shown in Figure 5, the second sampling module 2022 is composed of a clock control module 2023 and a sampling sub-module 2024. One input end of the clock control module 2023 is connected to the output end of the control module 204 for receiving a first enable control signal (represented by PD_Enable), and another input end of the clock control module 2023 is used to receive a clock signal (represented by CA_CLK); the set end (represented by Set) of the sampling sub-module 2024 is also connected to the output end of the control module 204 for receiving the first enable control signal; the output end of the clock control module 2023 is connected to the clock end of the sampling sub-module 2024 for providing a sampling clock (i.e., the target clock signal CLK) for the sampling sub-module 2024.
[0139] It should also be noted that both the clock control module 2023 and the sampling submodule 2024 receive a first enable control signal. In the clock control module 2023, the first enable control signal is used to control whether to output the clock signal as the target clock signal. When the first enable control signal is in an active state, the clock signal is shielded. In this case, the target clock signal is not generated, making it impossible for the sampling submodule 2024 to perform a sampling operation. When the first enable control signal is in an inactive state, the clock signal is not shielded. The clock control module 2023 can generate the target clock signal based on the clock signal to provide a sampling clock for the sampling submodule 2024. At the same time, in the sampling submodule 2024, the first enable control signal can also control whether to set the sampling submodule 2024. When the first enable control signal is in an active state, the sampling submodule 2024 is set. When the first enable control signal is in an inactive state, the sampling submodule 2024 operates normally and performs sampling processing on the second intermediate signal to obtain a second sampled signal (represented by Other CA_D).
[0140] Regarding the clock control module 2023, as shown in FIG5 , in some embodiments, the clock control module 2023 includes a first NOT gate NOT1 and a first AND gate AND1, wherein:
[0141] The input end of the first NOT gate NOT1 is used to receive the first enable control signal, the first input end of the first AND gate AND1 is used to receive the clock signal, the second input end of the first AND gate AND1 is connected to the output end of the first NOT gate NOT1, and the output end of the first AND gate AND1 is connected to the clock end of the sampling sub-module 2024, for providing the target clock signal for the sampling sub-module 2024.
[0142] It should be noted that, as shown in Figure 5, the input end of the first NOT gate NOT1 serves as an input end of the clock control module 2023, is connected to the control module 204, and is used to receive the first enable control signal, and inverts the first enable control signal to obtain the inverted first enable control signal; the first input end of the first AND gate AND1 serves as another input end of the clock control module 2023, and is used to receive the clock signal, and the second input end of the first AND gate AND1 is connected to the output end of the first NOT gate NOT1, and is used to receive the inverted first enable control signal; the first AND gate AND1 performs AND logic processing on the clock signal and the inverted first enable control signal to obtain the target clock signal.
[0143] It should also be noted that, in this embodiment, the valid state of the first enable control signal can be a high-level state (logical "1"), then the inverted first enable control signal is a low-level state (logical "0"). At this time, regardless of whether the clock signal is in a high-level state or a low-level state, the output of the first AND gate AND1 is always in a low-level state, thereby shielding the clock signal and making it impossible to obtain a target clock signal with a clock period; the invalid state of the first enable control signal can be a low-level state, then the inverted first enable control signal is a high-level state. At this time, the target clock signal CLK output by the first AND gate AND1 has the same level state as the clock signal CA_CLK and can be used as the sampling clock of the sampling sub-module 2024.
[0144] In this way, this embodiment controls the generation of the target clock signal and the setting of the sampling submodule 2024 through the first enable control signal, thereby enabling the second sampling module 2022 to be in a non-working state while the first enable control signal is in a valid state, thereby achieving effective control of the second sampling module 2022, and further ensuring that the decoding of the NT_ODT command meets the requirements of the standard.
[0145] It should also be noted that, using Figure 5 as an example, each CA signal has its own receiving module (e.g., receiver) and sampling module (e.g., DFF). However, the control of CA1 and CA4 differs from that of other CAs. All CA sampled signals enter decoding module 203 and are decoded into commands. According to the decoding logic, only CA1 and CA4 are required to effectively decode the NT_ODT command.
[0146] In some embodiments, the number of the first sampling signal is at least one, and the number of the second sampling signal is at least one, wherein:
[0147] The decoding module 203 is configured to decode the at least one first sampling signal and the at least one second sampling signal according to the chip select sampling signal to generate a power-off entry command; and when the power-off entry command indicates that the sampling control circuit 20 is in a power-off period, decode the at least one first sampling signal and the at least one second sampling signal according to the chip select sampling signal to generate a power-off exit command.
[0148] In some embodiments, the decoding module 203 is configured to generate a power-off exit command if the chip select sampling signal is in a low level state and at least one first sampling signal and at least one second sampling signal are both in a high level state when the power-off entry command indicates that the sampling control circuit 20 is in a power-off period.
[0149] It should be noted that the decoding module 203 receives the corresponding periodic CA sampling signals (including the first sampling signal and the second sampling signal) and the chip select sampling signal, and decodes the chip select signal, at least one first sampling signal, and at least one second sampling signal to obtain a power-off entry command or a power-off exit command. Taking Figure 5 as an example, when the first input module 201, the second input module 202, and the chip select receiving module 205 are all operating normally, the first input module 201 receives and samples CA1 to generate the first sampling signal CA1_D, and receives and samples CA4 to generate the first sampling signal CA4_D; the second input module 202 receives and samples the other CA signals (which may include CA0, CA2, and CA3) to generate the second sampling signal Other CA_D (which may include CA0_D, CA2_D, and CA3_D); and the chip select input module 205 receives and samples the chip select signal CS to generate the chip select sampling signal CS_D.
[0150] When the decoding module 203 decodes CS_D, CA1_D, CA4_D and Other CA_D to generate a power-down command PDE, PDE instructs the circuit to power down. During the power-down period, Other CA_D is always in a high level state.
[0151] When the circuit needs to exit power-off, the decoding module 203 will further decode according to CS_D, CA1_D, CA4_D and Other CA_D to generate a power-off exit command PDX to instruct the circuit to exit power-off.
[0152] Table 2 is the decoding table corresponding to PDE and PDX.
[0153] Table 2
[0154] As shown in Table 2, this embodiment primarily focuses on PDE and PDX. When chip select signals CS and CA3 are low (low level) and CA0, CA1, CA2, and CA4 are high (high level), PDE can be decoded. When CS is low and CA1-CA4 are all high, PDX can be decoded. In other words, before PDE, all CAs are received normally, and normal decoding is sufficient. After power-down, when all CAs are high and CS is low, PDX is decoded. Thus, decoding module 203 can decode the first sampling signal, the second sampling signal, and the chip select sampling signal according to the method in Table 2, thereby controlling the circuit to enter or exit power-down mode. Decoding module 203 and control module 204 can be implemented according to relevant technologies and are not specifically limited herein.
[0155] In some embodiments, the control module 204 is further configured to generate a second enable control signal according to the power-down entry command and the power-down exit command; wherein the first enable control signal is delayed by one clock cycle compared to the second enable control signal.
[0156] In some embodiments, the sampling control circuit 20 further includes an enabling processing module 206 , which is connected to the control module 204 , wherein:
[0157] The enable processing module 206 is configured to delay the first enable control signal to generate a third enable control signal, generate a fourth enable control signal according to the second enable control signal and the third enable control signal, and send the fourth enable control signal to the second receiving module 2021.
[0158] It should be noted that, as shown in Figure 5, the control module 204 can not only generate a first enable control signal PD_Enable based on PDE and PDX, but also generate a second enable control signal PD_Enable_Pre based on PDE and PDX, wherein the second enable control signal is a signal that is one clock cycle ahead of the first enable control signal, and the clock cycle here refers to the clock cycle of the clock signal CA_CLK.
[0159] In this way, an output end of the control module 204 is respectively connected to an input end of the enable processing module 206 and an input end of the clock control module 2023, for sending the first enable control signal to the enable processing module 206 and the clock control module 2023; another output end of the control module 204 is connected to another input end of the enable processing module 206, for sending the second enable control signal to the enable processing module 206; the output end of the enable processing module 206 is connected to the second receiving module 2021, for sending the fourth enable control signal to the second receiving module 2021.
[0160] The enable processing module 206 receives the first enable control signal and the second enable control signal respectively, performs delay processing on the first enable control signal, and obtains the third enable control signal PD_Enable_Delay, wherein the delay time of the third enable control signal relative to the first enable control signal may be half a clock cycle; the enable processing module 206 generates a fourth enable control signal according to the second enable control signal and the third enable control signal, and sends the fourth enable control signal to the second receiving module 2021.
[0161] The fourth enable control signal can be used to control the operating state of the second receiving module 2021. When the fourth enable control signal is in an active state, the second receiving module 2021 is controlled to no longer receive the second input signal. When the fourth enable control signal is in an inactive state, the second receiving module 2021 receives the second input signal normally. This allows the second receiving module 2021 to receive the second input signal, thereby controlling whether the second receiving module 2021 receives the second input signal. When the second input signal does not need to be received, the second receiving module 2021 is turned off, further saving circuit power consumption.
[0162] As shown in FIG5 , in some embodiments, the second receiving module 2021 includes a receiving submodule 2025 , and the receiving submodule 2025 is connected to the enabling processing module 206 , wherein:
[0163] The receiving submodule 2025 is configured to receive a fourth enable control signal; and, when the fourth enable control signal is in an invalid state, enable the second receiving module 2021 to receive the second input signal; or, when the fourth enable control signal is in a valid state, enable the second receiving module 2021 to stop receiving the second input signal and control the second intermediate signal output by the second receiving module 2021 to be in a high level state.
[0164] It should be noted that, as shown in FIG5 , in the second receiving module 2021, the receiving submodule 2025 (Disable Rx) serves as the enable control portion of the second receiving module 2021. It is connected to the output of the enable processing module 206 and receives the fourth enable control signal to control whether the second receiving module 2021 receives the second input signal. Thus, when the fourth enable control signal is active, the second receiving module 2021 is disabled to further reduce power consumption. Simultaneously, the output of the second receiving module 2021 (i.e., the second intermediate signal) is set to a high level. This can be accomplished using a simple set circuit to prevent the circuit from entering an unstable state.
[0165] The valid state of the fourth enable control signal may be a high level state (logic “1”), and the invalid state of the fourth enable control signal may be a low level state (logic “0”).
[0166] Regarding the enabling processing module 206, as shown in FIG5, in some embodiments, the enabling processing module 206 includes a delay module 2061 and a logic module 2062, wherein:
[0167] The delay module 2061 is configured to delay the first enable control signal to generate a third enable control signal;
[0168] The logic module 2062 is configured to perform an AND logic process on the second enable control signal and the third enable control signal to obtain a fourth enable control signal.
[0169] In some embodiments, the logic module 2062 includes a second AND gate AND2, where:
[0170] The first input terminal of the second AND gate AND2 is used to receive the second enable control signal, the second input terminal of the second AND gate AND2 is used to receive the third enable control signal, and the output terminal of the second AND gate AND2 is used to output the fourth enable control signal.
[0171] It should be noted that, as shown in Figure 5, the logic module 2062 can be implemented by a second AND gate AND2; wherein, the input end of the delay module 2061 (also recorded as the Delay module) serves as an input end of the enable processing module 206, for receiving the first enable control signal; the output end of the delay module 2061 is connected to the second input end of the second AND gate AND2, the first input end of the second AND gate AND2 serves as another input end of the enable processing module 206, and the output end of the second AND gate AND2 serves as the output end of the enable processing module 206, and is connected to the receiving sub-module 2025 in the second receiving module 2021.
[0172] It should also be noted that the delay module 2061 is configured to delay the first enable control signal to obtain a third enable control signal; the delay module 2061 can be a device with a delay function such as a delay chain, a trigger, etc., which is not specifically limited here.
[0173] The second AND gate AND2 performs an AND logic process on the second enable control signal and the third enable control signal to obtain a fourth enable control signal.
[0174] FIG6 is a schematic diagram of a signal timing sequence provided by an embodiment of the present disclosure. The operation of sampling control circuit 20 is briefly described below in conjunction with FIG5 and FIG6 . As shown in FIG6 , CKT represents the initial DRAM clock signal (which may be an internal DRAM clock signal), clock signal CA_CLK may be processed based on initial clock signal CKT (e.g., sampling, logic gate processing, etc.), and CLK represents the target clock signal, which may also be denoted as CA_CLK (after gating), where after gating indicates processing by the first AND gate AND1.
[0175] Before time T1, first input module 201, second input module 202, and chip select input module 205 are all in operation, sampling the received signal. At time T1, decoding module 203 decodes and obtains PDE, which is then received by control module 204. After an interval tCPDED, control module 204 controls the first enable control signal PD_Enable to be in an active state (high level state). The delay tCPDED can be generated by various delay modules, such as a DFF shift or a fixed delay chain, which is not specifically limited here. The first enable control signal PD_Enable is sent to the first NOT gate NOT1 and also to the set terminal Set of the sampling submodule 2024.
[0176] At this time, the inverted signal (low level) of the first enable control signal is obtained at the output of the first NOT gate NOT1, thereby shielding the clock signal CA_CLK. As shown in Figure 6, during the active period (tSA) of the first enable control signal PD_Enable, the target clock signal CLK remains low, thereby disabling the sampling clock of sampling submodule 2024. Furthermore, the first enable control signal PD_Enable sets sampling submodule 2024. During tSA, the second sampling signal Other CA_D remains high, reducing power consumption associated with signal transitions in the decoding module.
[0177] In addition, the control module 204 generates a second enable control signal PD_Enable_Pre that is one clock cycle ahead of the first enable control signal PD_Enable. The delay module 2061 delays the first enable control signal PD_Enable to a third enable control signal PD_Enable_Delay. The second AND gate AND2 performs an AND logic operation on the second enable control signal PD_Enable_Pre and the third enable control signal PD_Enable_Delay to generate a fourth enable control signal PD_Enable_Rx. As shown in FIG6 , the active state duration (tRX) of the fourth enable control signal PD_Enable_Rx is within the active state duration (tSA) of the first enable control signal PD_Enable. The fourth enable control signal PD_Enable_Rx is sent to the receiving submodule 2025 of the second receiving module 2021, causing the second receiving module 2021 to not receive the second input signal. Thus, during tSA, since the target clock signal CLK is not generated, the clock of sampling submodule 2024 is turned off, and sampling submodule 2024 is set, causing Other CA_D to be high. During tRX, second receiving module 2021 is turned off and does not receive Other CA signals. Because tRX is within tSA, this prevents unstable signals and sampling conflicts that occur when both the CA receiver (second receiving module 2021) and the clock (target clock signal CLK) are turned off simultaneously.
[0178] After tCPDED, the circuit completely enters power-off mode. After the power-off interval lasts for tMT, at time T2, the decoding module 203 decodes PDX. After receiving PDX, the control module 204 causes the circuit to exit power-off mode. In addition, when exiting power-off mode, the time interval between PDX and the next valid command is tXP. As shown in Figure 6, after the first enable control signal PD_Enable becomes low (inactive), Other CA_D resumes normal sampling. Here, it can be seen that the second receiving module 2021 resumes operation before the sampling submodule 2024, thereby ensuring signal stability and avoiding conflicts.
[0179] In short, this embodiment relates to circuits related to C / A input receivers, C / A signal sampling, and Power Down mode control in integrated circuit design. Specifically, it relates to control circuits for C / A input receivers and C / A signal sampling in DRAM chips when entering and exiting Power Down mode. This design logically and timing-wise satisfies DDR5's control of C / A inputs in Power Down mode, enabling the NT_ODT command to operate normally while saving power for most other C / A receivers. This design can be applied to, but is not limited to, control circuits for C / A receivers and sampling in DRAM chips. Other circuits related to input signal reception and sampling can also adopt this design.
[0180] This embodiment's technical solution controls the operating states of the receiving and sampling modules (i.e., second receiving module 2021 and sampling submodule 2024) for CA signals other than CA1 / CA4 (by designating the relative relationship between PD_Enable and PD_Enable_Rx). During PDE, PD_Enable is first set high, deasserting the output of sampling submodule 2024 and simultaneously shutting down its sampling clock. Subsequently, PD_Enable_Rx disables the CA receiver (i.e., second receiving module 2021) of second input module 202, preventing signal instability caused by simultaneous operation.
[0181] During PDX, PD_Enable_Rx is first set to zero (inactive) to enable the second receiving module 2021, preparing the second input signal for reception. PD_Enable is then set to zero (inactive) to enable the CA sampling module (i.e., sampling submodule 2024) of the second input module 202, allowing the CA signal to be sampled and used. This solves the problem of signal instability during tCPDED and PDX, which can affect normal NT_ODT decoding.
[0182] This embodiment ensures that the NT_ODT command can still be effectively received in the case of power down, while other commands are rejected, by distinguishing the receivers and sampling modules that control CA1 / CA4. First, the CS and CA receivers amplify and receive the external signals, and then the CA_CLK sample generated by CKT generates the effective values of CA and CS of the corresponding period, and enters the instruction decoder (i.e., the decoding module) at the same time. After PDE and PDX decoding, it enters the control module, which controls the generation of the PD_Enable signal. The PD_Enable signal is high after PDE+tCPDED and remains high until it reaches a low level at PDX. The generated PD_Enable high-level signal will go to other CA sampling modules other than CA1 / CA4, set the output of other CA sampling modules to a high level, and maintain it until PD_Enable is low. At the same time, the PD_Enable high-level signal will turn off the sampling clocks of other CA sampling modules other than CA1 / CA4, thereby reducing power consumption. After a delay, the PD_Enable signal is combined with the PD_Enable_Pre signal to generate the PD_Enable_Rx signal. This signal is sent to the receivers of CAs other than CA1 / CA4 to shut down the receivers and set the receiver output to a high level, thereby reducing power consumption. The receivers and sampling modules of CA1 / CA4 and CS are not controlled by the PD_Enable signal, ensuring normal reception of the NT_ODT command.
[0183] In this way, this solution first sets the output of the sampling module of other CAs to a high level and turns off the sampling clock at the same time to ensure that sampling and setting are not controlled at the same time, thus avoiding signal instability. When turning off the receiver, PD_Enable_Pre and PD_Enable_Delay are used to perform control after the logic PD_Enable_Rx. This can also avoid the phenomenon of unstable signal and sampling conflict when turning off the receiver and clock at the same time.
[0184] In another embodiment of the present disclosure, referring to FIG7 , a flow chart of a sampling control method provided by an embodiment of the present disclosure is shown. As shown in FIG7 , the method may include:
[0185] S701: Receive a first input signal and a clock signal through a first input module, and sample the first input signal according to the clock signal to obtain a first sampling signal.
[0186] S702: Receive a clock signal, a second input signal, and a first enable control signal through a second input module. When the first enable control signal is in an invalid state, sample the second input signal according to the clock signal and the first enable control signal to obtain a second sampling signal.
[0187] S703 : Receive the chip select sampling signal, the first sampling signal, and the second sampling signal through a decoding module, and decode the first sampling signal and the second sampling signal according to the chip select sampling signal to obtain a power-off entry command and a power-off exit command.
[0188] S704. Receive a power-off entry command and a power-off exit command through the control module, and generate a first enable control signal according to the power-off entry command and the power-off exit command; wherein, when the first enable control signal is in a valid state, the second input module is in a non-working state during the power-off period.
[0189] In some embodiments, step S701 may include:
[0190] receiving a first input signal through a first receiving module, and outputting a first intermediate signal according to the first input signal;
[0191] The clock signal and the first intermediate signal are received by the first sampling module, and the first intermediate signal is sampled and processed according to the clock signal to obtain a first sampling signal.
[0192] In some embodiments, step S702 may include:
[0193] receiving a second input signal through a second receiving module, and outputting a second intermediate signal according to the second input signal;
[0194] The second sampling module receives the clock signal, the second intermediate signal and the first enable control signal, generates a target clock signal according to the clock signal and the first enable control signal; and when the first enable control signal is in an invalid state, samples the second intermediate signal according to the target clock signal to obtain a second sampling signal.
[0195] In some embodiments, the method may further include:
[0196] When the first enable control signal is in an invalid state, the second sampling module generates a target clock signal according to the clock signal, so that the second sampling module performs sampling processing on the second intermediate signal; or, when the first enable control signal is in a valid state, the second sampling module shields the clock signal to prevent the generation of the target clock signal, so that the second sampling module stops sampling processing on the second intermediate signal.
[0197] In some embodiments, receiving a clock signal, a second intermediate signal, and a first enable control signal through a second sampling module, generating a target clock signal according to the clock signal and the first enable control signal; and sampling the second intermediate signal according to the target clock signal to obtain a second sampled signal when the first enable control signal is in an invalid state, includes:
[0198] receiving a clock signal and a first enable control signal through a clock control module, and shielding the clock signal to prevent generation of a target clock signal when the first enable control signal is in a valid state; or generating a target clock signal according to the clock signal when the first enable control signal is in an invalid state;
[0199] The sampling submodule receives the target clock signal, the second intermediate signal and the first enable control signal. When the first enable control signal is in an invalid state, the second intermediate signal is sampled according to the target clock signal to obtain a second sampling signal.
[0200] In some embodiments, the method may further include:
[0201] The chip select input module receives the chip select signal and the clock signal, samples the chip select signal according to the clock signal, and obtains the chip select sampling signal.
[0202] In some embodiments, receiving a chip select signal and a clock signal through a chip select input module, sampling and processing the chip select signal according to the clock signal to obtain a chip select sampling signal includes:
[0203] receiving a chip selection signal through a third receiving module, and outputting a third intermediate signal according to the chip selection signal;
[0204] The clock signal and the third intermediate signal are received by the third sampling module, and the third intermediate signal is sampled and processed according to the clock signal to obtain a chip selection sampling signal.
[0205] In some embodiments, decoding the first sampling signal and the second sampling signal according to the chip select sampling signal to obtain the power-off entry command and the power-off exit command may include:
[0206] Decoding the at least one first sampling signal and the at least one second sampling signal according to the chip select sampling signal to generate a power-off entry command; and when the power-off entry command indicates that the sampling control circuit is in a power-off period, decoding the at least one first sampling signal and the at least one second sampling signal according to the chip select sampling signal to generate a power-off exit command.
[0207] In some embodiments, decoding at least one first sampling signal and at least one second sampling signal according to the chip select sampling signal to generate a power-off exit command may include:
[0208] During the power-off entry command indicating that the sampling control circuit is in power-off period, if the chip select sampling signal is in a low level state and at least one first sampling signal and at least one second sampling signal are both in a high level state, a power-off exit command is generated.
[0209] In some embodiments, the method may further include:
[0210] A second enable control signal is generated according to the power-down entry command and the power-down exit command; wherein the first enable control signal is delayed by one clock cycle compared to the second enable control signal.
[0211] In some embodiments, the method may further include:
[0212] The first enable control signal is delayed to generate a third enable control signal, and a fourth enable control signal is generated according to the second enable control signal and the third enable control signal, and the fourth enable control signal is sent to the second receiving module.
[0213] In some embodiments, the method may further include:
[0214] A fourth enable control signal is received through the receiving submodule; and when the fourth enable control signal is in an invalid state, the second receiving module is enabled to receive the second input signal; or, when the fourth enable control signal is in a valid state, the second receiving module is enabled to stop receiving the second input signal and control the second intermediate signal output by the second receiving module to be in a high level state.
[0215] In some embodiments, delaying the first enable control signal to generate the third enable control signal, and generating the fourth enable control signal according to the second enable control signal and the third enable control signal may include:
[0216] Delaying the first enable control signal through a delay module to generate a third enable control signal;
[0217] The second enable control signal and the third enable control signal are processed by the logic module to obtain a fourth enable control signal.
[0218] In some embodiments, the method may further include:
[0219] After receiving a power-off entry command and after a preset time interval, the first enable control signal is controlled to be in a valid state, so that the sampling control circuit is in a power-off period; and after receiving a power-off exit command, the first enable control signal is controlled to be in an invalid state, so that the sampling control circuit exits power-off.
[0220] In some embodiments, the first input signal and the second input signal are both command address signals.
[0221] It should be noted that the embodiments of the present disclosure are applied to the sampling control circuit 20 in the aforementioned embodiments. For details not disclosed in the embodiments of the present disclosure, please refer to the description of the aforementioned embodiments for understanding.
[0222] An embodiment of the present disclosure provides a sampling control method, which controls the second input module to be in a non-working state during power-off period through a first enable control signal, ensuring that during this period, the sampling control circuit only receives and samples the first input signal, so that the reception and sampling of the signal meet the standard requirements, and can avoid signal instability and sampling conflicts; it also helps to reduce circuit power consumption, thereby improving memory performance.
[0223] In another embodiment of the present disclosure, referring to Figure 8 , a schematic diagram of the composition structure of a memory 80 provided by the present disclosure is shown. As shown in Figure 8 , the memory 80 may include at least the sampling control circuit 20 according to any one of the aforementioned embodiments.
[0224] In some embodiments, the memory 80 is a semiconductor memory, such as a DRAM chip.
[0225] In the embodiments of the present disclosure, DRAM chips can not only comply with memory specifications such as DDR, DDR2, DDR3, DDR4, and DDR5, but also comply with memory specifications such as LPDDR, LPDDR2, LPDDR3, LPDDR4, and LPDDR5, without any limitation.
[0226] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the scope of protection of the present disclosure.
[0227] 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.
[0228] 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.
[0229] The methods disclosed in the several method embodiments provided in this disclosure can be arbitrarily combined without conflict to obtain new method embodiments.
[0230] The features disclosed in the several product embodiments provided in this disclosure can be arbitrarily combined without conflict to obtain new product embodiments.
[0231] 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.
[0232] 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. Industrial Applicability
[0233] The embodiment of the present disclosure controls the second input module to be in a non-working state during power-off according to the first enable control signal, thereby ensuring that during this period the sampling control circuit only receives and samples the first input signal, so that the reception and sampling of the signal meet the standard requirements, and can avoid signal instability and sampling conflicts; it is also beneficial to reduce circuit power consumption, thereby improving memory performance.
Claims
1. A sampling control circuit (20), comprising a first input module (201), a second input module (202), a decoding module (203) and a control module (204), in: The first input module (201) is configured to receive a first input signal and a clock signal, and perform sampling processing on the first input signal according to the clock signal to obtain a first sampling signal; The second input module (202) is configured to receive the clock signal, the second input signal and the first enable control signal, and when the first enable control signal is in an invalid state, sample the second input signal according to the clock signal and the first enable control signal to obtain a second sampled signal; The decoding module (203) is configured to receive a chip selection sampling signal, the first sampling signal and the second sampling signal, and decode the first sampling signal and the second sampling signal according to the chip selection sampling signal to obtain a power-off entry command and a power-off exit command; The control module (204) is configured to generate the first enable control signal according to the power-off entry command and the power-off exit command; wherein when the first enable control signal is in a valid state, the second input module (202) is placed in a non-working state during power-off.
2. The sampling control circuit (20) according to claim 1, in, The first input module (201) comprises a first receiving module (2011) and a first sampling module (2012), wherein: The first receiving module (2011) is configured to receive the first input signal and output a first intermediate signal according to the first input signal; The first sampling module (2012) is configured to receive the clock signal and the first intermediate signal, and perform sampling processing on the first intermediate signal according to the clock signal to obtain the first sampling signal.
3. The sampling control circuit (20) according to claim 2, in, The second input module (202) comprises a second receiving module (2021) and a second sampling module (2022), wherein: The second receiving module (2021) is configured to receive the second input signal and output a second intermediate signal according to the second input signal; The second sampling module (2022) is configured to receive the clock signal, the second intermediate signal and the first enable control signal, generate a target clock signal according to the clock signal and the first enable control signal; and when the first enable control signal is in an invalid state, sample the second intermediate signal according to the target clock signal to obtain the second sampling signal.
4. The sampling control circuit (20) according to claim 3, in, The second sampling module (2022) is further configured to generate the target clock signal according to the clock signal when the first enable control signal is in an invalid state, so that the second sampling module (2022) performs sampling processing on the second intermediate signal; or, when the first enable control signal is in a valid state, shield the clock signal to prevent the generation of the target clock signal, so that the second sampling module (2022) stops sampling processing on the second intermediate signal.
5. The sampling control circuit (20) according to claim 3, in, The second sampling module (2022) comprises a clock control module (2023) and a sampling submodule (2024), wherein: The clock control module (2023) is configured to receive the clock signal and the first enable control signal, and when the first enable control signal is in a valid state, shield the clock signal to prevent the generation of the target clock signal; or when the first enable control signal is in an invalid state, generate the target clock signal according to the clock signal; The sampling submodule (2024) is configured to receive the target clock signal, the second intermediate signal and the first enable control signal, and when the first enable control signal is in an invalid state, sample the second intermediate signal according to the target clock signal to obtain the second sampling signal.
6. The sampling control circuit (20) according to claim 5, in, The clock control module (2023) comprises a first NOT gate (NOT1) and a first AND gate (AND1), wherein: The input end of the first NOT gate (NOT1) is used to receive the first enable control signal, the first input end of the first AND gate (AND1) is used to receive the clock signal, the second input end of the first AND gate (AND1) is connected to the output end of the first NOT gate (NOT1), and the output end of the first AND gate (AND1) is connected to the clock end of the sampling submodule (2024) for providing the target clock signal to the sampling submodule (2024).
7. The sampling control circuit (20) according to any one of claims 1 to 6, in, The sampling control circuit (20) further comprises a chip selection input module (205), wherein: The chip select input module (205) is configured to receive a chip select signal and the clock signal, and perform sampling processing on the chip select signal according to the clock signal to obtain the chip select sampling signal.
8. The sampling control circuit (20) according to claim 7, in, The chip selection input module (205) comprises a third receiving module (2051) and a third sampling module (2052), wherein: The third receiving module (2051) is configured to receive the chip selection signal and output a third intermediate signal according to the chip selection signal; The third sampling module (2052) is configured to receive the clock signal and the third intermediate signal, and perform sampling processing on the third intermediate signal according to the clock signal to obtain the chip selection sampling signal.
9. The sampling control circuit (20) according to any one of claims 1 to 8, in, The number of the first sampling signals is at least one, and the number of the second sampling signals is at least one, wherein: The decoding module (203) is configured to decode at least one of the first sampling signal and at least one of the second sampling signal according to the chip select sampling signal to generate the power-off entry command; and when the power-off entry command indicates that the sampling control circuit (20) is in a power-off period, decode at least one of the first sampling signal and at least one of the second sampling signal according to the chip select sampling signal to generate the power-off exit command.
10. The sampling control circuit (20) according to claim 9, in, The decoding module (203) is configured to generate the power-off exit command when the power-off entry command indicates that the sampling control circuit (20) is in a power-off period, if the chip selection sampling signal is in a low level state, and at least one of the first sampling signals and at least one of the second sampling signals are in a high level state.
11. The sampling control circuit (20) according to any one of claims 3 to 6, in, The control module (204) is further configured to generate a second enable control signal according to the power-off entry command and the power-off exit command; wherein the first enable control signal is delayed by one clock cycle compared to the second enable control signal.
12. The sampling control circuit (20) according to claim 11, in, The sampling control circuit (20) further comprises an enabling processing module (206), wherein the enabling processing module (206) is connected to the control module (204), wherein: The enable processing module (206) is configured to perform delay processing on the first enable control signal to generate a third enable control signal, and to generate a fourth enable control signal based on the second enable control signal and the third enable control signal, and to send the fourth enable control signal to the second receiving module (2021).
13. The sampling control circuit (20) according to claim 12, in, The second receiving module (2021) comprises a receiving submodule (2025), and the receiving submodule (2025) is connected to the enabling processing module (206), wherein: The receiving submodule (2025) is configured to receive the fourth enable control signal; and, when the fourth enable control signal is in an invalid state, to enable the second receiving module (2021) to receive the second input signal; or, when the fourth enable control signal is in a valid state, to enable the second receiving module (2021) to stop receiving the second input signal and control the second intermediate signal output by the second receiving module (2021) to be in a high level state.
14. The sampling control circuit (20) according to claim 12, in, The enabling processing module (206) comprises a delay module (2061) and a logic module (2062), wherein: The delay module (2061) is configured to perform delay processing on the first enable control signal to generate the third enable control signal; The logic module (2062) is configured to perform an AND logic process on the second enable control signal and the third enable control signal to obtain the fourth enable control signal.
15. The sampling control circuit (20) according to claim 14, in, The logic module (2062) comprises a second AND gate (AND2), wherein: The first input end of the second AND gate (AND2) is used to receive the second enable control signal, the second input end of the second AND gate (AND2) is used to receive the third enable control signal, and the output end of the second AND gate (AND2) is used to output the fourth enable control signal.
16. The sampling control circuit (20) according to any one of claims 1 to 15, in, The control module (204) is further configured to, after receiving the power-off entry command and after a preset time interval, control the first enable control signal to be in a valid state, so that the sampling control circuit (20) is in a power-off period; and, after receiving the power-off exit command, control the first enable control signal to be in an invalid state, so that the sampling control circuit (20) exits power-off.
17. The sampling control circuit (20) according to any one of claims 1 to 16, in, The first input signal and the second input signal are both command address signals.
18. A sampling control method, applied to the sampling control circuit (20) according to any one of claims 1 to 17, the method include: Receiving a first input signal and a clock signal through the first input module (201), and performing sampling processing on the first input signal according to the clock signal to obtain a first sampling signal; receiving the clock signal, the second input signal and the first enable control signal through the second input module (202), and when the first enable control signal is in an invalid state, sampling the second input signal according to the clock signal and the first enable control signal to obtain a second sampling signal; Receiving a chip selection sampling signal, the first sampling signal and the second sampling signal through the decoding module (203), decoding the first sampling signal and the second sampling signal according to the chip selection sampling signal, and obtaining a power-off entry command and a power-off exit command; The power-off entry command and the power-off exit command are received by the control module (204), and the first enable control signal is generated according to the power-off entry command and the power-off exit command; wherein, when the first enable control signal is in a valid state, the second input module (202) is placed in a non-working state during power-off.
19. A memory (80), comprising the sampling control circuit (20) according to any one of claims 1 to 17.
