Control device, memory, signal processing method and electronic device

The control device and memory system addresses distorted clock signals by generating internal clock signals to accurately latch data, enhancing data retrieval and reducing power consumption.

JP7539487B2Active Publication Date: 2024-08-23CHANGXIN MEMORY TECH INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022566194
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-07-08
Filing Date
2022-08-03
Publication Date
2024-08-23
Estimated Expiration
2042-08-03

AI Technical Summary

Technical Problem

In electronic devices, the CPU retrieves incorrect data due to distorted read clock signals from memory, which occurs when the CPU reads the duty cycle parameter from the memory's mode register, leading to failed duty cycle adjustments.

Method used

A control device with a receiving module, clock module, selection module, and latch module is used to generate and select an internal clock signal to latch data accurately, while a memory with a clock processing circuit adjusts the duty cycle and sends appropriate signals to the control device.

Benefits of technology

This solution improves data latch accuracy and reduces power consumption by using internal clock signals to compensate for distorted clock signals in the memory, ensuring correct data retrieval and efficient power management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007539487000009
    Figure 0007539487000009
  • Figure 0007539487000010
    Figure 0007539487000010
  • Figure 0007539487000004
    Figure 0007539487000004
Patent Text Reader

Abstract

The embodiments of the present invention provide a control device, a memory, a signal processing method and an electronic device, the control device including: a receiving module configured to receive a read clock signal from a memory and output the read clock signal, a clock module configured to generate a first internal clock signal, a selection module configured to receive the read clock signal and the first internal clock signal and output one of the read clock signal and the first internal clock signal as a target read clock signal, and a latch module configured to receive the target read clock signal and a read data signal sent from the memory and latch the read data signal using the target read clock signal.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese patent application filed with the China Patent Office on July 8, 2022, bearing application number 202210815505.8 and entitled "Control Device, Memory, Signal Processing Method and Electronic Device", the entire contents of which are incorporated herein by reference.

[0002] The present invention relates to the field of semiconductor memories, and in particular to a control device, a memory, a signal processing method and an electronic device. [Background technology]

[0003] In electronic devices, a CPU (Central Processing Unit) sends a read command to a memory, receives a read clock signal and a read data signal returned from the memory, and latches the read data signal with the read clock signal to obtain the required data. However, in the process of the memory adjusting the duty cycle of the clock signal, the CPU needs to read the corresponding mode register in the memory to obtain the duty cycle parameter of the clock signal, but in this process, the clock signal inside the memory may be distorted, so that the read clock signal returned from the memory to the CPU is also distorted, and the CPU obtains incorrect data, resulting in failure to adjust the duty cycle of the clock signal. Summary of the Invention

[0004] The present invention provides a control device, a memory, a signal processing method, and an electronic device that can improve the accuracy of data latches as well as reduce power consumption.

[0005] The technical solution of the present invention is realized as follows:

[0006] In a first aspect, embodiments of the present invention provide a controller, coupled to a memory, the controller comprising: a receiving module configured to receive a read clock signal from the memory and to output the read clock signal; a clock module configured to generate a first internal clock signal; a selection module configured to receive the read clock signal and the first internal clock signal and to output one of the read clock signal and the first internal clock signal as a target read clock signal; a latch module configured to receive the target read clock signal and a read data signal transmitted from the memory and to latch the read data signal utilizing the target read clock signal.

[0007] In some embodiments, the selection module is specifically configured to receive a selection indication signal, and when the selection indication signal is in a first state, output the read clock signal as the target read clock signal, or when the selection indication signal is in a second state, output the first internal clock signal as the target read clock signal.

[0008] In some embodiments, the controller is further configured to send a data read command to the memory, the memory being configured to generate the read clock signal and the read data signal.

[0009] In some embodiments, the control device is further configured to set the selection indication signal to a first state when the data read command is a first read command, or to set the selection indication signal to a second state when the data read command is a second read command, the second read command instructing the acquisition of a duty cycle parameter stored in a mode register in the memory, and the first read command is a data read command other than the second read command.

[0010] In a second aspect, an embodiment of the present invention provides a memory, the memory including a clock processing circuit, the memory coupled to a controller; When the memory receives a first read command, the memory determines a read data signal based on the first read command, determines a read clock signal by the clock processing circuit, and transmits the read data signal and the read clock signal together to the control device; or When a second read command is received, the read data signal is determined based on the second read command, and the read data signal is transmitted to the controller.

[0011] In some embodiments, the memory is further configured to control the read clock signal to a floating state when a second read command is received.

[0012] In some embodiments, the clock processing circuit includes: a duty cycle module configured to receive an externally generated data clock signal, adjust a duty cycle of the data clock signal, and output a second internal clock signal; and a clock generation module configured to receive the second internal clock signal and output the read clock signal based on the second internal clock signal, where the read clock signal is a pulse signal.

