JP2011040803A - Dll circuit - Google Patents

Dll circuit Download PDF

Info

Publication number
JP2011040803A
JP2011040803A JP2009183362A JP2009183362A JP2011040803A JP 2011040803 A JP2011040803 A JP 2011040803A JP 2009183362 A JP2009183362 A JP 2009183362A JP 2009183362 A JP2009183362 A JP 2009183362A JP 2011040803 A JP2011040803 A JP 2011040803A
Authority
JP
Japan
Prior art keywords
circuit
delay
dll
variable delay
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2009183362A
Other languages
Japanese (ja)
Inventor
Akira Ishida
亮 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP2009183362A priority Critical patent/JP2011040803A/en
Publication of JP2011040803A publication Critical patent/JP2011040803A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a DLL circuit which remarkably reduces time required until locking with a simple configuration. <P>SOLUTION: A phase comparator 13 is disconnected from a DLL loop by a switching circuit 15, a counter 14 starts counting by a rise edge of an output clock CLK2 of a first variable delay circuit 11, and the counting is stopped by an edge of a rise clock of an input clock CLK1 into the first variable delay circuit 11. Then, the phase comparator 13 is connected to the DLL loop by the switching circuit 15 at a timing of rise edge of the input clock CLK1, the number of steps of delay cells of the first variable delay circuit 11 is set at the number of steps corresponding to a counter value of the counter 14, and a usual DLL locking operation is performed. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ロックするまでの時間の短縮化を図ったDLL回路に関するものである。   The present invention relates to a DLL circuit that shortens the time until locking.

ディジタルDLL回路として、図5に示すように、入力クロックCLK1の1周期分に相当する遅延セル段数を示す基準段数情報を出力するDLLマスタ回路10Aと、その基準段数情報に基づいて必要とする遅延量に相当する制御段数情報を出力するユーザ回路20と、その制御段数情報に基づいて入力データD1に対して所定の遅延を与えて出力データD2を出力するDLLシフタ回路30とを備えた回路がある。   As a digital DLL circuit, as shown in FIG. 5, a DLL master circuit 10A for outputting reference stage number information indicating the number of delay cell stages corresponding to one cycle of the input clock CLK1, and a delay required based on the reference stage number information A circuit including a user circuit 20 that outputs control stage number information corresponding to the amount, and a DLL shifter circuit 30 that outputs the output data D2 with a predetermined delay given to the input data D1 based on the control stage number information. is there.

DLLマスタ回路10Aは、同一特性の遅延セルを複数段縦続接続して構成した第1可変遅延回路11と、その第1可変遅延回路11の遅延セルの接続段数を切り替える第1遅延制御回路12Aと、入力クロックCLK1の位相と第1可変遅延回路11の出力クロックCLK2の位相を比較し、両クロックCLK1,CLK2の位相差を示す信号を第1遅延制御回路12Aに対して出力する位相比較器13を備える。   The DLL master circuit 10A includes a first variable delay circuit 11 configured by cascading a plurality of delay cells having the same characteristics, and a first delay control circuit 12A that switches the number of connection stages of the delay cells of the first variable delay circuit 11. The phase comparator 13 compares the phase of the input clock CLK1 with the phase of the output clock CLK2 of the first variable delay circuit 11, and outputs a signal indicating the phase difference between the clocks CLK1 and CLK2 to the first delay control circuit 12A. Is provided.

このマスタ回路10Aでは、位相比較器13の比較結果に応じて、第1遅延制御回路12Aにより、第1可変遅延回路21の遅延セルの段数が増減制御されるが、この制御は位相比較器13に入力される両クロックCLK1,CLK2の位相が一致するまで繰り返される。そして、位相が一致するとロックされ、ロック時の第1可変遅延回路11の遅延セルの段数が、入力クロックCLK1の1周期分の遅延時間に相当する基準段数情報となり、バイナリのデータとしてユーザ回路20に与えられる。   In the master circuit 10A, the first delay control circuit 12A increases or decreases the number of stages of delay cells in the first variable delay circuit 21 according to the comparison result of the phase comparator 13, and this control is performed by the phase comparator 13A. Is repeated until the phases of the two clocks CLK1 and CLK2 input to each other coincide with each other. When the phases coincide with each other, the phase is locked, and the number of stages of the delay cells of the first variable delay circuit 11 at the time of the lock becomes reference stage number information corresponding to the delay time for one cycle of the input clock CLK1, and the user circuit 20 is binary data. Given to.

ユーザ回路20は、必要とされる遅延情報を予め持ち、前記した基準段数情報が入力されることにより、遅延情報に応じて、この基準段数情報を例えば整数倍等した制御段数情報を出力する。   The user circuit 20 has necessary delay information in advance, and outputs the control stage number information obtained by, for example, multiplying the reference stage number information by an integer multiple in accordance with the delay information when the reference stage number information is input.

