JP2011114470A - Digital delay circuit, and method of controlling digital delay circuit - Google Patents

Digital delay circuit, and method of controlling digital delay circuit Download PDF

Info

Publication number
JP2011114470A
JP2011114470A JP2009267521A JP2009267521A JP2011114470A JP 2011114470 A JP2011114470 A JP 2011114470A JP 2009267521 A JP2009267521 A JP 2009267521A JP 2009267521 A JP2009267521 A JP 2009267521A JP 2011114470 A JP2011114470 A JP 2011114470A
Authority
JP
Japan
Prior art keywords
stage number
number data
clock signal
circuit
data
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.)
Granted
Application number
JP2009267521A
Other languages
Japanese (ja)
Other versions
JP5413151B2 (en
Inventor
Hiroyuki Sano
弘幸 佐野
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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor Ltd
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 Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2009267521A priority Critical patent/JP5413151B2/en
Publication of JP2011114470A publication Critical patent/JP2011114470A/en
Application granted granted Critical
Publication of JP5413151B2 publication Critical patent/JP5413151B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital delay circuit capable of reducing jitters of a clock signal. <P>SOLUTION: A master DLL circuit 11 generates first stage number data Ds1 showing the number of stages of a delay element to be used to delay a reference clock signal CLKr to a predetermined phase. A slave DLL circuit 12 generates second stage number data Ds2 showing the number of stages of a delay element to be used on the basis of the first stage number data Ds1, delays a first clock signal CLK1 at a delay element of the number of stages corresponding to the second stage number data Ds2 and generates a second clock signal CLK2. A phase adjustment circuit 31 of the slave DLL circuit 12 performs correction corresponding to a change in the first stage number data Ds1 to generate second stage number data Ds2 when the first stage number data Ds1 transits between two values. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

デジタル遅延回路及びデジタル遅延回路の制御方法に関するものである。   The present invention relates to a digital delay circuit and a method for controlling the digital delay circuit.

従来、半導体装置では、第1クロック信号に対して所望の位相差の第2クロック信号を生成するDLL(Delay Locked Loop)回路が設けられている。
この種のDLL回路では、基準クロック信号の位相を1周期遅延させる遅延量を検出するマスタDLL回路と、この基準クロック信号を1周期遅延させる遅延量に基づいて、第1クロック信号を所望の位相まで遅延させて第2クロック信号を生成するスレーブDLL回路を有するマスタ/スレーブDLL方式のDLL回路が知られている(例えば、特許文献1参照)。
Conventionally, a semiconductor device is provided with a DLL (Delay Locked Loop) circuit that generates a second clock signal having a desired phase difference with respect to the first clock signal.
In this type of DLL circuit, a master DLL circuit that detects a delay amount that delays the phase of the reference clock signal by one cycle, and a first clock signal that has a desired phase based on the delay amount that delays the reference clock signal by one cycle. There is known a master / slave DLL type DLL circuit having a slave DLL circuit that generates a second clock signal with a delay of up to (for example, see Patent Document 1).

図4は、マスタ/スレーブDLL方式のDLL回路60の基本的な回路図である。
マスタDLL回路61は、第1遅延回路62、位相比較回路63、遅延制御回路64を有している。
FIG. 4 is a basic circuit diagram of a master / slave DLL type DLL circuit 60.
The master DLL circuit 61 includes a first delay circuit 62, a phase comparison circuit 63, and a delay control circuit 64.

第1遅延回路62は、複数の遅延素子(バッファ回路)が直列接続され、基準クロック信号CLKrを遅延させて比較クロック信号CLKcとして出力する。また、第1遅延回路62は、遅延制御回路64から同第1遅延回路62中の直列に接続された遅延素子の段数を指定するための第1段数データDs1に応じて、直列に接続される遅延素子の段数を変更する。   The first delay circuit 62 has a plurality of delay elements (buffer circuits) connected in series, delays the reference clock signal CLKr, and outputs it as a comparison clock signal CLKc. The first delay circuit 62 is connected in series according to the first stage number data Ds1 for designating the number of stages of delay elements connected in series in the first delay circuit 62 from the delay control circuit 64. Change the number of delay elements.

位相比較回路63は、基準クロック信号CLKrが入力され、第1遅延回路62を介して基準クロック信号CLKrを遅延させた比較クロック信号CLKcがそれぞれ入力される。位相比較回路63は、その基準クロック信号CLKrの位相と比較クロック信号CLKcの位相を比較し、その比較結果を位相比較信号Scとして出力する。   The phase comparison circuit 63 receives the reference clock signal CLKr, and receives the comparison clock signal CLKc obtained by delaying the reference clock signal CLKr via the first delay circuit 62. The phase comparison circuit 63 compares the phase of the reference clock signal CLKr with the phase of the comparison clock signal CLKc, and outputs the comparison result as the phase comparison signal Sc.

遅延制御回路64は、位相比較回路63からの位相比較信号Scに応じて、基準クロック信号CLKrの位相に対して比較クロック信号CLKcの位相を変化させて、上記の第1遅延回路62にて1周期分遅延させるための第1段数データDs1を出力する。   The delay control circuit 64 changes the phase of the comparison clock signal CLKc with respect to the phase of the reference clock signal CLKr in accordance with the phase comparison signal Sc from the phase comparison circuit 63, and the first delay circuit 62 1 The first stage number data Ds1 for delaying by the period is output.

具体的には、基準クロック信号CLKrに対して比較クロック信号CLKcの位相が進んでいる場合、位相比較回路63では、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間が基準クロック信号CLKrの1周期分の遅延よりも小さくなっている。従って、基準クロック信号CLKrに対して比較クロック信号CLKcの位相が基準クロック信号CLKrの1周期分の遅延よりも小さい場合、遅延制御回路64は、直列に接続された遅延素子の段数を増加させるための第1段数データDs1を出力して第1遅延回路の直列に接続される遅延素子の段数を増加させ、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間を大きくする。   Specifically, when the phase of the comparison clock signal CLKc is advanced with respect to the reference clock signal CLKr, the phase comparison circuit 63 causes the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr to be one cycle of the reference clock signal CLKr. Is less than a minute delay. Therefore, when the phase of the comparison clock signal CLKc is smaller than the delay of one cycle of the reference clock signal CLKr with respect to the reference clock signal CLKr, the delay control circuit 64 increases the number of delay elements connected in series. The first stage number data Ds1 is output to increase the number of stages of delay elements connected in series with the first delay circuit, and the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr is increased.

反対に、基準クロック信号CLKrに対して比較クロック信号CLKcの位相が遅れている場合、位相比較回路63では、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間が基準クロック信号CLKrの1周期分の遅延よりも大きくなっている。従って、基準クロック信号CLKrに対して比較クロック信号CLKcの位相が基準クロック信号CLKrの1周期分の遅延よりも大きい場合、遅延制御回路64は、直列に接続された遅延素子の段数を減らすための第1段数データDs1を出力して第1遅延回路62の直列に接続される遅延素子の段数を減少させ、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間を小さくする。   On the other hand, when the phase of the comparison clock signal CLKc is delayed with respect to the reference clock signal CLKr, the phase comparison circuit 63 causes the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr to be one cycle of the reference clock signal CLKr. It is larger than the delay. Therefore, when the phase of the comparison clock signal CLKc is larger than the delay of one cycle of the reference clock signal CLKr with respect to the reference clock signal CLKr, the delay control circuit 64 reduces the number of delay elements connected in series. The first stage number data Ds1 is output to reduce the number of stages of delay elements connected in series with the first delay circuit 62, thereby reducing the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr.

スレーブDLL回路65は、位相調整回路66、第2遅延回路67を有している。
位相調整回路66は、上記のマスタDLL回路61の遅延制御回路64からの第1段数データDs1が入力されるとともに、位相設定データDpが入力される。そして、位相調整回路66は、第1段数データDs1及び位相設定データDpに基づいて、第2遅延回路67にて第1クロック信号CLK1を、位相設定データDpに応じた位相まで遅延させるための遅延素子の段数を算出し、その段数の第2段数データDs2を出力する。
The slave DLL circuit 65 includes a phase adjustment circuit 66 and a second delay circuit 67.
The phase adjustment circuit 66 receives the first stage number data Ds1 from the delay control circuit 64 of the master DLL circuit 61 and the phase setting data Dp. Then, the phase adjustment circuit 66 delays the first clock signal CLK1 to a phase corresponding to the phase setting data Dp by the second delay circuit 67 based on the first stage number data Ds1 and the phase setting data Dp. The number of stages of the element is calculated, and second stage number data Ds2 of the number of stages is output.

第2遅延回路67は、複数の遅延素子(バッファ回路)が直列接続され、第1クロック信号CLK1を遅延させて第2クロック信号CLK2として出力する。第2遅延回路67は、位相調整回路66からの第2段数データDs2に応じて、直列に接続される遅延素子の段数を変更する。   The second delay circuit 67 has a plurality of delay elements (buffer circuits) connected in series, delays the first clock signal CLK1, and outputs it as the second clock signal CLK2. The second delay circuit 67 changes the number of delay elements connected in series according to the second stage number data Ds2 from the phase adjustment circuit 66.

従って、第2遅延回路67は、第2段数データDs2に基づいて、第1クロック信号CLK1を位相設定データDpに応じた位相まで遅延させた第2クロック信号CLK2を生成することができる。   Therefore, the second delay circuit 67 can generate the second clock signal CLK2 obtained by delaying the first clock signal CLK1 to the phase corresponding to the phase setting data Dp based on the second stage number data Ds2.

特開2005−142859号公報JP 2005-142859 A

しかしながら、基準クロック信号CLKrに対して比較クロック信号CLKcの位相が一致することは少ない。これは、基準クロック信号CLKrに対して、比較クロック信号CLKcの遅延時間がデジタル的に変化するためである。例えば、(n−1)段目の遅延素子の出力信号が、基準クロック信号CLKrの1周期分の遅延よりも位相が小さく、(n)段目の遅延素子の出力信号が、基準クロック信号CLKrの1周期分の遅延よりも大きいと、マスタDLL回路から出力される第1段数データDs1が常に変動する。このため、スレーブDLL回路65では、変動している第1段数データDs1に基づいて第2遅延回路67中の遅延素子の段数が算出されるため、第2段数データDs2も変動して第2遅延回路67にて生成される第2クロック信号CLK2にジッタが生じてしまう。   However, the phase of the comparison clock signal CLKc rarely matches the reference clock signal CLKr. This is because the delay time of the comparison clock signal CLKc changes digitally with respect to the reference clock signal CLKr. For example, the output signal of the delay element in the (n−1) stage has a phase smaller than the delay of one cycle of the reference clock signal CLKr, and the output signal of the delay element in the (n) stage is the reference clock signal CLKr. If the delay is greater than one cycle, the first stage number data Ds1 output from the master DLL circuit always fluctuates. For this reason, in the slave DLL circuit 65, the number of stages of the delay elements in the second delay circuit 67 is calculated based on the fluctuating first stage number data Ds1, so the second stage number data Ds2 also fluctuates and the second delay time is increased. Jitter occurs in the second clock signal CLK2 generated by the circuit 67.

本発明の一観点によれば、デジタル遅延回路は、基準クロック信号を所定の位相まで遅延させるために使用する遅延素子の段数を示す第1段数データを生成する段数データ生成回路と、前記第1段数データに基づいて使用する遅延素子の段数を示す第2段数データを生成し、前記第2段数データに応じた段数の遅延素子にて第1クロック信号を遅延させて第2クロック信号を生成し、前記第1段数データが2つの値の間で遷移している場合、前記第1段数データの変化に応じた補正を行って前記第2段数データを生成する信号生成回路と、を有する。   According to an aspect of the present invention, the digital delay circuit includes a stage number data generation circuit that generates first stage number data indicating the number of stages of delay elements used to delay the reference clock signal to a predetermined phase, and Second stage number data indicating the number of stages of delay elements to be used is generated based on the stage number data, and a second clock signal is generated by delaying the first clock signal by the number of stage delay elements corresponding to the second stage number data. When the first stage number data transitions between two values, the signal generation circuit performs correction according to a change in the first stage number data and generates the second stage number data.

本発明の一観点によれば、クロック信号のジッタが低減される。   According to one aspect of the present invention, clock signal jitter is reduced.

デジタルDLL回路のブロック図である。It is a block diagram of a digital DLL circuit. 位相調整回路のブロック図である。It is a block diagram of a phase adjustment circuit. 位相調整回路の動作説明図である。It is operation | movement explanatory drawing of a phase adjustment circuit. デジタルDLL回路のブロック図である。It is a block diagram of a digital DLL circuit.

以下、実施形態を図1〜図3に従って説明する。
図1は、デジタルDLL回路10の概略構成図を示す。図1に示すように、デジタルDLL回路10は、マスタDLL回路11及びスレーブDLL回路12を有している。
Hereinafter, embodiments will be described with reference to FIGS.
FIG. 1 is a schematic configuration diagram of the digital DLL circuit 10. As shown in FIG. 1, the digital DLL circuit 10 includes a master DLL circuit 11 and a slave DLL circuit 12.

(マスタDLL回路)
マスタDLL回路11は、第1遅延回路21、位相比較回路22、遅延制御回路23を含んでいる。第1遅延回路21は、図示しない複数の遅延素子(例えば、CMOSトランジスタよりなるバッファ回路)を有し、外部から基準クロック信号CLKrが入力され、遅延制御回路23から第1遅延回路21中の直列に接続された遅延素子の段数を指定するための第1段数データDs1が入力される。
(Master DLL circuit)
The master DLL circuit 11 includes a first delay circuit 21, a phase comparison circuit 22, and a delay control circuit 23. The first delay circuit 21 has a plurality of delay elements (not shown) (for example, a buffer circuit made of a CMOS transistor), receives a reference clock signal CLKr from the outside, and is connected in series in the first delay circuit 21 from the delay control circuit 23. First stage number data Ds1 for designating the number of stages of delay elements connected to is input.

第1段数データDs1は、第1遅延回路21中の入出力端子間に直列に接続する遅延素子の数(段数)を指定するデータである。本実施形態では、第1段数データDs1は、「0000000000」〜「1111111111」の10ビットのデータで構成され、10進数でいうと「0」段〜「1023」段の段数を示すデータになっている。   The first stage number data Ds1 is data specifying the number of delay elements (number of stages) connected in series between the input / output terminals in the first delay circuit 21. In the present embodiment, the first stage number data Ds1 is composed of 10-bit data from “0000000000000” to “1111111111” and is data indicating the number of stages from “0” to “1023” in decimal. Yes.

そして、第1遅延回路21は、その第1段数データDs1に応じて、直列に接続する遅延素子の段数を増減する。そして、第1遅延回路21は、直列に接続する遅延素子の段数に応じて、基準クロック信号CLKrから遅延した信号を出力端子から比較クロック信号CLKcとして出力する。   The first delay circuit 21 increases or decreases the number of delay elements connected in series according to the first stage number data Ds1. The first delay circuit 21 outputs a signal delayed from the reference clock signal CLKr as the comparison clock signal CLKc from the output terminal according to the number of delay elements connected in series.

位相比較回路22は、外部から基準クロック信号CLKrが入力され、第1遅延回路21から比較クロック信号CLKcが入力される。位相比較回路22は、その基準クロック信号CLKrの位相に対する比較クロック信号CLKcの位相を比較し、その比較結果に応じた位相比較信号Scを出力する。   The phase comparison circuit 22 receives the reference clock signal CLKr from the outside, and receives the comparison clock signal CLKc from the first delay circuit 21. The phase comparison circuit 22 compares the phase of the comparison clock signal CLKc with the phase of the reference clock signal CLKr, and outputs a phase comparison signal Sc corresponding to the comparison result.

すなわち、位相比較回路22は、基準クロック信号CLKrに対して比較クロック信号CLKcの位相が基準クロック信号CLKrの1周期分の遅延よりも小さいか、又は、大きいかを判定する。そして、位相比較回路22は、基準クロック信号CLKrに対する比較クロック信号CLKcの位相が基準クロック信号CLKrの1周期分の遅延よりも小さい場合に例えばLレベルの位相比較信号Scを出力し、基準クロック信号CLKrに対する比較クロック信号CLKcの位相が基準クロック信号CLKrの1周期分の遅延よりも大きい場合に例えばHレベルの位相比較信号Scを出力する。   That is, the phase comparison circuit 22 determines whether the phase of the comparison clock signal CLKc is smaller or larger than the delay of one cycle of the reference clock signal CLKr with respect to the reference clock signal CLKr. When the phase of the comparison clock signal CLKc with respect to the reference clock signal CLKr is smaller than the delay of one period of the reference clock signal CLKr, the phase comparison circuit 22 outputs, for example, an L level phase comparison signal Sc, and the reference clock signal When the phase of the comparison clock signal CLKc with respect to CLKr is larger than the delay of one cycle of the reference clock signal CLKr, for example, an H level phase comparison signal Sc is output.

遅延制御回路23は、その時々の第1段数データDs1を記憶するレジスタRe、位相比較回路22からのHレベルの位相比較信号Scをカウントする第1カウンタ回路C1、Lレベルの位相比較信号Scをカウントする第2カウンタ回路C2を有している。   The delay control circuit 23 includes a register Re for storing the first stage number data Ds1 at that time, a first counter circuit C1 for counting the H level phase comparison signal Sc from the phase comparison circuit 22, and an L level phase comparison signal Sc. A second counter circuit C2 for counting is provided.

レジスタReは、初期設定時に予め定められた第1段数データDs1が初期値として記憶されている。遅延制御回路23は、その第1段数データDs1に対して、第1カウンタ回路C1及び第2カウンタ回路C2のカウント結果に基づいて加減算してレジスタReに格納した第1段数データDs1を更新するようになっている。そして、遅延制御回路23は、レジスタReに格納された第1段数データDs1を出力する。   The register Re stores, as an initial value, first stage number data Ds1 determined in advance at the time of initial setting. The delay control circuit 23 adds to or subtracts from the first stage number data Ds1 based on the count results of the first counter circuit C1 and the second counter circuit C2, and updates the first stage number data Ds1 stored in the register Re. It has become. Then, the delay control circuit 23 outputs the first stage number data Ds1 stored in the register Re.

第1カウンタ回路C1は、位相比較信号ScがHレベルの場合、基準クロック信号CLKrのHレベルへの立ち上がりに応答して第1カウント値Vc1をカウントアップし、位相比較信号ScがLレベルの場合、第1カウント値Vc1をリセットする。そして、第1カウンタ回路C1は、第1カウント値Vc1が段数減少値Vcd(本実施形態では、Vcd=3)に達すると、Hレベルの段数減少信号Sdnを出力する。   When the phase comparison signal Sc is at the H level, the first counter circuit C1 counts up the first count value Vc1 in response to the rising of the reference clock signal CLKr to the H level, and when the phase comparison signal Sc is at the L level. The first count value Vc1 is reset. When the first count value Vc1 reaches the stage number decrease value Vcd (in this embodiment, Vcd = 3), the first counter circuit C1 outputs an H level stage number decrease signal Sdn.

遅延制御回路23は、Hレベルの段数減少信号Sdnに応答して、レジスタReの第1段数データDs1から「1」を減算(ディクリメント)し、その減算結果の値を新たな第1段数データDs1としてレジスタReに格納する。そして、遅延制御回路23は、レジスタReに格納された第1段数データDs1を出力する。従って、第1段数データDs1は、「1」を減少する。   The delay control circuit 23 subtracts (decrements) “1” from the first stage number data Ds1 of the register Re in response to the H level stage number reduction signal Sdn, and sets the value of the subtraction result as new first stage number data. Stored in the register Re as Ds1. Then, the delay control circuit 23 outputs the first stage number data Ds1 stored in the register Re. Therefore, the first stage number data Ds1 decreases “1”.

第1遅延回路21は、第1段数データDs1に応じた段数の遅延素子により比較クロック信号CLKcを生成する。第1段数データDs1は「1」を減少しているため、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間が短くなり、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間が小さくなる。   The first delay circuit 21 generates the comparison clock signal CLKc by the number of stages of delay elements corresponding to the first stage number data Ds1. Since the first stage number data Ds1 is decreased by “1”, the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr is shortened, and the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr is decreased.

すると、位相比較回路22は、Lレベルの位相比較信号Scを出力する。そして、第2カウンタ回路C2は、Lレベルの位相比較信号Scに応答して第1カウント値Vc1をリセットし、Lレベルの段数減少信号Sdnをする。   Then, the phase comparison circuit 22 outputs an L level phase comparison signal Sc. Then, the second counter circuit C2 resets the first count value Vc1 in response to the L level phase comparison signal Sc, and outputs the L level stage number decrease signal Sdn.

第2カウンタ回路C2は、位相比較信号ScがLレベルの場合、基準クロック信号CLKrのHレベルへの立ち上がりに応答して第2カウント値Vc2をカウントアップし、位相比較信号ScがHレベルの場合、第2カウント値Vc2をリセットする。そして、第2カウンタ回路C2は、第2カウント値Vc2が段数増加値Vcu(本実施形態では、Vcu=3)に達すると、Hレベルの段数増加信号Supを出力する。   When the phase comparison signal Sc is at the L level, the second counter circuit C2 counts up the second count value Vc2 in response to the rising of the reference clock signal CLKr to the H level, and when the phase comparison signal Sc is at the H level. The second count value Vc2 is reset. When the second count value Vc2 reaches the stage number increase value Vcu (in this embodiment, Vcu = 3), the second counter circuit C2 outputs an H level stage number increase signal Sup.

遅延制御回路23は、Hレベルの段数増加信号Supに応答して、レジスタReの第1段数データDs1に「1」を加算(インクリメント)し、その加算結果の値を新たな第1段数データDs1としてレジスタReに格納する。そして、遅延制御回路23は、レジスタReに格納された第1段数データDs1を出力する。従って、第1段数データDs1は、「1」を増加する。   In response to the H-level stage number increase signal Sup, the delay control circuit 23 adds (increments) “1” to the first stage number data Ds1 of the register Re, and sets the value of the addition result as new first stage number data Ds1. Is stored in the register Re. Then, the delay control circuit 23 outputs the first stage number data Ds1 stored in the register Re. Accordingly, the first stage number data Ds1 increases “1”.

第1遅延回路21は、第1段数データDs1に応じた段数の遅延素子により比較クロック信号CLKcを生成する。第1段数データDs1は「1」を増加しているため、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間が長くなり、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間が大きくなる。   The first delay circuit 21 generates the comparison clock signal CLKc by the number of stages of delay elements corresponding to the first stage number data Ds1. Since the first stage number data Ds1 increases “1”, the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr becomes longer, and the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr becomes longer.

すると、位相比較回路22は、Hレベルの位相比較信号Scを出力する。そして、第2カウンタ回路C2は、Hレベルの位相比較信号Scに応答して第2カウント値Vc2をリセットし、Lレベルの段数増加信号Supを出力する。   Then, the phase comparison circuit 22 outputs an H level phase comparison signal Sc. Then, the second counter circuit C2 resets the second count value Vc2 in response to the H level phase comparison signal Sc, and outputs an L level stage number increase signal Sup.

すなわち、遅延制御回路23は、第1カウント値Vc1が段数減少値Vcdになるまでの間、位相比較信号Scが連続的にHレベルであった場合に、第1段数データDs1から「1」を減少させる。第1遅延回路21は、その第1段数データDs1に応じて、直列に接続される遅延素子の段数から「1」を減少させ、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間を小さくする。   That is, the delay control circuit 23 obtains “1” from the first stage number data Ds1 when the phase comparison signal Sc is continuously at the H level until the first count value Vc1 becomes the stage number decrease value Vcd. Decrease. The first delay circuit 21 decreases “1” from the number of stages of delay elements connected in series according to the first stage number data Ds1, and reduces the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr.

また、遅延制御回路23は、第2カウント値Vc2が段数増加値Vcuになるまでの間、位相比較信号Scが連続的にLレベルであった場合に、第1段数データDs1に「1」を増加させる。第1遅延回路21は、その第1段数データDs1に応じて、直列に接続される遅延素子の段数に「1」を増加させ、基準クロック信号CLKrに対する比較クロック信号CLKcの遅延時間を大きくする。   Further, the delay control circuit 23 sets “1” to the first stage number data Ds1 when the phase comparison signal Sc is continuously at the L level until the second count value Vc2 reaches the stage number increase value Vcu. increase. The first delay circuit 21 increases “1” to the number of stages of delay elements connected in series according to the first stage number data Ds1, and increases the delay time of the comparison clock signal CLKc with respect to the reference clock signal CLKr.

そして、遅延制御回路23は、段数減少値Vcdと段数増加値Vcuに応じた期間、位相比較信号Scのレベルが連続しない場合、第1段数データDs1を変更しない。この結果、遅延制御回路23は、短時間での位相比較信号ScのHレベルとLレベルの切り替わり、即ち基準クロック信号CLKrに対する比較クロック信号CLKcの位相の進遅に対して過度に追従することなく安定した第1段数データDs1を生成する。   The delay control circuit 23 does not change the first stage number data Ds1 when the level of the phase comparison signal Sc is not continuous for a period corresponding to the stage number decrease value Vcd and the stage number increase value Vcu. As a result, the delay control circuit 23 switches between the H level and the L level of the phase comparison signal Sc in a short time, that is, without excessively following the advance / delay of the phase of the comparison clock signal CLKc with respect to the reference clock signal CLKr. Stable first stage number data Ds1 is generated.

(スレーブDLL回路)
スレーブDLL回路12は、位相調整回路31、第2遅延回路32を有する。第2遅延回路32は、第1遅延回路21と同じ構成(電気的特性)の複数の遅延素子(例えば、CMOSトランジスタよりなるバッファ回路)を含む。
(Slave DLL circuit)
The slave DLL circuit 12 includes a phase adjustment circuit 31 and a second delay circuit 32. The second delay circuit 32 includes a plurality of delay elements (for example, buffer circuits made of CMOS transistors) having the same configuration (electrical characteristics) as the first delay circuit 21.

位相調整回路31は、マスタDLL回路11から第1段数データDs1、段数増加信号Sup、段数減少信号Sdnが入力され、外部から位相設定データDpが入力される。
位相設定データDpは、スレーブDLL回路12が生成する第2クロック信号CLK2の第1クロック信号CLK1に対する位相差を示すデータである。位相設定データDpのビット数は、第1クロック信号CLK1に対して第2クロック信号CLK2の位相差を設定する単位に対応する。設定単位は、マスタDLL回路11において、基準クロック信号CLKrに基づいて算出する第1段数データDs1の段数に応じた遅延時間(位相差)を整数で除算した値である。
The phase adjustment circuit 31 receives the first stage number data Ds1, the stage number increase signal Sup, and the stage number decrease signal Sdn from the master DLL circuit 11, and receives the phase setting data Dp from the outside.
The phase setting data Dp is data indicating a phase difference between the second clock signal CLK2 generated by the slave DLL circuit 12 and the first clock signal CLK1. The number of bits of the phase setting data Dp corresponds to a unit for setting the phase difference of the second clock signal CLK2 with respect to the first clock signal CLK1. The setting unit is a value obtained by dividing the delay time (phase difference) according to the number of stages of the first stage number data Ds1 calculated based on the reference clock signal CLKr in the master DLL circuit 11 by an integer.

上記したように、マスタDLL回路11は、基準クロック信号CLKrに対して、その信号CLKrの1周期分遅延させた、即ち360度の位相差の比較クロック信号CLKcを生成するように、第1段数データDs1を生成する。例えば、第1クロック信号CLK1に対する第2クロック信号CLK2の位相差を45度(360度の8分の1)毎に設定する場合、位相設定データDpは、「000」〜「111」の3ビットのデータで構成され、10進数で「0」〜「7」まで値をとる。   As described above, the master DLL circuit 11 has the first stage number so as to generate the comparison clock signal CLKc delayed by one cycle of the signal CLKr with respect to the reference clock signal CLKr, that is, the phase difference of 360 degrees. Data Ds1 is generated. For example, when the phase difference of the second clock signal CLK2 with respect to the first clock signal CLK1 is set every 45 degrees (1/8 of 360 degrees), the phase setting data Dp is 3 bits from “000” to “111” It takes a value from “0” to “7” in decimal.

そして、第1クロック信号CLK1に対して第2クロック信号CLK2の位相を45°遅らせるときには、位相設定データDpは「001」となり、位相を90°遅らせるときには、位相設定データDpは「010」となる。   When the phase of the second clock signal CLK2 is delayed by 45 ° with respect to the first clock signal CLK1, the phase setting data Dp is “001”, and when the phase is delayed by 90 °, the phase setting data Dp is “010”. .

位相調整回路31は、第1段数データDs1及び位相設定データDpに基づいて、第2遅延回路32にて第1クロック信号CLK1に対して第2クロック信号CLK2を位相設定データDpで設定される位相差にするための第2遅延回路32の入出力端子間に直列接続する遅延素子の段数(位相調整段数)を算出する。さらに、位相調整回路31は、段数増加信号Supと段数減少信号Sdnに基づいて、段数の変動を抑制する。そして、位相調整回路31は、その算出した位相調整段数を第2段数データDs2として出力する。   Based on the first stage number data Ds1 and the phase setting data Dp, the phase adjustment circuit 31 sets the second clock signal CLK2 to the first clock signal CLK1 by the second delay circuit 32 based on the phase setting data Dp. The number of delay elements connected in series between the input and output terminals of the second delay circuit 32 for making a phase difference (the number of phase adjustment stages) is calculated. Further, the phase adjustment circuit 31 suppresses fluctuations in the number of stages based on the stage number increase signal Sup and the stage number decrease signal Sdn. Then, the phase adjustment circuit 31 outputs the calculated phase adjustment stage number as second stage number data Ds2.

図2に示すように、位相調整回路31は、オア回路41、第1及び第2バッファ回路42,43、第1及び第2D−FF(フリップフロップ)回路44,45、第1及び第2ラッチ回路46,47、加算器48、乗算器49、除算器50を有している。   As shown in FIG. 2, the phase adjustment circuit 31 includes an OR circuit 41, first and second buffer circuits 42 and 43, first and second D-FF (flip-flop) circuits 44 and 45, and first and second latches. Circuits 46 and 47, an adder 48, a multiplier 49, and a divider 50 are provided.

オア回路41は、マスタDLL回路11から段数増加信号Sup及び段数減少信号Sdnが入力される。オア回路41は、段数増加信号Sup又は段数減少信号SdnがHレベルのときにHレベルの信号を出力し、両信号Sup,SdnがともにLレベルのときにLレベルの信号を出力する。この信号は、第1及び第2バッファ回路42,43を介して段数増減信号Sudとして第1D−FF回路44のクロック入力端子CKに供給される。   The OR circuit 41 receives the stage number increase signal Sup and the stage number decrease signal Sdn from the master DLL circuit 11. The OR circuit 41 outputs an H level signal when the stage number increase signal Sup or the stage number decrease signal Sdn is at an H level, and outputs an L level signal when both the signals Sup and Sdn are at an L level. This signal is supplied to the clock input terminal CK of the first D-FF circuit 44 through the first and second buffer circuits 42 and 43 as the stage number increase / decrease signal Sud.

上記したように、マスタDLL回路11は、Hレベルの段数増加信号Sup又は段数減少信号Sdnを出力し、第1段数データDs1を変更する。つまり、第1D−FF回路44のクロック入力端子CKには、第1段数データDs1が変動するときにHレベルの段数増減信号Sudが入力される。   As described above, the master DLL circuit 11 outputs the H level stage number increase signal Sup or the stage number decrease signal Sdn, and changes the first stage number data Ds1. In other words, the stage number increase / decrease signal Sud of H level is input to the clock input terminal CK of the first D-FF circuit 44 when the first stage number data Ds1 fluctuates.

第1D−FF回路44は、そのデータ入力端子Dに段数減少信号Sdnが入力される。第1D−FF回路44は、クロック入力端子CKに入力されるHレベルの信号、つまりHレベルの段数増減信号Sudに応答して段数減少信号Sdnのレベルと等しいレベルの補正信号Srを出力端子Qから出力する。   The first D-FF circuit 44 receives the stage number reduction signal Sdn at its data input terminal D. The first D-FF circuit 44 outputs a correction signal Sr having a level equal to the level of the stage number decrease signal Sdn in response to the H level signal input to the clock input terminal CK, that is, the H level stage number increase / decrease signal Sud. Output from.

第1D−FF回路44は、第1段数データDs1に「1」を増加するときにLレベルの補正信号Srを出力し、第1段数データDs1から「1」を減少するときにHレベルの補正信号Srを出力する。   The first D-FF circuit 44 outputs an L level correction signal Sr when “1” is increased to the first stage number data Ds1, and is corrected to H level when “1” is decreased from the first stage number data Ds1. The signal Sr is output.

第2D−FF回路45は、そのクロック入力端子CKに基準クロック信号CLKrが入力され、その出力端子Qから同期補正信号Srsを加算器48に出力する。第2D−FF回路45は、基準クロック信号CLKrがHレベルに立ち上がると、補正信号Srのレベルを保持し、その保持したレベルと等しいレベルの同期補正信号Srsとして出力する。   The second D-FF circuit 45 receives the reference clock signal CLKr at its clock input terminal CK, and outputs the synchronization correction signal Srs from its output terminal Q to the adder 48. When the reference clock signal CLKr rises to the H level, the second D-FF circuit 45 holds the level of the correction signal Sr and outputs it as a synchronization correction signal Srs having a level equal to the held level.

加算器48は、マスタDLL回路11から第1段数データDs1が入力され、第2D−FF回路45から同期補正信号Srsが入力される。加算器48は、その第1段数データDs1に、同期補正信号Srsに応じた補正値を加算して補正第1段数データCDs1を算出し、その補正第1段数データCDs1を出力する。   The adder 48 receives the first stage number data Ds1 from the master DLL circuit 11 and the synchronization correction signal Srs from the second D-FF circuit 45. The adder 48 adds the correction value corresponding to the synchronization correction signal Srs to the first stage number data Ds1, calculates the corrected first stage number data CDs1, and outputs the corrected first stage number data CDs1.

詳しくは、加算器48は、Hレベルの同期補正信号Srsを入力すると、第1段数データDs1に対して「1」を加算し、Lレベルの同期補正信号Srsを入力すると、第1段数データDs1に「0」を加算する。すなわち、加算器48は、第1段数データDs1がマスタDLL回路11にて「1」を減少したときに該第1段数データDs1に「1」を加算して補正し、第1段数データDs1がマスタDLL回路11にて「1」を増加したときに該第1段数データDs1に「0」を加算して補正する。「0」を加算する場合は、第1段数データDs1の値と等しい値の第2段数データDs2を出力する。言い換えれば、第1段数データDs1が「1」を増加したときにその第1段数データDs1を補正しないといえる。   Specifically, when the H level synchronization correction signal Srs is input, the adder 48 adds “1” to the first stage number data Ds1, and when the L level synchronization correction signal Srs is input, the adder 48 receives the first stage number data Ds1. "0" is added to. That is, the adder 48 corrects the first stage number data Ds1 by adding “1” to the first stage number data Ds1 when the first stage number data Ds1 decreases “1” in the master DLL circuit 11. When the master DLL circuit 11 increases “1”, “0” is added to the first stage number data Ds1 for correction. When adding “0”, the second stage number data Ds2 having a value equal to the value of the first stage number data Ds1 is output. In other words, it can be said that the first stage number data Ds1 is not corrected when the first stage number data Ds1 increases “1”.

第1ラッチ回路46は、例えば位相設定データDpのビット数と同じ数のD−FF回路で構成されている。第1ラッチ回路46は、基準クロック信号CLKrに応答して、位相設定データDpを保持し、その保持データと等しいレベルの同期位相設定データDpsを出力する。   The first latch circuit 46 is composed of, for example, the same number of D-FF circuits as the number of bits of the phase setting data Dp. The first latch circuit 46 holds the phase setting data Dp in response to the reference clock signal CLKr, and outputs synchronous phase setting data Dps having a level equal to the held data.

乗算器49は、加算器48から補正第1段数データCDs1が入力され、第1ラッチ回路46から同期位相設定データDpsが入力される。乗算器49は、補正第1段数データCDs1に同期位相設定データDpsを乗算し、その乗算結果を乗算値データDmとして出力する。   The multiplier 49 receives the corrected first stage number data CDs 1 from the adder 48, and receives the synchronization phase setting data Dps from the first latch circuit 46. The multiplier 49 multiplies the corrected first stage number data CDs1 by the synchronization phase setting data Dps and outputs the multiplication result as multiplication value data Dm.

除算器50には、乗算器49から乗算値データDmが入力され、位相設定データDpのビット数が入力される。除算器50は、乗算値データDmを位相設定データDpのビット数に応じた値であって、そのビット数により表現される数値の個数であり、マスタDLL回路11における位相差である360度を分割する数(本実施形態では位相設定データDpが3ビットなので「8」)で除算し、その除算結果を除算値データDdとして出力する。   The divider 50 receives the multiplication value data Dm from the multiplier 49 and the number of bits of the phase setting data Dp. The divider 50 is a value corresponding to the number of bits of the phase setting data Dp for the multiplication value data Dm, and is the number of numerical values expressed by the number of bits, and 360 degrees that is the phase difference in the master DLL circuit 11 is obtained. Divide by the number to be divided (in this embodiment, the phase setting data Dp is 3 bits, so “8”), and the division result is output as division value data Dd.

従って、乗算器49及び除算器50は、位相設定データDpで設定された位相まで第1クロック信号CLK1を遅らせる遅延素子の段数を算出するようになっている。
なお、乗算器49は、2進数の位相設定データDpに含まれる「1」のビット位置に応じて補正第1段数データCDs1を左シフトした値を合計することにより、乗算値データDmを生成する。除算器50は、位相設定データDpのビット数に応じて乗算値データDmの下位ビットを削除する(切り捨てる、又は右シフトする)ことにより、除算値データDdを生成する。
Accordingly, the multiplier 49 and the divider 50 calculate the number of stages of delay elements that delay the first clock signal CLK1 to the phase set by the phase setting data Dp.
Note that the multiplier 49 generates the multiplication value data Dm by summing the values obtained by shifting the correction first stage number data CDs1 to the left according to the bit position of “1” included in the binary phase setting data Dp. . The divider 50 generates the division value data Dd by deleting (truncating or shifting to the right) the lower bits of the multiplication value data Dm according to the number of bits of the phase setting data Dp.

第2ラッチ回路47は、除算値データDdを、基準クロック信号CLKrのHレベルへの立ち上がりに同期して保持し、その保持値の信号を第2段数データDs2として出力する。   The second latch circuit 47 holds the divided value data Dd in synchronization with the rising of the reference clock signal CLKr to the H level, and outputs the signal of the held value as the second stage number data Ds2.

このような構成により、位相調整回路31は、以下の式に基づいて第2段数データDs2を生成する。
Ds2=CDs1×Dp/2
なお、「X」は位相設定データDpのビット数である。
With such a configuration, the phase adjustment circuit 31 generates the second stage number data Ds2 based on the following equation.
Ds2 = CDs1 × Dp / 2 X
“X” is the number of bits of the phase setting data Dp.

つまり、位相調整回路31は、位相設定データDpで設定された第1クロック信号CLK1の位相をずらす量と基準クロック信号CLKrの位相をずらした量(360°)の比率を補正第1段数データCDs1に掛けて、位相設定データDpで設定した位相まで第1クロック信号CLK1を遅延させる第2遅延回路32の遅延素子の段数を算出する。   That is, the phase adjustment circuit 31 corrects the ratio of the amount of shifting the phase of the first clock signal CLK1 set by the phase setting data Dp and the amount of shifting the phase of the reference clock signal CLKr (360 °) to the corrected first stage number data CDs1. As a result, the number of stages of delay elements of the second delay circuit 32 that delays the first clock signal CLK1 to the phase set by the phase setting data Dp is calculated.

上記のように、補正第1段数データCDs1は、第1段数データDs1に「1」が加算される場合、加算器48にて第1段数データDs1に「0」を加算し、第1段数データDs1から「1」が減算される場合、加算器48にて第1段数データDs1に「1」を加算する補正を行う。   As described above, in the corrected first stage number data CDs1, when “1” is added to the first stage number data Ds1, the adder 48 adds “0” to the first stage number data Ds1, and the first stage number data When “1” is subtracted from Ds1, the adder 48 performs correction for adding “1” to the first stage number data Ds1.

従って、オア回路41、第1及び第2バッファ回路42,43、第1及び第2D−FF回路44,45を含む補正データ生成回路は、第1段数データDs1の増減に対して逆に増減する同期補正信号Srsを生成する。加算器48は、第1段数データDs1に同期補正信号Srsを加算し、その結果を補正第1段数データCDs1として出力する。従って、第1段数データDs1が「n−1」と「n」を交互に繰り返すとき、第1段数データDs1の変化が、同期補正信号Srsによって打ち消され、安定した補正第1段数データCDs1が加算器48から出力される。この結果、位相調整回路31は、第1段数データDs1の値が、「n−1」と「n」との間を交互に遷移している状態でも第2段数データDs2が変動しないようにしている。   Accordingly, the correction data generation circuit including the OR circuit 41, the first and second buffer circuits 42 and 43, and the first and second D-FF circuits 44 and 45 increases or decreases in reverse with respect to the increase or decrease of the first stage number data Ds1. A synchronization correction signal Srs is generated. The adder 48 adds the synchronization correction signal Srs to the first stage number data Ds1, and outputs the result as corrected first stage number data CDs1. Accordingly, when the first stage number data Ds1 repeats “n−1” and “n” alternately, the change in the first stage number data Ds1 is canceled by the synchronization correction signal Srs, and the stable corrected first stage number data CDs1 is added. Output from the device 48. As a result, the phase adjustment circuit 31 prevents the second stage number data Ds2 from fluctuating even when the value of the first stage number data Ds1 is alternately changing between “n−1” and “n”. Yes.

次に、第1段数データDs1が「599」と「600」を交互に遷移するときの位相調整回路31の動作について図3に従って説明する。なお、構成部材については、図1及び図2を参照されたい。   Next, the operation of the phase adjustment circuit 31 when the first stage number data Ds1 alternately changes between “599” and “600” will be described with reference to FIG. For the constituent members, refer to FIGS. 1 and 2.

まず、時刻t1において、第1段数データDs1が「599」になっている状態で、基準クロック信号CLKrがHレベルに立ち上がると、第2カウンタ回路C2は、その基準クロック信号CLKrのHレベルへの立ち上がりをカウントし、第2カウント値Vc2が「1」となる。   First, at time t1, when the reference clock signal CLKr rises to the H level while the first stage number data Ds1 is “599”, the second counter circuit C2 changes the reference clock signal CLKr to the H level. The rising edge is counted, and the second count value Vc2 becomes “1”.

そして、時刻t2において、即ち、時刻t1から数えて3番目の基準クロック信号CLKrがHレベルに立ち上がると、第2カウンタ回路C2は、その基準クロック信号CLKrのHレベルへの立ち上がりをカウントし、第2カウント値Vc2が「3」となる。これにより、第2カウント値Vc2が段数増加値Vcuと等しくなるため、第2カウンタ回路C2は、Hレベルの段数増加信号Supを出力する。Hレベルの段数増加信号Supを入力すると、オア回路41は、Hレベルの段数増減信号Sudを出力する。そして、Hレベルの段数増減信号Sudを入力すると、第1D−FF回路44は、Lレベルの段数減少信号Sdnに応じてLレベルの補正信号Srを出力する。   At time t2, that is, when the third reference clock signal CLKr counted up from time t1 rises to H level, the second counter circuit C2 counts rising of the reference clock signal CLKr to H level, 2 The count value Vc2 is “3”. As a result, the second count value Vc2 becomes equal to the stage number increase value Vcu, so that the second counter circuit C2 outputs an H level stage number increase signal Sup. When an H level stage increase signal Sup is input, the OR circuit 41 outputs an H level stage increase / decrease signal Sud. When the H level stage increase / decrease signal Sud is input, the first D-FF circuit 44 outputs an L level correction signal Sr in response to the L level stage number decrease signal Sdn.

そして、時刻t3において、次に基準クロック信号CLKrがHレベルに立ち上がると、遅延制御回路23は、第1段数データDs1に「1」を加算して「600」にする。また、第2D−FF回路45は、Lレベルの補正信号Srと同じレベルの同期補正信号Srsを出力する。これにより、加算器48は、第1段数データDs1に「0」を加算して補正第1段数データCDs1が「600」となる。   Then, at time t3, when the reference clock signal CLKr rises to the H level next time, the delay control circuit 23 adds “1” to the first stage number data Ds1 to make “600”. The second D-FF circuit 45 outputs a synchronization correction signal Srs having the same level as the L level correction signal Sr. As a result, the adder 48 adds “0” to the first stage number data Ds1, and the corrected first stage number data CDs1 becomes “600”.

ここで、位相設定データDpを「010」とすると、補正第1段数データCDs1を乗算器49、除算器50にて上記の処理を行うことで、第2段数データDs2を「150」にする。また、第1段数データDs1が「600」になると、第2カウンタ回路C2は、Lレベルの段数増加信号Supを出力する。そして、Lレベルの段数増加信号Supを入力すると、オア回路41は、Lレベルの段数増減信号Sudを出力する。   Here, when the phase setting data Dp is “010”, the corrected first stage number data CDs1 is processed by the multiplier 49 and the divider 50, thereby setting the second stage number data Ds2 to “150”. When the first stage number data Ds1 becomes “600”, the second counter circuit C2 outputs an L level stage number increase signal Sup. When the L level stage increase signal Sup is input, the OR circuit 41 outputs an L level stage increase / decrease signal Sud.

そして、時刻t4において、次に基準クロック信号CLKrがHレベルに立ち上がると、第1カウンタ回路C1は、その基準クロック信号CLKrのHレベルへの立ち上がりをカウントし、第1カウント値Vc1が「1」となる。   At time t4, when the reference clock signal CLKr rises to the H level next, the first counter circuit C1 counts the rise of the reference clock signal CLKr to the H level, and the first count value Vc1 is “1”. It becomes.

そして、時刻t5において、即ち、時刻t4から数えて3番目の基準クロック信号CLKrがHレベルに立ち上がると、第1カウンタ回路C1は、その基準クロック信号CLKrのHレベルへの立ち上がりをカウントし、第1カウント値Vc1が「3」となる。これにより、第1カウント値Vc1が段数減少値Vcdと等しくなるため、第1カウンタ回路C1は、Hレベルの段数減少信号Sdnを出力する。Hレベルの段数減少信号Sdnを入力すると、オア回路41は、Hレベルの段数増減信号Sudを出力する。そして、Hレベルの段数増減信号Sudを入力すると、第1D−FF回路44は、Hレベルの段数減少信号Sdnに応じて補正信号Srを出力する。   Then, at time t5, that is, when the third reference clock signal CLKr counted up from time t4 rises to H level, the first counter circuit C1 counts rising of the reference clock signal CLKr to H level, The one count value Vc1 is “3”. As a result, the first count value Vc1 becomes equal to the stage number decrease value Vcd, and therefore the first counter circuit C1 outputs an H level stage number decrease signal Sdn. When an H level stage number decrease signal Sdn is input, the OR circuit 41 outputs an H level stage number increase signal Sud. When the H-level stage number increase / decrease signal Sud is input, the first D-FF circuit 44 outputs the correction signal Sr according to the H-level stage number decrease signal Sdn.

そして、時刻t6において、基準クロック信号CLKrがHレベルに立ち上がると、遅延制御回路23は、第1段数データDs1から「1」を減算して「599」にする。また、第2D−FF回路45は、Hレベルの補正信号Srと同じレベルの同期補正信号Srsを出力する。これにより、加算器48は、「599」の第1段数データDs1に「1」を加算して補正第1段数データCDs1を「600」にする。そして、補正第1段数データCDs1を乗算器49、除算器50にて上記の処理を行うことで、第2段数データDs2を「150」にする。そして、位相調整回路31は、上記の動作を繰り返すようになっている。   At time t6, when the reference clock signal CLKr rises to H level, the delay control circuit 23 subtracts “1” from the first stage number data Ds1 to obtain “599”. The second D-FF circuit 45 outputs a synchronization correction signal Srs having the same level as the H level correction signal Sr. As a result, the adder 48 adds “1” to the first stage number data Ds1 of “599” to set the corrected first stage number data CDs1 to “600”. Then, the corrected first stage number data CDs1 is processed by the multiplier 49 and the divider 50, whereby the second stage number data Ds2 is set to “150”. The phase adjustment circuit 31 repeats the above operation.

従って、位相調整回路31は、第1段数データDs1が「600」から「599」に減少するとき、第1段数データDs1に「1」を加算して「600」の補正第1段数データCDs1を出力する。また、位相調整回路31は、第1段数データDs1が「599」から「600」に増加するとき、第1段数データDs1に「0」を加算して「600」の補正第1段数データCDs1を出力する。この結果、位相調整回路31は、第1段数データDs1が「599」と「600」を交互に遷移している状態で、「150」の第2段数データDs2を維持することができる。   Therefore, when the first stage number data Ds1 decreases from “600” to “599”, the phase adjustment circuit 31 adds “1” to the first stage number data Ds1 to obtain the corrected first stage number data CDs1 of “600”. Output. Further, when the first stage number data Ds1 increases from “599” to “600”, the phase adjustment circuit 31 adds “0” to the first stage number data Ds1 to obtain the corrected first stage number data CDs1 of “600”. Output. As a result, the phase adjustment circuit 31 can maintain the second stage number data Ds2 of “150” in a state where the first stage number data Ds1 is alternately changing between “599” and “600”.

第2遅延回路32は、位相調整回路31から第2段数データDs2が入力され、外部から第1クロック信号CLK1が入力される。第2遅延回路32は、第2段数データDs2に応じた遅延素子の段数を直列に接続することで、外部からの第1クロック信号CLK1を位相設定データDpに基づいた位相(本実施形態では、90°)まで遅延させた第2クロック信号CLK2を生成している。   The second delay circuit 32 receives the second stage number data Ds2 from the phase adjustment circuit 31, and receives the first clock signal CLK1 from the outside. The second delay circuit 32 connects the number of stages of the delay elements according to the second stage number data Ds2 in series, so that the first clock signal CLK1 from the outside is phased based on the phase setting data Dp (in this embodiment, The second clock signal CLK2 delayed to 90 ° is generated.

従って、第2遅延回路32は、第1段数データDs1が「n−1」と「n」を交互に遷移している場合、一定の第2段数データDs2を入力するため、第2クロック信号CLK2を安定して生成することができる。   Therefore, when the first stage number data Ds1 is alternately transitioning between “n−1” and “n”, the second delay circuit 32 inputs the constant second stage number data Ds2, and therefore the second clock signal CLK2 Can be stably generated.

以上記述したように、本実施の形態によれば、以下の効果を奏する。
(1)スレーブDLL回路12は、第1段数データDs1が「n−1」と「n」を交互に遷移している場合、第1段数データDs1の変化に応じた補正を行って一定の第2段数データDs2を生成するようにした。従って、スレーブDLL回路12は、補正された一定の第2段数データに基づいて第2クロック信号CLK2を生成するため、第2クロック信号CLK2のジッタを低減することができる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) When the first stage number data Ds1 alternately transitions between “n−1” and “n”, the slave DLL circuit 12 performs a correction according to the change in the first stage number data Ds1 and performs a certain first step. Two-stage data Ds2 is generated. Therefore, since the slave DLL circuit 12 generates the second clock signal CLK2 based on the corrected constant second stage number data, the jitter of the second clock signal CLK2 can be reduced.

(2)スレーブDLL回路12は、第1段数データDs1が「n−1」と「n」を交互に遷移している場合、第1段数データDs1の変化に応じた同期補正信号Srsを生成し、第1段数データDs1に同期補正信号Srsを加算して「n」の補正第1段数データDs1を生成するようにした。従って、スレーブDLL回路12は、補正された「n」の補正第1段数データCDs1に基づいて第2段数データDs2を生成し、第2クロック信号CLK2のジッタを低減することができる。   (2) The slave DLL circuit 12 generates the synchronization correction signal Srs according to the change in the first stage number data Ds1 when the first stage number data Ds1 is alternately changed between “n−1” and “n”. The synchronization correction signal Srs is added to the first stage number data Ds1 to generate the corrected first stage number data Ds1 of “n”. Therefore, the slave DLL circuit 12 can generate the second stage number data Ds2 based on the corrected “n” corrected first stage number data CDs1, and reduce the jitter of the second clock signal CLK2.

(3)マスタDLL回路11は、第1段数データDs1を変更するときに、その変化に応じた段数増加信号Sup及び段数減少信号Sdnを生成する。スレーブDLL回路12は、その段数増加信号Sup及び段数減少信号Sdnに基づいて第2段数データを生成するようにした。従って、デジタルDLL回路10は、簡単な回路構成にて、第2クロック信号CLK2のジッタを低減することができる。   (3) When changing the first stage number data Ds1, the master DLL circuit 11 generates a stage number increase signal Sup and a stage number decrease signal Sdn according to the change. The slave DLL circuit 12 generates the second stage number data based on the stage number increase signal Sup and the stage number decrease signal Sdn. Therefore, the digital DLL circuit 10 can reduce the jitter of the second clock signal CLK2 with a simple circuit configuration.

(4)マスタDLL回路11は、第1段数データDs1を増加するときにHレベルの段数増加信号Supを出力し、第1段数データDs1を減少するときにHレベルの段数減少信号Sdnを出力する。スレーブDLL回路12は、Hレベルの段数増加信号Supを入力すると、Lレベルの同期補正信号Srsを生成し、Hレベルの段数減少信号Sdnを入力すると、Hレベルの同期補正信号Srsを生成するようにした。従って、デジタルDLL回路10は、簡単な回路構成にて、第2クロック信号CLK2のジッタを低減することができる。   (4) The master DLL circuit 11 outputs an H level stage number increase signal Sup when increasing the first stage number data Ds1, and outputs an H level stage number decrease signal Sdn when decreasing the first stage number data Ds1. . The slave DLL circuit 12 generates an L level synchronization correction signal Srs when an H level stage number increase signal Sup is input, and generates an H level synchronization correction signal Srs when an H level stage number decrease signal Sdn is input. I made it. Therefore, the digital DLL circuit 10 can reduce the jitter of the second clock signal CLK2 with a simple circuit configuration.

(5)スレーブDLL回路12は、補正第1段数データCDs1及び位相設定データDpに基づいて、第2段数データDs2を生成するようにした。従って、デジタルDLL回路10は、第2クロック信号CLK2の位相を位相設定データDpに基づいた位相にしつつ、第2クロック信号CLK2のジッタを低減することができる。   (5) The slave DLL circuit 12 generates the second stage number data Ds2 based on the corrected first stage number data CDs1 and the phase setting data Dp. Therefore, the digital DLL circuit 10 can reduce the jitter of the second clock signal CLK2 while setting the phase of the second clock signal CLK2 based on the phase setting data Dp.

(6)遅延制御回路23の第1カウンタ回路C1は、位相比較信号ScがHレベルのときに基準クロック信号CLKrのパルスをカウントアップし、その第1カウント値Vc1が段数減少値Vcdに達すると、Hレベルの段数減少信号Sdnを出力する。また、遅延制御回路23の第2カウンタ回路C2は、位相比較信号ScがLレベルのときに基準クロック信号CLKrのパルスをカウントアップし、その第2カウント値Vc2が段数増加値Vcuに達すると、Hレベルの段数増加信号Supを出力するようにした。従って、遅延制御回路23は、短時間での位相比較信号ScのHレベルとLレベルの切り替わり、即ち基準クロック信号CLKrに対する比較クロック信号CLKcの位相の進遅に対して過度に追従することなく安定した第1段数データDs1を生成することができる。   (6) The first counter circuit C1 of the delay control circuit 23 counts up the pulse of the reference clock signal CLKr when the phase comparison signal Sc is at the H level, and when the first count value Vc1 reaches the stage number decrease value Vcd. , An H level stage number decrease signal Sdn is output. The second counter circuit C2 of the delay control circuit 23 counts up the pulse of the reference clock signal CLKr when the phase comparison signal Sc is at the L level, and when the second count value Vc2 reaches the stage number increase value Vcu, An H level stage number increase signal Sup is output. Accordingly, the delay control circuit 23 is stable without excessively following the switching of the H level and L level of the phase comparison signal Sc in a short time, that is, the advance / delay of the phase of the comparison clock signal CLKc with respect to the reference clock signal CLKr. The first stage number data Ds1 thus generated can be generated.

(7)マスタDLL回路11の第1遅延回路21に含まれる遅延素子と、スレーブDLL回路12の第2遅延回路32に含まれる遅延素子は、互いに同一の遅延特性を有するようにした。従って、デジタルDLL回路10は、精度良く位相設定データDpに基づいた位相の第2クロック信号CLK2を生成することができる。   (7) The delay element included in the first delay circuit 21 of the master DLL circuit 11 and the delay element included in the second delay circuit 32 of the slave DLL circuit 12 have the same delay characteristics. Therefore, the digital DLL circuit 10 can generate the second clock signal CLK2 having a phase based on the phase setting data Dp with high accuracy.

尚、上記実施の形態は、以下の態様で実施してもよい。
・本実施形態では、位相調整回路31は、遅延制御回路23にて第1段数データDs1に「1」を減算される場合、第1段数データDs1に「1」を加算して補正第1段数データDs1を生成していた。これに限らず、位相調整回路31は、遅延制御回路23にて第1段数データDs1が「1」を加算される場合、第1段数データDs1に「1」を減算して補正第1段数データDs1を生成してもよい。
In addition, you may implement the said embodiment in the following aspects.
In the present embodiment, when the delay control circuit 23 subtracts “1” from the first stage number data Ds1, the phase adjustment circuit 31 adds “1” to the first stage number data Ds1 and corrects the first stage number. Data Ds1 was generated. The phase adjustment circuit 31 is not limited to this. When the delay control circuit 23 adds “1” to the first stage number data Ds1, the phase adjustment circuit 31 subtracts “1” from the first stage number data Ds1 to correct the first stage number data Ds1. Ds1 may be generated.

従って、第1段数データDs1が「n−1」と「n」を交互に遷移している状態において、位相調整回路31は、「n−1」の補正第1段数データCDs1に基づいて、第2段数データDs2を生成することができる。   Therefore, in the state where the first stage number data Ds1 alternately transits between “n−1” and “n”, the phase adjustment circuit 31 performs the first step based on the corrected first stage number data CDs1 of “n−1”. Two-stage data Ds2 can be generated.

この結果、上記の状態において、第2遅延回路32は、常に一定の第2段数データDs2の遅延素子を直列に接続することため、従来に比べて第2クロック信号CLK2のジッタを低減することができる。   As a result, in the above state, the second delay circuit 32 always connects the delay elements of the constant second stage number data Ds2 in series, so that the jitter of the second clock signal CLK2 can be reduced compared to the conventional case. it can.

・本実施形態では、第1遅延回路21は、基準クロック信号CLKrを入力していたが、第1クロック信号CLK1を入力するようにしてもよい。このようにしても、上記の実施形態と同様の効果を得ることができる。   In the present embodiment, the first delay circuit 21 receives the reference clock signal CLKr, but may receive the first clock signal CLK1. Even if it does in this way, the effect similar to said embodiment can be acquired.

・本実施形態では、遅延制御回路23は、第1カウンタ回路C1の第1カウント値Vc1と段数減少値Vcdが等しくなると、第1段数データDs1に「1」を減算していた。一方、遅延制御回路23は、第2カウンタ回路C2の第2カウント値Vc2と段数増加値Vcuが等しくなると、第1段数データDs1に「1」を加算していた。   In the present embodiment, the delay control circuit 23 subtracts “1” from the first stage number data Ds1 when the first count value Vc1 of the first counter circuit C1 is equal to the stage number decrease value Vcd. On the other hand, the delay control circuit 23 adds “1” to the first stage number data Ds1 when the second count value Vc2 of the second counter circuit C2 becomes equal to the stage number increase value Vcu.

これに限らず、遅延制御回路23は、Hレベルの位相比較信号Scを入力すると、第1段数データDs1に「1」を減算する。また、遅延制御回路23は、段数減少信号SdnをスレーブDLL回路12に出力する。反対に、遅延制御回路23は、Lレベルの位相比較信号Scを入力すると、第1段数データDs1に「1」を加算し、段数増加信号SupをスレーブDLL回路12に出力するようにしてもよい。   The delay control circuit 23 subtracts “1” from the first stage number data Ds1 when the H level phase comparison signal Sc is input. Further, the delay control circuit 23 outputs a stage number reduction signal Sdn to the slave DLL circuit 12. On the contrary, when the L level phase comparison signal Sc is input, the delay control circuit 23 may add “1” to the first stage number data Ds 1 and output the stage number increase signal Sup to the slave DLL circuit 12. .

従って、第1段数データDs1が「n−1」と「n」を交互に遷移している状態において、上記の実施形態より第1段数データDs1の増減する頻度が多くなるが、デジタルDLL回路10は、同じ値の第2段数データDs2を維持できるため、従来に比べて第2クロック信号CLK2のジッタを低減することができる。これに伴い、デジタルDLL回路10は、第1及び第2カウンタ回路C1,C2を削除することができ、回路規模を縮小することができる。   Therefore, in the state in which the first stage number data Ds1 is alternately changed between “n−1” and “n”, the frequency of the first stage number data Ds1 increasing or decreasing is higher than that in the above embodiment, but the digital DLL circuit 10 Since the second stage number data Ds2 having the same value can be maintained, the jitter of the second clock signal CLK2 can be reduced as compared with the conventional case. Accordingly, the digital DLL circuit 10 can delete the first and second counter circuits C1 and C2, and can reduce the circuit scale.

・第2遅延回路32の遅延素子は、第1遅延回路21の遅延素子と互いに同一の構成であれば、その段数が第1遅延回路21の遅延素子の段数と異なっていてもよい。このようにしても、上記の実施形態と同様の効果を得ることができる。   As long as the delay elements of the second delay circuit 32 have the same configuration as the delay elements of the first delay circuit 21, the number of stages may be different from the number of stages of the delay elements of the first delay circuit 21. Even if it does in this way, the effect similar to said embodiment can be acquired.

・位相調整回路31は、第1段数データDs1に対して、そのデータの変化に応じて「0」又は「1」の同期補正信号Srsを生成し、その同期補正信号Srsを第1段数データDs1に加算して補正第1段数データCDs1を生成するようにした。つまり、乗算器49に供給される補正第1段数データCDs1の値が変化しなければよい。このため、例えば、第1段数データDs1に「1」を加算した結果の補正第1段数データCDs1と、第1段数データDs1とが供給される選択回路を含み、第1段数データDs1の変化、つまり段数減少信号Sdnと段数増加信号Supに基づいて、同期補正信号Srs又は第1段数データDs1を乗算器49に供給するようにしてもよい。   The phase adjustment circuit 31 generates a synchronization correction signal Srs of “0” or “1” for the first stage number data Ds1 according to the change in the data, and uses the synchronization correction signal Srs as the first stage number data Ds1. To the corrected first stage number data CDs1. That is, it is sufficient that the value of the corrected first stage number data CDs1 supplied to the multiplier 49 does not change. Therefore, for example, it includes a selection circuit to which the corrected first stage number data CDs1 obtained by adding “1” to the first stage number data Ds1 and the first stage number data Ds1 are supplied, and the change in the first stage number data Ds1. That is, the synchronization correction signal Srs or the first stage number data Ds1 may be supplied to the multiplier 49 based on the stage number decrease signal Sdn and the stage number increase signal Sup.

上記各実施形態に関し、以下の付記を開示する。
(付記1)
基準クロック信号を所定の位相まで遅延させるために使用する遅延素子の段数を示す第1段数データを生成する段数データ生成回路と、
前記第1段数データに基づいて使用する遅延素子の段数を示す第2段数データを生成し、前記第2段数データに応じた段数の遅延素子にて第1クロック信号を遅延させて第2クロック信号を生成し、前記第1段数データが2つの値の間で遷移している場合、前記第1段数データの変化に応じた補正を行って前記第2段数データを生成する信号生成回路と、
を有することを特徴とするデジタル遅延回路。
(付記2)
前記信号生成回路は、
前記第1段数データの変化に応じた補正データを生成し、前記第1段数データに前記補正データを加算し、その加算結果に応じて前記第2段数データを生成すること、
を特徴とする付記1に記載のデジタル遅延回路。
(付記3)
前記段数データ生成回路は、前記段数データを変更するときに、その変更に応じた段数変更信号を出力し、
前記信号生成回路は、前記段数変更信号に応じて前記補正データを生成すること、
を特徴とする付記2に記載のデジタル遅延回路。
(付記4)
前記段数データ生成回路は、前記第1段数データを増加するときに第1の段数変更信号を生成し、前記第1段数データを減少するときに第2の段数変更信号を生成し、
前記信号生成回路は、前記第1の段数変更信号に基づいて第1の値の補正データを生成し、前記第2の段数変更信号に基づいて前記第1の値より1大きい第2の値の補正データを生成すること、
を特徴とする付記1〜3のうちの何れか一項に記載のデジタル遅延回路。
(付記5)
前記段数データ生成回路は、前記第1段数データに前記補正データを加算して生成した補正第1段数データと、前記第1クロック信号と前記第2クロック信号との位相差を設定する位相設定データとに基づいて、前記第2段数データを生成すること、
を特徴とする付記2〜4のうちの何れか一項に記載のデジタル遅延回路。
(付記6)
前記段数データ生成回路は、
前記基準クロック信号を第1段数データにより遅延させた比較クロック信号と前記基準クロック信号の位相を比較し、その比較結果に応じた位相比較信号を出力する位相比較回路と、
前記位相比較信号に応じて前記第1段数データを変更する遅延制御回路と、
を含み、
前記遅延制御回路は、
前記位相比較信号に基づいて、前記基準クロック信号の1周期分の遅延よりも前記比較クロック信号の位相が大きいときにカウントアップし、カウント値と設定値に応じて第1の段数変更信号を出力する第1カウンタ回路と、
前記位相比較信号に基づいて、前記基準クロック信号の1周期分の遅延よりも前記比較クロック信号の位相が小さいときにカウントアップし、カウント値と設定値に応じて第2の段数変更信号を出力する第2カウンタ回路と、
を有し、
前記第1の段数変更信号に応じて前記第1段数データを減少させ、前記第2の段数変更信号に応じて前記第1段数データを増加させる、
ことを特徴とする付記1〜5のうちの何れか一項に記載のデジタル遅延回路。
(付記7)
前記段数データ生成回路に含まれる遅延素子と、前記信号生成回路に含まれる遅延素子は、互いに同一の遅延特性を有している、
ことを特徴とする付記1〜6のうちの何れか一項に記載のデジタル遅延回路。
(付記8)
第1段数データに基づいた段数の遅延素子にて基準クロック信号を遅延させて比較クロック信号を生成する第1遅延回路と、
前記基準クロック信号と前記比較クロック信号との位相を比較する位相比較回路と、
前記位相比較回路の比較結果に基づいて、前記基準クロック信号と前記比較クロック信号との位相を一致させるように前記第1段数データを生成する遅延制御回路と、
前記第1段数データに基づいて、第2段数データを生成する位相調整回路と、
前記第2段数データに基づいた段数の遅延素子にて第1クロック信号から遅延した第2クロック信号を生成する第2遅延回路と、を有し、
位相調整回路は、
前記第1段数データが2つの値の間で遷移している場合、前記第1段数データの変化に応じた補正を行って前記第2段数データを生成することを特徴とするデジタル遅延回路。
(付記9)
基準クロック信号を所定の位相まで遅延させるために使用する遅延素子の段数を示す第1段数データを生成し、前記第1段数データに基づいて使用する遅延素子の段数を示す第2段数データを生成し、前記第2段数データに応じた段数の遅延素子にて第1クロック信号を遅延させて第2クロック信号を生成し、前記第1段数データが2つの値の間で遷移している場合、前記第1段数データの変化に応じた補正を行って前記第2段数データを生成する、
ことを特徴とするデジタル遅延回路の制御方法。
The following notes are disclosed regarding the above embodiments.
(Appendix 1)
A stage number data generation circuit for generating first stage number data indicating the number of stages of delay elements used to delay the reference clock signal to a predetermined phase;
Based on the first stage number data, second stage number data indicating the number of stages of delay elements to be used is generated, and the first clock signal is delayed by a delay element having the number of stages corresponding to the second stage number data, thereby generating a second clock signal. When the first stage number data is transitioned between two values, a signal generation circuit that performs correction according to a change in the first stage number data and generates the second stage number data,
A digital delay circuit comprising:
(Appendix 2)
The signal generation circuit includes:
Generating correction data according to a change in the first stage number data, adding the correction data to the first stage number data, and generating the second stage number data according to the addition result;
2. The digital delay circuit according to appendix 1, wherein:
(Appendix 3)
The stage number data generation circuit, when changing the stage number data, outputs a stage number change signal according to the change,
The signal generation circuit generates the correction data in response to the stage number change signal;
The digital delay circuit according to appendix 2, characterized by:
(Appendix 4)
The stage number data generation circuit generates a first stage number change signal when increasing the first stage number data, and generates a second stage number change signal when decreasing the first stage number data;
The signal generation circuit generates correction data of a first value based on the first stage number change signal, and has a second value that is one greater than the first value based on the second stage number change signal. Generating correction data,
The digital delay circuit according to any one of Appendices 1 to 3, characterized by:
(Appendix 5)
The stage number data generation circuit sets the phase difference between the corrected first stage number data generated by adding the correction data to the first stage number data and the phase difference between the first clock signal and the second clock signal. Generating the second stage number data based on:
The digital delay circuit according to any one of appendices 2 to 4, characterized in that:
(Appendix 6)
The stage number data generation circuit includes:
A phase comparison circuit that compares the phase of the reference clock signal with the reference clock signal delayed by the first stage number data and the phase of the reference clock signal, and outputs a phase comparison signal according to the comparison result;
A delay control circuit that changes the first stage number data according to the phase comparison signal;
Including
The delay control circuit includes:
Based on the phase comparison signal, it counts up when the phase of the comparison clock signal is larger than the delay of one cycle of the reference clock signal, and outputs the first stage number change signal according to the count value and the set value A first counter circuit that
Based on the phase comparison signal, it counts up when the phase of the comparison clock signal is smaller than the delay of one cycle of the reference clock signal, and outputs a second stage number change signal according to the count value and the set value A second counter circuit that
Have
Reducing the first stage number data in response to the first stage number change signal and increasing the first stage number data in response to the second stage number change signal;
The digital delay circuit according to any one of appendices 1 to 5, characterized in that:
(Appendix 7)
The delay element included in the stage number data generation circuit and the delay element included in the signal generation circuit have the same delay characteristics.
The digital delay circuit according to any one of appendices 1 to 6, characterized in that:
(Appendix 8)
A first delay circuit for generating a comparison clock signal by delaying a reference clock signal by a delay element having a number of stages based on the first stage number data;
A phase comparison circuit for comparing phases of the reference clock signal and the comparison clock signal;
A delay control circuit that generates the first stage number data so as to match the phases of the reference clock signal and the comparison clock signal based on a comparison result of the phase comparison circuit;
A phase adjustment circuit for generating second stage number data based on the first stage number data;
A second delay circuit for generating a second clock signal delayed from the first clock signal by the number of stages of delay elements based on the second stage number data,
The phase adjustment circuit
When the first stage number data transitions between two values, the digital delay circuit generates the second stage number data by performing correction according to a change in the first stage number data.
(Appendix 9)
First stage number data indicating the number of stages of delay elements used for delaying the reference clock signal to a predetermined phase is generated, and second stage number data indicating the number of stages of delay elements to be used is generated based on the first stage number data. When a first clock signal is delayed by a delay element having a number of stages corresponding to the second stage number data to generate a second clock signal, and the first stage number data is transitioned between two values, Performing the correction according to the change in the first stage number data to generate the second stage number data,
A method for controlling a digital delay circuit.

10 デジタル遅延回路(デジタルDLL回路)
11 段数データ生成回路(マスタDLL回路)
12 信号生成回路(スレーブDLL回路)
CLK1 第1クロック信号
CLK2 第2クロック信号
CLKr 基準クロック信号
Ds1 第1段数データ
Ds2 第2段数データ
10 Digital delay circuit (Digital DLL circuit)
11-stage data generation circuit (master DLL circuit)
12 Signal generation circuit (slave DLL circuit)
CLK1 First clock signal CLK2 Second clock signal CLKr Reference clock signal Ds1 First stage number data Ds2 Second stage number data

Claims (6)

基準クロック信号を所定の位相まで遅延させるために使用する遅延素子の段数を示す第1段数データを生成する段数データ生成回路と、
前記第1段数データに基づいて使用する遅延素子の段数を示す第2段数データを生成し、前記第2段数データに応じた段数の遅延素子にて第1クロック信号を遅延させて第2クロック信号を生成し、前記第1段数データが2つの値の間で遷移している場合、前記第1段数データの変化に応じた補正を行って前記第2段数データを生成する信号生成回路と、
を有することを特徴とするデジタル遅延回路。
A stage number data generation circuit for generating first stage number data indicating the number of stages of delay elements used to delay the reference clock signal to a predetermined phase;
Based on the first stage number data, second stage number data indicating the number of stages of delay elements to be used is generated, and the first clock signal is delayed by a delay element having the number of stages corresponding to the second stage number data, thereby generating a second clock signal. When the first stage number data is transitioned between two values, a signal generation circuit that performs correction according to a change in the first stage number data and generates the second stage number data,
A digital delay circuit comprising:
前記信号生成回路は、
前記第1段数データの変化に応じた補正データを生成し、前記第1段数データに前記補正データを加算し、その加算結果に応じて前記第2段数データを生成すること、
を特徴とする請求項1に記載のデジタル遅延回路。
The signal generation circuit includes:
Generating correction data according to a change in the first stage number data, adding the correction data to the first stage number data, and generating the second stage number data according to the addition result;
The digital delay circuit according to claim 1.
前記段数データ生成回路は、前記段数データを変更するときに、その変更に応じた段数変更信号を出力し、
前記信号生成回路は、前記段数変更信号に応じて前記補正データを生成すること、
を特徴とする請求項2に記載のデジタル遅延回路。
The stage number data generation circuit, when changing the stage number data, outputs a stage number change signal according to the change,
The signal generation circuit generates the correction data in response to the stage number change signal;
The digital delay circuit according to claim 2.
前記段数データ生成回路は、前記第1段数データを増加するときに第1の段数変更信号を生成し、前記第1段数データを減少するときに第2の段数変更信号を生成し、
前記信号生成回路は、前記第1の段数変更信号に基づいて第1の値の補正データを生成し、前記第2の段数変更信号に基づいて前記第1の値より1大きい第2の値の補正データを生成すること、
を特徴とする請求項1〜3のうちの何れか一項に記載のデジタル遅延回路。
The stage number data generation circuit generates a first stage number change signal when increasing the first stage number data, and generates a second stage number change signal when decreasing the first stage number data;
The signal generation circuit generates correction data of a first value based on the first stage number change signal, and has a second value that is one greater than the first value based on the second stage number change signal. Generating correction data,
The digital delay circuit according to any one of claims 1 to 3.
前記段数データ生成回路は、前記第1段数データに前記補正データを加算して生成した補正第1段数データと、前記第1クロック信号と前記第2クロック信号との位相差を設定する位相設定データとに基づいて、前記第2段数データを生成すること、
を特徴とする請求項2〜4のうちの何れか一項に記載のデジタル遅延回路。
The stage number data generation circuit sets the phase difference between the corrected first stage number data generated by adding the correction data to the first stage number data and the phase difference between the first clock signal and the second clock signal. Generating the second stage number data based on:
The digital delay circuit according to any one of claims 2 to 4, wherein
基準クロック信号を所定の位相まで遅延させるために使用する遅延素子の段数を示す第1段数データを生成し、前記第1段数データに基づいて使用する遅延素子の段数を示す第2段数データを生成し、前記第2段数データに応じた段数の遅延素子にて第1クロック信号を遅延させて第2クロック信号を生成し、前記第1段数データが2つの値の間で遷移している場合、前記第1段数データの変化に応じた補正を行って前記第2段数データを生成する、
ことを特徴とするデジタル遅延回路の制御方法。
First stage number data indicating the number of stages of delay elements used for delaying the reference clock signal to a predetermined phase is generated, and second stage number data indicating the number of stages of delay elements to be used is generated based on the first stage number data. When a first clock signal is delayed by a delay element having a number of stages corresponding to the second stage number data to generate a second clock signal, and the first stage number data is transitioned between two values, Performing the correction according to the change in the first stage number data to generate the second stage number data,
A method for controlling a digital delay circuit.
JP2009267521A 2009-11-25 2009-11-25 Digital delay circuit and method for controlling digital delay circuit Expired - Fee Related JP5413151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009267521A JP5413151B2 (en) 2009-11-25 2009-11-25 Digital delay circuit and method for controlling digital delay circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009267521A JP5413151B2 (en) 2009-11-25 2009-11-25 Digital delay circuit and method for controlling digital delay circuit

Publications (2)

Publication Number Publication Date
JP2011114470A true JP2011114470A (en) 2011-06-09
JP5413151B2 JP5413151B2 (en) 2014-02-12

Family

ID=44236502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009267521A Expired - Fee Related JP5413151B2 (en) 2009-11-25 2009-11-25 Digital delay circuit and method for controlling digital delay circuit

Country Status (1)

Country Link
JP (1) JP5413151B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014096691A (en) * 2012-11-09 2014-05-22 Toshiba Corp Semiconductor device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000091896A (en) * 1998-09-17 2000-03-31 Nec Corp Delay adjusting device
JP2002158566A (en) * 2000-11-21 2002-05-31 Nec Corp Fixed-length delay generating circuit
JP2005051673A (en) * 2003-07-31 2005-02-24 Elpida Memory Inc Delay circuit and delay lock loop device
JP2005142859A (en) * 2003-11-06 2005-06-02 Nec Micro Systems Ltd Master/slave type digital dll and control method therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000091896A (en) * 1998-09-17 2000-03-31 Nec Corp Delay adjusting device
JP2002158566A (en) * 2000-11-21 2002-05-31 Nec Corp Fixed-length delay generating circuit
JP2005051673A (en) * 2003-07-31 2005-02-24 Elpida Memory Inc Delay circuit and delay lock loop device
JP2005142859A (en) * 2003-11-06 2005-06-02 Nec Micro Systems Ltd Master/slave type digital dll and control method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014096691A (en) * 2012-11-09 2014-05-22 Toshiba Corp Semiconductor device

Also Published As

Publication number Publication date
JP5413151B2 (en) 2014-02-12

Similar Documents

Publication Publication Date Title
JP5463246B2 (en) Phase synchronization circuit, CDR circuit, and reception circuit
KR100824791B1 (en) Clock multiplier and clock multiplying method
JP2006319399A (en) Pulse width modulation circuit and polyphase clock generating circuit
TWI791914B (en) Frequency divider circuit, method and compensation circuit for frequency divider circuit
JP5783098B2 (en) PLL circuit, control method of PLL circuit, and digital circuit
US7683690B2 (en) Multiphase clock generation circuit
JP2017175418A (en) Clock correction device and clock correction method
JP2008205730A (en) Pll circuit
JP7108219B2 (en) Frequency division correction circuit, receiver circuit and integrated circuit
JP5643839B2 (en) Accumulator-type fractional N-PLL synthesizer and control method thereof
JP2019169826A (en) Correction circuit
US8130048B2 (en) Local oscillator
JP2008172512A (en) Frequency synthesizer, phase lock loop, and clock generation method
JP6990313B2 (en) Semiconductor integrated circuit
JP6322995B2 (en) Spread spectrum clock generation circuit and electronic device
JP5413151B2 (en) Digital delay circuit and method for controlling digital delay circuit
JP2010206344A (en) Dither processing type clock generator
US7917797B2 (en) Clock generation using a fractional phase detector
JP2013005050A (en) Clock generation device and electronic apparatus
WO2020246092A1 (en) Phase synchronization circuit, electronic device, and method for controlling phase synchronization circuit
JPWO2009069244A1 (en) Transmission method and transmission apparatus
CN108039885B (en) High-speed frequency division method and high-speed frequency divider with duty ratio adjusting function
US9425809B2 (en) Local oscillator
CN108111163B (en) High-speed frequency divider
US9484932B2 (en) Signal generation circuit and electronic apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130312

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130513

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131015

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131028

R150 Certificate of patent or registration of utility model

Ref document number: 5413151

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees