JPH10173496A - Phase compensating circuit - Google Patents

Phase compensating circuit

Info

Publication number
JPH10173496A
JPH10173496A JP8329428A JP32942896A JPH10173496A JP H10173496 A JPH10173496 A JP H10173496A JP 8329428 A JP8329428 A JP 8329428A JP 32942896 A JP32942896 A JP 32942896A JP H10173496 A JPH10173496 A JP H10173496A
Authority
JP
Japan
Prior art keywords
circuit
phase
delay
output
signal
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.)
Pending
Application number
JP8329428A
Other languages
Japanese (ja)
Inventor
Kiyoshi Miura
清志 三浦
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP8329428A priority Critical patent/JPH10173496A/en
Publication of JPH10173496A publication Critical patent/JPH10173496A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a phase compensating circuit capable of automatically performing skew compensation of an input signal for a short time and of adjusting also a skew between signals providing a phase difference from the first. SOLUTION: Delay signals DO1 to DO5 that and input signal IPT is delayed by different delay times by plural delay circuits 101 to 105 respectively, are generated. Then, it is determined whether or not the phases of the output signals DO1 to DO5 of the plural delay circuits 101 to 105 are within a prescribed phase determination period. If it is determined that the phase of the output signal of the delay circuit is within the phase determination period by the phase determining circuit 110, the output signal of that delay circuit is selected by a selecting circuit 120 as the output OPT of the above phase compensating circuit.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はスキューを制御する
位相補正回路に係り、特に、入力信号のスキュー補正を
自動的に且つ短時間に行うことができ、もともと位相差
を備えた信号間のスキューについても調整可能な位相補
正回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a phase correction circuit for controlling a skew, and more particularly to a phase correction circuit for automatically and quickly correcting a skew of an input signal. Also relates to a phase correction circuit that can be adjusted.

【0002】[0002]

【従来の技術】従来、ディジタル回路においては、クロ
ック信号等の制御信号を半導体チップ上或いは回路基板
上の回路構成要素に分配して、回路動作の制御を行って
いる。各回路構成要素が半導体チップ上或いは回路基板
上の様々な位置に無秩序に配置されている場合には、制
御信号の伝搬する配線距離が異なり、その結果、伝搬遅
延に起因する各回路構成要素における制御信号の到達時
間の差は、スキューと称されて、クロック重なり等の問
題として顕在化する。
2. Description of the Related Art Conventionally, in a digital circuit, a control signal such as a clock signal is distributed to circuit components on a semiconductor chip or a circuit board to control circuit operation. When each circuit component is randomly arranged at various positions on a semiconductor chip or a circuit board, a wiring distance for transmitting a control signal is different, and as a result, in each circuit component caused by a propagation delay, The difference between the arrival times of the control signals is called skew, and appears as a problem such as clock overlap.

【0003】また、半導体チップ上或いは回路基板上の
回路構成要素の配置や制御信号の配線手法により、制御
信号配線を等長化させるなどしてスキューを減少させる
ことはできるが、完全に無くすことはできない。このス
キューの制御は、特に、近年の回路動作周波数の増加に
伴って、ディジタル回路設計における重要な解決すべき
課題となっている。
In addition, skew can be reduced by, for example, equalizing the length of control signal wiring by arranging circuit components on a semiconductor chip or a circuit board or by wiring control signals. Can not. This skew control has become an important problem to be solved in digital circuit design, especially with the increase in circuit operating frequency in recent years.

【0004】このようなスキューの制御・調整を行うた
め、従来より種々のスキュー補正回路が提案されてい
る。例えば、米国特許公報「US Patent 5,
414,381」に開示の”METHOD OF AD
JUSTING FOR CLOCK SKEW:クロ
ックスキューの調整方法”(第1の従来例)では、遅延
回路の遅延値をオシロスコープ等で観測しながら、手動
で遅延時間を調整する方法が提案されている。
In order to control and adjust such skew, various skew correction circuits have been conventionally proposed. For example, U.S. Patent Publication "US Patent 5,
414, 381 ”,“ METHOD OF AD ”
"JUSTING FOR CLOCK SKEW: Clock Skew Adjustment Method" (first conventional example) proposes a method of adjusting the delay time manually while observing the delay value of the delay circuit with an oscilloscope or the like.

【0005】また、米国特許公報「US Patent
5,384,781」に開示の”AUTOMATIC
SKEW CALIBRATION FOR MUL
TI−CHANNEL SIGNAL SOURCE
S:マルチチャンネル信号源に対する自動スキュー調
整”(第2の従来例)では、コントローラ(マイクロプ
ロセッサ)及び位相判定回路を用いて、自動的に遅延時
間を調整する方法が提案されている。
[0005] Further, US Patent Publication “US Patent
5,384,781 "AUTOMATIC
SKEW CALIBRATION FOR MUL
TI-CHANNEL SIGNAL SOURCE
S: Automatic Skew Adjustment for Multi-Channel Signal Source "(second conventional example) proposes a method of automatically adjusting a delay time using a controller (microprocessor) and a phase determination circuit.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記第
1の従来例のクロックスキューのー調整方法において
は、遅延時間の調整を手動で行うため、調整に時間と手
間を要し、また、調整が必要なときに必ず所望の遅延調
整ができるという保証がないという問題点があった。
However, in the clock skew adjustment method of the first prior art, since the adjustment of the delay time is performed manually, the adjustment requires time and effort, and the adjustment is not easy. There has been a problem that there is no guarantee that a desired delay adjustment can be made whenever necessary.

【0007】また、上記第2の従来例のマルチチャンネ
ル信号源に対する自動スキュー調整では、調整動作がシ
ーケンシャルであるために、調整に時間を要し、また、
マイクロプロセッサを必要とすることから回路規模が大
きくなる可能性があるという問題点があった。
Further, in the automatic skew adjustment for the multi-channel signal source of the second conventional example, since the adjustment operation is sequential, it takes time for the adjustment.
There is a problem that the circuit scale may be increased because a microprocessor is required.

【0008】更に、第2の従来例の調整方法では、位相
判定回路によって信号の位相差がゼロであることを判定
できるのみであることから、もともと位相差を備えてい
る信号の比較には適用できないという問題点もあった。
例えば、DS−LINKコーディングされたデータ信号
とストローブ信号間のスキュー等については、一時に何
れか一方の信号しかレベル遷移を行わないため、双方の
信号が共にスキューを持つ場合にはこのスキューの判定
を行うことができず、スキュー調整を行うことはできな
い。
Further, the adjustment method of the second conventional example can be applied only to the comparison of signals having a phase difference because the phase determination circuit can only determine that the phase difference of the signal is zero. There was also a problem that it could not be done.
For example, as for the skew between the DS-LINK coded data signal and the strobe signal, only one of the signals makes a level transition at a time. Therefore, when both signals have skew, the skew is determined. Cannot be performed, and skew adjustment cannot be performed.

【0009】本発明は、かかる事情に鑑みてなされたも
のであり、その目的は、スキュー補正を自動的にかつ短
時間に行うことができ、また、もともと位相差を備えた
信号間のスキューも調整可能な位相補正回路を提供する
ことにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to automatically and quickly perform skew correction and to reduce skew between signals having a phase difference. An object of the present invention is to provide an adjustable phase correction circuit.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するため
に、本発明の位相補正回路は、入力信号をそれぞれ異な
る遅延時間だけ遅らせて出力する複数の遅延回路と、前
記複数の遅延回路の出力信号の位相が、所定期間内に入
っているか否かを判定する位相判定回路と、前記位相判
定回路により前記遅延回路の出力信号の位相が所定期間
内に入っていると判定された場合に、その遅延回路の出
力信号を選択して出力する選択回路とを備えるものであ
る。
In order to solve the above-mentioned problems, a phase correction circuit according to the present invention comprises a plurality of delay circuits for delaying an input signal by different delay times and outputting the same, and an output of the plurality of delay circuits. A phase determination circuit that determines whether the phase of the signal is within a predetermined period, and when the phase determination circuit determines that the phase of the output signal of the delay circuit is within a predetermined period, And a selection circuit for selecting and outputting the output signal of the delay circuit.

【0011】また、本発明の位相補正回路は、前記位相
判定回路は、前記複数の遅延回路と個々に対応して、対
応する遅延回路の出力信号の位相が所定期間内に入って
いるか否かを判定するサブ位相判定回路を複数個備える
ものである。
In the phase correction circuit according to the present invention, the phase determination circuit may correspond to each of the plurality of delay circuits and determine whether a phase of an output signal of the corresponding delay circuit is within a predetermined period. Are provided with a plurality of sub-phase determining circuits.

【0012】また、本発明の位相補正回路は、前記選択
回路は、前記サブ位相判定回路により、対応する遅延回
路の出力信号の位相が所定期間内に入っていると判定さ
れた場合には、その遅延回路の出力信号を出力し、入っ
ていないと判定された場合には出力をハイインピーダン
ス状態とする複数の出力選択部を備えるものである。
Further, in the phase correction circuit according to the present invention, when the selection circuit determines that the phase of the output signal of the corresponding delay circuit is within a predetermined period by the sub-phase determination circuit, The output circuit includes a plurality of output selection units that output an output signal of the delay circuit and set the output to a high impedance state when it is determined that the output signal is not input.