シフタ回路30は、ユーザ回路20から入力される制御段数情報を取り込む第2遅延制御回路31と、その第2遅延制御回路31から出力する制御信号によって遅延セルの縦続接続段数が設定される第2可変遅延回路32を備える。第2可変遅延回路32の各遅延セルは第1可変遅延回路11の各遅延セルと同じ特性である。このシフタ回路30では、ユーザ回路20から入力される制御段数情報に応じて、第2遅延制御回路31により、第2可変遅延回路32の遅延段数が設定されるので、これにより、入力データD1は前記遅延情報に応じた所定の遅延が与えられて、出力データD2として出力する。   The shifter circuit 30 includes a second delay control circuit 31 that takes in control stage number information input from the user circuit 20, and a second number in which the cascade connection stage number of delay cells is set by a control signal output from the second delay control circuit 31. A variable delay circuit 32 is provided. Each delay cell of the second variable delay circuit 32 has the same characteristics as each delay cell of the first variable delay circuit 11. In this shifter circuit 30, the delay stage number of the second variable delay circuit 32 is set by the second delay control circuit 31 in accordance with the control stage number information input from the user circuit 20. A predetermined delay corresponding to the delay information is given and output as output data D2.

ところが、DLLマスタ回路10Aの位相比較器13で両クロックCLK1,CLK2の位相を比較する際、その位相比較器13は入力クロックCLK1に対して、出力クロックCLK2が遅れているか、進んでいるかの2つの状態しか判断できない。そのため、現在どの程度の遅れ、あるいはどの程度の進みであるかという絶対値的な位相差がわからず、第1遅延制御回路12Aは最小分解能でしか遅延時間の調整を行うことができなかった。このことから、ロックするために、最低でも数百クロックという長時間のロックタイムを必要としていた。   However, when the phase comparator 13 of the DLL master circuit 10A compares the phases of both clocks CLK1 and CLK2, the phase comparator 13 determines whether the output clock CLK2 is delayed or advanced with respect to the input clock CLK1. Only one state can be judged. For this reason, it is not possible to know the absolute phase difference indicating how much delay or how much the current phase is, and the first delay control circuit 12A can adjust the delay time only with the minimum resolution. Therefore, a long lock time of at least several hundred clocks is required to lock.

そこで、入力信号の1周期の検出時間を短くする技術として、特許文献1に記載がある。これは、入力クロックを複数縦続接続の遅延セルで遅延させて、各遅延セルの出力の入力クロックに対する位相をそれぞれフリップフロップで検出して、所定のフリップフロップの出力が0で、その次段のフリップフロップの出力が1のとき、当該次段のフリップフロップに対応する遅延セルが1周期分の遅延信号を出すものとするものである。   Therefore, Patent Document 1 describes a technique for shortening the detection time of one cycle of an input signal. This is because the input clock is delayed by a plurality of cascaded delay cells, the phase of the output of each delay cell relative to the input clock is detected by a flip-flop, the output of a predetermined flip-flop is 0, and the next stage When the output of the flip-flop is 1, the delay cell corresponding to the next-stage flip-flop outputs a delay signal for one cycle.

特開平8−46492号公報JP-A-8-46492

ところが、上記した特許文献1に記載のものは、多数のフリップフロップを備えたラッチ回路やエッジ検出回路が必要であり、回路が複雑になる問題がある。   However, the one described in Patent Document 1 requires a latch circuit and an edge detection circuit having a large number of flip-flops, and there is a problem that the circuit becomes complicated.

本発明の目的は、簡単な構成により、ロックするまでの時間を大幅に短縮化したDLL回路を提供することである。   An object of the present invention is to provide a DLL circuit in which the time until locking is greatly shortened with a simple configuration.

上記目的を達成するために、請求項1にかかる発明のDLL回路は、遅延セルを段数切換可能に複数段縦続接続した可変遅延回路と、該可変遅延回路への入力クロックと前記可変遅延回路の出力クロックとの位相差を検出する位相比較器と、該位相比較器から出力する比較信号によって前記入力クロックと前記出力クロックの位相差がゼロとなるように前記可変遅延回路の前記遅延セルの段数を切り換える遅延制御回路とを有するDLL回路において、前記出力クロックの第1の極性のエッジによってカウントを開始し、前記入力クロックの第1の極性のエッジによってカウントを停止し、前記開始から前記停止までの時間に相当するカウント値を出力するカウンタを備え、該カウンタのカウント値に相当する遅延セルの段数に応じた段数を、前記遅延制御回路により前記可変遅延回路に初期設定するようにした、ことを特徴とする。   In order to achieve the above object, a DLL circuit according to a first aspect of the present invention includes a variable delay circuit in which delay cells are cascade-connected so that the number of stages can be switched, an input clock to the variable delay circuit, and the variable delay circuit. A phase comparator for detecting a phase difference from the output clock, and the number of stages of the delay cells of the variable delay circuit so that a phase difference between the input clock and the output clock becomes zero by a comparison signal output from the phase comparator In the DLL circuit having a delay control circuit for switching between, the count is started by the edge of the first polarity of the output clock, the count is stopped by the edge of the first polarity of the input clock, and from the start to the stop Provided with a counter that outputs a count value corresponding to the time, and the number of stages corresponding to the number of stages of delay cells corresponding to the count value of the counter It was to initially set to the variable delay circuit by the delay control circuit, characterized in that.

