Memory, signal control system, signal control method and electronic equipment

By using a phase detector in the memory for signal phase comparison and delay adjustment, the problem of delay control in differential signal transmission is solved, and signal alignment and stable circuit operation are achieved.

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

Patent Information

Application Number
CN202310143773.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

During the signal transmission process, the delay of the differential signal is difficult to accurately control, causing the signal edge to be too slow, affecting the normal operation of the subsequent receiver circuit.

Method used

Equipped with a phase detector in the memory, the signal control command is generated by comparing the phase of the training signal on the received transmission path, and the signal delay is adjusted until the signal control command jumps, thereby eliminating or reducing the reception delay between signals.

Benefits of technology

It achieves the alignment of differential signals, avoids circuit logic errors caused by large signal delay differences, and ensures the stable operation of signals received by the memory in normal mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538256A
    Figure CN118538256A
Patent Text Reader

Abstract

The invention provides a memory, a signal control system, a signal control method and electronic equipment, and relates to the technical field of semiconductors. The memory comprises: a phase discriminator configured to receive a first training signal of a first data strobe signal port and a second training signal of a second data strobe signal port, compare the phase of the first training signal with the phase of the second training signal to generate a signal control command, and send the signal control command to a processor, and the processor responds to the signal control command to carry out delay adjustment on the first training signal and / or the second training signal until the signal control command jumps. According to the invention, the receiving delay between the signals output by the first data strobe signal port and the second data strobe signal port can be eliminated or at least reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of semiconductor technology, and in particular, to a memory, a signal control system, a signal control method and an electronic device. Background Art

[0002] Dynamic Random Access Memory (DRAM) is a semiconductor memory. Differential signals are widely used in DRAM, such as a differential pair of select signals, which includes a positive differential signal DQS_P and a negative differential signal DQS_N.

[0003] At present, it is difficult to accurately control the alignment of differential signals during signal transmission. If the delay difference between the two signals is large, the edge of the differential signal will be too slow, affecting the normal operation of the subsequent receiver circuit.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a memory, a signal control system, a signal control method and an electronic device, thereby overcoming the problem of large delay between differential signals received by the memory at least to a certain extent.

[0006] According to a first aspect of the present disclosure, a memory is provided, comprising: a phase detector configured to receive a first training signal of a first data selection signal port and a second training signal of a second data selection signal port, compare a phase of the first training signal with a phase of the second training signal to generate a signal control command, and send the signal control command to a processor, so that the processor performs a delay adjustment on the first training signal and / or the second training signal in response to the signal control command until the signal control command jumps.

[0007] In some embodiments, the first training signal and the second training signal are both single-ended signals sent by the processor and transmitted to the memory via the transmission path, and the phase of the first training signal is the same as the phase of the second training signal when initially sent by the processor.

[0008] In some embodiments, the phase detector is configured to generate a signal control command of 1 when the phase of the first training signal leads the phase of the second training signal; and to generate a signal control command of 0 when it is determined that the phase of the first training signal lags behind the phase of the second training signal; wherein, when the generated signal control command is 1, the processor is configured to increase the delay of the first training signal in response to the signal control command until the processor receives a signal control command of 0.

[0009] In some embodiments, the memory further comprises: a data signal driver configured to receive a signal control command output by the phase detector and send the signal control command to the processor.

[0010] In some embodiments, the phase detector includes: a comparison circuit configured to compare the phase of the first training signal with the phase of the second training signal to generate a signal control command; and a latch circuit configured to latch the signal control command.

[0011] According to a second aspect of the present disclosure, a signal control system is provided, comprising a memory, the memory comprising a phase detector, the phase detector being configured to receive a first training signal of a first data selection signal port and a second training signal of a second data selection signal port, and compare the phase of the first training signal with the phase of the second training signal to generate a signal control command; a processor being configured to perform a delay adjustment on the first training signal and / or the second training signal in response to the signal control command until the signal control command jumps.