[0013] In some embodiments, the clock processing circuit further includes: a detection module configured to receive the second internal clock signal, detect a duty cycle of the second internal clock signal, and output a duty cycle parameter; and a mode register configured to receive and store the duty cycle parameter, wherein the second read command instructs obtaining the duty cycle parameter stored in the mode register, and the first read command is a data read command other than the second read command.

[0014] In some embodiments, the duty cycle module includes a receiver configured to receive and output the data clock signal from an external device, and an adjustment module configured to adjust a duty cycle of the data clock signal and output the second internal clock signal.

[0015] In some embodiments, the data clock signal is a write clock signal.

[0016] In a third aspect, an embodiment of the present invention provides a signal processing method, adapted for a control device, the control device being connected to a memory, the signal processing method comprising: receiving a read clock signal and a read data signal transmitted from the memory and determining a first internal clock signal generated by the controller; determining one of the read clock signal and the first internal clock signal as a target read clock signal; and latching the read data signal utilizing the target read clock signal.

[0017] In some embodiments, before the step of receiving a read clock signal and a read data signal transmitted from the memory, the signal processing method further comprises: The method includes sending a data read command to the memory, and the memory generating the read clock signal and the read data signal.

[0018] In some embodiments, the signal processing method further comprises: The method includes determining the read clock signal as the target read clock signal when the data read command is a first read command, or determining the first internal clock signal as the target read clock signal when the data read command is a second read command, the second read command instructing the acquisition of a duty cycle parameter stored in a mode register in the memory, and the first read command is a data read command other than the second read command.

[0019] In a fourth aspect, an embodiment of the present invention provides a signal processing method adapted to a memory, the memory being coupled to a control device, the signal processing method comprising: The method includes the steps of, when a first read command is received, determining a read data signal based on the first read command, generating a read clock signal by a clock processing circuit in the memory, and transmitting the read data signal and the read clock signal together to the control device, or, when a second read command is received, determining the read data signal based on the second read command, and transmitting the read data signal to the control device.

[0020] In some embodiments, the signal processing method further includes controlling the read clock signal to a floating state when a first read command is received.

[0021] In some embodiments, the step of generating a read clock signal by a clock processing circuit in the memory comprises: The method includes the steps of receiving an externally generated data clock signal, adjusting a duty cycle of the data clock signal to output a second internal clock signal, and outputting the read clock signal based on the second internal clock signal, where the read clock signal is a pulse signal.

[0022] In some embodiments, the signal processing method further includes detecting a duty cycle of the second internal clock signal and obtaining a duty cycle parameter; and storing the duty cycle parameter in a mode register, wherein the second read command instructs obtaining the duty cycle parameter stored in the mode register, and the first read command is a data read command other than the second read command.

[0023] In a fifth aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising at least the control device according to the first aspect and the memory according to the second aspect. Effect of the Invention

[0024] The embodiments of the present invention provide a control device, a memory, a signal processing method, and an electronic device. The control device is connected to the memory, and includes a receiving module configured to receive a read clock signal from the memory and output the read clock signal, a clock module configured to generate a first internal clock signal, a selection module configured to receive the read clock signal and the first internal clock signal and output one of the read clock signal and the first internal clock signal as a target read clock signal, and a latch module configured to receive the target read clock signal and a read data signal sent from the memory and latch the read data signal using the target read clock signal. Thus, when the duty cycle of the clock signal in the memory is distorted, the control device still latches the read data signal by the first internal clock signal, which not only improves the accuracy of data latching but also saves power consumption. [Brief description of the drawings]

[0025] [Figure 1] FIG. 13 is a schematic diagram of the operation timing of the MRR command. [Diagram 2] FIG. 2 is a structural schematic diagram of an example of a clock processing circuit. [Diagram 3] FIG. 4 is a schematic diagram of an example waveform of a read clock signal. [Figure 4] FIG. 2 is a structural schematic diagram of an example of a control device provided by an embodiment of the present invention; [Diagram 5] FIG. 2 is a structural schematic diagram of another example of a control device provided by an embodiment of the present invention. [Figure 6] FIG. 4 is a schematic diagram of an example waveform of a data latch processing signal provided by an embodiment of the present invention. [Figure 7] 1 is a structural schematic diagram of an example of a memory provided by an embodiment of the present invention; [Figure 8] FIG. 2 is a schematic diagram of a local structure of an example of a clock processing circuit provided by an embodiment of the present invention; [Figure 9] FIG. 2 is a schematic diagram of a local structure of an example of a clock processing circuit provided by an embodiment of the present invention; [Figure 10] FIG. 2 is a schematic diagram of an example operation process of a clock processing circuit provided by an embodiment of the present invention; [Figure 11] 4 is a flowchart of an example of a signal processing method provided by an embodiment of the present invention. [Figure 12] 4 is a flowchart of another example of a signal processing method provided by an embodiment of the present invention. [Figure 13] FIG. 2 is a structural schematic diagram of an example of an electronic device provided by an embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0026] In the following, the technical solutions of the embodiments of the present invention will be described more clearly and completely with reference to the drawings of the embodiments of the present invention. It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention. In addition, it should be noted that, for ease of explanation, only parts of the drawings that are relevant to the present invention are shown.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein are for the purpose of describing embodiments of the present invention only and are not intended to be limiting of the present invention.

