Method and device for determining data strobe point

By dividing the line and determining the center point in the data eye diagram, the strobe error problem of the data strobe point in the irregular data eye diagram is solved, and the success rate and accuracy of the data strobe are improved.

CN118866042BActive Publication Date: 2025-10-03CHANGXIN MEMORY TECH INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310445648.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2025-10-03
Estimated Expiration
2043-04-21

AI Technical Summary

Technical Problem

When determining the data strobe point in an irregular data eye diagram, the prior art easily causes data strobe errors and fails to accurately sample the correct data.

Method used

By generating a data eye diagram, dividing it into dividing lines in multiple directions, and determining the target data selection point according to the center point of the dividing line, including the target reference voltage and selection delay, it is ensured that the target data selection point is away from the edge of the data eye diagram to improve the selection success rate.

Benefits of technology

The success rate of data selection points is improved, the possibility of data selection errors is reduced, and the accuracy of data sampling is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118866042B_ABST
    Figure CN118866042B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and device for determining a data strobe point, which relates to the field of semiconductor technology. The method includes: generating a data eye diagram, the data eye diagram includes multiple data strobe points, each data strobe point is used to indicate that the read and write data are consistent under the corresponding reference voltage and strobe delay; dividing the data eye diagram in a first direction to obtain N dividing lines in a second direction; determining a target data strobe point based on the center point of each dividing line, the target strobe point includes: a target reference voltage and / or a target strobe delay. The starting and ending positions of the dividing lines of the embodiment of the present disclosure are determined by the edge of the data eye diagram. Therefore, the center point of the dividing line moves with the edge of the data eye diagram, so that the target data strobe point is moved away from the irregular edge through the center point of the dividing line corresponding to the irregular edge, which can improve the strobe success rate of the target data strobe point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to, but is not limited to, a method and device for determining a data strobe point. Background Art

[0002] In the memory, the data selection signal (DQS) is used to select the data signal (DQ) to obtain data. The selection here can also be understood as sampling. Normally, during the initialization process of a memory such as DRAM (dynamic random accessing memory), read and write training can be performed to determine the target data selection point from multiple data selection points. The data selection point includes: a reference voltage and a selection delay. When the sampled voltage is greater than the reference voltage, the data is determined to be 1, otherwise, the data is determined to be 0. The selection delay can be understood as the time delay between the data selection signal and the data signal. When the selection delay is greater than 0, it means that the data selection signal is later than the data signal; when the selection delay is less than 0, it means that the data selection signal is earlier than the data signal.

[0003] Therefore, how to determine the data strobe point from the data eye diagram is an urgent problem to be solved. Summary of the Invention

[0004] Embodiments of the present disclosure provide a method and device for determining a data strobe point, which are used to determine the data strobe point from a data eye diagram.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for determining a data strobe point, comprising:

[0006] Generating a data eye diagram, the data eye diagram including a plurality of data strobe points, each data strobe point being used to indicate that read and write data are consistent under a corresponding reference voltage and strobe delay;

[0007] Dividing the data eye diagram in the second direction to obtain N dividing lines in the first direction;

[0008] A target data strobe point is determined according to the center point of each of the dividing lines, and the target strobe point includes: a target reference voltage and / or a target strobe delay.

[0009] In one embodiment, dividing the data eye diagram in the second direction to obtain N dividing lines in the first direction includes:

[0010] The data eye diagram is divided into N+1 equal parts in the second direction to obtain N dividing lines in the first direction, where N is an integer greater than or equal to 1.

[0011] In one embodiment, dividing the data eye diagram in the second direction to obtain N dividing lines in the first direction includes:

[0012] determining a target line segment corresponding to the widest portion of the data eye diagram in the first direction;

[0013] Parts of the data eye diagram on both sides of the target line segment are divided in the second direction to obtain N dividing lines in the first direction.

[0014] In one embodiment, dividing the two side portions of the data eye diagram of the target line segment in the second direction to obtain N dividing lines in the first direction includes:

[0015] Parts of the data eye diagram on both sides of the target line segment are divided equally in the second direction to obtain N dividing lines in the first direction.

[0016] In one embodiment, dividing the two side portions of the data eye diagram of the target line segment into equal parts in the second direction to obtain N dividing lines in the first direction includes:

[0017] Dividing the data eye diagram on both sides of the target line segment into 1+(N-1) / 2 equal parts;

[0018] The target line segment and (N-1) / 2 dividing lines in the two side parts are used as N dividing lines in the first direction.

[0019] In one embodiment, when the target strobe point includes the target strobe delay, determining the target data strobe point according to the center point of each of the dividing lines includes:

[0020] An average value of the gating delays corresponding to the central points is used as the target gating delay.

[0021] In one embodiment, when the target strobe point includes the target reference voltage, determining the target data strobe point according to the center point of each of the dividing lines includes:

[0022] An average value of the reference voltages corresponding to the center points is used as the target reference voltage.

[0023] In one embodiment, generating a data eye diagram includes:

[0024] Acquire a plurality of data strobe points, wherein the data strobe points include the reference voltage and the strobe delay;

[0025] Performing a read and write test on at least one memory cell of the memory through each of the data strobe points;

[0026] The data eye diagram is generated according to the data strobe point corresponding to when the read and write test result of the memory is consistent with the read and write data.

[0027] In one embodiment, when the at least one storage unit includes at least two storage units, the at least two storage units are located in different storage arrays, and / or in different rows, and / or in different columns, generating the data eye diagram according to the data strobe point corresponding to when the read and write data are consistent as a result of a read and write test of the memory includes:

[0028] For each of the data strobe points, counting the proportion of consistent read and write data of the at least one storage unit;

[0029] The data eye diagram is generated according to the data selection point corresponding to the proportion being greater than or equal to the preset threshold.

[0030] In one embodiment, the first direction and the second direction are perpendicular;

[0031] When the data strobe points in the same straight line in the first direction correspond to the same reference voltage, the data strobe points in the same straight line in the second direction correspond to the same strobe delay;

[0032] When the data strobe points in the same straight line in the second direction correspond to the same reference voltage, the data strobe points in the same straight line in the first direction correspond to the same strobe delay.

[0033] In one embodiment, the data strobe points in the same straight line in the first direction constitute a row, and the data strobe points in the same straight line in the second direction constitute a column.

[0034] In a second aspect, an embodiment of the present disclosure provides a device for determining a data strobe point, comprising:

[0035] A data eye diagram generating module, configured to generate a data eye diagram, wherein the data eye diagram includes a plurality of data strobe points, each of which is configured to indicate that the read and write data are consistent under the corresponding reference voltage and strobe delay;

[0036] A data eye diagram dividing module, configured to divide the data eye diagram in a second direction to obtain N dividing lines in a first direction;

[0037] The data strobe point determination module is configured to determine a target data strobe point according to the center point of each of the dividing lines, wherein the target strobe point includes a target reference voltage and / or a target strobe delay.

[0038] In one embodiment, the data eye diagram division module is further configured to:

[0039] The data eye diagram is divided into N+1 equal parts in the second direction to obtain N dividing lines in the first direction, where N is an integer greater than or equal to 1.

[0040] In one embodiment, the data eye diagram division module is further configured to:

[0041] determining a target line segment corresponding to the widest portion of the data eye diagram in the first direction;

[0042] Parts of the data eye diagram on both sides of the target line segment are divided in the second direction to obtain N dividing lines in the first direction.

[0043] In one embodiment, the data eye diagram division module is further configured to:

[0044] Parts of the data eye diagram on both sides of the target line segment are divided equally in the second direction to obtain N dividing lines in the first direction.

[0045] In one embodiment, the data eye diagram division module is further configured to:

[0046] Dividing the data eye diagram on both sides of the target line segment into 1+(N-1) / 2 equal parts;

[0047] The target line segment and (N-1) / 2 dividing lines in the two side parts are used as N dividing lines in the first direction.

[0048] In one embodiment, when the target strobe point includes the target strobe delay, the data strobe point determination module is further configured to:

[0049] An average value of the gating delays corresponding to the central points is used as the target gating delay.

[0050] In one embodiment, when the target strobe point includes the target reference voltage, the data strobe point determination module is further configured to:

[0051] An average value of the reference voltages corresponding to the center points is used as the target reference voltage.

[0052] In one embodiment, the data eye diagram generation module is further configured to:

[0053] Acquire a plurality of data strobe points, wherein the data strobe points include the reference voltage and the strobe delay;

[0054] Performing a read and write test on at least one memory cell of the memory through each of the data strobe points;

[0055] The data eye diagram is generated according to the data strobe point corresponding to when the read and write test result of the memory is consistent with the read and write data.

[0056] In one embodiment, when the at least one storage unit includes at least two storage units, the at least two storage units are located in different storage arrays, and / or in different rows, and / or in different columns, and the data eye diagram generation module is further configured to:

[0057] For each of the data strobe points, counting the proportion of consistent read and write data of the at least one storage unit;

[0058] The data eye diagram is generated according to the data selection point corresponding to the proportion being greater than or equal to the preset threshold.

[0059] In one embodiment, the first direction and the second direction are perpendicular;

[0060] When the data strobe points in the same straight line in the first direction correspond to the same reference voltage, the data strobe points in the same straight line in the second direction correspond to the same strobe delay;

[0061] When the data strobe points in the same straight line in the second direction correspond to the same reference voltage, the data strobe points in the same straight line in the first direction correspond to the same strobe delay.

[0062] In one embodiment, the data strobe points in the same straight line in the first direction constitute a row, and the data strobe points in the same straight line in the second direction constitute a column.

[0063] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor and a memory;

[0064] The memory stores computer-executable instructions;

[0065] The at least one processor executes the computer-executable instructions stored in the memory, so that the electronic device implements the method according to the first aspect.

[0066] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the computing device implements the method described in the first aspect.

[0067] In a fifth aspect, an embodiment of the present disclosure provides a computer program, which is used to implement the method described in the first aspect.

[0068] The embodiment of the present disclosure provides a method and device for determining a data strobe point, the method comprising: generating a data eye diagram, the data eye diagram comprising a plurality of data strobe points, each data strobe point being used to indicate that the read and write data are consistent under the corresponding reference voltage and strobe delay; dividing the data eye diagram in a first direction to obtain N dividing lines in a second direction; determining a target data strobe point based on the center point of each dividing line, the target strobe point comprising: a target reference voltage and / or a target strobe delay. The starting and ending positions of the dividing lines of the embodiment of the present disclosure are determined by the edge of the data eye diagram. Therefore, the center point of the dividing line moves along with the edge of the data eye diagram, so as to move the target data strobe point away from the irregular edge through the center point of the dividing line corresponding to the irregular edge, thereby improving the strobe success rate of the target data strobe point. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0070] Figure 1 It is a schematic diagram of the location of the target data strobe point in a data eye diagram provided by the prior art;