請求項2にかかる発明は、請求項1に記載のDLL回路において、前記位相比較器を前記出力クロックの前記エッジの到来以前にDLL回路から切り放しておき、前記入力クロックの前記エッジのタイミングで、前記位相比較器をDLL回路に接続するとともに、前記カウンタのカウント値に相当する遅延セルの段数に応じた段数を、前記遅延制御回路により前記可変遅延回路に初期設定するようにした、ことを特徴とする。   The invention according to claim 2 is the DLL circuit according to claim 1, wherein the phase comparator is disconnected from the DLL circuit before arrival of the edge of the output clock, and at the timing of the edge of the input clock, The phase comparator is connected to a DLL circuit, and the number of stages corresponding to the number of stages of delay cells corresponding to the count value of the counter is initially set in the variable delay circuit by the delay control circuit. And

請求項3にかかる発明は、請求項1又は2に記載のDLL回路において、前記カウンタは、リングオシレータ部とカウント部からなり、該リングオシレータ部のインバータは前記可変遅延回路の遅延セルを構成するインバータと同じ特性をもつことを特徴とする。   According to a third aspect of the present invention, in the DLL circuit according to the first or second aspect, the counter includes a ring oscillator unit and a count unit, and an inverter of the ring oscillator unit constitutes a delay cell of the variable delay circuit. It has the same characteristics as an inverter.

請求項4にかかる発明は、請求項1、2又は3に記載のDLL回路において、前記カウンタからカウント中と非カウント中の区別を示す制御信号を出力させるとともに、前記位相比較回路の入力側に切換回路を接続し、該切換回路は、前記制御信号が前記非カウント中を示すときは前記位相比較回路のDLL回路への接続を実行し、前記制御信号が前記カウント中を示すときは前記位相比較回路のDLL回路への接続を遮断するようにした、ことを特徴とする。   According to a fourth aspect of the present invention, in the DLL circuit according to the first, second, or third aspect, the control signal indicating the distinction between counting and non-counting is output from the counter, and at the input side of the phase comparison circuit A switching circuit is connected, and the switching circuit executes connection to the DLL circuit of the phase comparison circuit when the control signal indicates the non-counting, and the phase when the control signal indicates the counting. The connection of the comparison circuit to the DLL circuit is cut off.

本発明によれば、簡単な構成により、ロックするまでの時間を大幅に短縮化したDLL回路を実現できる。   According to the present invention, it is possible to realize a DLL circuit in which the time until locking is greatly shortened with a simple configuration.

本発明の実施例のDLLマスタ回路のブロック図である。It is a block diagram of the DLL master circuit of the Example of this invention. 図1のDLLマスタ回路における第1可変遅延回路の回路図である。FIG. 2 is a circuit diagram of a first variable delay circuit in the DLL master circuit of FIG. 1. 図1のDLLマスタ回路におけるカウンタの回路図である。FIG. 2 is a circuit diagram of a counter in the DLL master circuit of FIG. 1. 本実施例のDLL回路の動作説明用の波形図である。It is a wave form diagram for operation | movement description of the DLL circuit of a present Example. 従来のDLL回路のブロック図である。It is a block diagram of a conventional DLL circuit.

本発明では、ロック動作に入る前に、入力クロックCLK1の1周期が第1可変遅延回路の遅延セル何段分に相当するかの概略測定をカウンタで行い、その測定結果に基づき第1遅延制御回路の遅延セルの段数を初期設定する。このように最初に遅延セル段数のおおよその当たりをつけこれを初期設定してから、従来と同様のDLLのロック動作を開始し、誤差分を微調整することで、短時間でロックされるようにする。   In the present invention, before entering the lock operation, the counter roughly measures how many delay cells of the first variable delay circuit correspond to one cycle of the input clock CLK1, and the first delay control is performed based on the measurement result. Initialize the number of delay cells in the circuit. In this way, the approximate number of delay cell stages is initially set and this is initially set, and then the DLL lock operation similar to the conventional one is started, and the error is finely adjusted so that it can be locked in a short time. To.