[0028] In the following description, "some embodiments" describe a subset of all possible embodiments, but it should be understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other where not inconsistent.

[0029] The terms "first, second, third" in reference to embodiments of the invention are used only to distinguish between similar objects and do not represent a particular order to the objects. It is understood that "first, second, third" may be interchanged, where permitted, because the embodiments of the invention described herein may be practiced in orders other than those illustrated or described.

[0030] DRAM (Dynamic Random Access Memory): Dynamic random access memory SDRAM (Synchronous Dynamic Random Access Memory): Synchronous dynamic random access memory MRR (Mode Register Read): Reads the mode register. Mbps (Million bits per second): Megabits per second NMOS (N-Metal-Oxide-Semiconductor): N-channel field effect transistor PMOS (P-Metal-Oxide-Semiconductor): P-channel field effect transistor

[0031] In memory (such as DRAM), the MRR command uses exactly the same operation timing as a normal read command. Referring to FIG. 1, a schematic diagram of the operation timing of the MRR command is shown. In FIG. 1, T0, T1, etc. represent different clock cycles, CK_c and CK_t are a pair of differential clock signals, CS is a chip select signal, CA is a command address signal, COMMAND indicates the operation command, DQ[7:0] is a data signal of an 8-bit memory, and DQ[15:0] is a data signal of a 16-bit memory. The data clock signal WCK is an external write clock signal sent from the host side (Host) of the electronic device to the memory, and may be represented as one signal or one pair of differential clock signals WCK_c and WCK_t at different circuit locations. The read clock signal RDQS is a clock signal output from the memory to the electronic device, and may be represented as one signal or one pair of differential clock signals RDQS_c and RDQS_t at different circuit locations. Specifically, after receiving the MRR command from the CPU, the memory generates a data signal DQ (which can also be called a read data signal), and uses the data clock signal received from the outside to generate a read clock signal. In the process of executing the data read command, the memory returns the read data signal DQ and the read clock signal RDQS together to the CPU, and then the CPU uses the read clock signal RDQS to latch the read data signal DQ and obtain the required data. Figure 1 is a standard timing specified in the JEDEC (Joint Electron Device Engineering Council) standard, and the meanings of each signal, the relevant change principles, and the abbreviations of some terms not mentioned can be understood by referring to the industry standard document JEDEC, and are not related to the technical solutions of the embodiments of the present invention and do not affect the understanding of those skilled in the art, so the description will be omitted.

[0032] The memory is provided with a clock processing circuit for adjusting the duty cycle of the data clock signal WCK0 (including a pair of complementary signals WCK_c / WCK_t) so that it can meet the requirements. Refer to FIG. 2, which is a structural schematic diagram of an example of a clock processing circuit. As shown in FIG. 2, in the clock processing circuit, the receiver is configured to receive the data clock signal WCK0 from the outside, the adjustment module is configured to adjust the duty cycle of the data clock signal WCK0 and obtain the internal clock signal WCK1, and the detection module is configured to detect the duty cycle parameter of the internal clock signal WCK1 and store it in the mode register. At the same time, in the process of the memory adjusting the duty cycle, the CPU sends an MRR command to read the duty cycle parameter of the mode register and determine the next operation. As shown in FIG. 2, in one exemplary case, the duty cycle of the data clock signal WCK0 input from the outside is 57% of the upper limit value specified by JEDEC. In the initial stage of duty cycle adjustment, the duty cycle adjustment module increases the duty cycle of the data clock signal WCK0 by 7 units (the upper limit specified by JEDEC, one unit is 5 picoseconds), i.e., 35 picoseconds, and such an increase corresponds to a 15% increase in the duty cycle at a speed of 8533Mbps. At this time, the duty cycle of the internal clock signal WCK1 of the memory is from 72%, and the duty cycle of the read clock signal RDQS generated using it is also from 72%. At this time, referring to FIG. 3, FIG. 3 is a schematic diagram of an example of a waveform of a read clock signal. As shown in FIG. 3, the read clock signal RDQS with a duty cycle from 72% is attenuated by the channel during transmission, and is greatly distorted when it reaches the CPU receiving end, making it difficult for the CPU to correctly identify it, that is, the MRR command may obtain wrong data, which ultimately leads to the failure of the duty cycle adjustment. As the memory speed increases, this problem becomes more serious.