【0013】また、本発明の位相補正回路は、前記サブ
位相判定回路は、対応する遅延回路の出力信号を前記所
定期間の開始タイミングで記憶する第1の記憶手段と、
対応する遅延回路の出力信号を前記所定期間の終了タイ
ミングで記憶する第2の記憶手段とを有し、前記第1の
記憶手段の内容と前記第2記憶手段の内容とが異なる場
合に真値となり、一致する場合に偽値となる信号を出力
する。
Further, in the phase correction circuit according to the present invention, the sub-phase determination circuit stores first output means of a corresponding delay circuit at a start timing of the predetermined period,
Second storage means for storing the output signal of the corresponding delay circuit at the end timing of the predetermined period, wherein a true value is set when the contents of the first storage means and the contents of the second storage means are different. And outputs a signal that becomes a false value when they match.

【0014】また、本発明の位相補正回路は、前記複数
の遅延回路の出力は、真値及び偽値をそれぞれ表す電圧
レベルについて駆動能力が同じものである。
Further, in the phase correction circuit according to the present invention, the outputs of the plurality of delay circuits have the same drivability with respect to voltage levels representing a true value and a false value, respectively.

【0015】また、本発明の位相補正回路は、所定の基
準信号を所定時間だけ遅らせて、前記所定期間の開始タ
イミングを規定する開始タイミング信号を出力する第1
の可変遅延回路と、前記基準信号を所定時間だけ遅らせ
て、前記所定期間の終了タイミングを規定する終了タイ
ミング信号を出力する第2の可変遅延回路とを備えるも
のである。
Further, the phase correction circuit of the present invention delays a predetermined reference signal by a predetermined time and outputs a first timing signal defining a start timing of the predetermined period.
And a second variable delay circuit that delays the reference signal by a predetermined time and outputs an end timing signal that defines the end timing of the predetermined period.

【0016】更に、好適には、本発明の位相補正回路
は、複数段直列に接続される。
Further, preferably, the phase correction circuit of the present invention is connected in series at a plurality of stages.

【0017】本発明の位相補正回路によれば、複数の遅
延回路により、入力信号をそれぞれ異なる遅延時間だけ
遅らせた遅延信号が生成され、また位相判定回路によ
り、複数の遅延回路の出力信号の位相が、所定の位相判
定期間内に入っているか否かが判定される。そして、位
相判定回路により遅延回路の出力信号の位相が位相判定
期間内に入っていると判定された場合に、選択回路によ
って、その遅延回路の出力信号が当該位相補正回路の出
力として選択される。
According to the phase correction circuit of the present invention, a plurality of delay circuits generate a delay signal obtained by delaying an input signal by different delay times, respectively, and the phase determination circuit determines a phase of output signals of the plurality of delay circuits. Is within a predetermined phase determination period. Then, when the phase determination circuit determines that the phase of the output signal of the delay circuit is within the phase determination period, the output signal of the delay circuit is selected as the output of the phase correction circuit by the selection circuit. .

【0018】このように、入力信号を遅延させた信号の
エッジが所定の位相判定期間内に入るように遅延回路を
選択することで入力信号の遅延時間を調整して、遅延時
間だけ遅延させた入力信号を出力信号とするので、スキ
ュー補正を自動的にかつ短時間に行うことができ、ま
た、もともと位相差を備えた信号間のスキューも調整可
能である。
As described above, the delay time of the input signal is adjusted by selecting the delay circuit so that the edge of the signal obtained by delaying the input signal falls within the predetermined phase determination period, and the input signal is delayed by the delay time. Since an input signal is used as an output signal, skew correction can be performed automatically and in a short time, and skew between signals having a phase difference can be adjusted.

【0019】また、本発明の位相補正回路によれば、複
数の遅延回路と個々に対応して設けられたサブ位相判定
回路により、そのサブ位相判定回路に対応する遅延回路
の出力信号の位相が位相判定期間内に入っていると判定
された場合には、遅延回路の出力信号が出力され、そう
でない場合には出力がハイインピーダンス状態に保持さ
れる。
Further, according to the phase correction circuit of the present invention, the phase of the output signal of the delay circuit corresponding to the sub-phase determination circuit is determined by the sub-phase determination circuit provided in correspondence with each of the plurality of delay circuits. If it is determined that it is within the phase determination period, the output signal of the delay circuit is output; otherwise, the output is held in the high impedance state.

【0020】これにより、例えば、回路設計の段階で、
遅延回路,サブ位相判定回路及びセレクタの組の数を任
意に設定し、遅延回路の遅延時間の刻みを任意に設定す
れば、スキュー調整の調整精度や調整範囲を、設計仕様
に応じた精度や範囲に設定することが可能となる。ま
た、複数のサブ位相判定回路において、対応する遅延回
路の出力信号の位相が位相判定期間内に入っていると判
定された場合、即ち、複数のセレクタの出力が衝突した
場合でも、複数のセレクタ出力を平均したかたちで最終
的な出力を得ることができ、タイミング的な精度を向上
させることができる。
Thus, for example, at the stage of circuit design,
If the number of sets of delay circuits, sub-phase determination circuits and selectors is arbitrarily set, and the delay time interval of the delay circuit is arbitrarily set, the skew adjustment accuracy and the adjustment range can be adjusted to the accuracy and accuracy according to the design specifications. It is possible to set a range. Further, when the plurality of sub-phase determination circuits determine that the phase of the output signal of the corresponding delay circuit is within the phase determination period, that is, even when the outputs of the plurality of selectors collide, the plurality of selectors The final output can be obtained in the form of averaging the output, and the timing accuracy can be improved.

【0021】また、本発明の位相補正回路では、基準信
号に基づいて、第1の可変遅延回路により開始タイミン
グ信号が、第2の可変遅延回路により終了タイミング信
号がそれぞれ出力されて、位相判定期間が規定される。
サブ位相判定回路では、サブ位相判定回路に対応する遅
延回路の出力信号が、開始タイミング信号の制御で第1
の記憶手段に、また終了タイミング信号の制御で第2の
記憶手段にそれぞれ記憶される。そして、第1の記憶手
段の内容と第2記憶手段の内容とが異なる場合に、遅延
回路の出力信号の位相が位相判定期間内に入っている旨
を示すべく出力が真値され、そうでない場合に出力が偽
値とされる。
In the phase correction circuit according to the present invention, a start timing signal is output by the first variable delay circuit and an end timing signal is output by the second variable delay circuit based on the reference signal. Is defined.
In the sub-phase determining circuit, the output signal of the delay circuit corresponding to the sub-phase determining circuit is controlled by the start timing signal to the first signal.
And the second storage means under the control of the end timing signal. If the contents of the first storage means and the contents of the second storage means are different, the output is set to a true value to indicate that the phase of the output signal of the delay circuit is within the phase determination period, and not otherwise. In this case the output is false.

【0022】このように、所望の位相判定期間を規定し
て、入力信号を遅延させた信号のエッジが位相判定期間
内に入るように遅延回路を選択することで入力信号の遅
延時間を調整して、遅延時間だけ遅延させた入力信号を
出力信号とするので、スキュー補正を自動的にかつ短時
間に行うことができ、また、もともと位相差を備えた信
号間のスキューも調整可能である。
As described above, the delay time of the input signal is adjusted by defining the desired phase determination period and selecting the delay circuit so that the edge of the signal obtained by delaying the input signal falls within the phase determination period. Since the input signal delayed by the delay time is used as the output signal, skew correction can be performed automatically and in a short time, and skew between signals having a phase difference can be adjusted.

【0023】更に、本発明の位相補正回路では、位相補
正回路の出力を次段の位相補正回路の入力信号として複
数段直列に接続するようにしている。例えば、後段の位
相補正回路に行くにつれて、位相補正回路の位相調整期
間を小さく設定し、また、遅延回路の遅延時間の刻みを
小さく設定していくことで、よりきめの細かいスキュー
調整を行うことが可能となる。
Further, in the phase correction circuit of the present invention, the output of the phase correction circuit is connected in series as a plurality of input signals to the next-stage phase correction circuit. For example, a finer skew adjustment can be performed by setting a smaller phase adjustment period of the phase correction circuit and a smaller step of the delay time of the delay circuit as going to the phase correction circuit in the subsequent stage. Becomes possible.

【0024】[0024]

【発明の実施の形態】以下、本発明の位相補正回路の実
施形態について、〔第1の実施形態〕,〔第2の実施形
態〕の順に図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a phase correction circuit according to the present invention will be described in detail with reference to the drawings in the order of [first embodiment] and [second embodiment].

【0025】〔第1の実施形態〕図1は本発明の第1の
実施形態に係る位相補正回路の構成図である。本実施形
態の位相補正回路は、入力信号IPTを遅らせた信号の
立ち上がりエッジの位相が所定の位相判定期間内に入る
ように遅延値を決定し、この遅延値だけ遅延させた入力
信号を出力するものである。
[First Embodiment] FIG. 1 is a configuration diagram of a phase correction circuit according to a first embodiment of the present invention. The phase correction circuit of the present embodiment determines a delay value such that the phase of the rising edge of the signal delayed from the input signal IPT falls within a predetermined phase determination period, and outputs an input signal delayed by this delay value. Things.