[0012] In some embodiments, the first training signal and the second training signal are both single-ended signals sent by the processor and transmitted to the memory via the transmission path, and the phase of the first training signal is the same as the phase of the second training signal when initially sent by the processor.

[0013] In some embodiments, the phase detector is configured to generate a signal control command of 1 when the phase of the first training signal leads the phase of the second training signal; and to generate a signal control command of 0 when it is determined that the phase of the first training signal lags behind the phase of the second training signal; wherein, when the generated signal control command is 1, the processor is configured to increase the delay of the first training signal in response to the signal control command until the processor receives a signal control command of 0.

[0014] In some embodiments, when the generated signal control command is 1, the processor is configured to increase the delay of the first training signal by a fixed duration in response to the signal control command.

[0015] In some embodiments, the memory further comprises: a data signal driver configured to receive a signal control command output by the phase detector and send the signal control command to the processor.

[0016] In some embodiments, the phase detector includes: a comparison circuit configured to compare the phase of the first training signal with the phase of the second training signal to generate a signal control command; and a latch circuit configured to latch the signal control command.

[0017] In some embodiments, the processor is further configured to output a differential data selection signal according to a phase relationship between the first training signal and the second training signal after delay adjustment when the signal control command jumps.

[0018] According to a third aspect of the present disclosure, a signal control method is provided, comprising: comparing the phase of a first training signal of a first data selection signal port received by a memory with the phase of a second training signal of a second data selection signal port to generate a signal control command; and performing delay adjustment on the first training signal and / or the second training signal according to the signal control command until the signal control command jumps.

[0019] In some embodiments, the signal control method further includes: when the signal control command jumps, outputting a differential data selection signal according to a phase relationship between the first training signal and the second training signal after delay adjustment.

[0020] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising any one of the above-mentioned memories or any one of the above-mentioned signal control systems.

[0021] In the technical solutions provided by some embodiments of the present disclosure, the phase detector equipped in the memory is used to compare the phase of the first training signal of the first data selection signal port with the phase of the second training signal of the second data selection signal port, and the signal control command for controlling the delay of the first training signal and / or the delay of the second training signal is fed back to the processor to adjust the delay until the signal control command jumps. In this way, the reception delay between the signals output by the first data selection signal port and the second data selection signal port can be eliminated or at least reduced, so that the signal received by the memory from the first data selection signal port is aligned with the signal from the second data selection signal port, which helps to eliminate the problem of subsequent circuit logic errors caused by the large delay difference between the signals. In addition, the disclosed solution uses training signals to achieve signal delay control, which will not affect the circuit operation in normal mode.

[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0024] Figure 1 A schematic diagram showing a differential signal transmission path of an embodiment of the present disclosure is shown;

[0025] Figure 2 A schematic diagram showing a method of obtaining a differential signal from a signal with a large time delay difference is shown;

[0026] Figure 3 A block diagram of a memory according to an embodiment of the present disclosure is shown;

[0027] Figure 4 A block diagram of a memory according to another embodiment of the present disclosure is shown;

[0028] Figure 5 A schematic diagram showing a situation in which the phase of the first training signal is ahead of the phase of the second training signal in an embodiment of the present disclosure;

[0029] Figure 6 A schematic diagram showing a situation in which the phase of the first training signal lags behind the phase of the second training signal in an embodiment of the present disclosure;

[0030] Figure 7 A block diagram of a phase detector according to an embodiment of the present disclosure is schematically shown;

[0031] Figure 8 A circuit diagram of a phase detector according to an embodiment of the present disclosure is schematically shown;

[0032] Fig. 9 A block diagram schematically shows a signal control system according to an embodiment of the present disclosure;

[0033] Fig.10 A block diagram schematically shows a signal control system according to another embodiment of the present disclosure;

[0034] Fig.11 A flow chart schematically shows a signal control method according to an embodiment of the present disclosure;

[0035] Fig.12 A schematic diagram showing a comparison of differential signals received by the memory before and after the training scheme disclosed in the present invention;

