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.
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.
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.
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 M0. 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−R0) is computed and compared with a change threshold value (TC). If the absolute value of (R1−R0) 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−R0) 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=(M0+R1−R0).
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
Thus, a circuit and operating method for a continuous adaptive training 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.
This application claims the benefit of U.S. Provisional No. 61/777,648 filed on Mar. 12, 2013.
Number | Name | Date | Kind |
---|---|---|---|
5157530 | Loeb et al. | Oct 1992 | A |
6442102 | Borkenhagen et al. | Aug 2002 | B1 |
6510503 | Gillingham et al. | Jan 2003 | B2 |
6788124 | Kaviani | Sep 2004 | B1 |
7043652 | Matsui | May 2006 | B2 |
7054401 | Kada et al. | May 2006 | B2 |
7123051 | Lee et al. | Oct 2006 | B1 |
7171321 | Best | Jan 2007 | B2 |
7209531 | Katz et al. | Apr 2007 | B1 |
7215584 | Butt et al. | May 2007 | B2 |
7240249 | Buchmann et al. | Jul 2007 | B2 |
7366862 | Nystuen et al. | Apr 2008 | B2 |
7405984 | Hughes | Jul 2008 | B2 |
7441139 | Kuwata | Oct 2008 | B2 |
7454303 | Magee et al. | Nov 2008 | B2 |
7543172 | Kizer et al. | Jun 2009 | B2 |
7571396 | Hughes et al. | Aug 2009 | B2 |
7647467 | Hutsell | Jan 2010 | B1 |
7724606 | Osawa et al. | May 2010 | B2 |
7755402 | Ku et al. | Jul 2010 | B1 |
7818528 | Hughes | Oct 2010 | B2 |
7924637 | Searles et al. | Apr 2011 | B2 |
7957218 | Welker | Jun 2011 | B2 |
7975164 | Lee et al. | Jul 2011 | B2 |
8139430 | Buchmann et al. | Mar 2012 | B2 |
8151133 | Kizer et al. | Apr 2012 | B2 |
20040123207 | Zumkehr et al. | Jun 2004 | A1 |
20050005056 | Ware | Jan 2005 | A1 |
20060107011 | Nystuen et al. | May 2006 | A1 |
20080005518 | Gillingham et al. | Jan 2008 | A1 |
20080068911 | Hughes et al. | Mar 2008 | A1 |
20080276133 | Hadley et al. | Nov 2008 | A1 |
20090168563 | Jiang | Jul 2009 | A1 |
20090244997 | Searles et al. | Oct 2009 | A1 |
20090307521 | Lee et al. | Dec 2009 | A1 |
20100238747 | Chen et al. | Sep 2010 | A1 |
20100271094 | Hassan | Oct 2010 | A1 |
20110249522 | Welker et al. | Oct 2011 | A1 |
20110258475 | Lee et al. | Oct 2011 | A1 |
20120170389 | Kizer et al. | Jul 2012 | A1 |
20120218841 | Hunt | Aug 2012 | A1 |
20120243351 | Ota | Sep 2012 | A1 |
Entry |
---|
Lattice Semiconductor, “Implementing High-Speed DDR3 Memory Controllers in a Mid-Range FPGA”. |
Altera, “AN 436: Using DDR3 SDRAM in Stratix III and Stratix IV Devices”. |
Altera, “AN 552: Using DDR and DDR2 SDRAM in Arria II GX Devices”. |
Texas Instruments, “AM17x/AM18x ARM Microprocessor DDR2/mDDR Memory Controller”. |
Application Note—High Performance DDR3 SDRAM Interface in Vitrtex-5 Devices Xilinx Corporation—Sep. 27, 2007—p. 10. |
Application Note—Utilizing Leveling Techniques in DDR3 SDRAM Memory Interfaces Altera Corp—Nov. 2007—p. 2. |
White Paper—The Love/Hate Relationship with DDR SDRAM Controllers Mosaid Technologies Inc.—Oct. 2006—pp. 7-8. |
Everything Explained.AT—CAS Latency Explained A B Cryer—2009-2011. |
Number | Date | Country | |
---|---|---|---|
20140281198 A1 | Sep 2014 | US |
Number | Date | Country | |
---|---|---|---|
61777648 | Mar 2013 | US |