[0033] Based on this, an embodiment of the present invention provides a control device, the control device is connected to a memory, the control device includes: a receiving module configured to receive a read clock signal from the memory and output the read clock signal, a clock module configured to generate a first internal clock signal, a selection module configured to receive the read clock signal and the first internal clock signal and output one of the read clock signal and the first internal clock signal as a target read clock signal, and a latch module configured to receive the target read clock signal and a read data signal sent from the memory and latch the read data signal using the target read clock signal, so that even if the duty cycle of the clock signal in the memory is distorted, the control device can still latch the read data signal by the first internal clock signal, which not only improves the accuracy of data latching but also saves power consumption.

[0034] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[0035] In one embodiment of the present invention, please refer to FIG. 4, which is a structural schematic diagram of an example of a control device 10 provided by an embodiment of the present invention. As shown in FIG. 4, the control device 10 is connected to a memory, and the control device 10: a receiving module 11 configured to receive a read clock signal from the memory and to output a read clock signal; a clock module 12 configured to generate a first internal clock signal; a selection module 13 configured to receive the read clock signal and the first internal clock signal, and to output one of the read clock signal and the first internal clock signal as a target read clock signal; and a latch module configured to receive a target read clock signal and a read data signal transmitted from the memory and to latch the read data signal utilizing the target read clock signal.

[0036] It should be noted that in an embodiment of the present invention, the control device 10 can be a CPU of an electronic device, and the memory can be various types of semiconductor memory, such as DRAM, SDRAM, dual-rate DRAM, low-power dual-rate DRAM, etc.

[0037] In various working scenarios, the control device 10 can use the read clock signal obtained from the memory as the target read clock signal, or the first internal clock signal generated by itself as the target read clock signal to complete the latching process of the read data signal, so that when the duty cycle of the clock signal in the memory is distorted, the control device 10 can still latch the read data signal by the first internal clock signal, and ensure the correct latching of data.

[0038] It should be noted that the receiving module 11 can be realized by a signal receiver consisting of devices such as NMOS and PMOS, the clock module 12 can be realized by a clock generator and a transmission gate, the selection module 13 can be realized by a binary data selector, and the latch module 14 can be realized by a D-type flip-flop.

[0039] Referring to Fig. 5, Fig. 5 is a structural schematic diagram of another example of the control device 10 provided by an embodiment of the present invention. In Fig. 5, the read clock signal can be represented as RDQS, the first internal clock signal can be represented as Internal CLK, the target read clock signal can be represented as Sample CLK, and the read data signal can be represented as DQ.

[0040] In some embodiments, as shown in FIG. 5, the selection module 13 is specifically configured to receive a selection instruction signal, and output the read clock signal RDQS as the target read clock signal Sample CLK when the selection instruction signal is in a first state, or output the first internal clock signal Internal CLK as the target read clock signal Sample CLK when the selection instruction signal is in a second state.

[0041] Here, the selection module 13 may be an either-or data selector, which outputs either the read clock signal RDQS or the first internal clock signal Internal CLK according to the state of a selection instruction signal.

[0042] In some embodiments, the clock end of the latch module 14 is connected to the output end of the selection module 13, the input end of the latch module 14 receives a read data signal DQ, and the output end of the latch module 14 outputs a sampled data signal, which is sent to the subsequent circuit of the control device 10 for processing.

[0043] In some embodiments, the controller 10 is further configured to send a data read command to the memory, the memory being configured to generate a read clock signal RDQS and a read data signal DQ.

[0044] In some embodiments, the control device 10 is further configured to set the selection indication signal to a first state when the data read command is a first read command, or to set the selection indication signal to a second state when the data read command is a second read command.

[0045] It should be noted that the data read command is divided into two types: a first read command and a second read command. The second read command instructs to obtain the duty cycle parameter stored in the mode register in the memory, and the first read command is a data read command other than the second read command.

[0046] As mentioned above, when the data read command is used to read the duty cycle parameter, the memory may be in the process of duty cycle adjustment. In some cases, the clock signal (i.e., the second internal clock signal WCK1) in the memory may already be distorted, for example, the duty cycle of the second internal clock signal WCK1 in FIG. 2 may be from 72%, and the read clock signal RDQS output from the memory may also be distorted, and the control device 10 may use the read clock signal RDQS to latch the read data signal DQ and obtain an incorrect result. For the embodiment of the present invention, when the data read command is used to read the duty cycle parameter, the first internal clock signal Internal CLK generated by the control device 10 itself is used as the target read clock signal, and the first internal clock signal Internal CLK is not affected by the duty cycle distortion of the second internal clock signal WCK1, so the CPU can use the level change edge of the first internal clock signal Internal CLK to latch the read data signal and obtain the correct duty cycle parameter.

[0047] In addition, in order to save power consumption, when the data read command is the first read command, the read clock signal RDQS of the memory has no practical effect, so the memory can control the read clock signal RDQS to a floating state, and the memory does not need to transmit the read clock signal RDQS to the control device 10, thereby saving current consumption.