[0036] Fig.13A schematic diagram schematically shows a memory receiving a differential signal in a normal working mode after applying an exemplary solution of the present disclosure;

[0037] Fig.14 A block diagram schematically shows an electronic device according to some embodiments of the present disclosure;

[0038] Fig.15 The block diagram of the electronic device according to some other embodiments of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0039] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure. In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

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

[0042] The terms "first\second" involved in the embodiments of the present disclosure are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0043] The clock signal CLK and data selection signal DQS used in the DRAM interface are high-speed differential signals. Take the positive differential signal DQS_P and the negative differential signal DQS_N as an example. Figure 1 , the processor generates a positive differential signal DQS_P and a negative differential signal DQS_N, which are received by the memory through, for example, SoC (System on Chip) packaging, motherboard, connector, and dual inline memory modules (DIMM). This signal transmission path makes it difficult to accurately control the delay alignment of the positive differential signal DQS_P and the negative differential signal DQS_N. In other words, the delay difference between the positive differential signal DQS_P and the negative differential signal DQS_N obtained by the memory is large.

[0044] refer to Figure 2 The differential signal DQS_DIFF corresponding to the positive differential signal DQS_P and the negative differential signal DQS_N may have a problem of slow edge due to the large delay difference. This situation will affect the normal operation of the subsequent receiver circuit. In severe cases, it will cause errors in the circuit logic and degrade the product.

[0045] In order to eliminate or at least alleviate the problem of large delay differences in differential signals received by a memory, an embodiment of the present disclosure provides a new memory.

[0046] The memory of the disclosed embodiment may not only conform to memory specifications such as DDR, DDR2, DDR3, DDR4, DDR5, DDR6, etc., but may also conform to memory specifications such as LPDDR, LPDDR2, LPDDR3, LPDDR4, LPDDR5, LPDDR6, etc., without any limitation here.

[0047] refer to Figure 3 The memory 3 of the embodiment of the present disclosure may include a phase detector 31.

[0048] Specifically, the phase detector 31 can be configured to perform: receiving a first training signal from a first data selection signal port and a second training signal from a second data selection signal port, comparing a phase of the first training signal with a phase of the second training signal to generate a signal control command, and sending the signal control command to a processor so that the processor performs a delay adjustment on the first training signal and / or the second training signal in response to the signal control command until the signal control command jumps.

[0049] It should be noted that the signal delay adjustment process of the embodiment of the present disclosure is carried out in the training mode, and the delay adjustment is for the training signal. The training mode can be understood as the debugging stage before the normal operation of the device, which is a mode deployed separately from the normal working mode. After the delay adjustment of the signal is completed in the training mode, when the device is working normally, the memory 3 can receive a differential signal with no delay difference or a small delay difference to realize the corresponding memory read and write function.

[0050] Specifically, the processor can configure the registers of the memory 3 to control the memory 3 to enter or exit the training mode. The present disclosure does not impose specific restrictions on the configuration method. For example, the processor can send a predefined instruction command a for entering the training mode to the memory 3, and when the memory 3 receives the instruction command a, it enters the training mode; the processor can send a predefined instruction command b for exiting the training mode to the memory 3, and when the memory 3 receives the instruction command b, it exits the training mode.

[0051] It is understandable that the method of delay adjustment of the signal disclosed herein may include increasing or decreasing the delay of the signal. In addition, the situation where the signal control command mentioned in the disclosure changes may include the signal control command changing from 1 to 0 or from 0 to 1.

[0052] The first training signal and the second training signal are both single-ended signals sent by the processor and transmitted to the memory via the transmission path, and the phase of the first training signal is the same as the phase of the second training signal when the processor initially sends it. That is, in the initial state, the processor can send the same single-ended clock signal on the first data strobe signal port and the second data strobe signal port.

[0053] refer to Figure 4 Compared with the memory 3, in addition to the phase detector 31, the memory 4 may also include a data signal driver 41. Specifically, the data signal driver 41 may be connected to the phase detector 31, and is configured to receive a signal control command output by the phase detector 31, drive and send the signal control command to the processor.