【0026】図1において、本実施形態の位相補正回路
は、主な構成要素として、入力信号IPTをそれぞれ異
なる遅延時間TD1〜TD5だけ遅らせて出力する5個
の遅延回路101〜105と、遅延回路101〜105
の出力信号DO1〜DO5の立ち上がりエッジの位相
が、所定の位相判定期間内に入っているか否かを判定す
る位相判定回路110と、位相判定回路110により遅
延回路101〜105の出力信号DO1〜DO5の位相
が位相判定期間内に入っていると判定された場合に、こ
の位相判定期間内に入っている遅延回路の出力信号を当
該位相補正回路の出力として選択する選択回路120と
を備えて構成されている。
In FIG. 1, the phase correction circuit according to the present embodiment includes, as main components, five delay circuits 101 to 105 for delaying the input signal IPT by different delay times TD1 to TD5 and outputting the same, respectively. 101-105
A phase determination circuit 110 that determines whether the phases of the rising edges of the output signals DO1 to DO5 are within a predetermined phase determination period, and the output signals DO1 to DO5 of the delay circuits 101 to 105 by the phase determination circuit 110. And a selection circuit 120 for selecting, as the output of the phase correction circuit, the output signal of the delay circuit included in the phase determination period when it is determined that the phase is within the phase determination period. Have been.

【0027】また、その他の構成要素としては、基準信
号BCKから位相判定期間の開始タイミング及び終了タ
イミングを生成する第1の可変遅延回路131及び第2
の可変遅延回路132と、遅延回路101〜105の出
力信号DO1〜DO5をドライブするバッファ141〜
145と、第1の可変遅延回路131及び第2の可変遅
延回路132の出力信号LDCK及びTLCKをドライ
ブするバッファ151,152と、選択回路120の出
力をドライブするバッファ150とを備えている。
The other components include a first variable delay circuit 131 for generating a start timing and an end timing of the phase determination period from the reference signal BCK, and a second variable delay circuit 131 for generating the second timing.
Variable delay circuit 132 and buffers 141 to 105 that drive output signals DO1 to DO5 of delay circuits 101 to 105, respectively.
145, buffers 151 and 152 for driving the output signals LDCK and TLCK of the first variable delay circuit 131 and the second variable delay circuit 132, and a buffer 150 for driving the output of the selection circuit 120.

【0028】以下では、図2のタイミングチャート、並
びに、図3及び図4の説明図を参照して、本実施形態の
位相補正回路の各構成要素の動作・作用を詳細に説明す
る。
Hereinafter, the operation and operation of each component of the phase correction circuit of the present embodiment will be described in detail with reference to the timing chart of FIG. 2 and the explanatory diagrams of FIG. 3 and FIG.

【0029】先ず、第1の可変遅延回路131は、図2
(a)及び(b)に示すように、基準信号BCKを所定
時間TLDだけ遅らせて、位相判定期間TPの開始タイ
ミングを開始タイミング信号LDCKの立ち上がりエッ
ジとして規定する。また、第2の可変遅延回路132
は、図2(a)及び(c)に示すように、基準信号BC
Kを所定時間TTLだけ遅らせて、位相判定期間TPの
終了タイミングを終了タイミング信号TLCKの立ち上
がりエッジとして規定する。
First, the first variable delay circuit 131 is configured as shown in FIG.
As shown in (a) and (b), the reference signal BCK is delayed by a predetermined time TLD, and the start timing of the phase determination period TP is defined as the rising edge of the start timing signal LDCK. Further, the second variable delay circuit 132
Is a reference signal BC as shown in FIGS. 2 (a) and 2 (c).
K is delayed by a predetermined time TTL, and the end timing of the phase determination period TP is defined as the rising edge of the end timing signal TLCK.

【0030】また、遅延回路101〜105は、図2
(e)から(i)までに示すように、図2(d)に示す
入力信号IPTを、それぞれ異なる遅延時間TD1〜T
D5だけ遅らせた出力信号DO1〜DO5を生成するも
のである。
Further, the delay circuits 101 to 105
As shown in (e) to (i), the input signal IPT shown in FIG.
This is to generate output signals DO1 to DO5 delayed by D5.

【0031】また、位相判定回路110は、5個の遅延
回路101〜105と個々に対応して、それぞれ対応す
る遅延回路の出力信号の立ち上がりエッジの位相が位相
判定期間TP内に入っているか否かを判定する5個のサ
ブ位相判定回路111〜115を備えて構成されてい
る。
The phase determination circuit 110 corresponds to each of the five delay circuits 101 to 105 and determines whether the phase of the rising edge of the output signal of the corresponding delay circuit falls within the phase determination period TP. It is configured to include five sub phase determination circuits 111 to 115 for determining whether or not the sub phase determination circuits 111 to 115 are used.

【0032】サブ位相判定回路111は、D型のフリッ
プフロップ201,202、ラッチ203、NOTゲー
ト回路204及び2入力NANDゲート回路205を備
えて構成され、他のサブ位相判定回路112〜115に
ついても、その構成はサブ位相判定回路111と同様で
ある。
The sub-phase determination circuit 111 includes D-type flip-flops 201 and 202, a latch 203, a NOT gate circuit 204, and a two-input NAND gate circuit 205. The other sub-phase determination circuits 112 to 115 are also provided. The configuration is the same as that of the sub phase determination circuit 111.

【0033】例えば、サブ位相判定回路111では、フ
リップフロップ201は、第1の記憶手段に該当し、対
応する遅延回路101の出力信号DO1を位相判定期間
TPの開始タイミングを示す開始タイミング信号LDC
Kでサンプリングする。また、フリップフロップ202
は、第2の記憶手段に該当し、対応する遅延回路101
の出力信号DO1を位相判定期間TPの終了タイミング
を示す終了タイミング信号TLCKでサンプリングす
る。
For example, in the sub-phase determination circuit 111, the flip-flop 201 corresponds to the first storage means, and outputs the output signal DO1 of the corresponding delay circuit 101 to the start timing signal LDC indicating the start timing of the phase determination period TP.
Sample with K. The flip-flop 202
Corresponds to the second storage means, and the corresponding delay circuit 101
Is sampled with an end timing signal TLCK indicating the end timing of the phase determination period TP.

【0034】2入力NANDゲート回路205は、フリ
ップフロップ201の出力をNOTゲート回路204に
よって反転した信号とフリップフロップ202の出力と
の否定論理積をとるものである。つまり、2入力NAN
Dゲート回路205は、遅延回路101の出力信号DO
1について、位相判定期間TPの開始タイミングで”
L”レベルであり且つ位相判定期間TPの終了タイミン
グで”H”レベルである場合、即ち、立ち上がりエッジ
の位相が位相判定期間TP内に入っている場合に真値と
なり、そうでない場合に偽値となる信号を出力すること
となる。
The two-input NAND gate circuit 205 performs a NAND operation on a signal obtained by inverting the output of the flip-flop 201 by the NOT gate circuit 204 and the output of the flip-flop 202. That is, 2-input NAN
The D gate circuit 205 outputs the output signal DO of the delay circuit 101.
1 at the start timing of the phase determination period TP.
L level and “H” level at the end timing of the phase determination period TP, that is, a true value when the phase of the rising edge falls within the phase determination period TP, and a false value otherwise. Is output.

【0035】例えば、遅延回路101の出力信号DO1
が開始タイミング信号LDCKより後に”L”レベルか
ら”H”レベルに変化すれば、フリップフロップ201
の出力は”0”になる。また、遅延回路101の出力信
号DO1が終了タイミング信号TLCKより先に”L”
レベルから”H”レベルに変化すれば、フリップフロッ
プ201の出力は”1”になる。このように、2つのフ
リップフロップ201,202の出力がそれぞれ”
0”,”1”である時に、遅延回路101の出力信号D
O1が位相判定期間TP内に入っていることが分かる。
For example, the output signal DO1 of the delay circuit 101
Changes from “L” level to “H” level after the start timing signal LDCK, the flip-flop 201
Is "0". Further, the output signal DO1 of the delay circuit 101 becomes “L” before the end timing signal TLCK.
When the level changes from “H” to “H”, the output of the flip-flop 201 becomes “1”. Thus, the outputs of the two flip-flops 201 and 202 are respectively "
When they are 0 "and" 1 ", the output signal D of the delay circuit 101
It can be seen that O1 is within the phase determination period TP.

【0036】また、ラッチ203は、2入力NANDゲ
ート回路205の出力をサンプリング信号SMPのタイ
ミングでラッチし、リセット信号RSTのタイミングで
リセットする。尚、該ラッチ203の出力が、サブ位相
判定回路111の出力である選択信号SL1として出力
される。また、他のサブ位相判定回路112〜115か
らは、同様にして選択信号SL2〜SL5が出力され
る。
The latch 203 latches the output of the two-input NAND gate circuit 205 at the timing of the sampling signal SMP and resets it at the timing of the reset signal RST. Note that the output of the latch 203 is output as a selection signal SL1 which is an output of the sub phase determination circuit 111. The selection signals SL2 to SL5 are similarly output from the other sub phase determination circuits 112 to 115.