[0071] Figure 2 This is another schematic diagram of the location of the target data strobe point in the data eye diagram provided by the prior art;

[0072] Figure 3 This is another schematic diagram of the location of the target data strobe point in the data eye diagram provided by the prior art;

[0073] Figure 4 This is a flowchart of a method for determining a data strobe point provided by an embodiment of the present disclosure;

[0074] Figure 5 This is a schematic diagram of a read and write test result of a memory provided by an embodiment of the present disclosure;

[0075] Figure 6 、 Figure 7 and Figure 8 Schematic diagram of the division of three data eye diagrams provided by the embodiment of the present disclosure;

[0076] Figure 9 1 is a schematic diagram of a detailed process for determining a data gating point provided by an embodiment of the present disclosure;

[0077] Figure 10 This is a structural block diagram of a device for determining a data strobe point provided by an embodiment of the present disclosure;

[0078] Figure 11 This is a structural block diagram of an electronic device provided by an embodiment of the present disclosure.

[0079] The above drawings illustrate specific embodiments of the present disclosure, which will be described in more detail below. These drawings and textual descriptions are not intended to limit the scope of the present disclosure in any way, but rather to illustrate the concepts of the present disclosure to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0080] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0081] The disclosed embodiments are used to determine a data strobe point based on a data eye diagram. A data eye diagram indicates whether the data obtained when a data signal is strobed by a data strobe signal under multiple reference voltages and multiple strobe delays is correct. The data eye diagram can have multiple data strobe points, each of which includes a reference voltage and a strobe delay. The reference voltage and strobe delay can be located on two coordinate axes.

[0082] In the prior art, a suitable target data strobe point can be determined based on a data eye diagram. Figure 1 This is a schematic diagram of the location of the target data selection point in a data eye diagram provided by the prior art. Figure 1 As shown in the figure, the horizontal axis represents the strobe delay, and the vertical axis represents the reference voltage. Any data strobe point inside the data eye diagram corresponds to a correct data strobe point, while any data strobe point outside the data eye diagram corresponds to an incorrect data strobe point. Each data strobe point is associated with a strobe delay and a reference voltage.

[0083] Based on the above Figure 1 The process of determining the appropriate target data strobe point from the data eye diagram shown in the figure can include: first, for each reference voltage, determining the horizontal width of the data eye diagram at that reference voltage; then, determining the reference voltage corresponding to the maximum horizontal width as the target reference voltage; and finally, determining the center point of the horizontal width of the data eye diagram at the target reference voltage as the target data strobe point. Therefore, the target data strobe point Pt is the center point of the widest horizontal portion of the data eye diagram, and the corresponding target strobe delay is Tt and the corresponding target reference voltage is Vt.

[0084] It can be seen that Figure 1The data eye diagram shown is a very regular symmetrical pattern. However, in some scenarios, the data eye diagram is not a regular symmetrical pattern. For irregular symmetrical patterns, the target strobe point obtained by the above method will cause data strobe failure. Figure 2 This is another schematic diagram of the location of the target data selection point in the data eye diagram provided by the prior art. Figure 2 As shown, the data eye diagram is asymmetrical. Figure 2 Using the center point Pt (Tt, Vt) of the widest horizontal part of the data eye diagram as the target selection point will make the target data selection point too close to the upper left position W1 of the data eye diagram, resulting in a slight deviation, that is, a data selection error may occur, that is, the correct data is not sampled.

[0085] above Figure 2 The asymmetry of the data eye diagram shown here is likely due to different driving conditions when the data changes from 0 to 1 and vice versa, resulting in different rising and falling slopes of the data eye diagram. Furthermore, ringing and partial-pattern data signals can cause reflections, leading to irregular data eye diagrams. Intersymbol interference (ISI) / crosstalk in the data signal can also contribute to irregular data eye diagrams. Figure 3 This is another schematic diagram of the location of the target data selection point in the data eye diagram provided by the prior art. Figure 3 As shown in FIG, the upper left position W2 of the data eye diagram is irregular due to signal reflection or inter-symbol interference / crosstalk. Figure 3 Using the center point Pt (Tt, Vt) of the widest horizontal part of the data eye diagram as the target selection point will also make the target data selection point too close to the upper left position W2 of the data eye diagram, resulting in a slight deviation, that is, a data selection error may occur.

[0086] It should be noted that the above Figure 2 and Figure 3 Only two examples of irregular data eye diagrams are shown. In practice, irregularities in the data eye diagram can occur anywhere, and any irregularity in that location can cause the selected target data strobe point to be closer to the irregular location. Therefore, this irregularity can lead to a slight deviation, or even a data strobe error.

[0087] To address the above issues, the disclosed embodiments consider locating the target data strobe point as close to the center of the data eye diagram as possible, so that the target data strobe point is relatively far from each edge of the target eye diagram. This ensures that data strobe accuracy is maintained even with a slight deviation.

[0088] Figure 4 This is a flowchart of a method for determining a data strobe point provided by an embodiment of the present disclosure. Figure 4 As shown, the method for determining the data strobe point includes steps S201 to S203.

[0089] S201: Generate a data eye diagram, where the data eye diagram includes a plurality of data strobe points, each of which is used to indicate that read and write data are consistent under a corresponding reference voltage and strobe delay.

[0090] The first direction and the second direction are any two different directions, that is, the first direction and the second direction intersect, so that they can represent the reference voltage and the data strobe point, respectively. In some examples, the first direction and the second direction are perpendicular. When the data strobe points in the same straight line in the first direction correspond to the same reference voltage, the data strobe points in the same straight line in the second direction correspond to the same strobe delay. When the data strobe points in the same straight line in the second direction correspond to the same reference voltage, the data strobe points in the same straight line in the first direction correspond to the same strobe delay.