[0054] The following describes the method of adjusting the delay in combination with the phase detector 31.

[0055] According to some embodiments of the present disclosure, when the phase detector 31 determines that the phase of the first training signal is ahead of the phase of the second training signal, the generated signal control command is 1. Figure 5 , the phase of the first training signal leading the phase of the second training signal can mean that the rising edge of the first training signal arrives earlier than the rising edge of the second training signal. Relatively, at this time, the phase of the second training signal lags behind the phase of the first training signal. In this case, the phase detector outputs a high-level signal control command.

[0056] In one embodiment, the processor may be configured to increase the delay of the first training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor receives a signal control command of 0. For example, the delay of the first training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0057] In another embodiment, the processor may be configured to reduce the delay of the second training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor receives a signal control command of 0. For example, the delay of the second training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0058] According to some other embodiments of the present disclosure, when the phase detector 31 determines that the phase of the first training signal lags behind the phase of the second training signal, the generated signal control command is 0. Figure 6 , the phase of the first training signal lags behind the phase of the second training signal can mean that the rising edge of the first training signal arrives after the rising edge of the second training signal arrives. Relatively, at this time, the phase of the second training signal leads the phase of the first training signal. In this case, the phase detector outputs a low-level signal control command.

[0059] In one embodiment, the processor may be configured to increase the delay of the second training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor receives the signal control command of 1. For example, the delay of the second training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0060] In another embodiment, the processor may be configured to reduce the delay of the first training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor receives the signal control command of 1. For example, the delay of the first training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0061] According to some other embodiments of the present disclosure, when the phase detector 31 determines that the phase of the first training signal is ahead of the phase of the second training signal, the generated signal control command is 0. The phase of the first training signal is ahead of the phase of the second training signal, which may refer to the rising edge of the first training signal arriving earlier than the rising edge of the second training signal. Relatively, at this time, the phase of the second training signal lags behind the phase of the first training signal. In this case, the phase detector outputs a low-level signal control command.

[0062] In one embodiment, the processor may be configured to increase the delay of the first training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor receives the signal control command of 1. For example, the delay of the first training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0063] In another embodiment, the processor may be configured to reduce the delay of the second training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor receives the signal control command of 1. For example, the delay of the second training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0064] According to some further embodiments of the present disclosure, when the phase detector 31 determines that the phase of the first training signal lags behind the phase of the second training signal, the generated signal control command is 1. The phase of the first training signal lags behind the phase of the second training signal may mean that the rising edge of the first training signal arrives after the rising edge of the second training signal arrives. Relatively, at this time, the phase of the second training signal leads the phase of the first training signal. In this case, the phase detector outputs a high-level signal control command.

[0065] In one embodiment, the processor may be configured to increase the delay of the second training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor receives a signal control command of 0. For example, the delay of the second training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0066] In another embodiment, the processor may be configured to reduce the delay of the first training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor receives a signal control command of 0. For example, the delay of the first training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0067] It is understandable that in the above embodiment, one or more delay adjustment processes may cause the signal control command to jump. In view of the above fixed duration and the difference in phase between the two signals, the number of times the delay adjustment process is performed in the embodiment of the present disclosure may also vary.

[0068] In addition, in the above embodiment, only one of the first training signal and the second training signal is delayed. In other embodiments of the present disclosure, the first training signal and the second training signal may be delayed. For example, when the phase detector 31 determines that the phase of the first training signal is ahead of the phase of the second training signal, the processor may increase the delay of the first training signal and reduce the delay of the second training signal until the signal control command jumps. The present disclosure does not limit the degree of each increase or decrease in delay.

[0069] The phase detector 31 of the embodiment of the present disclosure is described below.

[0070] refer to Figure 7 , the phase detector 31 may include a comparison circuit 701 and a latch circuit 702 .

[0071] Specifically, the comparison circuit 701 may be configured to compare the phase of the first training signal with the phase of the second training signal to generate a signal control command. The latch circuit 702 may be configured to latch the signal control command.

[0072] Figure 8 The circuit diagram of the phase detector of the embodiment of the present disclosure is schematically shown. Figure 8 , the comparison circuit 701 may include PMOS transistors P1 ˜ P6 and NMOS transistors N1 ˜ N5 .

[0073] Specifically, the source of the PMOS transistor P1 receives the power supply voltage VCC, the drain of the PMOS transistor P1 is connected to the node 1, and the gate of the PMOS transistor P1 is connected to the node 2. The source of the PMOS transistor P2 receives the power supply voltage VCC, the gate of the PMOS transistor P2 is connected to the node 1, and the drain of the PMOS transistor P2 is connected to the node 2. The gate of the PMOS transistor P3 receives the signal XCLK, which may be a signal output by the first data selection signal port, the source of the PMOS transistor P3 is connected to the source of the NMOS transistor N1, and the drain of the PMOS transistor P3 is connected to the source of the NMOS transistor N2. The source of the PMOS transistor P4 receives the power supply voltage VCC, the drain of the PMOS transistor P4 is connected to the node 1, and the gate of the PMOS transistor P4 receives the signal XCLK. The source of the PMOS transistor P5 receives the power supply voltage VCC, the drain of the PMOS transistor P5 is connected to the node 2, and the gate of the PMOS transistor P5 receives the signal XCLK. A source of the PMOS transistor P6 is connected to the node 1 , a drain of the PMOS transistor P6 is connected to the node 2 , and a gate of the PMOS transistor P6 receives a signal XCLK.

[0074] The drain of the NMOS transistor N1 is connected to the node 1, and the gate of the NMOS transistor N1 is connected to the node 2. The drain of the NMOS transistor N2 is connected to the node 2, and the gate of the NMOS transistor N2 is connected to the node 1. The drain of the NMOS transistor N3 is connected to the source of the NMOS transistor N1, and the source of the NMOS transistor N3 is connected to the source of the NMOS transistor N4, and the gate of the NMOS transistor N3 receives the signal CLK, which may be a signal output by the second data selection signal port. The drain of the NMOS transistor N4 is connected to the source of the NMOS transistor N2, and the gate of the NMOS transistor N4 receives the signal XCLK. The drain of the NMOS transistor N5 is connected to the source of the NMOS transistor N3, and the gate of the NMOS transistor N5 receives the signal XCLK, and the source of the NMOS transistor N5 is grounded to VSS.

[0075] Continue to refer Figure 8 The latch circuit 702 may include a NAND gate NAND1, a NAND gate NAND2, and NOT gates NOT1-NOT7.

[0076] Specifically, the input end of NOT gate NOT1 is connected to node 1, and the output end of NOT gate NOT1 is connected to the input end of NOT gate NOT2. The first input end of NAND gate NAND1 is connected to the output end of NAND gate NOT2, the second input end of NAND gate NAND1 is connected to the output end of NAND gate NAND2, and the third input end of NAND gate NAND1 receives signal LRSTB, which is the signal after the reset signal reset is inverted.

[0077] The input end of NOT gate NOT3 is connected to node 2, and the output end of NOT gate NOT3 is connected to the input end of NOT gate NOT4. The first input end of NAND gate NAND2 receives power supply voltage VCC, the second input end of NAND gate NAND2 is connected to the output end of NAND gate NAND1, and the third input end of NAND gate NAND2 is connected to the output end of NAND gate NOT4.

[0078] The input end of NOT gate NOT5 is connected to the output end of NAND gate NAND1. The input end of NOT gate NOT6 is connected to the output end of NOT gate NOT5. The input end of NOT gate NOT7 is connected to the output end of NOT gate NOT6, and the output end of NOT gate NOT7 outputs signal LUP1X, which is the signal control command mentioned in the embodiment of the present disclosure.

[0079] It should be understood that Figure 8 The circuit structure shown is only an exemplary description, and other circuit configurations may also be used to implement the function of the phase detector, and the present disclosure does not limit this.

[0080] Furthermore, the present disclosure also provides a signal control system.

[0081] Fig. 9 The block diagram of the signal control system according to the embodiment of the present disclosure is schematically shown. Fig. 9 The signal control system 9 of the embodiment of the present disclosure may include a processor 91 and a memory 92 .

[0082] Specifically, the processor 91 can send the first training signal of the first data strobe signal port and the second training signal of the second data strobe signal port to the memory 92 via the transmission path, the first training signal and the second training signal are both single-ended signals, and the phase of the first training signal is the same as the phase of the second training signal when the processor 91 initially sends. The initially sent signal refers to the signal sent before the processor 91 responds to the signal control command to perform delay adjustment.

[0083] The memory 92 includes a phase detector configured to receive the first training signal and the second training signal and compare the phase of the first training signal with the phase of the second training signal to generate a signal control command.

[0084] The processor 91 may perform delay adjustment on the first training signal and / or the second training signal in response to the signal control command sent by the memory 92 until the signal control command changes.

[0085] According to some embodiments of the present disclosure, when the phase detector determines that the phase of the first training signal is ahead of the phase of the second training signal, the generated signal control command is 1. The phase of the first training signal is ahead of the phase of the second training signal, which may refer to the rising edge of the first training signal arriving earlier than the rising edge of the second training signal. Relatively, at this time, the phase of the second training signal lags behind the phase of the first training signal. In this case, the phase detector outputs a high-level signal control command.

[0086] In one embodiment, the processor 91 may be configured to increase the delay of the first training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor 91 receives a signal control command of 0. For example, the delay of the first training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0087] In another embodiment, the processor 91 may be configured to reduce the delay of the second training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor 91 receives a signal control command of 0. For example, the delay of the second training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0088] According to some other embodiments of the present disclosure, when the phase detector determines that the phase of the first training signal lags behind the phase of the second training signal, the generated signal control command is 0. The phase of the first training signal lags behind the phase of the second training signal may mean that the rising edge of the first training signal arrives after the rising edge of the second training signal arrives. Relatively, at this time, the phase of the second training signal leads the phase of the first training signal. In this case, the phase detector outputs a low-level signal control command.

[0089] In one embodiment, the processor 91 may be configured to increase the delay of the second training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor 91 receives the signal control command of 1. For example, the delay of the second training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0090] In another embodiment, the processor 91 may be configured to reduce the delay of the first training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor 91 receives the signal control command of 1. For example, the delay of the first training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0091] According to some other embodiments of the present disclosure, when the phase detector determines that the phase of the first training signal is ahead of the phase of the second training signal, the generated signal control command is 0. The phase of the first training signal is ahead of the phase of the second training signal, which may refer to the rising edge of the first training signal arriving earlier than the rising edge of the second training signal. Relatively, at this time, the phase of the second training signal lags behind the phase of the first training signal. In this case, the phase detector outputs a low-level signal control command.

[0092] In one embodiment, the processor 91 may be configured to increase the delay of the first training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor 91 receives the signal control command of 1. For example, the delay of the first training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0093] In another embodiment, the processor 91 may be configured to reduce the delay of the second training signal in response to the signal control command until the signal control command jumps to 1, that is, until the processor receives the signal control command of 1. For example, the delay of the second training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0094] According to some further embodiments of the present disclosure, when the phase detector determines that the phase of the first training signal lags behind the phase of the second training signal, the generated signal control command is 1. The phase of the first training signal lags behind the phase of the second training signal may mean that the rising edge of the first training signal arrives after the rising edge of the second training signal arrives. Relatively, at this time, the phase of the second training signal leads the phase of the first training signal. In this case, the phase detector outputs a high-level signal control command.