【0037】次に、選択回路120は、5個のサブ位相
判定回路111〜115に個々に対応した出力選択部と
しての5個のセレクタ121〜125を備えて構成され
ている。例えば、セレクタ121では、サブ位相判定回
路111において対応する遅延回路101の出力信号D
L1の立ち上がりエッジの位相が位相判定期間TP内に
入っていると判定され、選択信号SL1が真値として出
力された場合には、遅延回路101の出力信号DL1を
選択し、そうでない場合にはハイインピーダンス端子H
iZを選択して出力をハイインピーダンス状態とする。
Next, the selection circuit 120 is provided with five selectors 121 to 125 as output selection units respectively corresponding to the five sub phase determination circuits 111 to 115. For example, in the selector 121, the output signal D of the delay circuit 101 corresponding to the sub-phase determination circuit 111 is output.
If it is determined that the phase of the rising edge of L1 is within the phase determination period TP and the selection signal SL1 is output as a true value, the output signal DL1 of the delay circuit 101 is selected. High impedance terminal H
The output is set to a high impedance state by selecting iZ.

【0038】ここで、5個のセレクタ121〜125の
出力は、布線論理和(Wired−OR)されるように
接続されており、布線論理和130の出力は、バッファ
150を介して当該位相補正回路の出力信号OPTとな
る。
The outputs of the five selectors 121 to 125 are connected so as to be wired-ORed (Wired-OR), and the output of the wired OR 130 is sent via the buffer 150 to the output. This becomes the output signal OPT of the phase correction circuit.

【0039】また、5個の遅延回路101〜105の出
力には、出力信号DO1〜DO5をドライブするバッフ
ァ141〜145が接続されている。バッファ141〜
145は、遅延回路101〜105の出力信号DO1〜
DO5を、真値”1”及び偽値”0”がそれぞれ表す電
圧レベル(”H”レベル及び”L”レベル)について駆
動能力が同じとなるようにするものである。
The outputs of the five delay circuits 101 to 105 are connected to buffers 141 to 145 for driving output signals DO1 to DO5. Buffers 141 to
Reference numeral 145 denotes output signals DO1 to DO1 of the delay circuits 101 to 105.
DO5 is set so that the drive capability is the same for the voltage levels (“H” level and “L” level) represented by the true value “1” and the false value “0”, respectively.

【0040】図3に、バッファ141〜145の回路構
成図を示す。一般的なバッファの構成である、NOTゲ
ート回路301,pチャネルMOS(PMOS)トラン
ジスタ302及びnチャネルMOS(NMOS)トラン
ジスタ303に加えて、PMOSトランジスタ302の
ソースと電源電位VCC間に接続された電流源304
(駆動電流I0)と、NMOSトランジスタ303のド
レインと接地電位GND間に接続された電流源305
(駆動電流I0)とが付加された構成となっている。
尚、当該バッファの入力がNOTゲート回路301に供
給され、NOTゲート回路301の出力は、PMOSト
ランジスタ302及びNMOSトランジスタ303に接
続されている。また、PMOSトランジスタ302のド
レインとNMOSトランジスタ303のソースは接続さ
れて、当該バッファの出力となる。
FIG. 3 is a circuit diagram of the buffers 141 to 145. In addition to a NOT gate circuit 301, a p-channel MOS (PMOS) transistor 302, and an n-channel MOS (NMOS) transistor 303, which are a general buffer configuration, a current connected between the source of the PMOS transistor 302 and the power supply potential VCC. Source 304
(Drive current I0) and a current source 305 connected between the drain of the NMOS transistor 303 and the ground potential GND.
(Drive current I0).
The input of the buffer is supplied to a NOT gate circuit 301, and the output of the NOT gate circuit 301 is connected to a PMOS transistor 302 and an NMOS transistor 303. In addition, the drain of the PMOS transistor 302 and the source of the NMOS transistor 303 are connected to each other and output from the buffer.

【0041】つまり、電流源304及び電流源305に
より、出力ノードが真値”1”及び偽値”0”となる場
合に、それぞれが表す電圧レベルについて駆動能力が同
じとなるように、出力ノードに対して電流供給がなされ
る。
That is, when the output nodes have the true value “1” and the false value “0” by the current source 304 and the current source 305, the output nodes are set so that the driving capabilities are the same for the voltage levels represented by the respective nodes. Is supplied with the current.

【0042】次に、遅延時間等について具体的な数値を
適用して、本実施形態の位相補正回路の動作について説
明する。ここでは、遅延回路101〜105の遅延時間
TD1〜TD5を、それぞれ、TD1=2[ns],T
D2=2.5[ns],TD3=3[ns],TD4=
3.5[ns],TD5=4[ns]に設定されている
ものとする。
Next, the operation of the phase correction circuit of this embodiment will be described by applying specific numerical values to the delay time and the like. Here, the delay times TD1 to TD5 of the delay circuits 101 to 105 are represented by TD1 = 2 [ns] and T
D2 = 2.5 [ns], TD3 = 3 [ns], TD4 =
It is assumed that 3.5 [ns] and TD5 = 4 [ns] are set.

【0043】また、位相補正回路の仕様としては、入力
信号IPTの立ち上がりエッジの位相を基準信号BCK
に対して3[ns]遅れに合わせるものとする。これよ
り、第1の可変遅延回路131の遅延時間TLD及び第
2の可変遅延回路132の遅延時間TTLを、それぞ
れ、TLD=2.75[ns],TTL=3.25[n
s]に設定し、0.5[ns]の位相判定期間TPを規
定するものとする。
The specifications of the phase correction circuit are as follows: the phase of the rising edge of the input signal IPT is set to the reference signal BCK.
With a delay of 3 [ns]. Accordingly, the delay time TLD of the first variable delay circuit 131 and the delay time TTL of the second variable delay circuit 132 are set to TLD = 2.75 [ns] and TTL = 3.25 [n], respectively.
s] to define a phase determination period TP of 0.5 [ns].

【0044】入力信号IPTが基準信号BCKに対して
図2(a)及び(d)の関係にあるとした場合、遅延回
路102の出力信号DO2についてのみ、位相判定期間
TPの開始タイミングで”L”レベルであり且つ位相判
定期間TPの終了タイミングで”H”レベルであるの
で、選択信号SL2のみが真値”1”で、その他の選択
信号SL1,SL2〜SL5は全て偽値”0”となり、
選択回路120は、遅延回路102の出力信号DL2を
選択し、バッファ150を介して当該位相補正回路の出
力信号OPTとして出力する。
Assuming that the input signal IPT has the relationship shown in FIGS. 2A and 2D with respect to the reference signal BCK, only the output signal DO2 of the delay circuit 102 becomes "L" at the start timing of the phase determination period TP. Since the level is “H” and the level is “H” at the end timing of the phase determination period TP, only the selection signal SL2 has a true value “1”, and the other selection signals SL1, SL2 to SL5 all have a false value “0”. ,
The selection circuit 120 selects the output signal DL2 of the delay circuit 102 and outputs it as an output signal OPT of the phase correction circuit via the buffer 150.

【0045】本具体例では、遅延回路,サブ位相判定回
路及びセレクタの組数を5個とし、遅延回路の遅延時間
刻みを0.5[ns]に設定されているので、±2[n
s]の範囲で精度0.5[ns]でスキューを調整でき
る。尚、遅延回路,サブ位相判定回路及びセレクタの組
数並びに遅延時間刻みを本具体例とは異なる構成とすれ
ば、スキュー調整の精度を更に上げたり、調整範囲を広
げたりすることも可能である。このように、遅延回路,
サブ位相判定回路及びセレクタの組の個数を任意に設定
し、また、遅延回路の遅延時間の刻みを任意に設定すれ
ば、スキュー調整の調整精度や調整範囲を、設計仕様に
応じた精度や範囲に設定することが可能となる。
In this specific example, the number of sets of the delay circuit, the sub-phase determination circuit, and the selector is five, and the delay time interval of the delay circuit is set to 0.5 [ns].
The skew can be adjusted with an accuracy of 0.5 [ns] within the range of [s]. If the number of sets of the delay circuit, the sub-phase determination circuit and the selector and the delay time interval are different from those in this example, it is possible to further increase the accuracy of the skew adjustment and to widen the adjustment range. . Thus, the delay circuit,
If the number of sets of sub-phase determination circuits and selectors is set arbitrarily, and the delay time interval of the delay circuit is set arbitrarily, the adjustment accuracy and adjustment range of the skew adjustment can be adjusted according to the design specifications. Can be set.

【0046】尚、図2の具体例では、遅延回路102の
出力信号DO2の立ち上がりエッジの位相のみが位相判
定期間TP内に入っている例を示したが、位相判定期間
TPや遅延回路の遅延時間刻みの設定値によっては、複
数の遅延回路の出力信号の位相が位相判定期間TP内に
入ることも考えられる。このような場合には、出力信号
OPTにおいて複数のセレクタ出力が衝突することとな
る。
In the specific example of FIG. 2, an example is shown in which only the phase of the rising edge of the output signal DO2 of the delay circuit 102 falls within the phase determination period TP. Depending on the set value of the time interval, the phases of the output signals of the plurality of delay circuits may fall within the phase determination period TP. In such a case, a plurality of selector outputs collide in the output signal OPT.

【0047】しかしながら、本実施形態の位相補正回路
では、遅延回路101〜105の出力信号DO1〜DO
5を、”H”レベル及び”L”レベルについて駆動能力
が同じとなるようにするバッファ141〜145、並び
に、5個のセレクタ121〜125の出力を布線論理和
とする構成としているので、複数のセレクタ出力を平均
したかたちで最終的な出力信号OPTを得ることがで
き、タイミング的な精度を向上させることができる。
However, in the phase correction circuit of this embodiment, the output signals DO1 to DO of the delay circuits 101 to 105
5 is configured such that the outputs of the five buffers 121 to 145 and the five selectors 121 to 125 are wired logical OR so that the driving capability is the same for the “H” level and the “L” level. A final output signal OPT can be obtained by averaging a plurality of selector outputs, and timing accuracy can be improved.

【0048】図4には、位相判定期間TP内に、遅延回
路101の出力信号DO1及び遅延回路102の出力信
号DO2のそれぞれの立ち上がりエッジの位相が入る場
合のタイミングチャートを示している。このような場
合、本実施形態の位相補正回路では、出力信号OPT
は、図4(c)に示すように、遅延回路101の出力信
号DO1及び遅延回路102の出力信号DO2の中間的
な信号として得られることになる。
FIG. 4 shows a timing chart in the case where the phases of the rising edges of the output signal DO1 of the delay circuit 101 and the output signal DO2 of the delay circuit 102 are included in the phase determination period TP. In such a case, in the phase correction circuit of the present embodiment, the output signal OPT
Is obtained as an intermediate signal between the output signal DO1 of the delay circuit 101 and the output signal DO2 of the delay circuit 102, as shown in FIG.

【0049】以上説明したように、本実施形態の位相補
正回路によれば、入力信号IPTを遅延させた信号の立
ち上がりエッジの位相が、所定の位相判定期間TP内に
入るように遅延回路101〜105を選択することで入
力信号IPTの遅延時間をTD1〜TD5の間で調整し
て、該選択された遅延時間だけ遅延させた入力信号を出
力信号OPTとするので、スキュー補正を自動的に且つ
短時間に行うことができ、また、もともと位相差を備え
た信号間のスキューも調整可能である。
As described above, according to the phase correction circuit of the present embodiment, the delay circuits 101 to 101 are set such that the phase of the rising edge of the signal obtained by delaying the input signal IPT falls within the predetermined phase determination period TP. By selecting 105, the delay time of the input signal IPT is adjusted between TD1 and TD5, and the input signal delayed by the selected delay time is used as the output signal OPT. It can be performed in a short time, and the skew between signals having a phase difference can be adjusted.

【0050】また、本実施形態の位相補正回路によれ
ば、基準信号BCKに基づく所望の位相判定期間TPを
規定して、入力信号IPTを遅延させた信号の立ち上が
りエッジの位相が位相判定期間TP内に入るように遅延
回路101〜105を選択することで入力信号の遅延時
間をTD1〜TD5の間で調整して、該選択された遅延
時間だけ遅延させた入力信号を出力信号OPTとするの
で、スキュー補正を自動的に且つ短時間に行うことがで
き、また、もともと位相差を備えた信号間のスキューも
調整可能である。
Further, according to the phase correction circuit of the present embodiment, the desired phase determination period TP based on the reference signal BCK is defined, and the phase of the rising edge of the signal obtained by delaying the input signal IPT is determined by the phase determination period TP. Since the delay time of the input signal is adjusted between TD1 and TD5 by selecting the delay circuits 101 to 105 so as to fall within the range, the input signal delayed by the selected delay time is used as the output signal OPT. Skew correction can be performed automatically and in a short time, and skew between signals having a phase difference can be adjusted.

【0051】〔第1の実施形態の変形例〕図1に示した
位相補正回路の位相判定回路110においては、各サブ
位相判定回路111〜115により、遅延回路101〜
105の出力信号DO1〜DO5の立ち上がりエッジの
位相が位相判定期間TP内に入っているか否かを判定し
て、位相判定期間TP内に入る遅延回路を選択すること
で入力信号IPTの遅延時間をTD1〜TD5の間で調
整し、該遅延回路で遅延させた入力信号を出力信号OP
Tとすることとしたが、判定手法はこれに限定されるこ
とはない。
[Modification of the First Embodiment] In the phase determination circuit 110 of the phase correction circuit shown in FIG.
It is determined whether or not the phase of the rising edge of the output signals DO1 to DO5 of 105 is within the phase determination period TP, and the delay circuit of the input signal IPT is selected by selecting a delay circuit that falls within the phase determination period TP. The input signal adjusted between TD1 and TD5 and delayed by the delay circuit is output signal OP
Although it was set to T, the determination method is not limited to this.

【0052】即ち、各サブ位相判定回路において、遅延
回路101〜105の出力信号DO1〜DO5の立ち下
がりエッジの位相が位相判定期間TP内に入っているか
否かを判定、或いは、遅延回路101〜105の出力信
号DO1〜DO5の立ち上がりエッジ及び立ち下がりエ
ッジの位相が位相判定期間TP内に入っているか否かを
判定するようにして、位相判定期間TP内に入る遅延回
路を選択する構成としてもよい。
That is, in each sub-phase determination circuit, it is determined whether or not the phase of the falling edge of the output signals DO1 to DO5 of the delay circuits 101 to 105 is within the phase determination period TP. It is also possible to determine whether or not the phases of the rising edge and the falling edge of the output signals DO1 to DO5 of 105 fall within the phase determination period TP, and select a delay circuit that falls within the phase determination period TP. Good.

【0053】図5は、第1の実施形態の変形例に係る位
相補正回路の位相判定回路510を中心とした部分的な
構成図である。本変形例では、サブ位相判定回路511
〜515は、遅延回路101〜105の出力信号DO1
〜DO5の立ち下がりエッジの位相が位相判定期間TP
内に入っているか否かを判定するものである。
FIG. 5 is a partial configuration diagram centering on a phase determination circuit 510 of a phase correction circuit according to a modification of the first embodiment. In the present modification, the sub phase determination circuit 511
To 515 are output signals DO1 of the delay circuits 101 to 105.
The phase of the falling edge of DO5 is the phase determination period TP
It is determined whether or not it is inside.

【0054】サブ位相判定回路511は、D型のフリッ
プフロップ211,212、ラッチ213、NOTゲー
ト回路214及び2入力NANDゲート回路215を備
えて構成され、他のサブ位相判定回路512〜515に
ついても、その構成はサブ位相判定回路511と同様で
ある。
The sub-phase determining circuit 511 includes D-type flip-flops 211 and 212, a latch 213, a NOT gate circuit 214, and a two-input NAND gate circuit 215. The other sub-phase determining circuits 512 to 515 are also provided. The configuration is the same as that of the sub phase determination circuit 511.

【0055】例えば、サブ位相判定回路511では、フ
リップフロップ211は、対応する遅延回路101の出
力信号DO1を位相判定期間TPの開始タイミングを示
す開始タイミング信号LDCKでサンプリングする。ま
た、フリップフロップ212は、対応する遅延回路10
1の出力信号DO1を位相判定期間TPの終了タイミン
グを示す終了タイミング信号TLCKでサンプリングす
る。
For example, in the sub-phase determination circuit 511, the flip-flop 211 samples the output signal DO1 of the corresponding delay circuit 101 with the start timing signal LDCK indicating the start timing of the phase determination period TP. The flip-flop 212 is connected to the corresponding delay circuit 10
1 is sampled with an end timing signal TLCK indicating the end timing of the phase determination period TP.

【0056】2入力NANDゲート回路215は、フリ
ップフロップ211の出力とフリップフロップ212の
出力をNOTゲート回路214によって反転した信号と
の否定論理積をとるものである。つまり、2入力NAN
Dゲート回路215は、遅延回路101の出力信号DO
1について、位相判定期間TPの開始タイミングで”
H”レベルであり且つ位相判定期間TPの終了タイミン
グで”L”レベルである場合、即ち、立ち下がりエッジ
の位相が位相判定期間TP内に入っている場合に真値と
なり、そうでない場合に偽値となる信号を出力すること
となる。
The two-input NAND gate circuit 215 performs a NAND operation on the output of the flip-flop 211 and the signal obtained by inverting the output of the flip-flop 212 by the NOT gate circuit 214. That is, 2-input NAN
The D gate circuit 215 is connected to the output signal DO of the delay circuit 101.
1 at the start timing of the phase determination period TP.
When the signal is at the “H” level and at the “L” level at the end timing of the phase determination period TP, that is, when the phase of the falling edge falls within the phase determination period TP, the value becomes true. A signal that becomes a value will be output.