[0091] When the first direction is horizontal and the second direction is vertical, the data strobe points in the same straight line in the first direction form a row, and the data strobe points in the same straight line in the second direction form a column. Figure 1 、 Figure 2 、 Figure 3 as well as Figure 4 As shown, the reference voltage is represented by the ordinate, and the gate delay is represented by the abscissa. The following description uses the example where the first direction is the horizontal direction corresponding to the gate delay, and the second direction is the vertical direction corresponding to the reference voltage. Of course, the first and second directions can be swapped, and the mapping relationship between the reference voltage and the gate delay can also be swapped. Based on the results of the swap, the method of the disclosed embodiment can be adjusted accordingly, and the principles remain the same.

[0092] The above-mentioned data eye diagram generation process can be performed during the initialization process after the memory is powered on, and can specifically include: first, obtaining multiple data selection points, each data selection point includes a reference voltage and a selection delay; then, through each data selection point, performing a read and write test on at least one storage unit of the memory; finally, generating a data eye diagram based on the data selection point corresponding to the read and write data when the read and write test results of the memory are consistent.

[0093] When the at least one storage unit includes at least two storage units, the at least two storage units are located in different storage arrays, and / or in different rows, and / or in different columns. For example, the at least one storage unit may be all storage units in a target row of each storage array (bank), where the target row may be any row.

[0094] The plurality of data strobe points may be selected based on a first value range of the reference voltage and a second value range of the strobe delay. The reference voltages within the first value range and the strobe delays within the second value range are combined in pairs to obtain the plurality of data strobe points.

[0095] Specifically, multiple reference voltages can be obtained from the first value range according to the first step length. For example, the first step length can be 0.65% Vmax, where Vmax is the maximum value of the reference voltage. Therefore, when the first value range is 60% Vmax to 87.95% Vmax, multiple reference voltages can be obtained as follows: 60% Vmax, 60.65% Vmax, 61.3% Vmax, ..., 86.65% Vmax, 87.3% Vmax, and 87.95% Vmax.

[0096] Similarly, multiple gating delays can be selected from the second value range according to the second step size. For example, the second step size can be 10 picoseconds. Therefore, when the second value range is -250 picoseconds (Picoseconds) to 250 picoseconds, multiple gating delays can be obtained as follows: -250 picoseconds, -240 picoseconds, -230 picoseconds, ..., 230 picoseconds, 240 picoseconds, and 250 picoseconds.

[0097] After obtaining a plurality of the above-mentioned data strobe points, a read / write test can be performed through the data strobe points to obtain a read / write test result of the memory. The read / write test result of the memory is used to indicate whether the read / write data is consistent. Specifically, for each data strobe point, the read / write test process may include: first, sending a row activation command to the corresponding row of at least one memory cell to activate the corresponding row; secondly; sending a data write command and a precharge command of the corresponding row to the above-mentioned at least one memory cell to realize data writing of the memory cell and precharging of the corresponding row; thirdly, sending a row activation command to the corresponding row of the above-mentioned at least one memory cell to activate the corresponding row; then, sending a data read command to the above-mentioned at least one memory cell to read the data in the memory cell; finally, determining the read / write test result of the memory corresponding to the data strobe point based on whether the read data and the written data corresponding to each memory cell are consistent.

[0098] Each of the above-mentioned data write commands corresponds to writing to multiple storage cells. For example, to write 8 bits of data to 8 storage cells in a row at a time, multiple write commands are required to complete the data writing process for a row of storage cells until the last storage cell in the row is written, completing the data writing process for the entire row. At this point, data writing to the row can be stopped. Similarly, each data read command corresponds to reading from multiple storage cells, and the principles are similar, so I will not elaborate on them here.

[0099] It is understood that during the above-mentioned read and write processes, the data signal needs to be selected by the data selection signal. The data selection point will affect whether the data selection is correct or incorrect, and thus affect whether the read and write data are consistent. Therefore, after determining whether the read and write data of each memory cell are consistent through the above-mentioned read and write test process, the read and write test results of the memory can be determined.

[0100] In the first example, when the read and write data of all storage cells are consistent, the read and write test result of the memory can be determined to be consistent. When the read and write data of at least one storage cell are inconsistent, the read and write test result of the memory can be determined to be inconsistent. This method has low flexibility.

[0101] In the second example, for each data strobe point, the proportion of consistent read and write data of at least one storage unit is counted. When the proportion is greater than or equal to a preset threshold, the read and write test result of the memory corresponding to the data strobe point is determined to be consistent read and write data; when the proportion is less than the preset threshold, the read and write test result of the memory corresponding to the data strobe point is determined to be inconsistent read and write data. Therefore, a data eye diagram is generated based on the data strobe point corresponding to the read and write test result of the memory when the read and write data is consistent, that is, a data eye diagram is generated based on the data strobe point corresponding to the proportion greater than or equal to the preset threshold. In this way, the preset threshold can be flexibly adjusted to adjust the relationship between the read and write test result of the memory and the consistency of the read and write data of the storage unit, thereby improving flexibility.

[0102] It is understandable that when the preset threshold is 100%, it means that when the read and write data of all storage units are consistent, the read and write test result of the memory is determined to be consistent. Therefore, the second example is compatible with the first example.