<実施例>
図1は本発明の実施例のDLL回路のマスタ回路10の構成を示すブロック図である。このDLLマスタ回路10は、同一特性の遅延セルを複数段縦続接続した第1可変遅延回路11と、その第1可変遅延回路11の遅延セルの接続段数を切り替える第1遅延制御回路12と、入力クロックCLK1の位相と第1可変遅延回路11の出力クロックCLK2の位相を比較し、両クロックCLK1,CLK2の位相が一致するように第1遅延制御回路12を制御する位相比較器13と、第1可変遅延回路11の出力クロックCLK2の立上りエッジをトリガとしてカウントを開始(Start)し、入力クロックCLK1の立上りクロックをトリガとしてカウント動作を停止(Stop)するカウンタ14と、カウンタ14のカウント動作中は位相比較器13の入力側を切断する切換回路15とを備える。
<Example>
FIG. 1 is a block diagram showing a configuration of a master circuit 10 of a DLL circuit according to an embodiment of the present invention. The DLL master circuit 10 includes a first variable delay circuit 11 in which a plurality of delay cells having the same characteristics are connected in cascade, a first delay control circuit 12 that switches the number of connection stages of the delay cells of the first variable delay circuit 11, and an input. A phase comparator 13 that compares the phase of the clock CLK1 with the phase of the output clock CLK2 of the first variable delay circuit 11 and controls the first delay control circuit 12 so that the phases of both the clocks CLK1 and CLK2 match; The counter 14 starts counting with the rising edge of the output clock CLK2 of the variable delay circuit 11 as a trigger, and stops the counting operation with the rising clock of the input clock CLK1 as a trigger. During the counting operation of the counter 14 And a switching circuit 15 for cutting off the input side of the phase comparator 13.

第1可変遅延回路11は、例えば図2に示すように、n個の遅延セル(1個の遅延セルはインバータを2個直列接続して構成される)DL1〜DLnと、第1遅延制御回路12から入力するn個の選択信号Sel1〜Selnによってゲートを開/閉されるn個のアンド回路AND1〜ANDnとで構成される。選択信号Sel1〜Selnは、その内の1個のみが“1”となり、他は“0”となる。そして、例えば、選択信号Sel3が“1”となったときは、遅延セルDL3〜DLnが縦続接続される。なお、第1可変遅延回路11は、リセット時にはSelnが“1”となり、LDnのみが接続された“最小段数”の状態に初期化される。   For example, as shown in FIG. 2, the first variable delay circuit 11 includes n delay cells (one delay cell is configured by connecting two inverters in series) DL1 to DLn, and a first delay control circuit. 12 is composed of n AND circuits AND1 to ANDn whose gates are opened / closed by n selection signals Sel1 to Seln input from Twelve. Only one of the selection signals Sel1 to Seln is “1”, and the others are “0”. For example, when the selection signal Sel3 becomes “1”, the delay cells DL3 to DLn are cascaded. The first variable delay circuit 11 is initialized to a “minimum number of stages” state in which Seln becomes “1” at reset and only LDn is connected.

カウンタ14は、例えば図3に示すように、2個のD型フリップフロップDFF1、DFF2、2個のナンド回路NAND1,NAND2、奇数個のインバータINV1〜INVk、m−1個のT型フリップフロップTFF1〜TFFm−1から構成される。ナンド回路NAND1,NAND2とインバータINV1〜INVkはリングオシレータ部を構成する。このリングオシレータ部は、D型フリップフロップDFF1の反転Q出力が“1”のときに開始信号(Start)が“1”になると、D型フリップフロップDFF2のQ出力が“1”となり、ナンド回路NAND1、NAND2がゲートを開いてループが形成され、発振を開始する。この場合の発振周波数は、1/2×(N・Td)となる。NはインバータINV1〜INVkとナンド回路NAND1,NAND2の合計段数(k+2)、Tdはそれらの個々の遅延時間である。また、停止信号(Stop)が“1”になると、D型フリップフロップDFF1の反転Q出力が“0”となり、ナンド回路NAND2がゲートを閉じて、発振が停止する。リングオシレータの発振中に発生するパルスは、T型フリップフロップTFF1〜TFFm−1から構成されるカウンタ部によってカウントされる。このカウント値の最小単位は、リングオシレータの段数(k+2)となる。   For example, as shown in FIG. 3, the counter 14 includes two D-type flip-flops DFF1 and DFF2, two NAND circuits NAND1 and NAND2, an odd number of inverters INV1 to INVk, and m-1 T-type flip-flops TFF1. To TFFm-1. The NAND circuits NAND1 and NAND2 and the inverters INV1 to INVk constitute a ring oscillator unit. In this ring oscillator unit, if the start signal (Start) becomes “1” when the inverted Q output of the D flip-flop DFF1 is “1”, the Q output of the D flip-flop DFF2 becomes “1”, and the NAND circuit NAND1 and NAND2 open gates to form a loop and start oscillation. The oscillation frequency in this case is 1/2 × (N · Td). N is the total number (k + 2) of inverters INV1 to INVk and NAND circuits NAND1 and NAND2, and Td is their respective delay time. When the stop signal (Stop) becomes “1”, the inverted Q output of the D-type flip-flop DFF1 becomes “0”, the NAND circuit NAND2 closes the gate, and the oscillation stops. Pulses generated during the oscillation of the ring oscillator are counted by a counter unit composed of T-type flip-flops TFF1 to TFFm-1. The minimum unit of the count value is the number of stages of the ring oscillator (k + 2).