[0048] In the following, the latching process of the read data signal is described by taking an example where the burst length of the DRAM is 16 and the number of DQ ends is 16.

[0049] For the second read command, the first 8 bits of the read data signal DQ carry valid data and are represented as DQ<7:0>. According to the industry agreement, the first 8 beats (first 4 clock cycles) of the target read clock signal RDQS transmit the mode register parameter value (MR Content), and the last 8 beats (last 4 clock cycles) transmit the valid data (Valid).

[0050] That is, as shown in Fig. 6(1), for the first read command, the read data signal DQ<7:0> is latched using the signal edge of the read clock signal RDQS transmitted from the memory, the data latched in the first four clock cycles is MR Content, and the data Valid latched in the latter four clock cycles is not used. As shown in Fig. 6(2), for the second read command, the read clock signal RDQS is in a floating state, and the first internal clock signal Internal CLK of the control device 10 is used as the target read clock signal RDQS, and the holding time of the read data signal is sufficiently long, so that the control device 10 can latch the read data signal DQ<7:0> using the first internal clock signal Internal CLK to obtain the MR Content.

[0051] As mentioned above, an embodiment of the present invention provides a control device, the control device is connected to a memory, the control device includes: a receiving module configured to receive a read clock signal from the memory and output the read clock signal, a clock module configured to generate a first internal clock signal, a selection module configured to receive the read clock signal and the first internal clock signal and output one of the read clock signal and the first internal clock signal as a target read clock signal, and a latch module configured to receive the target read clock signal and a read data signal sent from the memory and latch the read data signal using the target read clock signal, so that even if the duty cycle of the clock signal in the memory is distorted, the control device can still latch the read data signal by the first internal clock signal, which not only improves the accuracy of data latching but also saves power consumption.

[0052] In another embodiment, refer to FIG. 7, which is a structural schematic diagram of an example of a memory 20 provided by an embodiment of the present invention. As shown in FIG. 7, the memory 20 includes a clock processing circuit 21, and the memory 20 is connected to the control device 10; The memory 20 is configured to, when receiving a first read command, determine a read data signal DQ based on the first read command, determine a read clock signal RDQS in the clock processing circuit 21, and transmit the read data signal DQ and the read clock signal RDQS together to the control device 10, or, when receiving a second read command, determine a read data signal DQ based on the second read command and transmit the read data signal DQ to the control device 10.

[0053] It should be understood that in FIG. 7, the first read command and the second read command are collectively referred to as a data read command.

[0054] It should be noted that in the process of adjusting the duty cycle of the clock signal, the read clock signal RDQS output by the memory 20 may be distorted, which may result in data latch failure. In the embodiment of the present invention, for a first read command, the read clock signal RDQS is normal, the memory 20 provides a read data signal DQ and a normal read clock signal RDQS, and the control device 10 uses the read clock signal RDQS to latch the read data signal DQ. For a second read command, the read clock signal RDQS may be distorted, and the memory 20 can only provide a read data signal DQ, so that the control device 10 uses the first internal clock signal Internal CLK generated by itself to latch the read data signal DQ, which avoids data latch failure and saves current consumption and power consumption.

[0055] In some embodiments, memory 20 is further configured to control the read clock signal RDQS to a floating state when the first read command is received.

[0056] In this way, for the second read command, the memory 20 does not enable the control module related to the read clock signal, i.e., the read clock signal can be in a floating state, and the memory 20 does not need to send the read clock signal RDQS to the control device 10, thereby saving current consumption and power consumption.

[0057] In some embodiments, as shown in FIG. 8, the clock processing circuit 21 includes: a duty cycle module 211 configured to receive an externally generated data clock signal, adjust a duty cycle of the data clock signal, and output a second internal clock signal; a clock generation module 212 configured to receive the second internal clock signal and output a read clock signal RDQS based on the second internal clock signal, where the read clock signal RDQS is a pulse signal.

[0058] Thus, for the first read command, the read clock signal RDQS and the read data signal DQ are sent to the control device 10 via the hardware circuit, so that the control device 10 obtains the necessary parameters.

[0059] It should be noted that the duty cycle module 211 includes two parts, and the specific implementation can be referred to the following description. It should be noted that the clock generation module 212 can be composed of logic devices and delay units to achieve delay matching and standard timing according to JEDEC standards.

[0060] In some embodiments, the data clock signal WCK0 is an externally received write clock signal (represented as WCK0) and the second internal clock signal WCK1 is a duty cycle adjusted write clock signal internal to memory 20 (represented as WCK1).

[0061] In some embodiments, as shown in FIG. 9, the clock processing circuit 21 further comprises: a detection module 213 configured to receive a second internal clock signal WCK1, detect a duty cycle of the second internal clock signal WCK1, and output a duty cycle parameter; a mode register 214 configured to receive and store a duty cycle parameter; The second read command instructs obtaining a duty cycle parameter stored in a mode register, and the first read command is a data read command other than the second read command.

