A method for operating a data interface circuit whereby calibration adjustments for data bit capture are made without disturbing normal system operation includes initially establishing, using a first calibration method where a data bit pattern received by the data interface circuit is predictable, an optimal sampling point for sampling data bits received by the data interface circuit, and during a normal system operation and without disturbing the normal system operation, performing a second calibration method where the data bit pattern received by the data interface circuit is unpredictable. The second calibration method determines an amount of a timing drift for received data bit edge transitions and adjusts the optimal timing point determined by the first calibration method to create a revised optimal timing point. The second calibration method samples fringe timing points associated with the transition edges of a data bit.
|
1. A method for operating a data interface circuit whereby calibration adjustments for data bit capture are made without disturbing a normal system operation, the method comprising:
initially establishing, using a first calibration method where a data bit pattern received by the data interface circuit is predictable, an optimal sampling point for sampling data bits received by the data interface circuit; and
during the normal system operation and without disturbing the normal system operation, performing a second calibration method where the data bit pattern received by the data interface circuit is unpredictable,
wherein the second calibration method determines an amount of a timing drift for received data bit edge transitions and adjusts the optimal sampling point determined by the first calibration method to create a revised optimal timing point, and
wherein the second calibration method samples fringe timing points associated with the transition edges of a data bit, and comprises sampling:
a plurality of interfringe timing points; and
an intrafringe timing point.
2. The method of
3. The method of
4. The method of
5. The method of
6. The method of
7. The method of
8. The method of
9. The method of
10. The method of
11. The method of
12. The method of
13. The method of
14. The method of
17. The method of
18. The method of
|
This application is a Continuation of U.S. application Ser. No. 17/074,403, currently pending, filed on Oct. 19, 2020 and titled “CONTINUOUS ADAPTIVE DATA CAPTURE OPTIMIZATION FOR INTERFACE CIRCUITS”, by inventors Jung Lee, Venkat Iyer, and Brett Murdock commonly assigned with the present application and incorporated herein by reference.
A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
In turn, application Ser. No. 17/074,403 is a Continuation of U.S. application Ser. No. 16/254,436, filed on Jan. 22, 2019, and titled “CONTINUOUS ADAPTIVE DATA CAPTURE OPTIMIZATION FOR INTERFACE CIRCUITS”, by inventors Jung Lee, Venkat Iyer, and Brett Murdock commonly assigned with the present application and incorporated herein by reference, now abandoned. In turn, application Ser. No. 16/254,436 is a Continuation of U.S. application Ser. No. 15/853,568, filed on Dec. 22, 2017 and titled “CONTINUOUS ADAPTIVE DATA CAPTURE OPTIMIZATION FOR INTERFACE CIRCUITS,” by inventors Jung Lee, Venkat Iyer, and Brett Murdock commonly assigned with the present application and incorporated herein by reference, now abandoned. In turn, application Ser. No. 15/853,568 is a Continuation of U.S. application Ser. No. 15/237,473, filed on Aug. 15, 2016, issued as U.S. Pat. No. 9,898,433 on Feb. 20, 2018 and titled “CONTINUOUS ADAPTIVE DATA CAPTURE OPTIMIZATION FOR INTERFACE CIRCUITS”, by inventors Venkat Iyer, Prashant Joshi, and Jung Lee, commonly assigned with the present application and incorporated herein by reference. In turn, application Ser. No. 15/237,473 is a Continuation of U.S. application Ser. No. 14/850,792, filed on Sep. 10, 2015, issued as U.S. Pat. No. 9,425,778 on Aug. 23, 2016 and titled “CONTINUOUS ADAPTIVE DATA CAPTURE OPTIMIZATION FOR INTERFACE CIRCUITS”, by inventors Venkat Iyer, Prashant Joshi, and Jung Lee, commonly assigned with the present application and incorporated herein by reference. In turn, application Ser. No. 14/850,792 was a Continuation-In-Part of PCT application Ser. No. PCT/US14/24818, currently expired, filed on Mar. 12, 2014, and titled CONTINUOUS ADAPTIVE TRAINING FOR DATA INTERFACE TIMING CALIBRATION″, by inventors Venkat Iyer, Prashant Joshi, and Jung Lee, commonly assigned with the present application and incorporated herein by reference, which in turn claimed the benefit of U.S. Provisional Application No. 61/777,648 filed on Mar. 12, 2013, presently expired, and claimed the benefit as a continuation of U.S. Utility application Ser. No. 14/205,208 filed on Mar. 11, 2014, patented as U.S. Pat. No. 8,947,140 on Feb. 3, 2015, and claimed the benefit as a continuation of U.S. Utility application Ser. No. 14/205,239 filed on Mar. 11, 2014 issued as U.S. Pat. No. 9,100,027 on Aug. 4, 2015, and claimed the benefit as a continuation of U.S. Utility application Ser. No. 14/205,254 filed on Mar. 11, 2014 which issued as U.S. Pat. No. 8,941,423 on Jan. 27, 2015, and claimed the benefit as a continuation of U.S. Utility application Ser. No. 14/205,225 filed on Mar. 11, 2014, issued as U.S. Pat. No. 8,941,422 on Jan. 27, 2015, all of which are incorporated by reference herein. Application Ser. No. 14/850,792 also claimed priority to U.S. application Ser. No. 14/273,416, filed on May 8, 2014, presently patented as U.S. Pat. No. 9,300,443 on Mar. 29, 2016, which in turn claimed priority to as a continuation of U.S. Utility application Ser. No. 13/797,200 filed on Mar. 12, 2013, presently abandoned, the contents of each is incorporated herein by reference.
The present invention relates generally to interface circuits, typically implemented on integrated circuits such as Processor chips, memory controller chips, and SOC (System-On-Chip) integrated circuits where such interfaces are required. One common example of such an interface would receive data read from dynamic memory chips that are located externally to a device containing the receiving interface.
Given today's high clock rates and transmission line effects when signals must travel between integrated circuit chips, changes along signal paths can occur over time that affect signal timing. As a system heats and cools during operation, and/or develops hot and cool spots, the skew between data bits, or between data bits and strobe signals can likewise change as data bit signals and strobe signals travel off chip and between chips through various system-level paths. Therefore, it would be useful to have a way to perform dynamic timing calibration and re-calibration from time to time during system operation, and to do so quickly and dynamically without affecting the normal operation of the system.
One application where such a continuously adaptive calibration or training mechanism for data interface timing calibration is especially useful is to compensate for variable system-level delays in dynamic memory interfaces where DQ data bits can develop a skew problem with respect to the DQS strobe used to sample them, or where the optimal DQS strobe timing over all data bits varies during the functional operation of the system. Similarly, at the timing interface between the Phy and internal core clock domains in a dynamic memory based controller system, the timing relationship between an internal capture clock and data coming from the Phy can also drift due to system-level delays. In addition, jitter can develop between data bits and strobes, or between signals in different clock domains, and it would also be useful to resolve jitter issues while performing a continuous timing calibration function. The solution previously described herein and now published in issued US patents also assigned to applicant is shown in U.S. Pat. Nos. 8,947,140, 8,941,422, 8,941,423, 9,100,027 also known herein as CAT (Continuous Adaptive Training). This functionality is able to continuously monitor the performance of a data interface circuit by creating a parallel data path—a reference path—that mimics the function of the actual data path in use—the mission path. Thus, constantly determining revised timing parameters as necessary that can be constantly updated to the mission path.
An approach for de-skew of data bits in a data interface is described in U.S. application Ser. No. 14/273,416 assigned to Applicant for bit-levelling calibration known herein as ABC. With ABC, a known data pattern is read by the data interface being calibrated. This function is typically utilized at power-on reset time, however is also designed so that it runs relatively quickly and while it does disturb normal system operation, it can be performed during the operation of, for instance, a DDR memory interface with relatively small periods of interruption. To perform such a calibration, the previously disclosed ABC solution requires the DDR system to be temporarily placed in a non-active condition in order to be run, including where necessary replacing application data in the DDR memory with a known calibration data pattern. The disadvantage to this is there will be an impact on system bandwidth whenever an ABC update/re-calibration must be done. Additionally, it is incumbent upon the system to determine when the ABC update should be run.
Therefore, it would useful to have a dynamic capability to adjust the timing for a data interface to compensate for drift over time, such that adjustments are performed without any effect on the continuous operation of the system. Such a new capability could be added-on to any initial calibration method that operates at system power-on time, and assuming that optimal timing points were obtained by the initial calibration method for all data bits of interest, the new capability would continually make adjustments when necessary to compensate for drift over time, and do so without disturbing normal system operation. Note that in addition to performing an initial calibration at power-on time, there are two other circumstances where such an initial calibration is useful:
Circuits and methods for implementing a continuously adaptive timing calibration training function in an integrated circuit interface are disclosed. A mission data path is established where a data bit is sampled by a strobe. A similar reference data path is established for calibration purposes only. At an initialization time both paths are calibrated and a delta value between them is established. During operation of the mission path, the calibration path continuously performs calibration operations to determine if its optimal delay has changed by more than a threshold value. If so, the new delay setting for the reference path is used to change the delay setting for the mission path after adjustment by the delta value. Since the determination of calibration is performed solely on the reference path, and the transfer of delay parameters to the mission path is almost instantaneous, signal traffic on the mission path is not interrupted in order for even frequent re-calibrations to be performed.
Circuits and methods are also disclosed for performing multiple parallel calibrations for the reference path to speed up the training process. Where multiple parallel calibrations are implemented, the continuous adaptive training function according to the invention enables a mission data path to be recalibrated more frequently in applications where delays may change rapidly during system operation.
According to different embodiments of the invention, the principles described herein can be utilized to adjust any timing relationship where one signal is used to sample another signal. The signal being sampled may be programmably delayed according to the invention, or a strobe signal used for sampling may instead be programmably delayed. At times, jitter may be evident on either a strobe signal or a signal being sampled by the strobe signal, and circuits and methods are included for providing minimum numbers of delay increments for delay measurements such that false measurements due to jitter are avoided during a calibration process. During the design process for circuits described herein, efforts are made to equalize the timing relationship between mission and reference data paths such that any timing delta between them is minimized.
Additionally, circuits and methods are disclosed for a continuously adaptive timing calibration function for a data interface that builds upon an initial calibration method typically operated at system power-on time or when an initial calibration is convenient or necessary. A first calibration method is performed for a mission data path at power-on to establish an initial optimal sample point. Then reference data paths for a second calibration method are subsequently used during normal system operation to correct timing settings when appropriate. This second calibration method—hereinafter referred to as CABO (Continuous Automatic Bit-leveling Optimization)—operates simultaneously with, and does not disturb, normal system operation. Data bit edge transitions are examined at fringe timing points on either side of the optimal sample point. Assuming that a timing change for the edge transitions indicates a drift of the optimal sample point, when a drift amount is determined to be greater than a correction threshold value, the optimal sampling point for the mission path is adjusted accordingly. At no point does the continuous calibration function determine that any data bit is invalid since the optimal sampling point is always maintained. Also, at no point does continuous calibration require successive alternating data bit values such as (1-0-1) or (0-1-0).
The initial calibration method used in conjunction with the second calibration method described herein can be any calibration method for determining optimal sample points for reading data bits.
The subject matter that is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention will be apparent from the following detailed description taken in conjunction with the accompanying drawings.
The embodiments disclosed by the invention are only examples of the many possible advantageous uses and implementations of the innovative teachings presented herein. In general, statements made in the specification of the present application do not necessarily limit any of the various claimed inventions. Moreover, some statements may apply to some inventive features but not to others. In general, unless otherwise indicated, singular elements may be in plural and vice versa with no loss of generality. In the drawings, like numerals refer to like parts through several views.
Circuits and methods for implementing a continuously adaptive timing calibration training function in an integrated circuit interface are disclosed. A mission data path is established where a data bit is sampled by a strobe. A similar reference data path is established for calibration purposes only. At an initialization time both paths are calibrated and a delta value between them is established. During operation of the mission path, the calibration path continuously performs calibration operations to determine if its optimal delay has changed by more than a threshold value. If so, the new delay setting for the reference path is used to change the delay setting for the mission path after adjustment by the delta value. Circuits and methods are also disclosed for performing multiple parallel calibrations for the reference path to speed up the training process.
Timing calibration according to the invention is able to be run dynamically and continuously without interrupting the operation of the functional circuit that is occasionally re-calibrated. Re-calibration is performed in nanoseconds and for most system configurations—especially those including memory system interfaces—there are always opportunities to perform an instantaneous transfer of delay line (DLL) settings without affecting proper operation. For example, it is usually acceptable to transfer delay parameters during a memory write cycle to a timing circuit supporting memory read operations. A full re-initializing of both reference and mission paths takes longer but is still fast enough to run during longer periods such as during memory refresh operations.
For the exemplary and non-limiting examples described herein for different embodiments of the invention, and in view of the fact that many common applications for the invention include dynamic memory controllers and data interfaces receiving data bits and strobes from dynamic memories, reference will occasionally be made to “DQ” for data bits being sampled and bit leveled, and to “DQS” as the corresponding sampling strobe. It should be understood however that the circuits and methods described herein are applicable to any data interface receiving data bits and data strobes where skew and/or jitter develops over time, and it is desirable to mitigate these problems in order to produce more reliable data interface implementations.
In step 204, function of the mission path is initiated according to normal system operation utilizing delay setting Mo. The reference data path is again calibrated and a new delay setting for the reference DLL is determined to be R1. Note that subsequent recalibration of the reference path has no effect on normal system operation utilizing the mission data path. In step 208 the absolute value of (R1−Ro) is computed and compared with a change threshold value (Tc). If the absolute value of (R1−Ro) is less than Tc, then it is determined that any drift in system timing since the previous calibration is small enough that no adjustment to the calibration of the mission path is necessary. If on the other hand, the absolute value of (R1−Ro) is greater than Tc, then per step 210, a new DLL delay setting value M1 is computed, and then per step 212 is applied to the mission path. The new DLL delay setting value for the mission path is M1=(Mo+R1−Ro).
A timing diagram 400 for the process of
One application for the invention includes timing calibration for a DRAM controller circuit as described in U.S. Pat. No. 7,975,164. As described in circuit diagram 500 of
Flowchart 600 of
In some system applications, delays may change frequently as high-speed signals pass through multiple devices and/or across expanses of circuit board transmission lines, and to ensure reliable system operation it may be desirable to frequently recalibrate certain timing functions. For such applications an exemplary and non-limiting solution is described in circuit diagram 700 of
Note that
A calibration sweep for the multiple DLL implementation of
When a strobe samples a data bit at either transition of the data bit, any jitter 816 occurring on either the strobe or the data bit may cause an incorrect determination of the condition for ending the sweep. For instance in the diagram of
In an alternative embodiment for a continuously adaptive timing calibration function for a data interface, a first calibration method is performed for a mission data path—typically at power-on time—to establish an initial optimal sample point. This first method uses a known and predictable pattern of data bits that is input to the data interface. Thereafter, based on this first calibration method, it is initially assumed that data bits captured at the “optimal sampling point” are known-good for some period of time, however may be subject to drift thereafter due to system variables such as, for example, temperature change. The purpose then of this alternative embodiment is then to operate a second calibration method to detect any significant drift in timing of the sampled data bits. Then, before such drift can cause any incorrect sampling to occur, the optimal sampling point is adjusted to compensate for the drift thereby creating a new and revised, optimal sampling point.
Then reference data paths for the second calibration method are subsequently used during normal system operation to correct/adjust timing settings when appropriate. This second calibration method—hereinafter referred to as CABO (Continuous Automatic Bit Optimization)-operates simultaneously with, and does not disturb, normal system operation. Data bit edge transitions are examined at fringe timing points on either side of the optimal sample point. Assuming that a timing change for the edge transitions indicates a drift of the optimal sample point, when a drift amount is determined to be greater than a correction threshold value, the optimal sampling point for the mission path is adjusted accordingly. Essentially, the invention assumes that a drift amount measured on the timing for data bit edge transitions is equal to a drift amount for the timing of the optimal timing capture point for the center of the data bit.
At no point does the second calibration method determine that any data bit is invalid since the optimal sampling point is always maintained. Also, at no point does continuous calibration performed by the second calibration method require successive alternating data bit values such as 1-0-1 or 0-1-0. The second calibration method operates on any random data bit pattern provided to the data interface circuit, as viewed from the perspective of the data interface circuit. In other words, regardless of how regular, irregular, or predictable a data pattern may be from the perspective of a memory or circuit that connects to the data interface circuit, from the perspective of the CABO functionality within the data interface circuit that performs the second calibration method, all data patterns that CABO operates on are random and unpredictable.
A flow chart 900 is shown in
Then, per step 904 normal system operation is commenced and the second calibration method 912 according to this present invention is begun. Random data patterns (from the perspective of the data interface circuit) are received, and the data interface circuit detects data values and timing at edge (fringe) transitions. Per step 906, a timing drift amount is determined for an edge transition relative to the timing for previous edge transitions. If per step 908 the timing drift amount is less than a change threshold (Tc), then step 906 repeats. If per step 908 the timing drift amount is not less than a change threshold (Tc), then the second calibration method determines that there has been enough timing drift that the optimal sampling point should be adjusted. Then, according to step 910 the optimal sampling point is adjusted by adding or subtracting the drift amount as appropriate.
For the following exemplary and non-limiting example, it is assumed arbitrarily to take three separate samples measuring the fringe surrounding a known-good data bit. The example circuit topology can be seen in circuit diagram 1000 of
There will need to be an additional and similar circuit to capture the DQ values on the falling edge of DQS as well to compare the data immediately before and after the value captured above. The captured value is assumed to be correct as it has been captured by the initial optimal sampling point, or by a previously adjusted optimal sampling point. Since this example focuses on training on the rising edge of DQS, it is not necessary for this example to capture “fringe values” in the falling edge DQS circuit. For this example, it is assumed that known good values are captured by the falling edge DQS. The CDC (Clock Domain Crossing) can be accomplished via an SCL style implementation as described in US Patents (list all SCL and DSCL patents) or a traditional CDC synchronization.
A picture of the capture points required can be seen in timing diagram 1100 of
In the
Note that points 1102, 1106 and 1110 in
Once the data has been transitioned to the PHY clock domain it will be stored in an array similar to the one pictured in Table 1.
TABLE 1
CABO Analysis Storage Table
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
t0
tl
t2
While no specific data pattern is required for performing calibration optimization per the CABO invention, as an example assume a pattern of Is and Os is read. Further, assume the fringe edges have been located dead on. This will provide the result seen in Table 2.
TABLE 2
CABO Ideally Captured Data
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
t0
1
X
0
1
0
1
0
X
1
tl
1
X
0
1
0
1
0
X
1
t2
1
X
0
1
0
1
0
X
1
The “X” values are in Table 2 since it is assumed that the fringe capture elements have been tuned to be dead centered on the transition, which means the midpoint capture element could pick up either are a 1 or a 0. The important thing to note is that the capture elements temporally closest to the DQS rising edge are capturing the same value as the rising edge DQS, and the capture elements temporally distant from the DQS rising edge are capturing the values which match with the captured DQS falling edge values before and after the DQS rising edge of interest.
If it is assumed that a bit of a shift in the circuit timing is now visible, and in this case the DQ value starts to arrive sooner than the DQS, the result will be something like shown in timing diagram 1200 of
The results of this shift 1202 are now visible in Table 3.
TABLE 3
CABO Slightly Shifted Captured Data
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
t0
1
1
0
1
0
1
0
0
1
tl
1
1
0
1
0
1
0
0
1
t2
1
1
0
1
0
1
0
0
1
If the DQ is further sped up (advanced) 1302 the results are visible in
TABLE 4
CABO Significantly Shifted Captured Data
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
t0
1
1
1
1
0
1
0
0
0
tl
1
1
1
1
0
1
0
0
0
t2
1
1
1
1
0
1
0
0
0
This indicates that the centering of DQS in the midpoint of DQ most likely has been lost, and corrective action is required. Of course, if an ideal data pattern was received the interface circuit could in fact forgo capturing the value on the falling edge of DQS, but since it is important to operate CABO while the circuit is in operation with any random data pattern that might be read, it is important to examine the actual data values being received by the interface circuit.
Now assume a random data pattern of DEAD—1101 1110 1010 1101. Table 5 has been expanded to eight entries (since there are only eight rising edges associated with the 16 data bits) for known good values.
TABLE 5
CABO Analysis Table for DEAD Bit Pattern
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
t0
1
1
tl
1
0
1
t2
1
1
1
t3
0
1
1
t4
0
1
0
t5
0
1
0
t6
1
1
0
t7
1
0
1
Note there is no value captured in the DQS falling column which precedes the DQS rising column in tO since this is the start of the burst and this value is indeterminate (it will be known if a read was done immediately before this, but for this example it will be assumed there was some idle time on the bus). Given this, it can be seen from table 5 that comparative value can be extracted out of rows t1, t3, t4, t5, t6 and t7. Rows tO and t2 cannot provide any useful information since there is no transition in the data.
Table 6 represents fringe values of interest if again the assumption is made that the leading and trailing fringe capture clocks are ideally centered.
TABLE 6
CABO Analysis Table for DEAD Bit Pattern with Fringe Data
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
tO
l
l
tl
l
X
0
l
0
l
0
X
l
t2
l
l
l
t3
0
X
l
0
l
l
t4
0
X
l
0
l
0
l
X
0
t5
0
X
l
0
l
0
l
X
0
t6
l
l
0
l
X
0
t7
l
X
0
l
0
l
0
X
l
Table 6 only contains filled in values in the fields of importance. In the cases where no transition occurs there is no reason to examine those values, so they are left empty. As before, in the next example it is assumed that the DQ begins to arrive earlier than the DQS and a subtle shift in the values results in Table 7.
TABLE 7
CABO Analysis Table for DEAD Bit Pattern Slightly Shifted
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
t0
I
I
tI
I
I
XIO
I
0
I
0
0
XII
t2
I
I
I
t3
0
0
XII
0
I
I
t4
0
0
XII
0
I
0
I
I
XIO
t5
0
0
XII
0
I
0
I
I
XIO
t6
I
I
0
I
I
XIO
t7
I
I
XIO
I
0
I
0
0
XII
Table 8 shows the results if the DQ makes a large enough shift relative to DQS.
TABLE 8
CABO Analysis Table for DEAD Bit Pattern Significantly Shifted
Value
trailing fringe
DQS capture edge
leading fringe
Time
far
mid
close
fall
nse
fall
close
mid
far
t0
I
I
tl
I
I
I
I
0
I
0
0
0
t2
I
I
I
t3
0
0
0
0
I
I
t4
0
0
0
0
I
0
I
I
I
t5
0
0
0
0
I
0
I
I
I
t6
I
I
0
I
I
I
t7
I
I
I
I
0
I
0
0
0
The data in Table 8 clearly indicates an adjustment is required for the delays used to capture the fringe values. Once that adjustment is made, then the values used to capture the known good data must be adjusted.
Variability
The difference in delay elements among the fringe capture elements can be described with respect to the number of delay elements. Depending on the expected transition times of DQ and the delay element spread and resultant timing granularity, a user programming delays within the interface circuit design can dial-in the fringe capture elements such that the center element is closer to ideally positioned in the middle of the transition, after a timing calibration adjustment of the ideal sampling point is made according to the invention.
It can be seen that in fact the fringe capture elements could easily be reduced to two capture elements in order to capture different values in the leading fringe elements and in the trailing fringe elements. It is also possible to reduce the number of fringe elements down to a single capture point and test only that single value. The number of fringe elements used is a tradeoff between accuracy and complexity/silicon area. More elements will allow for a more accurate edge detection in fewer clock cycles—fewer elements will allow for a smaller silicon area required.
Updates
The updates to the DQS rising and falling known good data capture points can be made at any time when the PHY is not actively reading data from memory. The more frequently the PHY can be updated the more robust the overall operation can be as using the present invention the PHY can track subtle changes in temperature or voltage almost instantaneously.
A master state machine can keep track of the frequency of updates, and if an update has not been made in a predetermined number of clock cycles, then a PHY update request can be issued on the DFI (DDR Phy Interface) and an update forced. The update may not have been made because the system was only performing reads and not providing a break (such as a write) for the update to occur, or because no reads have been made to allow update calculations to take place, or because not enough data transitions have been detected to allow update calculations to take place. In any of these cases a full initial calibration run can be requested via a DFI PHY update request being initiated by the master state machine to allow a full bit training to occur.
Delay Line with Area Reduction and Consistent Operation
As noted elsewhere, one characteristic of the present invention is the additional area consumed by delay lines. The structure of a preferred embodiment for delay lines used with the present invention can be seen in
The delay line is constructed in this non-limiting example with NAND2 devices, having inputs A and B and output Y. A to Y and B to Y are both signal paths in this configuration within the delay line circuit. Generally speaking, Y is the output of the NAND2 devices pictured, no matter what the shading of NAND gates in
A NAND2 device is a commonly understood device in the industry. For convenience, the truth table for a NAND2 is:
TABLE 9
Operation of NAND2 gates used in Delay Line
In
In
Out
A
B
y
0
0
1
0
1
1
1
0
1
1
1
0
A to Y Signal Path
Looking at input A, one can see that when it is zero, the output Y is forced to 1. If input A is 1, then output Y is the inverse of input B. Likewise, if input B is 0 then output Y is forced to 1. If input B is 1 then output Y is the inverse of input A.
So, A to Y simply means the signal path through the NAND2 device is from input A to output Y. In this case it is also implied that the signal is changing dynamically, so input A will be a changing value and thus output Y will also change. In order for this to be true input B must be in a state which, given the logic function of the NAND2 device, will allow input A to affect output Y.
The B to Y path is a similar to that described above, however here the signal path through the NAND2 device is from the B input to the device to the Y output of the device. It is implied that when input B is a changing value it will cause output Y to also change.
Constant Output Configuration
This means that the inputs are fixed such that the output of a NAND2 device will not change under certain conditions. Looking at the left most non-shaded NAND2 device in the diagram, one will note that the B input is connected to LB[0] and is a constant 0 input. This 0 input effectively disables the logic path between the A input and the Y output. By statically setting the B input to zero the Y output is forced to a 1 (one) output and no matter what happens on the A input the Y output will not change.
Signal LB is a 1 from Turnaround Element to END (including both)/ON is 1 from BEGIN to Turnaround Element (including both). What is being noted here is the ON and LB inputs associated with some of the NAND2 elements are in the 1/logic high/one position. This simply allows the signal on the A input of the NAND2 gates to affect the Y output of the NAND2 gates for elements shaded like 1402 and allows the signal on the B input of the NAND2 gates to affect the Y output of the NAND2 gates for elements shaded like 1404. In
[<number> n] means there are this <number> of signal inversions from the dll_input signal to that pint in the circuit. Looking at the output wire of each shaded NAND2 gate (1402 and 1404) one will see these wires are labeled n, 2n, 3n, 4n, 5n, 6n, 7n and 8n. So, examining any one at random (say Sn), the <number> preceding then means at that point the signal has been inverted 5 times in total since it entered the delay line.
In addition, the paths from A→Y may have different delays than the paths from B→Y. Sending any signal through a gate distorts its duty cycle (since rise time is different than fall time). Since NAND2 devices are inverting, sending the signal through the same gate twice restores the duty cycle.
A→Y followed by A→Y will preserve duty cycle.
B→Y followed by B→Y will preserve duty cycle.
A→Y followed by B→Y will not preserve duty cycle.
B→Y followed by A→Y will not preserve duty cycle.
Generalizing that, it is best when there are an even number of A→Y paths and an even number of B→Y paths. This structure helps maintain the duty cycle irrespective of the number of DLL steps activated.
The PHY implementation typically contains a certain number of delay lines specifically required for data capture—one to capture using the positive edge of DQS and one to capture using the negative edge of DQS. These are highlighted by dashed arrows among the different capture points 1502 shown in
In fact, the delay line used to capture DQ at t0 is the same delay line used to capture DQ at t2. If the functional value captured is used, three delay lines can immediately be removed from the required number of delay lines needed to implement the present (CABO) invention.
The remaining capture elements can be implemented using daisy chained delay lines to capture the DQ values shown in
As can be seen conceptually in
As mentioned earlier, the first delay line can be a shortened version of the full length delay line. In theory to cover the worst case scenario, this delay line can be shortened only by roughly one quarter of the clock period.
The inter fringe delay line must be of sufficient length to provide a delay equal to one half the clock period to provide the appropriate delay between tap points C 1602 and D 1604 in
Taking the newer daisy chain structure into account, an alternate circuit for capturing the fringe elements might look like
Determining Delay Values
As discussed previously, different delay values will need to be used for the inter-fringe delays 1802 than for the intra-fringe delays 1804. Both of these delay values should be capable of being set via software/firmware. It is possible the inter-fringe delay values could be calculated, since the number of delay elements needed for a full clock cycle will be known and the amount of delays set for the intra-fringe values will also be known. Knowing these two values, the system can automatically set the delay needed for the inter-fringe delays. The values required for the intra-fringe settings will likely be set by the user via software. The main points of consideration will be the number of fringe capture points, the amount of delay per delay element and the setup and hold window values for the capture flops. The last two values will be largely determined by the physical properties of the circuits as implemented. If an implementation with only two fringe capture points is assumed, it will be desirable for the user to ensure the two capture points are sufficiently far apart temporally such that when they are centered around the data transition there will be no setup time or hold time violations experienced at the capture flops.
If the intra-fringe delay is smaller than the setup time and hold time values required by the capture flop, it is possible to receive incorrect information on a more consistent basis as the outputs may not correctly reflect the true input to the capture flops. As more fringe capture points are added it becomes less important to ensure the intra-fringe delay is larger than the setup and hold window of the capture flops—mainly because there are more capture points and more data to examine to determine the exact transition point. Given these considerations the advantage of allowing the user to set the intra-fringe delay (and also the inter-fringe delay) via software/firmware becomes apparent.
Thus, a circuit and operating method for a Continuous Adaptive Data Capture Optimization function for dynamic timing calibration of data interfaces has been described.
It should be appreciated by a person skilled in the art that methods, processes and systems described herein can be implemented in software, hardware, firmware, or any combination thereof. The implementation may include the use of a computer system having a processor and a memory under the control of the processor, the memory storing instructions adapted to enable the processor to carry out operations as described hereinabove. The implementation may be realized, in a concrete manner, as a computer program product that includes a non-transient and tangible computer readable medium holding instructions adapted to enable a computer system to perform the operations as described above.
Lee, Jung, Iyer, Venkat, Murdock, Brett
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5333154, | Mar 02 1992 | Tektronix, Inc | Digital data generation system including programmable dominance latch |
7154493, | Mar 13 2003 | Microsoft Technology Licensing, LLC | Monitor interconnect compensation by signal calibration |
20020018444, | |||
20030046618, | |||
20030198309, | |||
20040196280, | |||
20050265437, | |||
20090125263, | |||
20110235459, | |||
20130021059, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 19 2022 | Uniquify, Inc. | (assignment on the face of the patent) | / | |||
Aug 29 2023 | UNIQUIFY, INC | NEWLIGHT CAPITAL LLC, AS SERVICER | SECURITY INTEREST SEE DOCUMENT FOR DETAILS | 064740 | /0469 | |
Jul 31 2024 | Newlight Capital, LLC | GALLAGHER IP SOLUTIONS LLC | SECURITY INTEREST SEE DOCUMENT FOR DETAILS | 068201 | /0194 |
Date | Maintenance Fee Events |
Apr 19 2022 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Apr 21 2022 | SMAL: Entity status set to Small. |
Date | Maintenance Schedule |
Aug 01 2026 | 4 years fee payment window open |
Feb 01 2027 | 6 months grace period start (w surcharge) |
Aug 01 2027 | patent expiry (for year 4) |
Aug 01 2029 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 01 2030 | 8 years fee payment window open |
Feb 01 2031 | 6 months grace period start (w surcharge) |
Aug 01 2031 | patent expiry (for year 8) |
Aug 01 2033 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 01 2034 | 12 years fee payment window open |
Feb 01 2035 | 6 months grace period start (w surcharge) |
Aug 01 2035 | patent expiry (for year 12) |
Aug 01 2037 | 2 years to revive unintentionally abandoned end. (for year 12) |