この図3のカウンタ14のインバータINV1〜INVkには、第1可変遅延回路11の遅延セルDL1〜DLnを構成するインバータと同一プロセスで作成された同一特性のインバータを使用することにより、温度、電圧、プロセスによるバラツキを防止できる。   As the inverters INV1 to INVk of the counter 14 of FIG. 3, by using an inverter having the same characteristics created by the same process as the inverter constituting the delay cells DL1 to DLn of the first variable delay circuit 11, the temperature, voltage , Process variation can be prevented.

切換回路15は、ナンド回路NAND3,NAND4から構成され、イネーブル信号(Enable)が“1”のときゲートが開き、“0”のときゲートが閉じる。ゲートが閉じている時、位相比較器13がDLLマスタ回路10から切り離され、DLLループが遮断される。   The switching circuit 15 includes NAND circuits NAND3 and NAND4. The gate is opened when the enable signal (Enable) is “1”, and the gate is closed when the enable signal is “0”. When the gate is closed, the phase comparator 13 is disconnected from the DLL master circuit 10 and the DLL loop is interrupted.

さて、本実施例のDLLマスタ回路10は、リセットによって第1可変遅延回路11の遅延セルの段数が最小段数に初期化されているとき、カウンタ14のD型フリップフロップDFF1のQ出力は“0”、反転Q出力は“1”、DFF2のQ出力は“0”である。よって、カウンタ14では、ナンド回路NAND2はゲートを開いているが、ナンド回路NAND1はゲートを閉じ、リングオシレータは非動作となっている。また、イネーブル信号(Enable)は“0”となっており、切換回路15のナンド回路NAND3,NAND4はゲートが閉じている。よって、位相比較器13はDLLループから遮断されている。   In the DLL master circuit 10 of this embodiment, when the number of delay cells of the first variable delay circuit 11 is initialized to the minimum number by reset, the Q output of the D-type flip-flop DFF1 of the counter 14 is “0”. ", The inverted Q output is" 1 ", and the Q output of DFF2 is" 0 ". Therefore, in the counter 14, the NAND circuit NAND2 has its gate opened, but the NAND circuit NAND1 has its gate closed, and the ring oscillator is inactive. The enable signal (Enable) is “0”, and the gates of the NAND circuits NAND3 and NAND4 of the switching circuit 15 are closed. Therefore, the phase comparator 13 is cut off from the DLL loop.

この状態で入力クロックCLK1が入力すると、第1可変遅延回路11の遅延セルの最小段数を通過して、出力クロックCLK2として戻ってくる。このときの出力クロックCLK2の立ち上がりエッジによって、カウンタ14のD型フリップフロップDFF2のQ出力が“0”から“1”に反転し、カウンタ14のリングオシレータ部が発振動作を開始するとともに、カウント部のカウント動作が開始する。そして、この後に入力する入力クロックCLK1の立ち上がりエッジによって、カウンタ14のD型フリップフロップDFF1の反転Q出力が“0”になり、リングオシレータ部が発振動作を停止するとともに、カウンタ部も動作を停止し、さらにイネーブル信号(Enable)が“1”になる。   When the input clock CLK1 is input in this state, it passes through the minimum number of delay cells of the first variable delay circuit 11 and returns as the output clock CLK2. At this time, the Q output of the D-type flip-flop DFF2 of the counter 14 is inverted from “0” to “1” by the rising edge of the output clock CLK2, and the ring oscillator unit of the counter 14 starts an oscillation operation and the count unit Count operation starts. Then, the inverted Q output of the D-type flip-flop DFF1 of the counter 14 becomes “0” by the rising edge of the input clock CLK1 inputted thereafter, and the ring oscillator unit stops the oscillation operation and the counter unit also stops the operation. Further, the enable signal (Enable) becomes “1”.

これによって、カウンタ14がカウント動作を行っている期間T1は、入力クロックCLK1の1周期をT0とし、T2を、第1可変遅延回路11の遅延セルの最小段数に相当するオフセットタイムとすると、図4に示すように、
T1=T0−T2
となる。
As a result, during the period T1 during which the counter 14 is performing the counting operation, if one period of the input clock CLK1 is T0 and T2 is an offset time corresponding to the minimum number of delay cells of the first variable delay circuit 11, FIG. As shown in Figure 4,
T1 = T0-T2
It becomes.