[0062] It should be noted that the detection module 213 can be composed of logic gates, transmission gates, capacitors, and signal comparison devices.

[0063] In some embodiments, the duty cycle module 211 is a receiver configured to receive and output a data clock signal WCK0 from an external device; and an adjusting module configured to adjust the duty cycle of the data clock signal WCK0 and output a second internal clock signal.

[0064] Please note that the adjustment module is used to adjust the duty cycle. When the duty cycle adjustment starts, the default setting of the adjustment module is to increase the duty cycle of the data clock signal WCK0 by a certain value, and according to the JEDEC standard, the duty cycle increase limit is 7 steps, i.e., 35 picoseconds.

[0065] It should be noted that the adjustment module can consist of cascaded delay units, each of which is composed of an NMOS and a PMOS, thereby realizing forward / reverse adjustment of the rising edge of the data clock signal WCK0 and / or realizing forward / reverse adjustment of the falling edge of the data clock signal WCK0, and finally adjusting the duty cycle of the data clock signal WCK0.

[0066] The following provides a possible work scenario to describe the technical effect of the embodiment of the present invention. Referring to FIG. 10, the duty cycle of the externally generated data clock signal WCK0 is 57%. When the duty cycle adjustment starts, the duty cycle of the data clock signal WCK0 is increased by 7 units (35 picoseconds) by default. If the memory speed is 8633Mbps, then the duty cycle of the second internal clock signal WCK1 is increased by 15% under the data clock signal WCK0, that is, the duty cycle of the second internal clock signal WCK1 is from 72%. In this case, the control device 10 sends a second read command to the memory, and the memory 20 only needs to send the read data signal DQ to the control device 10, and does not need to use the clock processing circuit 21 to generate the read clock signal RDQS. The control device 10 uses the first internal clock signal Internal CLK generated by itself to latch the read data signal DQ, obtain the correct duty cycle parameters, and ensure the success of the duty cycle adjustment operation.

[0067] An embodiment of the present invention provides a memory, the memory includes a clock processing circuit, the memory is connected to a control device, and the memory is configured to determine a read data signal according to the first read command when receiving a first read command, determine a read clock signal by the clock processing circuit, and send the read data signal and the read clock signal together to the control device; or determine a read data signal according to the second read command when receiving a second read command, and send the read data signal to the control device, so that for the second read command, the memory does not need to control the read clock signal extra and does not need to send the read clock signal to the control device, which not only avoids the adverse effect of duty cycle distortion of the read clock signal, but also saves current consumption and power consumption.

[0068] In yet another embodiment of the present invention, refer to Fig. 11, which is a flowchart of an example of a signal processing method provided by an embodiment of the present invention. As shown in Fig. 11, the method includes the following steps:

[0069] In step S301, a read clock signal and a read data signal sent from a memory are received, and a first internal clock signal generated by a control device is determined.

[0070] In step S302, one of the read clock signal and the first internal clock signal is determined as a target read clock signal.

[0071] In step S303, the target read clock signal is utilized to latch the read data signal.

[0072] It should be noted that the method is applied to the above-mentioned control device 10, and the control device 10 is connected to the memory 20. Referring to Figures 4 and 5, in various work scenarios, the control device 10 can complete the latching process of the read data signal DQ by using the read clock signal RDQS obtained from the memory as the target read clock signal Sample CLK, or the first internal clock signal Internal CLK generated by itself as the target read clock signal Sample CLK. Thus, when the duty cycle of the clock signal in the memory is distorted, the control device 10 can still latch the read data signal DQ with the first internal clock signal Internal CLK, and ensure the correct latching of data.

[0073] It should be noted that in step S301, when determining the first internal clock signal as the target read clock signal, the memory 20 does not need to send a read clock signal to the control device 10, so as to save power. Such a solution falls within the protection scope of the embodiments of the present invention.

[0074] In some embodiments, prior to the step of receiving the read clock signal and the read data signal transmitted from the memory, the method further comprises: The method includes sending a data read command to the memory, and the memory generating a read clock signal and a read data signal.

[0075] In some embodiments, the method further comprises: The method includes determining a read clock signal as a target read clock signal when the data read command is a first read command, or determining a first internal clock signal as a target read clock signal when the data read command is a second read command, the second read command instructing to obtain a duty cycle parameter stored in a mode register in the memory, and the first read command is a data read command other than the second read command.

[0076] That is, when the data read command is a first read command, the control device 10 receives a read clock signal and a read data signal transmitted from the memory, and latches the read data signal using the read clock signal. When the data read command is a second read command, the control device 10 receives a read clock signal transmitted from the memory, determines a first internal clock signal generated by itself, and latches the read data signal using the first internal clock signal.

