1. Field
The described technology relates to a delayed locked loop (DLL), and more particularly, to a coarse lock detector for a DLL.
2. Description of the Related Technology
Generally, a semiconductor integrated circuit operates using clocks to control its operating speed. Accordingly, the semiconductor integrated circuit includes a clock buffer to buffer clocks input from an external source. In some cases, the semiconductor integrated circuit uses a delayed locked loop (DLL) circuit or a phase-locked loop (PLL) circuit to generate and use an internal clock whose phase difference from an external clock has been corrected.
In particular, DLLs are being widely used as zero delay buffers due to their superior jitter characteristics and better stability than PLLs. However, a conventional DLL is likely to have a stuck problem or harmonic lock when operating at high speed.
When the coarse lock detector 11 determines that the phase of the rising edge of each multiphase clock lags behind the phase of the input reference clock CLK_IN, phase locking cannot be achieved since a delay chain is too slow. Therefore, the coarse lock detector 11 generates an UP signal indicating a direction in which the frequency should be adjusted. On the other hand, when the coarse lock detector 11 determines that the phase of the rising edge of each multiphase clock leads the phase of the input reference clock CLK_IN, phase locking cannot be achieved since the delay chain is too fast. Therefore, the coarse lock detector 11 generates a DOWN signal. That is, frequency locking can be achieved by adjusting the frequency by using the UP or DOWN signal.
The stuck problem and harmonic lock are considerations that must be taken into account when designing a DLL and can be solved using a coarse lock detector. However, a conventional coarse lock detector that samples multiphase clocks cannot operate at high speed.
One inventive aspect is a coarse lock detector including first through p-th detection cells which receive p multiphase clocks generated by incrementally delaying a reference clock. The first through p-th detection cells are divided into a first detection cell group of 2m+1 detection cells and a second detection cell group of 2n detection cells, where p is an integer equal to or greater than three, m is an integer equal to or greater than zero when 2m+1 is equal to or smaller than p, and n is an integer equal to or greater than one when 2n is equal to or greater than p.
Another inventive aspect is a coarse lock detector including first through p-th detection cells which receive p multiphase clocks generated by incrementally delaying a reference clock. The first through p-th detection cells are divided into a first detection cell group of 3k+1 detection cells, a second detection cell group of 3s+2 detection cells, and a third detection cell group of 3r detection cells, where p is an integer equal to or greater than four, k is an integer equal to or greater than zero when 3k+1 is equal to or smaller than p, s is an integer equal to or greater than zero when 3s+2 is equal to or smaller than p, and r is an integer equal to or greater than one when 3r is equal to or smaller than p.
Another inventive aspect is a coarse lock detector including first through P-th detection cells which receive P multiphase clocks generated by incrementally delaying a reference clock. The first through P-th detection cells are divided into first through U-th detection cell groups corresponding to the first through P-th multiphase clocks, where each of the first through U-th detection cell groups includes (1×A(W)+W)-th through (U×A(W)+W)-th detection cells, where U is an integer equal to or greater than four, P is an integer greater than U, W is an integer that satisfies 1≦W≦U, and A(W) is an integer equal to or greater than zero when each of (1×A(W)+W) through (U×A(W)+W) is equal to or greater than P.
The above and other aspects and features will become more apparent by describing in detail exemplary embodiments with reference to the attached drawings, in which:
Various features and aspects are described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments are shown. The invention may, however, be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. The same reference numbers generally indicate the same components throughout the specification. In the attached figures, the thickness of layers and regions may be exaggerated for clarity.
Unless defined otherwise, technical and scientific terms used herein generally have the same meaning as commonly understood by one of ordinary skill in the art. It is noted that the use of examples, or exemplary terms provided herein are not intended as a limitation on the scope of the invention unless otherwise specified. Further, unless defined otherwise, terms defined in generally used dictionaries may not be overly interpreted.
Referring to
Hereinafter, a coarse lock detector shown in
The coarse lock detector of
Specifically, in
Dn<Δt (1).
More specifically, referring to
On the other hand, if the following equation is satisfied as shown in
Dn>Δt (2).
That is, when a delay time caused by a logic gate and a flip-flop is longer than a time interval between multiphase clocks, a rising edge of a multiphase clock is not properly sampled. Once the rising edge of the multiphase clock fails to be sampled, edges of subsequent multiphase clocks will not be counted. Consequently, a small number of rising edges are sampled. Accordingly, the pulse generator 24 shown in
To address the stuck problem, if the interval between multiphase clocks is simply increased, that is, if, for example, odd-numbered multiphase clocks PH[5], PH[9], PH[13], . . . are used, the DLL may fall into harmonic lock when operating at low speed. Ultimately, the DLL cannot operate in a wide frequency range.
An exemplary embodiment of a coarse lock detector s to solve the above problem will now be described with reference to
A coarse lock detector according to the current exemplary embodiment will now be described in greater detail with reference to
In
A divider 705 receives the reference clock PH[0] and outputs a clock signal whose frequency is half the frequency of the reference clock PH[0]. The clock signal whose frequency is half the frequency of the reference clock PH[0] is input to each of the first through pth multiphase clocks as a third input signal.
A third frequency detection cell 730 receives an output signal QA[1] of a first frequency detection cell 710 as its second input signal, performs an AND operation on the signal QA[1] and a multiphase clock PH[9] received as a first input signal by using an AND gate 732, and sends the result of the AND operation to a flip-flop 734. A signal QA[3] output from the flip-flop 734 is used as a second input signal of a fifth frequency detection cell 750.
The fifth frequency detection cell 750 receives the output signal QA[3] of the third frequency detection cell 730 as its second input signal, performs an AND operation on the signal QA[3] and a multiphase clock PH[13] received as a first input signal by using an AND gate 752, and sends the result of the AND operation to a flip-flop 754. A signal QA[5] output from the flip-flop 754 may be used as a second input signal of a next frequency detection cell, for example, a seventh frequency detection cell if it exists.
Similarly, a fourth frequency detection cell 740 receives an output signal QA[2] of a second frequency detection cell 720 as its second input signal, performs an AND operation on the signal QA[2] and a multiphase clock PH[11] received as a first input signal by using an AND gate 742, and sends the result of the AND operation to a flip-flop 744. A signal QA[4] output from the flip-flop 744 is used as a second input signal of a sixth frequency detection cell 760.
The sixth frequency detection cell 760 receives the output signal QA[4] of the fourth frequency detection cell 740 as its second input signal, performs an AND operation on the signal QA[4] and a multiphase clock PH[15] received as a first input signal by using an AND gate 762, and sends the result of the AND operation to a flip-flop 764. A signal QA[6] output from the flip-flop 764 may be used as a second input signal of a next frequency detection cell, for example, an eighth frequency detection cell if it exists.
In summary, frequency detection cells are divided into a group of even-numbered (2n) frequency detection cells and a group of odd-numbered (2m+1) frequency detection cells to process and sample first through pth multiphase clocks, respectively. Here, sampling a multiphase clock denotes generating an output signal which is set in response to a rising edge of each of the first through pth multiphase clocks input respectively to the first through pth frequency detection cells. In addition, m represents an integer equal to or greater than zero when 2m+1 is equal to or smaller than p, and n is an integer equal to or greater than one when 2n is equal to or smaller than p.
If the structure of the coarse lock detector shown in
The second frequency detection cell 720 receives the output signal QA[1] of the first frequency detection cell 710 as its second input signal. This is because no even-numbered frequency detection cell exists before the second frequency detection cell 720. Therefore, the second frequency detection cell 720 receives the output signal QA[1] of the first frequency detection cell 710 as its second input signal, performs an AND operation on the signal QA[1] and a multiphase clock PH[7] received as a first input signal by using an AND gate 722, and sends the result of the AND operation to a flip-flop 724. The signal QA[2] output from the flip-flop 724 is used as the second input signal of the fourth frequency detection cell 740.
As described above, the second frequency detection cell 720 receives and processes the output signal QA[1] of the first frequency detection cell 710. In this case, the value of Δt may be reduced as compared to other cases. However, since the first frequency detection cell 710 includes no AND gate, no AND gate delay occurs, thus not causing a great loss in timing margin. That is, a delay time D1 in the first frequency detection cell 710 is caused only by the flip-flop 714. Therefore, the delay time D1 in the first frequency detection cell 710 is shorter than the delay time Dn in the other frequency detection cells. Accordingly, even when the second frequency detection cell 720 receives the output signal QA[1] of the first frequency detection cell 710 as the input signal and generates the signal QA[2] using the received signal QA[1], there is no problem since a loss in timing margin is small.
The first frequency detection cell 710 does not require an AND gate since it does not need to receive and process an output signal of a previous frequency detection cell. Accordingly, the first frequency detection cell 710 receives only a multiphase clock PH[5], which is a first multiphase clock, as a first input signal and samples the multiphase clock PH[5].
The output signals QA[1] through QA[p] of the first through pth frequency detection cells are input to decision logic 23 as shown in
Referring to
In
In addition, if there are first through pth frequency detection cells, the first through pth frequency detection cells may be divided into a first detection cell group of first, fourth, and seventh frequency detection cells, a second detection cell group of second, fifth, and eighth frequency detection cells, and a third detection cell group of third, sixth, and ninth frequency detection cells to correspond to the first through pth multiphase clocks. Here, r represents an integer equal to or greater than one when 3r is equal to or less than p, k is an integer equal to or greater than zero when 3k+1 is equal to or less than p, and s is an integer equal to or greater than zero when 3s+2 is equal to or less than p.
More specifically, a second input signal of a fourth frequency detection cell 940 is an output signal QA[1] of a first frequency detection cell 910, a second input signal of a fifth frequency detection cell 950 is an output signal QA[2] of a second frequency detection signal 920, and a second input signal of a sixth frequency detection cell 960 is an output signal QA[3] of a third frequency detection cell 930. In this case, the value of Δt triples as compared to the case of
A second input signal of the third frequency detection cell 930 is the output signal QA[2] of the second frequency detection cell 920, and a second input signal of the second frequency detection cell 920 is the output signal QA[1] of the first frequency detection cell 910.
In
In other words, in some embodiments, a coarse lock detector may include first through Pth frequency detection cells which respectively receive one of P multiphase clocks generated by incrementally delaying a reference clock and are set in response to rising edges of first through Pth multiphase clocks. The first through Pth frequency detection cells may be divided into a number of groups, e.g., first through Uth detection cell groups to respond to the first through Pth multiphase clocks.
When the first through Pth frequency detection cells are divided into the first through Uth detection cell groups, if U is, e.g., four, the first through Pth frequency detection cells may be divided into a 4×A(1)+1 group of first, fifth, ninth . . . frequency detection cells, a 4×A(2)+2 group of second, sixth, tenth . . . frequency detection cells, a 4×A(3)+3 group of third, seventh, eleventh . . . frequency detection cells, and a 4×A(4)+4 group of fourth, eighth, twelfth . . . frequency detection cells.
In this case, each of frequency detection cells included in a group uses an output signal of a previous frequency detection cell as its second input signal. For example, if U is four, the fifth frequency detection cell uses an output signal of the first frequency detection cell as its second input signal, and the ninth frequency detection cell uses an output signal of the fifth frequency detection cell as its second input signal (in the case of the 4×A(1)+1 group). In addition, the sixth frequency detection cell uses an output signal of the second frequency detection cell as its second input signal, and the tenth frequency detection cell uses an output of the sixth frequency detection cell as its second input signal (in the case of the 4×A(2)+2 group). In other groups, signals of frequency detection cells are also connected as described above.
Each of second through Uth frequency detection cells uses an output signal of an immediately previous frequency detection cell as its second input signal. For example, if U is four, the fourth frequency detection cell uses an output signal of the third frequency detection cell as its second input signal, the third frequency detection cell uses the output signal of the second frequency detection cell as its second input signal, and the second frequency detection cell uses an output signal of the first frequency detection cell as its second input signal.
When the first through Pth frequency detection cells are divided into the U detection groups, the value of Δt increases U times as compared to the case of
Effects that can be achieved when such a coarse lock detector is used is described with reference to
As shown in
As described above, a coarse lock detector according to the embodiments enables a DLL to operate stably without a stuck problem and harmonic lock.
While various features and aspects have been particularly shown and described with reference to exemplary embodiments, it will be understood by those of ordinary skill in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the present invention. The exemplary embodiments should be considered in a descriptive sense only and not for purposes of limitation.
Number | Date | Country | Kind |
---|---|---|---|
10-2011-0013739 | Feb 2011 | KR | national |
This application is a divisional of prior U.S. application Ser. No. 13/398,532, entitled Coarse Lock Detector, filed on Feb. 16, 2012, which claims priority from Korean Patent Application No. 10-2011-0013739, filed on Feb. 16, 2011 in the Korean Intellectual Property Office, the disclosures of which are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 13398532 | Feb 2012 | US |
Child | 14256862 | US |