【0057】また、ラッチ213は、2入力NANDゲ
ート回路215の出力をサンプリング信号SMPのタイ
ミングでラッチし、リセット信号RSTのタイミングで
リセットする。尚、該ラッチ213の出力が、サブ位相
判定回路511の出力である選択信号SL1として出力
される。また、他のサブ位相判定回路512〜515か
らは、同様にして選択信号SL2〜SL5が出力され
る。
The latch 213 latches the output of the two-input NAND gate circuit 215 at the timing of the sampling signal SMP and resets it at the timing of the reset signal RST. Note that the output of the latch 213 is output as a selection signal SL1 which is an output of the sub phase determination circuit 511. The selection signals SL2 to SL5 are similarly output from the other sub-phase determination circuits 512 to 515.

【0058】図6は、第1の実施形態の変形例に係る位
相補正回路の位相判定回路610を中心とした部分的な
構成図である。本変形例では、サブ位相判定回路611
〜615は、遅延回路101〜105の出力信号DO1
〜DO5の立ち上がりエッジ及び立ち下がりエッジの位
相が位相判定期間TP内に入っているか否かを判定する
ものである。
FIG. 6 is a partial configuration diagram centering on the phase determination circuit 610 of the phase correction circuit according to a modification of the first embodiment. In the present modification, the sub phase determination circuit 611
To 615 are output signals DO1 of the delay circuits 101 to 105.
It is determined whether or not the phases of the rising edge and the falling edge of DO5 are within the phase determination period TP.

【0059】サブ位相判定回路611は、D型のフリッ
プフロップ221,222、ラッチ223、XORゲー
ト回路225を備えて構成され、他のサブ位相判定回路
612〜615についても、その構成はサブ位相判定回
路611と同様である。
The sub phase determination circuit 611 includes D-type flip-flops 221 and 222, a latch 223, and an XOR gate circuit 225. The configuration of the other sub phase determination circuits 612 to 615 is the same as that of the sub phase determination circuit 612. This is similar to the circuit 611.

【0060】例えば、サブ位相判定回路611では、フ
リップフロップ221は、対応する遅延回路101の出
力信号DO1を開始タイミング信号LDCKでサンプリ
ングする。また、フリップフロップ222は、対応する
遅延回路101の出力信号DO1を終了タイミング信号
TLCKでサンプリングする。
For example, in the sub-phase determination circuit 611, the flip-flop 221 samples the output signal DO1 of the corresponding delay circuit 101 with the start timing signal LDCK. Further, the flip-flop 222 samples the output signal DO1 of the corresponding delay circuit 101 with the end timing signal TLCK.

【0061】XORゲート回路225は、フリップフロ
ップ221の出力とフリップフロップ222の出力との
排他的論理和をとるものである。つまり、XORゲート
回路225は、遅延回路101の出力信号DO1につい
て、位相判定期間TPの開始タイミングでの電位レベル
と位相判定期間TPの終了タイミングでの電位レベルが
異なる場合、即ち、立ち上がりエッジまたは立ち下がり
エッジの位相が位相判定期間TP内に入っている場合に
真値となり、そうでない場合に偽値となる信号を出力す
ることとなる。
The XOR gate circuit 225 performs an exclusive OR operation between the output of the flip-flop 221 and the output of the flip-flop 222. That is, the XOR gate circuit 225 determines that the output signal DO1 of the delay circuit 101 has a different potential level at the start timing of the phase determination period TP and the potential level at the end timing of the phase determination period TP, that is, the rising edge or the rising edge. When the phase of the falling edge falls within the phase determination period TP, a signal having a true value is output. Otherwise, a signal having a false value is output.

【0062】また、ラッチ223は、XORゲート回路
225の出力をサンプリング信号SMPのタイミングで
ラッチし、リセット信号RSTのタイミングでリセット
する。尚、該ラッチ223の出力が、サブ位相判定回路
611の出力である選択信号SL1として出力される。
また、他のサブ位相判定回路612〜615からは、同
様にして選択信号SL2〜SL5が出力される。
The latch 223 latches the output of the XOR gate circuit 225 at the timing of the sampling signal SMP and resets it at the timing of the reset signal RST. Note that the output of the latch 223 is output as the selection signal SL1 which is the output of the sub phase determination circuit 611.
The selection signals SL2 to SL5 are similarly output from the other sub phase determination circuits 612 to 615.

【0063】〔第2の実施形態〕次に、図7は本発明の
第2の実施形態に係る位相補正回路の構成図である。本
実施形態の位相補正回路は、第1の実施形態の位相補正
回路を2段直列に接続したものであり、第1段の位相補
正回路の出力を第2段の位相補正回路の入力信号として
いる。
[Second Embodiment] FIG. 7 is a block diagram of a phase correction circuit according to a second embodiment of the present invention. The phase correction circuit of the present embodiment is obtained by connecting the phase correction circuit of the first embodiment in two stages in series, and using the output of the first stage phase correction circuit as the input signal of the second stage phase correction circuit. I have.

【0064】図7において、第1段の位相補正回路の構
成は、第1の実施形態の位相補正回路の構成(図1参
照)と同一である。各構成要素の具体的な構成も第1の
実施形態及びその変形例で示したものと同等である。ま
た、第1段の位相補正回路の位相判定期間TP1は、開
始タイミング信号LDCK1及び終了タイミング信号T
LCK1によって規定されるものとしている。
In FIG. 7, the configuration of the first-stage phase correction circuit is the same as the configuration of the phase correction circuit of the first embodiment (see FIG. 1). The specific configuration of each component is also the same as that shown in the first embodiment and its modifications. Further, the phase determination period TP1 of the first-stage phase correction circuit includes a start timing signal LDCK1 and an end timing signal T.
It is defined by LCK1.

【0065】また、図7において、第2段の位相補正回
路の構成は、第1の実施形態の位相補正回路の構成(図
1参照)と同等である。即ち、第2段の位相補正回路
は、その主な構成要素として、入力信号(第1段の位相
補正回路の出力信号OPT1)をそれぞれ異なる遅延時
間TD21〜TD25だけ遅らせて出力する5個の遅延
回路701〜705と、遅延回路701〜705の出力
信号DO21〜DO25のエッジの位相が、位相判定期
間TP2内に入っているか否かを判定する位相判定回路
710と、位相判定回路710により遅延回路701〜
705の出力信号DO21〜DO25のエッジの位相が
位相判定期間内に入っていると判定された場合に、該位
相判定期間内に入っている遅延回路の出力信号を当該第
2段の位相補正回路の出力として選択する選択回路72
0とを備えて構成されている。
In FIG. 7, the configuration of the second-stage phase correction circuit is the same as the configuration of the phase correction circuit of the first embodiment (see FIG. 1). That is, the second-stage phase correction circuit has, as its main components, five delays that output the input signal (the output signal OPT1 of the first-stage phase correction circuit) delayed by different delay times TD21 to TD25, respectively. Circuits 701 to 705, a phase determination circuit 710 for determining whether or not the phases of the edges of the output signals DO21 to DO25 of the delay circuits 701 to 705 are within the phase determination period TP2; 701-
If it is determined that the phases of the edges of the output signals DO21 to DO25 are within the phase determination period, the output signal of the delay circuit included in the phase determination period is converted to the phase correction circuit of the second stage. Selection circuit 72 for selecting as the output of
0.

【0066】また、その他の構成要素としては、基準信
号BCKから位相判定期間の開始タイミング及び終了タ
イミングを生成する第3の可変遅延回路731及び第4
の可変遅延回路732と、遅延回路701〜705の出
力信号DO21〜DO25をドライブするバッファ74
1〜745と、第3の可変遅延回路731及び第4の可
変遅延回路732の出力信号LDCK2及びTLCK2
をドライブするバッファ751,752と、選択回路7
20の出力をドライブして出力信号OPT2を出力する
バッファ750とを備えている。各構成要素の具体的な
構成は、第1の実施形態及びその変形例で示したものと
同等である。また、第2段の位相補正回路の位相判定期
間TP2は、開始タイミング信号LDCK2及び終了タ
イミング信号TLCK2によって規定されるものとして
いる。
Other components include a third variable delay circuit 731 for generating a start timing and an end timing of the phase determination period from the reference signal BCK, and a fourth variable delay circuit 731.
Variable delay circuit 732 and a buffer 74 for driving output signals DO21 to DO25 of delay circuits 701 to 705.
1 to 745, and the output signals LDCK2 and TLCK2 of the third variable delay circuit 731 and the fourth variable delay circuit 732.
Buffers 751 and 752 for driving the
And a buffer 750 for driving the output of the S.20 and outputting the output signal OPT2. The specific configuration of each component is the same as that shown in the first embodiment and its modifications. The phase determination period TP2 of the second-stage phase correction circuit is defined by a start timing signal LDCK2 and an end timing signal TLCK2.