[0077] An embodiment of the present invention provides a signal processing method, the method including the steps of: receiving a read clock signal sent from the memory, determining a first internal clock signal generated by the control device, determining one of the read clock signal and the first internal clock signal as a target read clock signal, receiving a read data signal sent from the memory, and latching the read data signal using the target read clock signal, so that when the duty cycle of the clock signal in the memory is distorted, the control device latches the read data signal using the first internal clock signal, which not only improves the accuracy of data latching, but also saves power consumption.

[0078] In yet another embodiment of the present invention, refer to Fig. 12, which is a flowchart of another example of a signal processing method provided by an embodiment of the present invention. As shown in Fig. 12, the method includes the following steps:

[0079] In step S401, when a first read command is received, a read data signal is determined according to the first read command, a read clock signal is generated by a clock processing circuit in the memory, and the read data signal and the read clock signal are sent to the control device together.

[0080] In step S402, if a second read command is received, determine a read data signal based on the second read command, and send the read data signal to the control device.

[0081] It should be noted that the method is applied to the above memory 20, and the memory 20 is connected to the control device 10. In FIG. 12, the first read command and the second read command are collectively referred to as data read command. When the memory 20 receives the first read command, the read clock signal RDQS is normal, and the memory 20 provides the read data signal DQ and the read clock signal RDQS, so that the control device 10 uses the read clock signal RDQS to latch the read data signal DQ. When the memory 20 receives the second read command, the read clock signal RDQS may be distorted, and the memory 20 provides only the read data signal DQ, so that the control device 10 uses the first internal clock signal Internal CLK generated by itself to latch the read data signal DQ, to avoid data latch failure.

[0082] In some embodiments, the method further includes controlling the read clock signal to a floating state when the first read command is received.

[0083] In some embodiments, the step of generating a read clock signal by a clock processing circuit in the memory comprises: The method includes the steps of receiving an externally generated data clock signal, adjusting a duty cycle of the data clock signal to output a second internal clock signal, and outputting a read clock signal based on the second internal clock signal, where the read clock signal is a pulse signal.

[0084] In some embodiments, the method further includes detecting a duty cycle of the second internal clock signal to obtain a duty cycle parameter; and storing the duty cycle parameter in a mode register, wherein the second read command instructs obtaining the duty cycle parameter stored in the mode register, and the first read command is a data read command other than the second read command.

[0085] An embodiment of the present invention provides a signal processing method, the method includes the steps of: when receiving a first read command, determining a read data signal according to the first read command, generating a read clock signal by a clock processing circuit in the memory, and sending the read data signal and the read clock signal together to the control device; or when receiving a second read command, determining the read data signal according to the second read command, and sending the read data signal to the control device, so that the memory does not need to generate a read clock signal for the second read command, which not only avoids the adverse effect of duty cycle distortion of the read clock signal, but also saves current consumption and power consumption.

[0086] In yet another embodiment of the present invention, referring to Fig. 13, Fig. 13 is a structural schematic diagram of an example of an electronic device 50 provided by an embodiment of the present invention. As shown in Fig. 13, the electronic device 50 includes at least the above-mentioned control device 10 and the above-mentioned memory 20.

[0087] In various work scenarios, the control device 10 can use the read clock signal obtained from the memory 20 as the target read clock signal, or use the first internal clock signal generated by itself as the target read clock signal to complete the latching process of the read data signal DQ, so that when the duty cycle of the clock signal in the memory is distorted, the control device 10 can still latch the read data signal by the first internal clock signal, which not only improves the accuracy of the data latch, but also saves power consumption.

[0088] The above are only the best examples of the present invention, and are not intended to limit the scope of protection of the present invention. In the present invention, the term "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so it should be noted that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not expressly listed, or inherent elements of such a process, method, article, or device. Unless otherwise limited, an element defined by the sentence "comprises ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element. The numbers of the above embodiments of the present invention do not represent the superiority or inferiority of the embodiments, but are for convenience of explanation. The methods disclosed in some method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments. The methods disclosed in some product embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in some method or device embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments. The above content is merely a specific embodiment of the present invention, and the protection scope of the present invention is not limited thereto. Any modifications or replacements that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims. [Industrial Applicability]

[0089] The embodiments of the present invention provide a control device, a memory, a signal processing method, and an electronic device. The control device is connected to the memory, and includes a receiving module configured to receive a read clock signal from the memory and output the read clock signal, a clock module configured to generate a first internal clock signal, a selection module configured to receive the read clock signal and the first internal clock signal and output one of the read clock signal and the first internal clock signal as a target read clock signal, and a latch module configured to receive the target read clock signal and a read data signal sent from the memory and latch the read data signal using the target read clock signal. Thus, when the duty cycle of the clock signal in the memory is distorted, the control device still latches the read data signal by the first internal clock signal, which not only improves the accuracy of data latching but also saves power consumption.