そこで、カウンタ14の最終カウント値によって第1遅延制御回路12を制御して、第1可変遅延回路11の遅延セルの段数を、上記時間T1に相当する段数に初期設定する。このとき、位相比較器13の入力側の切換回路15は、イネーブル信号(Enable)が“1”になることによってゲートが開いているので、通常のDLLループが形成され、上記時間T1の遅延時間からDLL動作が開始する。このときのDLL制御は、不足しているオフセット時間T2分に相当する位相制御で済み、ロックするまでの時間を大幅に短縮できる。   Therefore, the first delay control circuit 12 is controlled by the final count value of the counter 14, and the number of stages of the delay cells of the first variable delay circuit 11 is initialized to the number of stages corresponding to the time T1. At this time, since the gate of the switching circuit 15 on the input side of the phase comparator 13 is opened when the enable signal (Enable) becomes “1”, a normal DLL loop is formed, and the delay time of the time T1 is set. The DLL operation starts. The DLL control at this time is phase control corresponding to the offset time T2 which is insufficient, and the time until locking can be greatly shortened.

ここで具体例について説明する。DLLマスタ回路10の第1可変遅延回路11の遅延セルの段数が直列500段で構成されていて、その1個の遅延セルの遅延時間が100psであったとする。入力クロックCLK1の周波数が500MHz(周期が20ns)の場合を考えると、従来では、第1可変遅延回路11の遅延セルが最小段数である状態から位相比較器13による制御が開始されたとすると、約200段(20ns)分の位相比較および遅延セルの切換動作が必要となる。   A specific example will be described here. It is assumed that the number of delay cells of the first variable delay circuit 11 of the DLL master circuit 10 is composed of 500 stages in series, and the delay time of one delay cell is 100 ps. Considering the case where the frequency of the input clock CLK1 is 500 MHz (with a period of 20 ns), if the control by the phase comparator 13 is started from the state where the delay cell of the first variable delay circuit 11 has the minimum number of stages, Phase comparison for 200 stages (20 ns) and switching operation of delay cells are required.

これに対し、本実施例では、入力クロックCLK1の1周期分に近い遅延時間を測定して、第1可変遅延回路11の遅延セルの段数をその遅延時間分に初期設定する。このため、第1可変遅延回路11の遅延セルの最小段数が、入力クロックCLK1の1周期の1/2に相当する段数未満である場合、遅延セルが最小段数である状態からDLL制御を開始するときに比較して、必要な遅延セルの切換動作の回数を削減し、ロックタイムを削減することができる。特に、最小段数が1段、もしくは、それに近い段数である場合には、微調整分を含めても、数クロックでロックさせることが可能であり、上記例に対して、90%以上ロックタイムを短縮することができる。   In contrast, in this embodiment, a delay time close to one cycle of the input clock CLK1 is measured, and the number of delay cell stages of the first variable delay circuit 11 is initialized to the delay time. For this reason, when the minimum number of delay cells of the first variable delay circuit 11 is less than the number of stages corresponding to 1/2 of one cycle of the input clock CLK1, DLL control is started from the state where the delay cells have the minimum number of stages. Compared to sometimes, the number of necessary delay cell switching operations can be reduced, and the lock time can be reduced. In particular, when the minimum number of stages is one stage or a number close to that, it is possible to lock with several clocks even if fine adjustment is included. It can be shortened.

また、測定された遅延時間分の段数を、そのまま、第1可変遅延回路11の遅延セルの段数に初期設定することは必須ではない。例えば、第1可変遅延回路11の遅延セルの最小段数が比較的大きい場合には、測定された遅延時間分の段数に遅延セルの最小段数を加算した段数を初期設定することによって、ロックタイムをさらに削減することも可能である。もしくは、遅延時間の測定に誤差があった場合にも常に同一の側(遅延セルの段数が少なすぎる側、もしくは多すぎる側)からDLL制御を開始することができるよう、遅延セルの最小段数から誤差範囲に相当する所定の段数を減じてから、もしくは加えてから、測定された遅延時間分の段数に加算した段数を、初期設定することも可能である。   Further, it is not essential to initially set the number of stages for the measured delay time as it is to the number of stages of the delay cells of the first variable delay circuit 11. For example, when the minimum number of delay cells of the first variable delay circuit 11 is relatively large, the lock time is set by initializing the number of stages obtained by adding the minimum number of delay cells to the number of stages corresponding to the measured delay time. Further reductions are possible. Or, even if there is an error in the measurement of the delay time, the minimum number of delay cells is used so that DLL control can always be started from the same side (the side with too few or too many delay cells). It is also possible to initialize the number of stages added to the number of stages for the measured delay time after the predetermined number of stages corresponding to the error range is reduced or added.