【0067】本実施形態の位相補正回路では、第2段の
位相補正回路の位相調整期間TP2を第1段の位相補正
回路の位相調整期間TP1よりも小さく設定し、また、
第2段の位相補正回路の遅延回路701〜705の遅延
時間TD21〜TD25の刻みを第2段の位相補正回路
の遅延回路101〜105の遅延時間TD1〜TD5の
刻みよりも小さく設定している。
In the phase correction circuit of this embodiment, the phase adjustment period TP2 of the second-stage phase correction circuit is set shorter than the phase adjustment period TP1 of the first-stage phase correction circuit.
The steps of the delay times TD21 to TD25 of the delay circuits 701 to 705 of the second stage phase correction circuit are set smaller than the steps of the delay times TD1 to TD5 of the delay circuits 101 to 105 of the second stage phase correction circuit. .

【0068】例えば、第1段の位相補正回路の遅延時間
等の具体的な数値を第1の実施形態で示した数値、即
ち、遅延回路101〜105の遅延時間TD1〜TD5
を、2[ns]から4[ns]の範囲で0.5[ns]
の刻みで設定し、第1の可変遅延回路131の遅延時間
TLD1及び第2の可変遅延回路132の遅延時間TT
L1を、それぞれ、TLD1=2.75[ns],TT
L1=3.25[ns]に設定し、位相判定期間TP1
=0.5[ns]と規定する。これに対して第2段の位
相補正回路では、遅延回路701〜705の遅延時間T
D21〜TD25を、2.75[ns]から3.25
[ns]の範囲で0.25[ns]の刻みで設定し、第
3の可変遅延回路731の遅延時間TLD2及び第4の
可変遅延回路732の遅延時間TTL2を、それぞれ、
TLD2=2.875[ns],TTL1=3.125
[ns]に設定し、位相判定期間TP2=0.25[n
s]と規定する。
For example, specific numerical values such as the delay time of the first stage phase correction circuit are shown in the first embodiment, that is, the delay times TD1 to TD5 of the delay circuits 101 to 105.
Is 0.5 [ns] in the range of 2 [ns] to 4 [ns].
The delay time TLD1 of the first variable delay circuit 131 and the delay time TT of the second variable delay circuit 132
Let L1 be TLD1 = 2.75 [ns], TT
L1 is set to 3.25 [ns], and the phase determination period TP1 is set.
= 0.5 [ns]. On the other hand, in the second-stage phase correction circuit, the delay time T
D21 to TD25 are changed from 2.75 [ns] to 3.25.
The delay time TLD2 of the third variable delay circuit 731 and the delay time TTL2 of the fourth variable delay circuit 732 are set at intervals of 0.25 [ns] within the range of [ns].
TTL2 = 2.875 [ns], TTL1 = 3.125
[Ns], and the phase determination period TP2 = 0.25 [n
s].

【0069】このように、後段の位相補正回路に行くに
つれて、該位相補正回路の位相調整期間を小さく設定
し、また、遅延回路の遅延時間の刻みを小さく設定して
いくことで、よりきめの細かいスキュー調整を行うこと
が可能となる。
As described above, the phase adjustment period of the phase correction circuit is set to be shorter and the delay time of the delay circuit is set to be smaller as the phase correction circuit goes to the subsequent stage. Fine skew adjustment can be performed.

【0070】[0070]

【発明の効果】以上説明したように、本発明の位相補正
回路によれば、スキュー補正を自動的に且つ短時間に行
うことができ、また、もともと位相差を備えた信号間の
スキューも調整可能な位相補正回路を提供することがで
きる。
As described above, according to the phase correction circuit of the present invention, skew correction can be performed automatically and in a short time, and skew between signals having a phase difference can be adjusted. A possible phase correction circuit can be provided.

【0071】また、本発明の位相補正回路によれば、例
えば、回路設計の段階で、遅延回路,サブ位相判定回路
及びセレクタの組の数を任意に設定し、遅延回路の遅延
時間の刻みを任意に設定すれば、スキュー調整の調整精
度や調整範囲を、設計仕様に応じた精度や範囲に設定す
ることが可能となり、また、複数のサブ位相判定回路に
おいて、対応する遅延回路の出力信号の位相が位相判定
期間内に入っていると判定された場合でも、複数のセレ
クタ出力を平均したかたちで最終的な出力を得ることが
でき、高精度なスキュー調整を行い得る位相補正回路を
提供することができる。
According to the phase correction circuit of the present invention, for example, at the stage of circuit design, the number of sets of the delay circuit, the sub-phase determination circuit and the selector is arbitrarily set, and the delay time of the delay circuit is determined. If set arbitrarily, the adjustment accuracy and adjustment range of the skew adjustment can be set to the accuracy and range according to the design specification.Moreover, in a plurality of sub-phase determination circuits, the output signals of the corresponding delay circuits can be adjusted. Provided is a phase correction circuit capable of obtaining a final output in the form of averaging a plurality of selector outputs even when it is determined that the phase falls within a phase determination period, and performing highly accurate skew adjustment. be able to.

【0072】また、本発明の位相補正回路によれば、位
相補正回路の出力を次段の位相補正回路の入力信号とし
て複数段直列に接続して、例えば、後段の位相補正回路
に行くにつれて、該位相補正回路の位相調整期間を小さ
く設定し、また、遅延回路の遅延時間の刻みを小さく設
定していくことにより、よりきめの細かいスキュー調整
を行い得る位相補正回路を提供することができる。
According to the phase correction circuit of the present invention, the output of the phase correction circuit is connected in series as a plurality of input signals to the next-stage phase correction circuit. By setting the phase adjustment period of the phase correction circuit to be short and the delay time of the delay circuit to be small, it is possible to provide a phase correction circuit capable of performing finer skew adjustment.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施形態に係る位相補正回路の
構成図である。
FIG. 1 is a configuration diagram of a phase correction circuit according to a first embodiment of the present invention.

【図2】第1の実施形態の位相補正回路の各構成要素の
動作を説明するタイミングチャートである。
FIG. 2 is a timing chart illustrating the operation of each component of the phase correction circuit according to the first embodiment.

【図3】第1の実施形態の位相補正回路におけるバッフ
ァの回路構成図である。
FIG. 3 is a circuit configuration diagram of a buffer in the phase correction circuit of the first embodiment.

【図4】第1の実施形態の位相補正回路において、位相
判定期間内に複数の遅延回路の出力信号の立ち上がりエ
ッジの位相が入る場合のタイミングチャートである。
FIG. 4 is a timing chart in the case where the phases of rising edges of output signals of a plurality of delay circuits enter a phase determination period in the phase correction circuit of the first embodiment.

【図5】第1の実施形態の変形例に係る位相補正回路の
位相判定回路を中心とした部分的な構成図(その1)で
ある。
FIG. 5 is a partial configuration diagram (part 1) centering on a phase determination circuit of a phase correction circuit according to a modification of the first embodiment.

【図6】第1の実施形態の変形例に係る位相補正回路の
位相判定回路を中心とした部分的な構成図(その2)で
ある。
FIG. 6 is a partial configuration diagram (part 2) centering on a phase determination circuit of a phase correction circuit according to a modification of the first embodiment.

【図7】本発明の第2の実施形態に係る位相補正回路の
構成図である。
FIG. 7 is a configuration diagram of a phase correction circuit according to a second embodiment of the present invention.