[0103] Figure 5 Schematic diagram of the read and write test results of a memory provided by an embodiment of the present disclosure. Figure 5 As shown, Figure 5 The corresponding reference voltages are 44 reference voltages obtained from the first value range 60% Vmax to 87.95% Vmax by the first step length 0.65% Vmax: 60% Vmax, 60.65% Vmax, 61.3% Vmax, ..., 86.65% Vmax, 87.3% Vmax, 87.95% Vmax, Figure 5 The corresponding gating delays are 56 gating delays obtained from the second value range of -250PS to 250PS through a second step size of 10PS: -250PS, -240PS, -230PS, ..., 230PS, 240PS, 250PS.

[0104] therefore, Figure 5The following are the read and write test results of the memory under the action of these 44 reference voltages and 56 strobe delays. Figure 5 Each "*" in the is used to indicate that the read / write test result of the memory corresponding to a data selection point is that the read / write data is consistent, and the remaining positions are used to indicate that the read / write test result of the memory corresponding to the data selection point is that the read / write data is inconsistent. For example, for the data selection point (reference voltage 87.95% Vmax, selection delay 60PS), the read / write test result of the corresponding memory is that the read / write data is consistent. And for the data selection point (reference voltage 87.95% Vmax, selection delay 50PS), the read / write test result of the corresponding memory is that the read / write data is inconsistent. The remaining data selection points are similar and will not be repeated here.

[0105] Figure 5 In the read and write test results of the memory shown, the right side of each row marks the selection delay interval and the width of the selection delay interval corresponding to each reference voltage when the read and write test results of the memory are consistent with the read and write data. The selection delay interval is determined by the minimum selection delay and the maximum selection delay, and the width of the selection delay interval can be the maximum selection delay - the minimum selection delay + * (* represents 10ps). Therefore, when the read and write test results of the memory are consistent with the read and write data, the selection delay interval and the width of the selection delay interval corresponding to each reference voltage can be expressed as follows: {the minimum selection delay corresponding to the reference voltage when the read and write data are consistent ~ the maximum selection delay corresponding to the reference voltage when the read and write data are consistent: width}.

[0106] like Figure 5As shown in FIG1 , when the read and write data of the memory are consistent, the reference voltages 61.3% Vmax, ..., 86.65% Vmax, 87.3% Vmax, and 87.95% Vmax correspond to the gate delay intervals and widths of {10-20:20}, {-10-30:50}, {-30-50:90}, {-30-60:100}, {-30-70:110}, {-40-80:130}, {-50- 80:140}、{-60~90:160}、{-60~90:160}、{-60~100:170}、{-60~110:180}、{-70~110:190}、{-70~120:200}、{-70~120:200}、{-70~120:200}、{-80~130:220}、{-80~130:220}、{ -80~140:230}、{-90~150:250}、{-90~150:250}、{-90~150:250}、{-90~150:250}、{-90~160:260}、{-90~160:260}、{-90~160:260}、{-80~150:240}、{-80~140:230}、{-70~140:220}、{-70~140:220}、{-70~140:2 :220}, {-60~130:200}, {-50~130:190}, {-40~130:180}, {-40~120:170}, {-40~110:160}, {-30~110:150}, {-20~110:140}, {-10~100:120}, {0~90:100}, {10~80:80}, {30~80:60}, {60~70:20} 。 The units of the gate delay interval and width here are both PS.

[0107] Figure 5 The data selection point corresponding to the "*" can be generated as follows Figure 1 、 Figure 2 、 Figure 3 、 Figure 6 or Figure 7 The data eye diagram shown in the figure can be Figure 5 The outline of the data strobe point corresponding to the "*" in the figure is drawn to obtain the data eye diagram. It can be understood that the strobe delay interval and width corresponding to each reference voltage of the obtained data eye diagram are the same as those in the above figure. Figure 5 The same as marked in.

[0108] S202: Divide the data eye diagram in the second direction to obtain N dividing lines in the first direction.

[0109] Among them, the above division can be unequal division or equal division. Of course, equal division can better ensure that the target data selection point is far away from each edge of the data eye diagram, thereby better improving the data selection success rate of the target data selection point.

[0110] When performing equal division, the data eye diagram is divided into N+1 equal parts in the second direction to obtain N division lines in the first direction, where N is an integer greater than or equal to 1.

[0111] From the above description, it can be seen that the first direction and the second direction are two perpendicular directions. Taking the first direction as the horizontal direction and the second direction as the vertical direction as an example, the data eye diagram is divided into N+1 equal parts in the vertical direction, and N dividing lines in the horizontal direction are obtained. For example, when N is 3, Figure 6 The data eye diagram shown is divided into 4 equal parts in the vertical direction, and the following is obtained: Figure 6 There are three dividing lines L1, L2 and L3 in it.

[0112] Of course, when the first direction is a vertical direction and the second direction is a horizontal direction, the division principle is similar to the above and will not be described in detail here.

[0113] In some embodiments, the data eye diagram can also be segmented based on the widest portion of the data eye diagram in the first direction. Specifically, first, a target line segment corresponding to the widest portion of the data eye diagram in the first direction is determined; then, portions on both sides of the target line segment in the data eye diagram are segmented in the second direction, respectively, to obtain N segmentation lines in the first direction.

[0114] Among them, when the first direction is the horizontal direction, the target line segment corresponding to the widest part of the data eye diagram in the horizontal direction is Figure 7 The line segment L0 is shown.

[0115] based on Figure 7 The target line segment L0 shown in FIG. 1 can be divided into an upper portion of the target line segment L0 and a lower portion of the target line segment L0 to obtain N dividing lines. The N target dividing lines here include the target line segment.