このように、カウンタ14のカウント値に相当する遅延セルの段数に応じた段数を、すなわち、カウンタ14によって測定された遅延時間分の段数をそのまま、もしくは、第1可変遅延回路11の遅延セルの最小段数や測定誤差等を考慮して適切に補正した段数を、第1可変遅延回路11に初期設定することが可能である。   As described above, the number of stages corresponding to the number of delay cells corresponding to the count value of the counter 14, that is, the number of stages corresponding to the delay time measured by the counter 14 is used as it is, or the delay cells of the first variable delay circuit 11 are used. It is possible to initialize the first variable delay circuit 11 with the number of stages appropriately corrected in consideration of the minimum number of stages and measurement errors.

なお、以上では、カウンタ14のカウントの開始(Start)に出力クロックCLK2の立上りエッジを、停止(Stop)に入力クロックCLK1の立上りエッジを使用したが、両者に立下りエッジを使用してもよい。また、以上では、ユーザ回路20とDLLシフタ回路30を組み合わせて使用するDLLマスタ回路10を例として説明したが、入力クロックCLK1に対して1周期分遅れた出力クロックCLK2を出力させるDLL回路であれば、全てに適用できることは勿論である。   In the above description, the rising edge of the output clock CLK2 is used for the start (Start) of the counter 14, and the rising edge of the input clock CLK1 is used for the stop (Stop). However, the falling edge may be used for both. . In the above description, the DLL master circuit 10 that uses the user circuit 20 and the DLL shifter circuit 30 in combination has been described as an example. However, any DLL circuit that outputs the output clock CLK2 delayed by one cycle with respect to the input clock CLK1 may be used. Of course, it can be applied to all.

10,10A:DLLマスタ回路、11:第1可変遅延回路、12,12A:第1遅延制御回路、13:位相比較器、14:カウンタ、15:切換回路
20:ユーザ回路
30:DLLシフタ回路、31:第2遅延回路、32:第2可変遅延回路
10, 10A: DLL master circuit, 11: first variable delay circuit, 12, 12A: first delay control circuit, 13: phase comparator, 14: counter, 15: switching circuit, 20: user circuit, 30: DLL shifter circuit, 31: second delay circuit, 32: second variable delay circuit

Claims (4)

遅延セルを段数切換可能に複数段縦続接続した可変遅延回路と、該可変遅延回路への入力クロックと前記可変遅延回路の出力クロックとの位相差を検出する位相比較器と、該位相比較器から出力する比較信号によって前記入力クロックと前記出力クロックの位相差がゼロとなるように前記可変遅延回路の前記遅延セルの段数を切り換える遅延制御回路とを有するDLL回路において、
前記出力クロックの第1の極性のエッジによってカウントを開始し、前記入力クロックの第1の極性のエッジによってカウントを停止し、前記開始から前記停止までの時間に相当するカウント値を出力するカウンタを備え、
該カウンタのカウント値に相当する遅延セルの段数に応じた段数を、前記遅延制御回路により前記可変遅延回路に初期設定するようにした、
ことを特徴とするDLL回路。
A variable delay circuit in which delay cells are cascade-connected so that the number of stages can be switched, a phase comparator for detecting a phase difference between an input clock to the variable delay circuit and an output clock of the variable delay circuit, and the phase comparator In a DLL circuit having a delay control circuit that switches the number of stages of the delay cells of the variable delay circuit so that a phase difference between the input clock and the output clock becomes zero by a comparison signal to be output,
A counter that starts counting at the edge of the first polarity of the output clock, stops counting at the edge of the first polarity of the input clock, and outputs a count value corresponding to the time from the start to the stop; Prepared,
The number of stages corresponding to the number of stages of delay cells corresponding to the count value of the counter is initially set in the variable delay circuit by the delay control circuit.
A DLL circuit characterized by that.
請求項1に記載のDLL回路において、
前記位相比較器を前記出力クロックの前記エッジの到来以前にDLL回路から切り放しておき、
前記入力クロックの前記エッジのタイミングで、前記位相比較器をDLL回路に接続するとともに、前記カウンタのカウント値に相当する遅延セルの段数に応じた段数を、前記遅延制御回路により前記可変遅延回路に初期設定するようにした、
ことを特徴とするDLL回路。
The DLL circuit according to claim 1,
Disconnecting the phase comparator from the DLL circuit before the arrival of the edge of the output clock;
At the timing of the edge of the input clock, the phase comparator is connected to the DLL circuit, and the number of stages corresponding to the number of delay cells corresponding to the count value of the counter is transferred to the variable delay circuit by the delay control circuit. Initial setting
A DLL circuit characterized by that.
請求項1又は2に記載のDLL回路において、
前記カウンタは、リングオシレータ部とカウント部からなり、該リングオシレータ部のインバータは前記可変遅延回路の遅延セルを構成するインバータと同じ特性をもつことを特徴とするDLL回路。
The DLL circuit according to claim 1 or 2,
The counter comprises a ring oscillator unit and a count unit, and an inverter of the ring oscillator unit has the same characteristics as an inverter constituting a delay cell of the variable delay circuit.
請求項1、2又は3に記載のDLL回路において、
前記カウンタからカウント中と非カウント中の区別を示す制御信号を出力させるとともに、前記位相比較回路の入力側に切換回路を接続し、
該切換回路は、前記制御信号が前記非カウント中を示すときは前記位相比較回路のDLL回路への接続を実行し、前記制御信号が前記カウント中を示すときは前記位相比較回路のDLL回路への接続を遮断するようにした、
ことを特徴とするDLL回路。
The DLL circuit according to claim 1, 2 or 3,
A control signal indicating the distinction between counting and non-counting is output from the counter, and a switching circuit is connected to the input side of the phase comparison circuit,
The switching circuit executes connection to the DLL circuit of the phase comparison circuit when the control signal indicates the non-counting, and to the DLL circuit of the phase comparison circuit when the control signal indicates the counting. The connection of
A DLL circuit characterized by that.
JP2009183362A 2009-08-06 2009-08-06 Dll circuit Withdrawn JP2011040803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009183362A JP2011040803A (en) 2009-08-06 2009-08-06 Dll circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009183362A JP2011040803A (en) 2009-08-06 2009-08-06 Dll circuit