【符号の説明】 101〜105…遅延回路、110…位相判定回路、1
20…選択回路、131…第1の可変遅延回路、132
…第2の可変遅延回路、141〜145,150,15
1,152…バッファ、111〜115…サブ位相判定
回路、201…D型フリップフロップ(第1の記憶手
段)、121〜125…セレクタ、130…布線論理
和、202…D型フリップフロップ(第2の記憶手
段)、203…ラッチ、204…NOTゲート回路、2
05…2入力NANDゲート回路、IPT…位相補正回
路の入力信号、BCK…基準信号、OPT…位相補正回
路の出力信号、TD1〜TD5…遅延回路の遅延時間、
TLD,TTL…可変遅延回路の遅延時間、TP…位相
判定期間、DO1〜DO5…遅延回路の出力信号、LD
CK…開始タイミング信号、TLCK…終了タイミング
信号、SMP…サンプリング信号、RST…リセット信
号、SL1〜SL5…選択信号、HiZ…ハイインピー
ダンス端子、301…NOTゲート回路、302…PM
OSトランジスタ、303…NMOSトランジスタ、3
04,305…電流源、VCC…電源電位、GND…接
地電位、510…位相判定回路、511〜515…サブ
位相判定回路、211,212…D型フリップフロッ
プ、213…ラッチ、214…NOTゲート回路、21
5…2入力NANDゲート回路、610…位相判定回
路、611〜615…サブ位相判定回路、221,22
2…D型フリップフロップ、223…ラッチ、225…
XORゲート回路、701〜705…遅延回路、710
…位相判定回路、720…選択回路、731…第3の可
変遅延回路、732…第4の可変遅延回路、741〜7
45,750,751,752…バッファ、TD21〜
TD25…遅延回路の遅延時間、TLD1,TTL2,
TLD3,TTL4…可変遅延回路の遅延時間、TP
1,TP2…位相判定期間、DO21〜DO25…遅延
回路の出力信号、LDCK1,LDCK2…開始タイミ
ング信号、TLCK1,TLCK2…終了タイミング信
号、OPT1…第1段の位相補正回路の出力信号、OP
T2…第2段の位相補正回路の出力信号。
[Description of Signs] 101 to 105: delay circuit, 110: phase determination circuit, 1
20 ... selection circuit, 131 ... first variable delay circuit, 132
... Second variable delay circuit, 141 to 145, 150, 15
1, 152 buffer, 111-115 sub phase determination circuit, 201 D-type flip-flop (first storage means), 121-125 selector, 130 wiring OR, 202 D-type flip-flop 2), 203... Latch, 204... NOT gate circuit, 2
05: two-input NAND gate circuit, IPT: input signal of the phase correction circuit, BCK: reference signal, OPT: output signal of the phase correction circuit, TD1 to TD5: delay time of the delay circuit,
TLD, TTL: delay time of variable delay circuit, TP: phase determination period, DO1 to DO5: output signal of delay circuit, LD
CK: Start timing signal, TLCK: End timing signal, SMP: Sampling signal, RST: Reset signal, SL1 to SL5: Select signal, HiZ: High impedance terminal, 301: NOT gate circuit, 302: PM
OS transistor, 303 ... NMOS transistor, 3
04, 305: current source, VCC: power supply potential, GND: ground potential, 510: phase determination circuit, 511 to 515: sub phase determination circuit, 211, 212: D-type flip-flop, 213: latch, 214: NOT gate circuit , 21
5 ... 2-input NAND gate circuit, 610 ... Phase determination circuit, 611-615 ... Sub-phase determination circuit, 221,22
2 ... D-type flip-flop, 223 ... latch, 225 ...
XOR gate circuit, 701 to 705... Delay circuit, 710
... Phase determination circuit, 720 ... selection circuit, 731 ... third variable delay circuit, 732 ... fourth variable delay circuit, 741-7
45,750,751,752 ... buffer, TD21-
TD25: delay time of delay circuit, TLD1, TTL2,
TLD3, TTL4 ... delay time of variable delay circuit, TP
1, TP2: phase determination period, DO21 to DO25: output signal of delay circuit, LDCK1, LDCK2 ... start timing signal, TLCK1, TLCK2 ... end timing signal, OPT1 ... output signal of first-stage phase correction circuit, OP
T2: output signal of the second-stage phase correction circuit.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 入力信号をそれぞれ異なる遅延時間だけ
遅らせて出力する複数の遅延回路と、 前記複数の遅延回路の出力信号の位相が、所定期間内に
入っているか否かを判定する位相判定回路と、 前記位相判定回路により前記遅延回路の出力信号の位相
が所定期間内に入っていると判定された場合に、その遅
延回路の出力信号を選択して出力する選択回路とを有す
る位相補正回路。
1. A plurality of delay circuits for delaying input signals by different delay times and outputting the delayed signals, and a phase determination circuit for determining whether or not the phases of the output signals of the plurality of delay circuits are within a predetermined period. And a selection circuit for selecting and outputting the output signal of the delay circuit when the phase determination circuit determines that the phase of the output signal of the delay circuit is within a predetermined period. .
【請求項2】 前記位相判定回路は、 前記複数の遅延回路と個々に対応して、対応する遅延回
路の出力信号の位相が所定期間内に入っているか否かを
判定するサブ位相判定回路を複数個有する請求項1記載
の位相補正回路。
2. The phase determination circuit according to claim 1, further comprising: a sub-phase determination circuit configured to individually determine whether a phase of an output signal of the corresponding delay circuit is within a predetermined period. 2. The phase correction circuit according to claim 1, wherein the phase correction circuit includes a plurality of the plurality of phase correction circuits.
【請求項3】 前記選択回路は、 前記サブ位相判定回路により、対応する遅延回路の出力
信号の位相が所定期間内に入っていると判定された場合
には、その遅延回路の出力信号を出力し、入っていない
と判定された場合には、出力をハイインピーダンス状態
とする複数の出力選択部を有し、 前記複数の出力選択部の出力の布線論理和をとる請求項
2記載の位相補正回路。
3. The selection circuit outputs an output signal of the delay circuit when the sub-phase determination circuit determines that the phase of the output signal of the corresponding delay circuit is within a predetermined period. 3. The phase according to claim 2, further comprising: a plurality of output selectors for setting an output to a high-impedance state when it is determined that the plurality of output selectors do not enter. Correction circuit.
【請求項4】 前記サブ位相判定回路は、 対応する遅延回路の出力信号を前記所定期間の開始タイ
ミングで記憶する第1の記憶手段と、 対応する遅延回路の出力信号を前記所定期間の終了タイ
ミングで記憶する第2の記憶手段とを有し、 前記第1の記憶手段の内容と前記第2記憶手段の内容と
が異なる場合に真値となり、一致する場合に偽値となる
信号を出力する請求項2記載の位相補正回路。
4. The first sub-phase determination circuit stores first and second output signals of a corresponding delay circuit at a start timing of the predetermined period, and stores an output signal of the corresponding delay circuit at an end timing of the predetermined period. And a second storage means for storing a signal which becomes a true value when the contents of the first storage means and the contents of the second storage means are different, and outputs a false value when they match. The phase correction circuit according to claim 2.
【請求項5】 前記複数の遅延回路の出力は、真値及び
偽値をそれぞれ表す電圧レベルについて駆動能力が同じ
である請求項1記載の位相補正回路。
5. The phase correction circuit according to claim 1, wherein the outputs of the plurality of delay circuits have the same drivability for voltage levels representing a true value and a false value, respectively.
【請求項6】 所定の基準信号を所定時間だけ遅らせ
て、前記所定期間の開始タイミングを規定する開始タイ
ミング信号を出力する第1の可変遅延回路と、 前記基準信号を所定時間だけ遅らせて、前記所定期間の
終了タイミングを規定する終了タイミング信号を出力す
る第2の可変遅延回路とを有する請求項1記載の位相補
正回路。
6. A first variable delay circuit for delaying a predetermined reference signal by a predetermined time and outputting a start timing signal for defining a start timing of the predetermined period, wherein the first variable delay circuit delays the reference signal by a predetermined time, 2. The phase correction circuit according to claim 1, further comprising: a second variable delay circuit that outputs an end timing signal that defines an end timing of the predetermined period.
【請求項7】 請求項1記載の位相補正回路が複数段直
列に接続されている位相補正回路。
7. A phase correction circuit in which the phase correction circuit according to claim 1 is connected in a plurality of stages in series.
JP8329428A 1996-12-10 1996-12-10 Phase compensating circuit Pending JPH10173496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8329428A JPH10173496A (en) 1996-12-10 1996-12-10 Phase compensating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8329428A JPH10173496A (en) 1996-12-10 1996-12-10 Phase compensating circuit

Publications (1)

Publication Number Publication Date
JPH10173496A true JPH10173496A (en) 1998-06-26

Family

ID=18221287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8329428A Pending JPH10173496A (en) 1996-12-10 1996-12-10 Phase compensating circuit

Country Status (1)

Country Link
JP (1) JPH10173496A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6486716B1 (en) 1999-09-08 2002-11-26 Nec Corporation Phase compensation circuit
US10457039B2 (en) 2016-03-31 2019-10-29 Canon Kabushiki Kaisha Printhead, printing apparatus, and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6486716B1 (en) 1999-09-08 2002-11-26 Nec Corporation Phase compensation circuit
US10457039B2 (en) 2016-03-31 2019-10-29 Canon Kabushiki Kaisha Printhead, printing apparatus, and control method

Similar Documents

Publication Publication Date Title
JP3836884B2 (en) Apparatus and method for providing programmable delay
US6525584B2 (en) Digital phase interpolator for controlling delay time and method thereof
JP4512158B2 (en) Variable delay network
CA1326713C (en) Computer system clock generator
US7119596B2 (en) Wide-range programmable delay line
US20080129357A1 (en) Adaptive Integrated Circuit Clock Skew Correction
JPH0354898B2 (en)
JPH11510250A (en) Low cost CMOS tester
JPH06350416A (en) Digital data delay circuit
KR100808591B1 (en) Clock tree circuit and duty correction test method using the same and semiconductor memory device comprising same
JPH05259845A (en) Delay line
US5214680A (en) CMOS pseudo-NMOS programmable capacitance time vernier and method of calibration
KR100745855B1 (en) Delay line calibration circuit comprising asynchronous arbiter element
US6922074B2 (en) ASIC architecture for active-compensation of a programmable impedance I/O
US6772382B2 (en) Driver for integrated circuit chip tester
US6011425A (en) CMOS offset trimming circuit and offset generation circuit
US20050001668A1 (en) Variable delay element for use in delay tuning of integrated circuits
US20080238516A1 (en) Timing interpolator with improved linearity
US20070038404A1 (en) Testable digital delay line
US9059716B1 (en) Digital PVT compensation for delay chain
US7548099B2 (en) Semiconductor device with delay section
JPH10173496A (en) Phase compensating circuit
KR100632615B1 (en) Data Strobe Signal Generation Circuit for Testing Synchronous Memory Devices
KR19980080257A (en) Multiplexing circuit
US7148733B2 (en) Variable delay circuit with faster delay data update