[0116] It can be seen that the embodiment of the present disclosure divides the data eye diagram in the second direction in combination with the widest part of the data eye diagram in the first direction. In this way, the widest part of the data eye diagram in the first direction can be fully considered, and the target data selection point can be made as close as possible to the widest part of the data eye diagram in the first direction. This can ensure that the target data selection point is as far away from the edge position of the data eye diagram as possible, which helps to improve the data selection success rate of the target data selection point.

[0117] Similarly, when dividing the two sides of the target line segment in the above-mentioned data eye diagram in the second direction, non-equal division and equal division can also be sampled. In order to make the target data selection point as far away from the edges of the data eye diagram as possible, equal division can be performed. Specifically, the two sides of the target line segment in the data eye diagram are divided into equal parts in the second direction to obtain N dividing lines in the first direction. For example, Figure 7 As shown, when the first direction is horizontal and the second direction is vertical, the upper portion of the target line segment L0 and the lower portion of the target line segment L0 can be divided into equal parts. The number of divisions of the upper and lower parts can be the same or different, so that the number of division lines corresponding to the upper and lower parts is different, but the sum of the number of division lines of the upper and lower parts is N-1.

[0118] In one example, when the two sides of the target segment in the data eye diagram are divided equally in the second direction, the number of dividing lines corresponding to the two sides is the same. Therefore, it is necessary to divide the two sides of the target segment in the data eye diagram into 1+(N-1) / 2 equal parts, so that the (N-1) / 2 dividing lines in the target segment and the two sides serve as the N dividing lines in the first direction. In this scenario, N is an odd number greater than 1.

[0119] For example, Figure 7 As shown, the upper part and the lower part of the target line segment L0 can be divided into four equal parts, respectively, to obtain three dividing lines, L1, L2 and L3, and L4, L5 and L6.

[0120] S203: Determine a target data gating point according to the center point of each dividing line, where the target gating point includes: a target reference voltage and / or a target gating delay.

[0121] Specifically, the average value of the gate delays corresponding to the center points may be used as the target gate delay; and the average value of the reference voltages corresponding to the center points may be used as the target reference voltage.

[0122] For example, refer to Figure 6 The three dividing lines L1, L2, and L3 shown can be used to determine their center points, respectively, to obtain P1(T1, V1), P2(T2, V2), and P3(T3, V3). Therefore, the average values ​​(T1+T2+T3) / 3 of the strobe delays T1, T2, and T3 corresponding to the center points P1(T1, V1), P2(T2, V2), and P3(T3, V3), respectively, as well as the average values ​​(V1+V2+V3) / 3 of the reference voltages corresponding to the center points P1(T1, V1), P2(T2, V2), and P3(T3, V3), respectively, can be calculated, thereby obtaining the target data strobe point Pt(Tt, Vt)=Pt((T1+T2+T3) / 3, (V1+V2+V3) / 3).

[0123] For example, refer to Figure 7 The center points of the seven dividing lines L0, L1, L2, L3, L4, L5 and L6 shown in the figure can be determined respectively to obtain P0(T0, V0), P1(T1, V1), P2(T2, V2), P3(T3, V3), P4(T4, V4), P5(T5, V5) and P6(T6, V6). Therefore, the average value of the gating delay T0 to T6 corresponding to the center points P0(T0, V0), P1(T1, V1), P2(T2, V2), P3(T3, V3), P4(T4, V4), P5(T5, V5) and P6(T6, V6) can be calculated as (T0+T1+T2+T3+T4+T5+T6) / 7, as well as the center points P0(T0, V0), P1(T1, V1), P2(T2, V2), P3(T3, V3), P4(T4, V4), P5(T5, V5) and P6(T6, V6). 2), the average value of the reference voltages corresponding to P3 (T3, V3), P4 (T4, V4), P5 (T5, V5), and P6 (T6, V6) respectively is (V0+V1+V2+V3+V4+V5+V6) / 7, thereby obtaining the target data selection point Pt (Tt, Vt) = Pt ((T0+T1+T2+T3+T4+T5+T6) / 7, (V0+V1+V2+V3+V4+V5+V6) / 7).

[0124] It can be seen that Figure 6 The target selection point Pt (Tt, Vt) shown is located to the right of the center point P2 of the widest part of the data eye diagram. Similarly, Figure 7 The target strobe point Pt(Tt, Vt) is also shown to the right of the center point P0 of the widest part of the data eye diagram. This shifts the target data eye diagram to the right, maximizing the target data strobe point's position at the edge of the data eye diagram and improving the strobe success rate of the target data strobe point.

[0125] Similarly, refer to Figure 8 As shown, when the data eye diagram appears Figure 8 In the case of the irregularity W2 shown, the center points P1, P2, and P3 of the dividing lines L1, L2, and L3 passing near the irregularity W2 are shifted to the right compared to the center points P0, P4, P5, and P6 of the dividing lines L0, L4, L5, and L6. Therefore, the target data strobe point Pt can be shifted to the right, to the right of the center point P0 of the widest part. In this way, by moving the target data strobe point away from the irregularity W2, the success rate of strobing the target data strobe point can be improved.

[0126] In summary, the disclosed embodiments divide the data eye diagram into demarcation lines, with the starting and ending positions of the demarcation lines determined by the edges of the data eye diagram. Therefore, the center point of the demarcation line moves along the edge of the data eye diagram, thereby moving the target data strobe point away from the irregular edge via the center point of the demarcation line corresponding to the irregular edge, thereby improving the strobe success rate of the target data strobe point.