Publications (1)

Publication Number Publication Date
JP2011040803A true JP2011040803A (en) 2011-02-24

Family

ID=43768166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009183362A Withdrawn JP2011040803A (en) 2009-08-06 2009-08-06 Dll circuit

Country Status (1)

Country Link
JP (1) JP2011040803A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015061213A (en) * 2013-09-19 2015-03-30 株式会社メガチップス Clock phase shift circuit
US10396973B2 (en) 2016-09-09 2019-08-27 Fujitsu Limited Clock regeneration circuit, semiconductor integrated circuit device and RF tag
CN116418320A (en) * 2023-03-28 2023-07-11 成都电科星拓科技有限公司 Method and circuit for automatically adjusting delay equality of multipath frequency divider

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015061213A (en) * 2013-09-19 2015-03-30 株式会社メガチップス Clock phase shift circuit
US10396973B2 (en) 2016-09-09 2019-08-27 Fujitsu Limited Clock regeneration circuit, semiconductor integrated circuit device and RF tag
CN116418320A (en) * 2023-03-28 2023-07-11 成都电科星拓科技有限公司 Method and circuit for automatically adjusting delay equality of multipath frequency divider
CN116418320B (en) * 2023-03-28 2024-03-29 成都电科星拓科技有限公司 Method and circuit for automatically adjusting delay equality of multipath frequency divider

Similar Documents

Publication Publication Date Title
US9092013B2 (en) Time-to-digital converter
JP4741705B2 (en) Initialization circuit for delay-locked loop
US8698527B2 (en) Circuit and method for preventing false lock and delay locked loop using the same
US6437616B1 (en) Delay lock loop with wide frequency range capability
US7375563B1 (en) Duty cycle correction using input clock and feedback clock of phase-locked-loop (PLL)
JPH07106961A (en) Digital circuit device
US7034591B2 (en) False-lock-free delay locked loop circuit and method
US8258775B2 (en) Method and apparatus for determining phase error between clock signals
US6897691B2 (en) Phase locked loop with low steady state phase errors and calibration circuit for the same
TW201419757A (en) Ring oscillator timer circuit
WO2019213654A1 (en) A time-to-digital converter circuit
KR101138831B1 (en) Delay locked loop of open loop type
JP2002217697A (en) Clock signal correcting circuit and semiconductor device
JP2011040803A (en) Dll circuit
JP5459089B2 (en) TDC circuit
US11171654B1 (en) Delay locked loop with segmented delay circuit
US8099620B2 (en) Domain crossing circuit of a semiconductor memory apparatus
JP2005252447A (en) Lock detection circuit and method
KR100923212B1 (en) Method and apparatus for a digital-to-phase converter
US10014849B2 (en) Clock detectors and methods of detecting clocks
US11533058B2 (en) Digital phase-frequency detector with split control loops for low jitter and fast locking
US20210281254A1 (en) Programmable-on-the-fly fractional divider in accordance with this disclosure
CN110867199B (en) Synchronous mirror delay circuit and synchronous mirror delay operation method
CN115021747A (en) Delay phase-locked loop circuit, clock generation chip and electronic equipment
JP2013197692A (en) Pll clock generation circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121106