Claims

1. A controller, the controller being coupled to a memory; a receiving module configured to receive a read clock signal from the memory and to output the read clock signal; a clock module configured to generate a first internal clock signal; a selection module configured to receive the read clock signal and the first internal clock signal and to output one of the read clock signal and the first internal clock signal as a target read clock signal; a latch module configured to receive the target read clock signal and a read data signal transmitted from the memory and to latch the read data signal utilizing the target read clock signal.

2. The selection module is specifically configured to receive a selection indication signal, and output the read clock signal as the target read clock signal when the selection indication signal is in a first state, or output the first internal clock signal as the target read clock signal when the selection indication signal is in a second state. The control device according to claim 1 .

3. the controller is further configured to send a data read command to the memory such that the memory can generate the read clock signal and the read data signal. The control device according to claim 2.

4. The control device is further configured to set the selection indication signal to a first state if the data read command is a first read command, or to set the selection indication signal to a second state if the data read command is a second read command; the second read command instructs acquisition of a duty cycle parameter stored in a mode register in the memory, and the first read command is a data read command other than the second read command; The control device according to claim 3.

5. A memory, the memory including a clock processing circuit and coupled to a controller; When receiving a first read command, determine a read data signal based on the first read command, determine a read clock signal by the clock processing circuit, and send the read data signal and the read clock signal together to the control device; or A memory configured, upon receiving a second read command, to determine the read data signal based on the second read command and to transmit the read data signal to the controller.

6. The memory is further configured to control the read clock signal to a floating state when a second read command is received. The memory of claim 5.

7. The clock processing circuit includes: a duty cycle module configured to receive an externally generated data clock signal, adjust a duty cycle of the data clock signal, and output a second internal clock signal; a clock generation module configured to receive the second internal clock signal and output the read clock signal based on the second internal clock signal, the read clock signal being a pulse signal. The memory of claim 5.

8. The clock processing circuit further comprises: a detection module configured to receive the second internal clock signal, detect a duty cycle of the second internal clock signal, and output a duty cycle parameter; a mode register configured to receive and store the duty cycle parameter; the second read command instructs acquisition of a duty cycle parameter stored in the mode register, and the first read command is a data read command other than the second read command; The memory of claim 7.

9. The duty cycle module includes: a receiver configured to receive and output the data clock signal from an external device; an adjustment module configured to adjust a duty cycle of the data clock signal and output the second internal clock signal. The memory of claim 7.

10. A memory according to claim 5, wherein the data clock signal is a write clock signal.

11. 1. A signal processing method for application to a control device, the control device being connected to a memory, receiving a read clock signal and a read data signal transmitted from the memory and determining a first internal clock signal generated by the controller; determining one of the read clock signal and the first internal clock signal as a target read clock signal; and latching the read data signal utilizing the target read clock signal.

12. Before the step of receiving a read clock signal and a read data signal transmitted from the memory, the signal processing method further includes: sending a data read command to the memory so that the memory can generate the read clock signal and the read data signal; The signal processing method according to claim 11.

13. The signal processing method further comprises: determining the read clock signal as the target read clock signal if the data read command is a first read command, or determining the first internal clock signal as the target read clock signal if the data read command is a second read command; the second read command instructs acquisition of a duty cycle parameter stored in a mode register in the memory, and the first read command is a data read command other than the second read command; The signal processing method according to claim 12.

14. A signal processing method applied to a memory, said memory being connected to a controller, When receiving a first read command, determining a read data signal based on the first read command, generating a read clock signal by a clock processing circuit in the memory, and sending the read data signal and the read clock signal together to the control device; or A signal processing method comprising, if a second read command is received, determining the read data signal based on the second read command, and transmitting the read data signal to the controller.

15. The signal processing method further comprises: When receiving a first read command, controlling the read clock signal to a floating state; 15. A signal processing method according to claim 14.

16. The step of generating a read clock signal by a clock processing circuit in the memory includes: receiving an externally generated data clock signal; adjusting a duty cycle of the data clock signal to output a second internal clock signal; outputting the read clock signal based on the second internal clock signal, the read clock signal being a pulse signal; 15. A signal processing method according to claim 14.

17. The signal processing method further comprises: detecting a duty cycle of the second internal clock signal to obtain a duty cycle parameter; storing the duty cycle parameter in a mode register; the second read command instructs acquisition of a duty cycle parameter stored in the mode register, and the first read command is a data read command other than the second read command; 17. A signal processing method according to claim 16.

18. An electronic device comprising: a control device according to any one of claims 1 to 4; and a memory according to any one of claims 5 to 9.

Citation Information

Patent Citations

  • Information processing device and memory module

    JP2004355081A

  • Timing control for mismatched signal receivers

    JP2016526724A

  • Extended data clock operation in memory

    JP2022522012A

  • Memory device adjusting duty cycle and memory system having the same

    US20190237127A1