[0127] Figure 9 This is a detailed diagram of a process for determining a data strobe point provided by an embodiment of the present disclosure. Figure 9 As shown, the detailed process of determining the data strobe point may include S301 to S310.

[0128] S301: Acquire multiple data strobe points, where the data strobe points include a reference voltage and a strobe delay.

[0129] S302: Perform a read / write test on at least one memory cell of the memory through each data strobe point.

[0130] S303: For each data strobe point, count the proportion of consistent read and write data of at least one storage unit.

[0131] S304: Generate a data eye diagram based on the data strobe points corresponding to the proportion greater than or equal to the preset threshold, the data eye diagram including multiple data strobe points, each data strobe point is used to indicate that the read and write data are consistent under the corresponding reference voltage and strobe delay.

[0132] After the data eye diagram is generated, the data eye diagram may be divided through S305 or S306 to S308 to obtain N dividing lines.

[0133] S305: Divide the data eye diagram into N+1 equal parts in the first direction to obtain N dividing lines in the second direction, where N is an integer greater than or equal to 1.

[0134] S306: Determine a target line segment corresponding to the widest part of the data eye diagram in the first direction.

[0135] S307: Divide the two sides of the target line segment in the data eye diagram into 1+(N-1) / 2 equal parts respectively.

[0136] S308: Use the target line segment and (N-1) / 2 dividing lines in the two side portions as N dividing lines in the second direction.

[0137] S309: Taking the average value of the gating delays corresponding to the center points as the target gating delay.

[0138] S310: Taking the average value of the reference voltages corresponding to the center points as the target reference voltage.

[0139] It is understood that the order of steps S301 to S310 can be adjusted flexibly without relying on each other, and the present disclosure does not limit the order. Moreover, the detailed description of S301 to S310 can refer to the corresponding description of S201 to S203 above, and will not be repeated here.

[0140] Corresponding to the method for determining the data strobe point in the above embodiment, Figure 10 1 is a structural block diagram of a device for determining a data strobe point provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 10 , the data strobe point determination device 400 includes:

[0141] The data eye diagram generating module 401 is used to generate a data eye diagram, wherein the data eye diagram includes a plurality of data strobe points, each of which is used to indicate that the read and write data are consistent under a corresponding reference voltage and strobe delay.

[0142] The data eye diagram dividing module 402 is configured to divide the data eye diagram in the second direction to obtain N dividing lines in the first direction.

[0143] The data strobe point determination module 403 is configured to determine a target data strobe point according to the center point of each of the dividing lines. The target strobe point includes a target reference voltage and / or a target strobe delay.

[0144] In one embodiment, the data eye diagram division module 402 is further configured to:

[0145] The data eye diagram is divided into N+1 equal parts in the second direction to obtain N dividing lines in the first direction, where N is an integer greater than or equal to 1.

[0146] In one embodiment, the data eye diagram division module 402 is further configured to:

[0147] A target line segment corresponding to the widest portion of the data eye diagram in the first direction is determined.

[0148] Parts of the data eye diagram on both sides of the target line segment are divided in the second direction to obtain N dividing lines in the first direction.

[0149] In one embodiment, the data eye diagram division module 402 is further configured to:

[0150] Parts of the data eye diagram on both sides of the target line segment are divided equally in the second direction to obtain N dividing lines in the first direction.

[0151] In one embodiment, the data eye diagram division module 402 is further configured to:

[0152] The data eye diagram is divided into 1+(N-1) / 2 equal parts on both sides of the target line segment.

[0153] The target line segment and (N-1) / 2 dividing lines in the two side parts are used as N dividing lines in the first direction.

[0154] In one embodiment, when the target strobe point includes the target strobe delay, the data strobe point determination module 403 is further configured to:

[0155] An average value of the gating delays corresponding to the central points is used as the target gating delay.

[0156] In one embodiment, when the target strobe point includes the target reference voltage, the data strobe point determination module 403 is further configured to:

[0157] An average value of the reference voltages corresponding to the center points is used as the target reference voltage.

[0158] In one embodiment, the data eye diagram generation module 401 is further configured to:

[0159] A plurality of data strobe points are acquired, wherein the data strobe points include the reference voltage and the strobe delay.

[0160] A read and write test is performed on at least one storage unit of the memory through each of the data strobe points.

[0161] The data eye diagram is generated according to the data strobe point corresponding to when the read and write test result of the memory is consistent with the read and write data.

[0162] In one embodiment, when the at least one storage unit includes at least two storage units, the at least two storage units are located in different storage arrays, and / or in different rows, and / or in different columns, and the data eye diagram generation module 401 is further configured to:

[0163] For each of the data strobe points, a percentage of consistent read and write data of the at least one storage unit is counted.

[0164] The data eye diagram is generated according to the data selection point corresponding to the proportion being greater than or equal to the preset threshold.

[0165] In one embodiment, the first direction and the second direction are perpendicular; when the data selection points in the same straight line in the first direction correspond to the same reference voltage, the data selection points in the same straight line in the second direction correspond to the same selection delay; when the data selection points in the same straight line in the second direction correspond to the same reference voltage, the data selection points in the same straight line in the first direction correspond to the same selection delay.

[0166] In one embodiment, the data strobe points in the same straight line in the first direction constitute a row, and the data strobe points in the same straight line in the second direction constitute a column.

[0167] The data strobe point determination device provided in this embodiment can be used to implement the technical solution of the aforementioned data strobe point determination method embodiment. Its implementation principle and technical effects are similar and will not be described in detail in this embodiment.