[0095] In one embodiment, the processor 91 may be configured to increase the delay of the second training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor 91 receives a signal control command of 0. For example, the delay of the second training signal is increased with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0096] In another embodiment, the processor 91 may be configured to reduce the delay of the first training signal in response to the signal control command until the signal control command jumps to 0, that is, until the processor 91 receives a signal control command of 0. For example, the delay of the first training signal is reduced with a fixed duration, wherein the fixed duration may be preconfigured, and the present disclosure does not limit its specific value.

[0097] It should be noted that in the above embodiment, only one of the first training signal and the second training signal is delayed. In other embodiments of the present disclosure, the first training signal and the second training signal may be delayed. For example, when the phase detector determines that the phase of the first training signal is ahead of the phase of the second training signal, the processor 91 may increase the delay of the first training signal and reduce the delay of the second training signal until the signal control command jumps. The present disclosure does not limit the degree of each increase or decrease in delay.

[0098] The phase detector in the memory 92 may include a comparison circuit and a latch circuit. The comparison circuit may be configured to compare the phase of the first training signal with the phase of the second training signal to generate a signal control command. The latch circuit may be configured to latch the signal control command.

[0099] In addition to the phase detector, the memory 92 may further include a data signal driver. The data signal driver may be configured to receive a signal control command output by the phase detector and send the signal control command to the processor 92.

[0100] It should be understood that when the signal control command received by the processor 92 changes, the processor 92 can output a differential data selection signal according to the phase relationship between the first training signal and the second training signal after delay adjustment, that is, enter a normal working mode.

[0101] Fig.10 The block diagram of the signal control system of the embodiment of the present disclosure is schematically shown. Fig.10 , the processor sends a first training signal and a second training signal, wherein the first training signal and the second training signal are the same single-ended clock signal. The first training signal and the second training signal are received by the memory via, for example, a mainboard, a dual in-line memory module, etc. The phase detector in the memory compares the phase of the first training signal with the phase of the second training signal, and outputs a signal control command representing the comparison result through a data signal driver. The processor can adjust the phase of the first training signal and / or the phase of the second training signal in response to the signal control command until the signal control command received by the processor jumps. Thus, the training is completed, and then the adjusted relative signal phase can be used to enter the normal working mode so that the memory can obtain a differential data selection signal with consistent phase or small delay difference.

[0102] Furthermore, the present disclosure also provides a signal control method. Fig.11 The steps of the signal control method of the embodiment of the present disclosure may include:

[0103] S112. Compare the phase of the first training signal of the first data strobe signal port received by the memory with the phase of the second training signal of the second data strobe signal port to generate a signal control command.

[0104] S114. Delay adjustment is performed on the first training signal and / or the second training signal according to the signal control command until the signal control command changes.

[0105] According to an exemplary embodiment of the present disclosure, the signal control method may further include: when the signal control command jumps, outputting a differential data selection signal according to a phase relationship between the first training signal and the second training signal after delay adjustment.

[0106] The details of the method in the embodiment of the present disclosure have been explained in the above description of the memory and the signal control system and will not be repeated here.

[0107] Fig.12 The figure shows the comparison of the differential signal received by the memory before and after the training mode of the disclosed solution. Fig.12 With the aid of the training mode described in the embodiment of the present disclosure, the phase signal received by the memory can be adjusted to be consistent through phase comparison of the phase detector in the memory and adjustment of the signal phase by the processor according to the feedback of the phase comparison result, which is helpful for the normal implementation of subsequent circuit functions.

[0108] Fig.13 The schematic diagram schematically shows a memory receiving a differential signal in a normal working mode after applying the exemplary solution of the present disclosure. Fig.13 After the training mode of the embodiment of the present disclosure, the differential signals received by the memory can be consistent. In this case, when the normal mode is performed, the memory can receive the positive differential signal DQS_P and the negative differential signal DQS_N with consistent phases.

[0109] Furthermore, the present disclosure also provides an electronic device. Fig.14 The electronic device 14 may include a memory 141, and the memory 141 may be the memory 3 or the memory 4 including the phase detector 31 described above.