[0168] Figure 11 6 is a block diagram of an electronic device provided by an embodiment of the present disclosure. The electronic device 600 includes a memory 602 and at least one processor 601.

[0169] The memory 602 stores computer-executable instructions.

[0170] At least one processor 601 executes the computer-executable instructions stored in the memory 602 , so that the electronic device 600 implements the aforementioned method for determining the data strobe point.

[0171] In addition, the electronic device may further include a receiver 603 and a transmitter 604. The receiver 603 is configured to receive information from other devices or equipment and forward it to the processor 601. The transmitter 604 is configured to send the information to the other devices or equipment.

[0172] The electronic device provided in this embodiment can be used to implement the technical solution of the aforementioned data strobe point determination method embodiment. Its implementation principle and technical effects are similar and will not be described in detail in this embodiment.

[0173] An embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the computing device implements the aforementioned method for determining a data strobe point.

[0174] The embodiment of the present disclosure further provides a computer program, which is used to implement the aforementioned method for determining the data strobe point.

[0175] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure 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 techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0176] 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 method for determining a data gating point, characterized in that: include: Generating a data eye diagram, the data eye diagram including a plurality of data strobe points, each data strobe point being used to indicate that read and write data are consistent under a corresponding reference voltage and strobe delay; Dividing the data eye diagram in the second direction to obtain N dividing lines in the first direction; A target data strobe point is determined according to the center point of each of the dividing lines, and the target data strobe point includes: a target reference voltage and / or a target strobe delay.

2. The method according to claim 1, characterized in that The step of dividing the data eye diagram in the second direction to obtain N dividing lines in the first direction includes: The data eye diagram is divided into N+1 equal parts in the second direction to obtain N dividing lines in the first direction, where N is an integer greater than or equal to 1.

3. The method according to claim 1, characterized in that The step of dividing the data eye diagram in the second direction to obtain N dividing lines in the first direction includes: determining a target line segment corresponding to the widest portion of the data eye diagram in the first direction; Parts of the data eye diagram on both sides of the target line segment are divided in the second direction to obtain N dividing lines in the first direction.

4. The method according to claim 3, characterized in that The step of dividing the data eye diagram on both sides of the target line segment in the second direction to obtain N dividing lines in the first direction includes: Parts of the data eye diagram on both sides of the target line segment are divided equally in the second direction to obtain N dividing lines in the first direction.

5. The method according to claim 4, characterized in that The step of dividing the two sides of the target line segment of the data eye diagram into equal parts in the second direction to obtain N dividing lines in the first direction includes: Dividing the data eye diagram on both sides of the target line segment into 1+(N-1) / 2 equal parts; The target line segment and (N-1) / 2 dividing lines in the two side parts are used as N dividing lines in the first direction.

6. The method according to any one of claims 1 to 5, characterized in that When the target data strobe point includes the target strobe delay, determining the target data strobe point according to the center point of each of the dividing lines includes: An average value of the gating delays corresponding to the central points is used as the target gating delay.

7. The method according to any one of claims 1 to 5, characterized in that When the target data strobe point includes the target reference voltage, determining the target data strobe point according to the center point of each of the dividing lines includes: An average value of the reference voltages corresponding to the center points is used as the target reference voltage.

8. The method according to any one of claims 1 to 5, characterized in that Generating a data eye diagram includes: Acquire a plurality of data strobe points, wherein the data strobe points include the reference voltage and the strobe delay; Performing a read and write test on at least one memory cell of the memory through each of the data strobe points; The data eye diagram is generated according to the data strobe point corresponding to when the read and write test result of the memory is consistent with the read and write data.

9. The method according to claim 8, characterized in that When the at least one storage unit includes at least two storage units, the at least two storage units are located in different storage arrays, and / or in different rows, and / or in different columns, generating the data eye diagram according to the data strobe point corresponding to when the read and write data are consistent according to the read and write test result of the memory includes: For each of the data strobe points, counting the proportion of consistent read and write data of the at least one storage unit; The data eye diagram is generated according to the data selection point corresponding to the proportion being greater than or equal to the preset threshold.

10. The method according to any one of claims 1 to 5, characterized in that The first direction is perpendicular to the second direction; When the data strobe points in the same straight line in the first direction correspond to the same reference voltage, the data strobe points in the same straight line in the second direction correspond to the same strobe delay; When the data strobe points in the same straight line in the second direction correspond to the same reference voltage, the data strobe points in the same straight line in the first direction correspond to the same strobe delay.

11. The method according to claim 10, characterized in that The data strobe points in the same straight line in the first direction form a row, and the data strobe points in the same straight line in the second direction form a column.

12. A device for determining a data strobe point, characterized in that: The device comprises: A data eye diagram generation module is used to generate a data eye diagram, wherein the data eye diagram includes a plurality of data strobe points, each of which is used to indicate that the read and write data are consistent under a corresponding reference voltage and strobe delay; A data eye diagram dividing module, configured to divide the data eye diagram in a second direction to obtain N dividing lines in a first direction; The data strobe point determination module is configured to determine a target data strobe point according to the center point of each of the dividing lines, wherein the target data strobe point includes a target reference voltage and / or a target strobe delay.

13. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the electronic device implements the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the computing device implements the method according to any one of claims 1 to 11.

15. A computer program, characterized in that The computer program is used to implement the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Image encoding and decoding method and encoding and decoding device

    CN102611884A

  • Eye diagram parameter extraction method based on K-Means clustering algorithm

    CN106228171A