[0110] Furthermore, the present disclosure also provides an electronic device. Fig.15 , the electronic device 15 may include the above-mentioned signal control system 9.

[0111] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing what is disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be considered merely as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0112] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A memory, characterized in that: include: A phase detector is configured to receive a first training signal from a first data selection signal port and a second training signal from a second data selection signal port, compare a phase of the first training signal with a phase of the second training signal to generate a signal control command, and send the signal control command to a processor so that the processor performs a delay adjustment on the first training signal and / or the second training signal in response to the signal control command until the signal control command jumps.

2. The memory according to claim 1, characterized in that: The first training signal and the second training signal are both single-ended signals sent by the processor and transmitted to the memory via a transmission path, and a phase of the first training signal is the same as a phase of the second training signal when initially sent by the processor.

3. The memory according to claim 1, characterized in that: The phase detector is configured to generate the signal control command as 1 when the phase of the first training signal leads the phase of the second training signal; and generate the signal control command as 0 when it is determined that the phase of the first training signal lags behind the phase of the second training signal; Wherein, when the generated signal control command is 1, the processor is configured to increase the delay of the first training signal in response to the signal control command until the processor receives the signal control command of 0.

4. The memory according to claim 1, characterized in that: The memory also includes: The data signal driver is configured to receive the signal control command output by the phase detector and send the signal control command to the processor.

5. The memory according to any one of claims 1 to 4, characterized in that: The phase detector comprises: a comparison circuit configured to compare a phase of the first training signal with a phase of the second training signal to generate a signal control command; The latch circuit is configured to latch the signal control command.

6. A signal control system, characterized in that: include: a memory, the memory comprising a phase detector, the phase detector being configured to receive a first training signal of a first data strobe signal port and a second training signal of a second data strobe signal port, and compare a phase of the first training signal with a phase of the second training signal to generate a signal control command; The processor is configured to perform delay adjustment on the first training signal and / or the second training signal in response to the signal control command until the signal control command changes.

7. The signal control system according to claim 6, characterized in that: The first training signal and the second training signal are both single-ended signals sent by the processor and transmitted to the memory via a transmission path, and a phase of the first training signal is the same as a phase of the second training signal when initially sent by the processor.

8. The signal control system according to claim 7, characterized in that: The phase detector is configured to generate the signal control command as 1 when the phase of the first training signal leads the phase of the second training signal; and generate the signal control command as 0 when it is determined that the phase of the first training signal lags behind the phase of the second training signal; Wherein, when the generated signal control command is 1, the processor is configured to increase the delay of the first training signal in response to the signal control command until the processor receives the signal control command of 0.

9. The signal control system according to claim 8, characterized in that: When the generated signal control command is 1, the processor is configured to increase the delay of the first training signal by a fixed duration in response to the signal control command.

10. The signal control system according to claim 6, characterized in that: The memory also includes: The data signal driver is configured to receive the signal control command output by the phase detector and send the signal control command to the processor.

11. The signal control system according to claim 6, characterized in that: The phase detector comprises: a comparison circuit configured to compare a phase of the first training signal with a phase of the second training signal to generate a signal control command; The latch circuit is configured to latch the signal control command.

12. The signal control system according to any one of claims 6 to 11, characterized in that: The processor is further configured to output a differential data selection signal according to a phase relationship between the first training signal and the second training signal after delay adjustment when the signal control command changes.

13. A signal control method, characterized in that: include: Comparing the phase of the first training signal of the first data strobe signal port received by the memory with the phase of the second training signal of the second data strobe signal port to generate a signal control command; Delay adjustment is performed on the first training signal and / or the second training signal according to the signal control command until the signal control command changes.

14. The signal control method according to claim 13, characterized in that: The signal control method further includes: When the signal control command changes, a differential data selection signal is output according to the phase relationship between the first training signal and the second training signal after delay adjustment.

15. An electronic device, characterized in that: The method comprises a memory as claimed in any one of claims 1 to 5 or a signal control system as claimed in any one of claims 6 to 12.