[go: up one dir, main page]

JP2001069127A - High speed data receiving circuit - Google Patents

High speed data receiving circuit

Info

Publication number
JP2001069127A
JP2001069127A JP31706899A JP31706899A JP2001069127A JP 2001069127 A JP2001069127 A JP 2001069127A JP 31706899 A JP31706899 A JP 31706899A JP 31706899 A JP31706899 A JP 31706899A JP 2001069127 A JP2001069127 A JP 2001069127A
Authority
JP
Japan
Prior art keywords
clock
phase
data
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.)
Granted
Application number
JP31706899A
Other languages
Japanese (ja)
Other versions
JP3246554B2 (en
Inventor
Masahiro Takeuchi
正浩 竹内
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP31706899A priority Critical patent/JP3246554B2/en
Publication of JP2001069127A publication Critical patent/JP2001069127A/en
Application granted granted Critical
Publication of JP3246554B2 publication Critical patent/JP3246554B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To correctly receive data without controlling the delay quantity of a circuit or wiring and to correctly receive the data even when the duty of the reception data is deteriorated. SOLUTION: In a five-point sampling part 230, the reception data are fetched by five clocks of different phases and in a clock selection determining part 240, the phases of reception data fetched by the five-point sampling part 230 are compared and it is detected whether the data fetched by a clock having the central phase among relevant five pieces of data are included within a duty degradation range or not. On the basis of the compared result and the detected result, in a clock selecting part 220, the clock to be inputted to the five-point sampling part 230 is selected among plural clocks generated by a multiphase clock generating part 10.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、高速データ受信回
路に関し、特に、受信クロックと受信データの位相が変
動した場合や、受信データのデューティーが劣化した場
合においても、受信データを正確に受信することができ
る高速データ受信回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-speed data receiving circuit, and more particularly to a high-speed data receiving circuit which receives received data accurately even when the phase of the received clock and the received data fluctuates or the duty of the received data deteriorates. The present invention relates to a high-speed data receiving circuit capable of performing such operations.

【0002】[0002]

【従来の技術】従来より、この種のデータ受信回路にお
いては、例えば、特開平10−247903号公報に開
示されているように、データと多相化されたクロックと
の位相が比較され、該比較結果に基づいて、データ取り
込み用のクロック位相が制御されている。
2. Description of the Related Art Conventionally, in a data receiving circuit of this type, for example, as disclosed in Japanese Patent Application Laid-Open No. Hei 10-247903, the phase of a data is compared with that of a multi-phase clock. The clock phase for taking in data is controlled based on the comparison result.

【0003】図20は、従来のデータ受信回路の一構成
例を示すブロック図であり、クロックを4相化して用い
る例を示している。
FIG. 20 is a block diagram showing one configuration example of a conventional data receiving circuit, and shows an example in which a clock is used in four phases.

【0004】本従来例は図20に示すように、システム
クロックが入力され、予め決められた遅延量にてシステ
ムクロックを遅延させることによりシステムクロックを
多相化する遅延回路101a〜101cと、システムク
ロックと遅延回路101a〜101cから出力されたク
ロックパルスと受信データとが入力され、受信データの
変化点とシステムクロック及び遅延回路101a〜10
1cから出力されたクロックパルスの立ち上がり点とに
基づいて、一定幅を有する受信データパルス及びクロッ
クパルスを生成して出力する位相比較用パルス生成回路
102と、入力される位相選択信号に基づいて、位相比
較用パルス生成回路102にて生成されたクロックパル
スのうち1つのクロックパルスを選択して出力する位相
選択回路103と、入力される位相選択信号に基づい
て、システムクロック及び遅延回路101a〜101c
から出力されたクロックパルスのうち1つのクロックを
選択して出力する位相選択回路104と、位相比較用パ
ルス生成回路102から出力された受信データパルスの
位相と位相選択回路103から出力された選択クロック
パルスの位相とを比較する位相比較回路105と、UP
/DOWNカウンタで構成され、位相比較回路105に
おける比較結果に基づいて、位相選択回路103,10
4に入力される位相選択信号を生成する位相判定回路1
06と、位相選択回路104から出力されたクロックで
受信データを取り込むラッチ回路107とから構成され
ており、位相選択回路104にて選択されたクロックが
出力クロックとして出力される。
In this conventional example, as shown in FIG. 20, a system clock is input, and delay circuits 101a to 101c for multiplying the system clock by delaying the system clock by a predetermined delay amount; The clock, the clock pulse output from the delay circuits 101a to 101c and the received data are input, and the change point of the received data, the system clock and the delay circuits 101a to 101c are input.
Based on the rising edge of the clock pulse output from 1c, a phase comparison pulse generation circuit 102 that generates and outputs a reception data pulse and a clock pulse having a certain width, and a phase selection signal that is input, A phase selection circuit 103 for selecting and outputting one of the clock pulses generated by the phase comparison pulse generation circuit 102, and a system clock and delay circuit 101a to 101c based on the input phase selection signal
Selecting circuit 104 for selecting and outputting one of the clock pulses output from the phase shifter, a phase of the received data pulse output from the phase comparison pulse generating circuit 102, and a selected clock output from the phase selecting circuit 103. A phase comparison circuit 105 for comparing the phase of the pulse
/ DOWN counter, and based on the comparison result in the phase comparison circuit 105, the phase selection circuits 103 and 10
Phase determination circuit 1 for generating a phase selection signal input to
06, and a latch circuit 107 that takes in received data with the clock output from the phase selection circuit 104, and the clock selected by the phase selection circuit 104 is output as an output clock.

【0005】以下に、上記のように構成されたデータ受
信回路の動作について説明する。
[0005] The operation of the data receiving circuit configured as described above will be described below.

【0006】まず、遅延回路101a〜101cにおい
て、システムクロックがそれぞれに設定された遅延時間
に基づいて遅延し、それにより、多相化されたクロック
パルスが出力される。
First, in the delay circuits 101a to 101c, the system clock is delayed based on the delay time set for each, whereby a multi-phase clock pulse is output.

【0007】次に、システムクロックと遅延回路101
a〜101cから出力されたクロックと受信データとが
位相比較用パルス生成回路102に入力され、位相比較
用パルス生成回路102において、受信データの変化点
とシステムクロック及び遅延回路101a〜101cか
ら出力されたクロックパルスの立ち上がり点とに基づい
て、一定幅を有する受信データパルス及びクロックパル
スが生成され、出力される。
Next, the system clock and delay circuit 101
The clocks output from a to 101c and the received data are input to the phase comparison pulse generation circuit 102, and in the phase comparison pulse generation circuit 102, the change points of the received data and the system clock and the output from the delay circuits 101a to 101c are output. Based on the rising point of the clock pulse, a received data pulse and a clock pulse having a certain width are generated and output.

【0008】次に、位相選択回路103において、位相
判定回路106にて生成された位相選択信号が入力さ
れ、該位相選択信号に基づいて、位相比較用パルス生成
回路102にて生成されたクロックパルスのうち1つの
クロックパルスが選択され、出力される。
Next, the phase selection signal generated by the phase determination circuit 106 is input to the phase selection circuit 103, and the clock pulse generated by the phase comparison pulse generation circuit 102 is generated based on the phase selection signal. Is selected and output.

【0009】次に、位相比較回路105において、位相
比較用パルス生成回路102から出力された受信データ
パルスの位相と位相選択回路103から出力された選択
クロックパルスの位相とが比較される。
Next, the phase comparison circuit 105 compares the phase of the received data pulse output from the phase comparison pulse generation circuit 102 with the phase of the selected clock pulse output from the phase selection circuit 103.

【0010】位相比較回路105における比較結果は位
相判定回路106に入力され、位相判定回路106にお
いて、該比較結果が、位相比較用パルス生成回路102
から出力された受信データパルスと位相選択回路103
から出力された選択クロックパルスとの間でセットアッ
プ時間が満足されない可能性があるものである場合、セ
ットアップ時間を増加させるために位相選択回路103
において選択されるクロックパルスの位相が遅れるよう
な位相選択信号が生成され、また、位相比較用パルス生
成回路102から出力された受信データパルスと位相選
択回路103から出力された選択クロックパルスとの間
でホールド時間が満足されない可能性があるものである
場合、ホールド時間を増加させるために位相選択回路1
03において選択されるクロックパルスの位相が進むよ
うな位相選択信号が生成され、また、位相比較用パルス
生成回路102から出力された受信データパルスと位相
選択回路103から出力された選択クロックパルスとの
間でセットアップ時間及びホールド時間の両方が満足す
るようなものである場合、位相選択回路103において
選択されるクロックパルスの位相が保持されるような位
相選択信号が生成され、該位相選択信号が位相選択回路
103,104に対して出力される。
The comparison result of the phase comparison circuit 105 is input to a phase judgment circuit 106, and the comparison result is output to the phase comparison pulse generation circuit 102.
Data pulse and phase selection circuit 103 output from
If there is a possibility that the setup time may not be satisfied with the selected clock pulse output from the phase selection circuit 103, the phase selection circuit 103 may be used to increase the setup time.
A phase selection signal is generated such that the phase of the clock pulse selected in the step is delayed, and between the received data pulse output from the phase comparison pulse generation circuit 102 and the selected clock pulse output from the phase selection circuit 103 If there is a possibility that the hold time may not be satisfied, the phase selection circuit 1 may be used to increase the hold time.
03, a phase selection signal is generated such that the phase of the clock pulse selected advances, and the received data pulse output from the phase comparison pulse generation circuit 102 and the selected clock pulse output from the phase selection circuit 103 are generated. If both the setup time and the hold time are satisfied, a phase selection signal is generated such that the phase of the clock pulse selected in the phase selection circuit 103 is maintained, and the phase selection signal is generated. Output to the selection circuits 103 and 104.

【0011】位相選択回路104においては、位相判定
回路106から出力された位相選択信号に基づいて、シ
ステムクロック及び遅延回路101a〜101cから出
力されたクロックパルスのうち1つのクロックが選択さ
れ、出力クロックとして出力される。
In the phase selection circuit 104, one of the system clock and the clock pulse output from the delay circuits 101a to 101c is selected based on the phase selection signal output from the phase determination circuit 106, and the output clock is selected. Is output as

【0012】位相選択回路104から出力クロックとし
て出力されたクロックはラッチ回路107にも入力さ
れ、ラッチ回路107において、位相選択回路104か
ら出力されたクロックで受信データが取り込まれ、出力
データとして出力される。
The clock output from the phase selection circuit 104 as an output clock is also input to the latch circuit 107. The latch circuit 107 receives the received data with the clock output from the phase selection circuit 104 and outputs it as output data. You.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、上述し
たような従来のデータ受信回路においては、実際にラッ
チ回路107を介してラッチ出力される受信データと、
クロックの位相を調整するために位相比較用パルス生成
回路102を介して位相比較回路105に入力される受
信データとは経路が互いに異なっており、また、位相選
択回路104を介して実際に出力されるクロックと、ク
ロックの位相を調整するために位相比較用パルス生成回
路102及び位相選択回路103を介して位相比較回路
105に入力されるクロックとは経路が互いに異なって
いるため、これら4つの経路における遅延量の組み合わ
せによっては、位相比較回路105における比較結果
が、セットアップ時間及びホールド時間をともに満足し
ているものである場合においても、そのときに位相選択
回路104にて選択されたクロックが、ラッチ回路10
7にて受信データを取り込む際にセットアップ時間及び
ホールド時間を満足しているとは限らず、正しいデータ
を取り込むことができなくなる虞れがある。
However, in the conventional data receiving circuit as described above, the received data actually latched and output via the latch circuit 107 is
The path is different from the received data input to the phase comparison circuit 105 via the phase comparison pulse generation circuit 102 for adjusting the phase of the clock, and is actually output via the phase selection circuit 104. The path of the clock which is input to the phase comparison circuit 105 via the phase comparison pulse generation circuit 102 and the phase selection circuit 103 for adjusting the phase of the clock is different from each other. Depending on the combination of the delay amounts in the above, even if the comparison result in the phase comparison circuit 105 satisfies both the setup time and the hold time, the clock selected by the phase selection circuit 104 at that time is Latch circuit 10
7, the setup time and the hold time are not always satisfied when receiving the received data, and there is a possibility that correct data cannot be captured.

【0014】例えば、位相選択回路104における遅延
量がクロック1周期の半分であり、位相選択回路104
以外における遅延量が0である場合について考える。
For example, the amount of delay in the phase selection circuit 104 is half of one cycle of the clock, and
Consider a case where the delay amount other than the above is 0.

【0015】この場合、位相比較回路105における位
相比較の結果が、受信データの変化点とクロックの立ち
上がりの位相とがクロックの1周期の半分だけずれるも
のであっても、位相選択回路104において入力された
クロックがクロック1周期の半分遅れ、それにより、ラ
ッチ回路107に入力されるデータの変化点とクロック
の立ち上がりの位相とが一致してしまい、セットアップ
時間及びホールド時間が満足されず、正しいデータを取
り込むことができなくなってしまう。
In this case, even if the result of the phase comparison in the phase comparison circuit 105 is such that the change point of the received data and the phase of the rising edge of the clock are shifted by one half of one cycle of the clock, the input to the phase selection circuit 104 is not performed. The delayed clock is delayed by half of one cycle of the clock, whereby the change point of the data input to the latch circuit 107 coincides with the phase of the rising edge of the clock, and the setup time and the hold time are not satisfied. Cannot be imported.

【0016】このような問題点を解決するためには、位
相比較用パルス生成回路102や位相選択回路103,
104等の分岐点108,109からラッチ回路107
及び位相比較回路105までの間に存在する回路と配線
の遅延量を調節する必要がある。
To solve such a problem, a phase comparison pulse generation circuit 102, a phase selection circuit 103,
From the branch points 108 and 109 such as 104
In addition, it is necessary to adjust the amount of delay between the circuit and the wiring existing up to the phase comparison circuit 105.

【0017】しかしながら、受信データの周波数が低い
場合はこのような調節が容易であるが、受信データの周
波数が高くなるにしたがって、遅延量を微少な範囲内に
調節しなければならなくなり、回路の実現が困難になる
という問題点がある。
However, when the frequency of the received data is low, such adjustment is easy. However, as the frequency of the received data increases, the amount of delay must be adjusted within a minute range. There is a problem that implementation is difficult.

【0018】本発明は、上述したような従来の技術が有
する問題点に鑑みてなされたものであって、回路や配線
における遅延量を調節することなく受信データを正しく
受信することができるとともに、受信データのデューテ
ィーが劣化した場合においても受信データを正しく受信
することができる高速データ受信回路を提供することを
目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and can correctly receive received data without adjusting a delay amount in a circuit or a wiring. It is an object of the present invention to provide a high-speed data receiving circuit capable of correctly receiving received data even when the duty of the received data is deteriorated.

【0019】[0019]

【課題を解決するための手段】上記目的を達成するため
に本発明は、受信データを所定のセットアップ時間及び
ホールド時間を満たすクロックにて取り込む高速データ
受信回路であって、前記受信データを予め決められた位
相差を有する3つのクロックにて取り込むサンプリング
手段と、該サンプリング手段にて取り込まれた3つのデ
ータを互いに比較し、該比較結果に基づいて、前記3つ
のクロックを出力する選択手段とを有し、前記サンプリ
ング手段に入力される3つのクロックのうち中央の位相
を有するクロックが出力クロックとして出力され、該出
力クロックにて取り込まれたデータが出力データとして
出力されることを特徴とする。
In order to achieve the above object, the present invention provides a high-speed data receiving circuit for receiving received data with a clock that satisfies a predetermined setup time and hold time, wherein the received data is determined in advance. Sampling means for capturing with three clocks having the obtained phase difference, and selecting means for comparing the three data captured by the sampling means with each other and outputting the three clocks based on the comparison result. And a clock having a center phase among the three clocks input to the sampling means is output as an output clock, and data captured by the output clock is output as output data.

【0020】また、前記選択手段における前記3つのク
ロックの出力及び前記サンプリング手段における受信デ
ータの取り込みは、ループによって繰り返し行われるこ
とを特徴とする。
The output of the three clocks by the selection means and the reception of the reception data by the sampling means are repeatedly performed by a loop.

【0021】また、前記選択手段は、前記3つのデータ
を互いに比較した結果、最も位相の進んだクロックにて
取り込まれたデータと前記中央の位相を有するクロック
にて取り込まれたデータとが異なる場合、出力する3つ
のクロックの位相をそれぞれ遅らせ、最も位相の遅れた
クロックにて取り込まれたデータと前記中央の位相を有
するクロックにて取り込まれたデータとが異なる場合、
出力する3つのクロックの位相をそれぞれ進ませること
を特徴とする。
In addition, as a result of comparing the three data with each other, if the data captured by the clock having the most advanced phase is different from the data captured by the clock having the central phase, When the phases of the three clocks to be output are respectively delayed, and the data captured by the clock having the most delayed phase is different from the data captured by the clock having the central phase,
It is characterized in that the phases of the three output clocks are advanced respectively.

【0022】また、受信クロックを多相化する多相クロ
ック生成手段を有し、前記選択手段は、前記比較結果に
基づいて、前記多相クロック生成手段にて生成された複
数のクロックの中から3つのクロックを選択して出力す
ることを特徴とする。
[0022] Further, there is provided a multi-phase clock generation means for multiplying the received clock, wherein the selection means selects one of the plurality of clocks generated by the multi-phase clock generation means based on the comparison result. It is characterized in that three clocks are selected and output.

【0023】また、受信クロックを多相化する多相クロ
ック生成手段を有し、前記選択手段は、前記比較結果に
基づいて、前記多相クロック生成手段にて生成された複
数のクロックの中から1つのクロックを選択し、選択し
た1つのクロックを予め決められた位相差を設けて3つ
のクロックとして出力することを特徴とする。
[0023] Also, there is provided a multi-phase clock generating means for multiplying the received clock, and the selecting means selects one of the plurality of clocks generated by the multi-phase clock generating means based on the comparison result. One clock is selected, and the selected one clock is output as three clocks with a predetermined phase difference.

【0024】また、前記選択手段は、前記サンプリング
手段にて取り込まれた3つのデータを互いに比較し、最
も位相の進んだクロックにて取り込まれたデータと前記
中央の位相を有するクロックにて取り込まれたデータと
が異なる場合、選択する3つのクロックの位相をそれぞ
れ遅らせるための選択信号を出力し、最も位相の遅れた
クロックにて取り込まれたデータと前記中央の位相を有
するクロックにて取り込まれたデータとが異なる場合、
選択する3つのクロックの位相をそれぞれ進ませるため
の選択信号を出力するクロック選択決定部と、該クロッ
ク選択決定部から出力された選択信号に基づいて、前記
多相クロック生成手段にて生成された複数のクロックの
うち3つのクロックを選択して出力するクロック選択部
とを有することを特徴とする。
The selecting means compares the three data fetched by the sampling means with each other, and fetches the data fetched by the clock having the most advanced phase and the clock having the central phase. If the data is different, the selection signals for respectively delaying the phases of the three clocks to be selected are output, and the data captured by the clock with the most delayed phase and the clock captured with the clock having the central phase are captured. If the data is different,
A clock selection determining unit that outputs a selection signal for advancing each of the three clocks to be selected, and a multi-phase clock generation unit that generates the selection signal based on the selection signal output from the clock selection determination unit. A clock selection unit that selects and outputs three clocks from among a plurality of clocks.

【0025】また、前記選択手段は、前記サンプリング
手段にて取り込まれた3つのデータを互いに比較し、最
も位相の進んだクロックにて取り込まれたデータと前記
中央の位相を有するクロックにて取り込まれたデータと
が異なる場合、選択する3つのクロックの位相をそれぞ
れ遅らせるための選択信号を出力し、最も位相の遅れた
クロックにて取り込まれたデータと前記中央の位相を有
するクロックにて取り込まれたデータとが異なる場合、
選択する3つのクロックの位相をそれぞれ進ませるため
の選択信号を出力するクロック選択決定部と、該クロッ
ク選択決定部から出力された選択信号に基づいて、前記
多相クロック生成手段にて生成された複数のクロックの
うち1つのクロックを選択し、選択した1つのクロック
を予め決められた位相差を設けて3つのクロックとして
出力するクロック選択部とを有することを特徴とする。
The selecting means compares the three data taken in by the sampling means with each other, and takes in the data taken in by the clock having the most advanced phase and the data having the center phase. If the data is different, the selection signals for respectively delaying the phases of the three clocks to be selected are output, and the data captured by the clock with the most delayed phase and the clock captured with the clock having the central phase are captured. If the data is different,
A clock selection determining unit that outputs a selection signal for advancing each of the three clocks to be selected, and a multi-phase clock generation unit that generates the selection signal based on the selection signal output from the clock selection determination unit. A clock selecting unit that selects one clock from among a plurality of clocks, provides the selected one clock with a predetermined phase difference, and outputs the selected clock as three clocks.

【0026】また、前記クロック選択部は、前記クロッ
ク選択決定部から出力された選択信号に基づいて、前記
多相クロック生成手段にて生成された複数のクロックの
うち1つのクロックを選択するセレクタと、該セレクタ
にて選択されたクロックを互いに異なる遅延量だけ遅延
させて2つのクロックとして出力する遅延手段とを有
し、前記セレクタにて選択されたクロックと、前記遅延
手段から出力された2つのクロックとを前記3つのクロ
ックとして出力することを特徴とする。
[0026] The clock selection unit may further include a selector for selecting one of a plurality of clocks generated by the multi-phase clock generation unit based on a selection signal output from the clock selection determination unit. And delay means for delaying the clock selected by the selector by a different delay amount and outputting the two clocks. The clock selected by the selector and the two clocks output from the delay means are provided. Clocks are output as the three clocks.

【0027】また、前記クロック選択決定部は、前記サ
ンプリング手段にて取り込まれた3つのデータを互いに
比較し、最も位相の進んだクロックにて取り込まれたデ
ータと前記中央の位相を有するクロックにて取り込まれ
たデータとが異なる場合、UP信号を出力し、最も位相
の遅れたクロックにて取り込まれたデータと前記中央の
位相を有するクロックにて取り込まれたデータとが異な
る場合、DOWN信号を出力する位相比較部と、該位相
比較部からUP信号が出力された場合にカウント値をイ
ンクリメントし、DOWN信号が出力された場合にカウ
ント値をデクリメントし、該カウント値を前記選択信号
として出力するカウンタ部とを有し、前記クロック選択
部は、前記カウンタ部におけるカウント値がインクリメ
ントされた場合、選択する3つのクロックの位相をそれ
ぞれ遅らせ、前記カウンタ部におけるカウント値がデク
リメントされた場合、選択する3つのクロックの位相を
それぞれ進ませることを特徴とする。
The clock selection determining section compares the three data fetched by the sampling means with each other, and uses the data fetched by the clock having the most advanced phase and the clock having the central phase. If the captured data is different, an UP signal is output. If the data captured by the clock with the most delayed phase and the data captured by the clock having the central phase are different, a DOWN signal is output. And a counter that increments a count value when an UP signal is output from the phase comparison unit, decrements the count value when a DOWN signal is output, and outputs the count value as the selection signal. And the clock selecting unit, when the count value in the counter unit is incremented, It delayed three clock phases of-option, respectively, when the count value in the counter is decremented, characterized in that advancing the three clock phases of selecting respectively.

【0028】また、前記クロック選択決定部は、前記サ
ンプリング手段にて取り込まれた3つのデータを互いに
比較し、最も位相の進んだクロックにて取り込まれたデ
ータと前記中央の位相を有するクロックにて取り込まれ
たデータとが異なる場合、UP信号を出力し、最も位相
の遅れたクロックにて取り込まれたデータと前記中央の
位相を有するクロックにて取り込まれたデータとが異な
る場合、DOWN信号を出力する位相比較部と、該位相
比較部からUP信号が出力された場合にカウント値をイ
ンクリメントし、DOWN信号が出力された場合にカウ
ント値をデクリメントし、該カウント値を前記選択信号
として出力するカウンタ部とを有し、前記クロック選択
部は、前記カウンタ部におけるカウント値がインクリメ
ントされた場合、選択する1つのクロックの位相を遅ら
せ、前記カウンタ部におけるカウント値がデクリメント
された場合、選択する1つのクロックの位相を進ませる
ことを特徴とする。
Further, the clock selection determining section compares the three data fetched by the sampling means with each other, and uses the data fetched by the clock having the most advanced phase and the clock having the central phase. If the captured data is different, an UP signal is output. If the data captured by the clock with the most delayed phase and the data captured by the clock having the central phase are different, a DOWN signal is output. And a counter that increments a count value when an UP signal is output from the phase comparison unit, decrements the count value when a DOWN signal is output, and outputs the count value as the selection signal. And the clock selecting unit, when the count value in the counter unit is incremented, Delaying one clock phase to-option, if the count value in the counter is decremented, characterized in that advancing the one clock phase to be selected.

【0029】また、前記位相比較部は、前記UP信号ま
たは前記DOWN信号を出力した場合、該UP信号また
はDOWN信号出力後予め決められた期間は、前記UP
信号または前記DOWN信号を出力しないことを特徴と
する。
When the UP signal or the DOWN signal is output, the phase comparison unit outputs the UP signal or the DOWN signal for a predetermined period after the output of the UP signal or the DOWN signal.
No signal or the DOWN signal is output.

【0030】また、受信データを所定のセットアップ時
間及びホールド時間を満たすクロックにて取り込む高速
データ受信回路であって、前記受信データを予め決めら
れた位相差を有する5つのクロックにて取り込むサンプ
リング手段と、該サンプリング手段にて取り込まれた5
つのデータを互いに比較するとともに、当該5つのデー
タのうち中央の位相を有するクロックにて取り込まれた
データがデューティー劣化範囲内に含まれているかどう
かを検出し、該比較結果及び検出結果に基づいて、前記
5つのクロックを出力する選択手段とを有し、前記サン
プリング手段に入力される5つのクロックのうち中央の
位相を有するクロックが出力クロックとして出力され、
該出力クロックにて取り込まれたデータが出力データと
して出力されることを特徴とする。
A high-speed data receiving circuit for receiving received data with a clock that satisfies a predetermined setup time and a hold time, and a sampling means for capturing the received data with five clocks having a predetermined phase difference; , 5 captured by the sampling means.
The two data are compared with each other, and it is detected whether or not the data captured by the clock having the central phase out of the five data is included in the duty deterioration range, and based on the comparison result and the detection result, Selecting means for outputting the five clocks, a clock having a central phase among the five clocks input to the sampling means is output as an output clock,
Data captured by the output clock is output as output data.

【0031】また、前記選択手段における前記5つのク
ロックの出力及び前記サンプリング手段における受信デ
ータの取り込みは、ループによって繰り返し行われるこ
とを特徴とする。
The output of the five clocks by the selection means and the reception of the received data by the sampling means are repeatedly performed by a loop.

【0032】また、前記選択手段は、前記5つのデータ
を互いに比較した結果、中央の位相を有するクロックに
て取り込まれたデータとそれよりも位相の進んだクロッ
クにて取り込まれたデータとが異なる場合、出力する5
つのクロックの位相をそれぞれ遅らせ、前記中央の位相
を有するクロックにて取り込まれたデータとそれよりも
位相の遅れたクロックにて取り込まれたデータとが異な
る場合、出力する5つのクロックの位相をそれぞれ進ま
せることを特徴とする。
In addition, as a result of comparing the five data with each other, the selecting means finds that the data fetched by the clock having the central phase is different from the data fetched by the clock having a phase advanced from that. If output 5
If the data captured by the clock having the center phase is different from the data captured by the clock delayed in phase, the phases of the five clocks to be output are respectively delayed. It is characterized by proceeding.

【0033】また、前記選択手段は、前記中央の位相を
有するクロックにて取り込まれたデータがデューティー
劣化範囲内に含まれていることを検出した場合、当該デ
ータがデューティー劣化範囲内から抜け出すようなクロ
ックを出力することを特徴とする。
When the selecting means detects that the data fetched by the clock having the center phase is included in the duty deterioration range, the selection means causes the data to fall out of the duty deterioration range. It is characterized by outputting a clock.

【0034】また、前記選択手段は、前記中央の位相を
有するクロックにて取り込まれたデータがデューティー
劣化範囲内に含まれていることを検出した場合、出力す
る5つのクロックの位相を変化させることにより、当該
データがデューティー劣化範囲内から抜け出すようなク
ロックを出力することを特徴とする。
[0034] Further, when detecting that the data taken in by the clock having the center phase is included in the duty deterioration range, the selecting means changes the phases of the five clocks to be output. Thus, a clock is output such that the data comes out of the duty deterioration range.

【0035】また、受信クロックを多相化する多相クロ
ック生成手段を有し、前記選択手段は、前記比較結果に
基づいて、前記多相クロック生成手段にて生成された複
数のクロックの中から5つのクロックを選択して出力す
ることを特徴とする。
The multi-phase clock generating means for multiplying the received clock is provided. The selecting means selects one of the plurality of clocks generated by the multi-phase clock generating means based on the comparison result. It is characterized in that five clocks are selected and output.

【0036】また、受信クロックを多相化する多相クロ
ック生成手段を有し、前記選択手段は、前記比較結果に
基づいて、前記多相クロック生成手段にて生成された複
数のクロックの中から1つのクロックを選択し、選択し
た1つのクロックを予め決められた位相差を設けて5つ
のクロックとして出力することを特徴とする。
The multi-phase clock generator includes a multi-phase clock generator for multiplying the received clock. The selector selects one of the plurality of clocks generated by the multi-phase clock generator based on the comparison result. One clock is selected, and the selected one clock is output as five clocks with a predetermined phase difference.

【0037】また、前記選択手段は、前記サンプリング
手段にて取り込まれた5つのデータを互いに比較し、前
記中央の位相を有するクロックにて取り込まれたデータ
とそれよりも位相の進んだクロックにて取り込まれたデ
ータとが異なる場合、選択する5つのクロックの位相を
それぞれ遅らせるための選択信号を出力し、前記中央の
位相を有するクロックにて取り込まれたデータとそれよ
りも位相の遅れたクロックにて取り込まれたデータとが
異なる場合、選択する5つのクロックの位相をそれぞれ
進ませるための選択信号を出力し、当該5つのデータの
うち中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内に含まれているかどうかを
検出し、前記中央の位相を有するクロックにて取り込ま
れたデータがデューティー劣化範囲内に含まれているこ
とを検出した場合、当該データがデューティー劣化範囲
内から抜け出すようなクロックを選択するための選択信
号を出力するクロック選択決定部と、該クロック選択決
定部から出力された選択信号に基づいて、前記多相クロ
ック生成手段にて生成された複数のクロックのうち5つ
のクロックを選択して出力するクロック選択部とを有す
ることを特徴とする。
The selecting means compares the five data fetched by the sampling means with each other, and selects the data fetched by the clock having the central phase and the clock fetched with a phase advanced from the clock. If the captured data is different, a selection signal for delaying the phase of each of the five clocks to be selected is output, and the data captured by the clock having the central phase and the clock delayed in phase therefrom are output. If the received data is different, a selection signal is output to advance the phase of each of the five clocks to be selected, and the data captured by the clock having the center phase of the five data is degraded in duty. It is detected whether the data is within the range, and the data captured by the clock having the central phase A clock selection determining unit that outputs a selection signal for selecting a clock that causes the data to fall out of the duty deterioration range when detecting that the data falls within the duty deterioration range; A clock selection unit for selecting and outputting five clocks from among the plurality of clocks generated by the multi-phase clock generation means based on the selected selection signal.

【0038】また、前記選択手段は、前記サンプリング
手段にて取り込まれた5つのデータを互いに比較し、前
記中央の位相を有するクロックにて取り込まれたデータ
とそれよりも位相の進んだクロックにて取り込まれたデ
ータとが異なる場合、選択する5つのクロックの位相を
それぞれ遅らせるための選択信号を出力し、前記中央の
位相を有するクロックにて取り込まれたデータとそれよ
りも位相の遅れたクロックにて取り込まれたデータとが
異なる場合、選択する5つのクロックの位相をそれぞれ
進ませるための選択信号を出力し、当該5つのデータの
うち中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内に含まれているかどうかを
検出し、前記中央の位相を有するクロックにて取り込ま
れたデータがデューティー劣化範囲内に含まれているこ
とを検出した場合、当該データがデューティー劣化範囲
内から抜け出すようなクロックを選択するための選択信
号を出力するクロック選択決定部と、該クロック選択決
定部から出力された選択信号に基づいて、前記多相クロ
ック生成手段にて生成された複数のクロックのうち1つ
のクロックを選択し、選択した1つのクロックを予め決
められた位相差を設けて5つのクロックとして出力する
クロック選択部とを有することを特徴とする。
The selecting means compares the five data fetched by the sampling means with each other, and uses the data fetched by the clock having the central phase and the clock advanced in phase with the data fetched. If the captured data is different, a selection signal for delaying the phase of each of the five clocks to be selected is output, and the data captured by the clock having the central phase and the clock delayed in phase therefrom are output. If the received data is different, a selection signal is output to advance the phase of each of the five clocks to be selected, and the data captured by the clock having the center phase of the five data is degraded in duty. It is detected whether the data is within the range, and the data captured by the clock having the central phase A clock selection determining unit that outputs a selection signal for selecting a clock that causes the data to fall out of the duty deterioration range when detecting that the data falls within the duty deterioration range; One of a plurality of clocks generated by the multi-phase clock generation means is selected based on the selected selection signal, and the selected one clock is provided with a predetermined phase difference to be five clocks. And a clock selection unit for outputting.

【0039】また、前記クロック選択決定部は、前記サ
ンプリング手段にて取り込まれた5つのデータのうち、
中央の位相を有するクロックにて取り込まれたデータと
中央の位相よりも位相の進んだクロックにて取り込まれ
たデータと中央の位相よりも位相の遅れたクロックにて
取り込まれたデータとを互いに比較し、前記中央の位相
を有するクロックにて取り込まれたデータと前記位相の
進んだクロックにて取り込まれたデータとが異なる場
合、UP信号を出力し、前記中央の位相を有するクロッ
クにて取り込まれたデータと前記位相の遅れたクロック
にて取り込まれたデータとが異なる場合、DOWN信号
を出力する位相比較部と、前記サンプリング手段にて取
り込まれた5つのデータのうち、中央の位相を有するク
ロックにて取り込まれたデータと中央の位相よりも位相
の進んだクロックにて取り込まれたデータと中央の位相
よりも位相の遅れたクロックにて取り込まれたデータと
を互いに比較し、前記中央の位相を有するクロックにて
取り込まれたデータがデューティー劣化範囲内に含まれ
ているかどうかを検出し、前記中央の位相を有するクロ
ックにて取り込まれたデータがデューティー劣化範囲内
に含まれていることを検出した場合、DUP信号または
DDOWN信号を出力するデューティー劣化検出部と、
前記位相比較部からUP信号が出力された場合にカウン
ト値をインクリメントし、DOWN信号が出力された場
合にカウント値をデクリメントし、前記デューティー劣
化検出部からDUP信号が出力された場合に前記中央の
位相を有するクロックにて取り込まれたデータがデュー
ティー劣化範囲内から抜け出すように前記カウント値を
インクリメントし、DDOWN信号が出力された場合に
前記中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内から抜け出すように前記カ
ウント値をデクリメントし、該カウント値を前記選択信
号として出力するカウンタ部とを有し、前記クロック選
択部は、前記カウンタ部におけるカウント値がインクリ
メントされた場合、選択する5つのクロックの位相をそ
れぞれ遅らせ、前記カウンタ部におけるカウント値がデ
クリメントされた場合、選択する5つのクロックの位相
をそれぞれ進ませることを特徴とする。
Further, the clock selection deciding section selects one of the five data fetched by the sampling means.
Comparing data captured with a clock having a central phase, data captured with a clock advanced in phase from the central phase, and data captured with a clock delayed in phase from the central phase If the data captured by the clock having the central phase is different from the data captured by the clock having the advanced phase, an UP signal is output, and the data captured by the clock having the central phase is captured. If the data obtained by the clock with the delayed phase is different from the data captured by the clock with the delayed phase, a phase comparator for outputting a DOWN signal, and a clock having a central phase among the five data captured by the sampling means. Data fetched at and lags behind the center phase by the data fetched by the clock that is ahead of the center phase by the clock The data captured by the lock is compared with each other, and it is detected whether the data captured by the clock having the central phase is included in the duty deterioration range, and the clock having the central phase is detected by the clock having the central phase. A duty deterioration detector that outputs a DUP signal or a DDOWN signal when detecting that the captured data is included in the duty deterioration range;
When the UP signal is output from the phase comparison unit, the count value is incremented. When the DOWN signal is output, the count value is decremented. When the DUP signal is output from the duty deterioration detection unit, the center value is decremented. The count value is incremented so that the data fetched by the clock having the phase falls out of the duty deterioration range, and when the DDOWN signal is output, the data fetched by the clock having the center phase has the duty deterioration. A counter section for decrementing the count value so as to fall out of the range, and outputting the count value as the selection signal, wherein the clock selection section selects when the count value in the counter section is incremented. Delay the phase of each of the five clocks, When the count value in the counter portion is decremented, characterized in that advancing the five clock phase to be selected.

【0040】また、前記クロック選択決定部は、前記サ
ンプリング手段にて取り込まれた5つのデータのうち、
中央の位相を有するクロックにて取り込まれたデータと
中央の位相よりも位相の進んだクロックにて取り込まれ
たデータと中央の位相よりも位相の遅れたクロックにて
取り込まれたデータとを互いに比較し、前記中央の位相
を有するクロックにて取り込まれたデータと前記位相の
進んだクロックにて取り込まれたデータとが異なる場
合、UP信号を出力し、前記中央の位相を有するクロッ
クにて取り込まれたデータと前記位相の遅れたクロック
にて取り込まれたデータとが異なる場合、DOWN信号
を出力する位相比較部と、前記サンプリング手段にて取
り込まれた5つのデータのうち、中央の位相を有するク
ロックにて取り込まれたデータと中央の位相よりも位相
の進んだクロックにて取り込まれたデータと中央の位相
よりも位相の遅れたクロックにて取り込まれたデータと
を互いに比較し、前記中央の位相を有するクロックにて
取り込まれたデータがデューティー劣化範囲内に含まれ
ているかどうかを検出し、前記中央の位相を有するクロ
ックにて取り込まれたデータがデューティー劣化範囲内
に含まれていることを検出した場合、DUP信号または
DDOWN信号を出力するデューティー劣化検出部と、
前記位相比較部からUP信号が出力された場合にカウン
ト値をインクリメントし、DOWN信号が出力された場
合にカウント値をデクリメントし、前記デューティー劣
化検出部からDUP信号が出力された場合に前記中央の
位相を有するクロックにて取り込まれたデータがデュー
ティー劣化範囲内から抜け出すように前記カウント値を
インクリメントし、DDOWN信号が出力された場合に
前記中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内から抜け出すように前記カ
ウント値をデクリメントし、該カウント値を前記選択信
号として出力するカウンタ部とを有し、前記クロック選
択部は、前記カウンタ部におけるカウント値がインクリ
メントされた場合、選択する1つのクロックの位相を遅
らせ、前記カウンタ部におけるカウント値がデクリメン
トされた場合、選択する1つのクロックの位相を進ませ
ることを特徴とする。
In addition, the clock selection determining unit is configured to select one of the five data fetched by the sampling means.
Comparing data captured with a clock having a central phase, data captured with a clock advanced in phase from the central phase, and data captured with a clock delayed in phase from the central phase If the data captured by the clock having the central phase is different from the data captured by the clock having the advanced phase, an UP signal is output, and the data captured by the clock having the central phase is captured. If the data obtained by the clock with the delayed phase is different from the data captured by the clock with the delayed phase, a phase comparator for outputting a DOWN signal, and a clock having a central phase among the five data captured by the sampling means. Data fetched at and lags behind the center phase by the data fetched by the clock that is ahead of the center phase by the clock The data captured by the lock is compared with each other, and it is detected whether the data captured by the clock having the central phase is included in the duty deterioration range, and the clock having the central phase is detected by the clock having the central phase. A duty deterioration detector that outputs a DUP signal or a DDOWN signal when detecting that the captured data is included in the duty deterioration range;
When the UP signal is output from the phase comparison unit, the count value is incremented. When the DOWN signal is output, the count value is decremented. When the DUP signal is output from the duty deterioration detection unit, the center value is decremented. The count value is incremented so that the data fetched by the clock having the phase falls out of the duty deterioration range, and when the DDOWN signal is output, the data fetched by the clock having the center phase has the duty deterioration. A counter section for decrementing the count value so as to fall out of the range, and outputting the count value as the selection signal, wherein the clock selection section selects when the count value in the counter section is incremented. Delay the phase of one clock, and When the count value in the section is decremented, characterized in that advancing the one clock phase to be selected.

【0041】また、前記クロック選択決定部は、前記位
相比較部から前記UP信号または前記DOWN信号が出
力された場合や、前記デューティー劣化検出部から前記
DUP信号または前記DDOWN信号が出力された場
合、該UP信号またはDOWN信号またはDUP信号ま
たはDDOWN信号出力後予め決められた期間は、前記
UP信号または前記DOWN信号または前記DUP信号
または前記DDOWN信号を前記位相比較部または前記
デューティー劣化検出部から出力させない出力規制部を
有することを特徴とする。
In addition, the clock selection determining unit may be configured to output the UP signal or the DOWN signal from the phase comparing unit, or to output the DUP signal or the DDOWN signal from the duty deterioration detecting unit. For a predetermined period after the output of the UP signal, the DOWN signal, the DUP signal, or the DDOWN signal, the UP signal, the DOWN signal, the DUP signal, or the DDOWN signal is not output from the phase comparison unit or the duty deterioration detection unit. It is characterized by having an output regulating unit.

【0042】(作用)上記のように構成された本発明に
おいては、サンプリング手段において受信データが予め
決められた位相差を有する3つのクロックにて取り込ま
れ、選択手段において、サンプリング手段にて取り込ま
れた3つのデータが互いに比較され、最も位相の進んだ
クロックにて取り込まれたデータと中央の位相を有する
クロックにて取り込まれたデータとが異なる場合、現在
選択されている3つのクロックに対して位相が遅れた3
つのクロックが選択され、また、最も位相の遅れたクロ
ックにて取り込まれたデータと中央の位相を有するクロ
ックにて取り込まれたデータとが異なる場合、現在選択
されている3つのクロックに対して位相が進んだ3つの
クロックが選択され、サンプリング手段において、選択
された3つのクロックにて受信データが取り込まれ、中
央の位相を有するクロックが出力クロックとして出力さ
れ、該出力クロックにて取り込まれたデータが出力デー
タとして出力される。
(Operation) In the present invention configured as described above, the received data is fetched by the sampling means with three clocks having a predetermined phase difference, and the selected data is fetched by the sampling means. The three data are compared with each other, and if the data captured by the clock having the most advanced phase is different from the data captured by the clock having the center phase, the three clocks currently selected are compared with each other. Phase delayed 3
If one clock is selected and the data captured by the clock with the latest phase is different from the data captured by the clock having the central phase, the phase of the three clocks selected at present is different. Are selected, the received data is captured by the selected three clocks in the sampling means, a clock having a central phase is output as an output clock, and the data captured by the output clock is output. Is output as output data.

【0043】このように、実際に出力クロックとして出
力されるクロックにて取り込まれたデータに基づいてク
ロックの位相の調整が行われているので、回路や配線に
おける遅延量を調節する必要はない。
As described above, since the phase of the clock is adjusted based on the data taken in by the clock actually output as the output clock, it is not necessary to adjust the amount of delay in the circuit or wiring.

【0044】また、選択手段における3つのクロックの
選択及びサンプリング手段における受信データの取り込
みが、ループによって繰り返し行われるので、受信クロ
ックと受信データの位相変動に常時対応することができ
る。
The selection of the three clocks by the selection means and the reception of the reception data by the sampling means are repeatedly performed by a loop, so that it is possible to always respond to the phase fluctuation of the reception clock and the reception data.

【0045】また、選択手段において、1つのクロック
のみを選択し、選択されたクロックと、選択されたクロ
ックを互いに異なる遅延量だけ遅延させた2つのクロッ
クとの3つのクロックを出力する場合は、最も位相の進
んだクロックにて取り込まれたデータと中央の位相を有
するクロックにて取り込まれたデータとが異なる場合、
現在選択されているクロックに対して位相が遅れたクロ
ックが選択され、また、最も位相の遅れたクロックにて
取り込まれたデータと中央の位相を有するクロックにて
取り込まれたデータとが異なる場合、現在選択されてい
るクロックに対して位相が進んだクロックが選択され、
サンプリング手段において、選択手段にて選択されたク
ロックと、選択されたクロックを互いに異なる遅延量だ
け遅延させた2つのクロックとの3つのクロックにて受
信データが取り込まれ、中央の位相を有するクロックが
出力クロックとして出力され、該出力クロックにて取り
込まれたデータが出力データとして出力される。
In the case where the selecting means selects only one clock and outputs three clocks of the selected clock and two clocks obtained by delaying the selected clock by different delay amounts, If the data captured by the clock with the most advanced phase and the data captured by the clock with the central phase are different,
If a clock delayed in phase with respect to the currently selected clock is selected, and the data captured by the clock with the latest phase is different from the data captured by the clock with the center phase, A clock whose phase is ahead of the currently selected clock is selected,
In the sampling means, the received data is fetched by three clocks: a clock selected by the selection means and two clocks obtained by delaying the selected clock by different delay amounts, and a clock having a central phase is obtained. The data is output as an output clock, and data captured by the output clock is output as output data.

【0046】また、サンプリング手段において受信デー
タが予め決められた位相差を有する5つのクロックにて
取り込まれ、選択手段において、サンプリング手段にて
取り込まれた5つのデータが互いに比較され、中央の位
相を有するクロックにて取り込まれたデータとそれより
も位相の進んだクロックにて取り込まれたデータとが異
なる場合、現在選択されている5つのクロックに対して
位相が遅れた5つのクロックが選択され、中央の位相を
有するクロックにて取り込まれたデータとそれよりも位
相の遅れたクロックにて取り込まれたデータとが異なる
場合、現在選択されている5つのクロックに対して位相
が進んだ5つのクロックが選択され、また、中央の位相
を有するクロックにて取り込まれたデータがデューティ
ー劣化範囲内に含まれていることが検出された場合、当
該データがデューティー劣化範囲内から抜け出すような
5つのクロックが選択され、サンプリング手段におい
て、選択された5つのクロックにて受信データが取り込
まれ、中央の位相を有するクロックが出力クロックとし
て出力され、該出力クロックにて取り込まれたデータが
出力データとして出力される。
Further, the received data is captured by five clocks having a predetermined phase difference in the sampling means, and the five data captured by the sampling means are compared with each other by the selection means, and the central phase is changed. If the data captured by the clock having the clock and the data captured by the clock with a phase earlier than that are different, five clocks whose phases are delayed from the currently selected five clocks are selected, If the data fetched by the clock having the center phase is different from the data fetched by the clock lagging behind, the five clocks whose phases are advanced with respect to the currently selected five clocks Is selected, and the data captured by the clock having the center phase is included in the duty deterioration range. If it is detected that the data is out of the duty deterioration range, five clocks are selected, and the sampling means captures the received data with the selected five clocks, and adjusts the central phase. The output clock is output as an output clock, and data captured by the output clock is output as output data.

【0047】このように、実際に出力クロックとして出
力されるクロックにて取り込まれたデータに基づいてク
ロックの位相の調整が行われるとともに、受信データが
デューティー劣化範囲から抜け出すようにクロックが選
択されるので、回路や配線における遅延量を調節する必
要がなくなるとともに、受信デューティーが劣化した場
合においても受信データが正確に受信される。
As described above, the phase of the clock is adjusted based on the data taken in by the clock actually output as the output clock, and the clock is selected so that the received data comes out of the duty deterioration range. Therefore, it is not necessary to adjust the amount of delay in the circuit or wiring, and the received data can be accurately received even when the reception duty is deteriorated.

【0048】[0048]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0049】(第1の実施の形態)図1は、本発明の高
速データ受信回路の第1の実施の形態を示すブロック図
である。
(First Embodiment) FIG. 1 is a block diagram showing a high-speed data receiving circuit according to a first embodiment of the present invention.

【0050】本形態は図1に示すように、受信クロック
をその1周期の1/N(N≧4)の時間だけ段階的に遅
延させる多相クロック生成部10と、入力されるクロッ
ク選択信号に基づいて、多相クロック生成部10にて多
相化されたクロックのうち、予め決められた位相差を有
する3つのクロックを選択して出力するクロック選択部
20と、クロック選択部20から出力された3つのクロ
ックが入力され、該3つのクロックのそれぞれの立ち上
がりのタイミングで受信データを取り込むフリップフロ
ップを備えた3点サンプリング部30と、3点サンプリ
ング部30で取り込まれたデータが入力され、入力され
た3つのデータを比較し、該比較結果に基づいて、クロ
ック選択部20に入力されるクロック選択信号を生成し
て出力するクロック選択決定部40とから構成されてお
り、クロック選択部20においては、クロック選択決定
部40から出力されたクロック選択信号に基づいて3つ
のクロックが選択される。
In this embodiment, as shown in FIG. 1, a multi-phase clock generator 10 for delaying a reception clock stepwise by 1 / N (N ≧ 4) of one cycle thereof, and a clock selection signal input thereto , A clock selection unit 20 that selects and outputs three clocks having a predetermined phase difference among the clocks that have been multi-phased by the multi-phase clock generation unit 10, and an output from the clock selection unit 20. The three clocks input are input, a three-point sampling unit 30 including a flip-flop that captures received data at the rising timing of each of the three clocks, and the data captured by the three-point sampling unit 30 are input. The three input data are compared, and a clock selection signal to be input to the clock selection unit 20 is generated and output based on the comparison result. It is composed of a selection determination section 40. In the clock selection section 20, three clock is selected based on the clock selection signal outputted from the clock selection decision unit 40.

【0051】なお、3点サンプリング部30は、クロッ
ク選択部20から出力された3つのクロックのうち最も
位相が進んだクロックを用いて受信データを取り込むフ
リップフロップ31と、該クロックをクロック選択決定
部40に供給するためのバッファ34と、クロック選択
部20から出力された3つのクロックのうち中央の位相
を有するクロックを用いて受信データを取り込むフリッ
プフロップ32と、該クロックを出力するためのバッフ
ァ35と、クロック選択部20から出力された3つのク
ロックのうち最も位相が遅れたクロックを用いて受信デ
ータを取り込むフリップフロップ33と、該クロックの
負荷容量が他の2つのクロックの負荷容量と同じになる
よう調節するためのバッファ36とから構成されてお
り、フリップフロップ32から出力されるデータは出力
データとして出力され、バッファ35から出力されるク
ロックは出力クロックとして出力される。
The three-point sampling unit 30 includes a flip-flop 31 for receiving received data using the clock with the most advanced phase among the three clocks output from the clock selection unit 20, and a clock selection determination unit A buffer 34 for supplying the received data using a clock having a central phase among the three clocks output from the clock selector 20, and a buffer 35 for outputting the clock. And a flip-flop 33 that takes in the received data using the clock with the most delayed phase among the three clocks output from the clock selector 20, and that the load capacity of the clock is the same as the load capacity of the other two clocks. And a buffer 36 for adjusting the Data output from 32 is output as the output data, clock output from the buffer 35 is output as the output clock.

【0052】また、クロック選択決定部40は、3点サ
ンプリング部30から出力された3つのデータが入力さ
れ、入力された3つのデータを比較し、該比較結果に基
づいて、クロック選択部20にて選択されるクロックの
位相を進ませるか遅らせるかを判断し、判断した結果を
出力する位相比較部50と、UP/DOWNカウンタに
より構成され、位相比較部50から出力された判断結果
に基づいて、カウンタの値をインクリメントまたはデク
リメントし、クロック選択信号として出力するカウンタ
部60とから構成されている。
The clock selection determining section 40 receives the three data output from the three-point sampling section 30, compares the three input data, and outputs the three data to the clock selecting section 20 based on the comparison result. The phase comparison unit 50 determines whether to advance or delay the phase of the selected clock, and outputs a result of the determination. The phase comparison unit 50 includes an UP / DOWN counter based on the determination result output from the phase comparison unit 50. , A counter section 60 that increments or decrements the value of the counter and outputs it as a clock selection signal.

【0053】図2は、図1に示したクロック選択部20
の一構成例を示すブロック図である。
FIG. 2 is a block diagram showing the clock selection unit 20 shown in FIG.
FIG. 3 is a block diagram showing an example of the configuration.

【0054】本構成例に示すクロック選択部20は図2
に示すように、3つのセレクタ21〜23から構成され
ており、セレクタ21〜23のそれぞれに、多相クロッ
ク生成部10にて多相されたクロックCLK0〜CLK
(N−1)及びクロック選択決定部40から出力された
クロック選択信号SELが入力される。なお、k番目の
クロックCLKkは、セレクタ21の(k+1)番目の
入力と、セレクタ22のk番目の入力と、セレクタ23
の(k−1)番目の入力に入力される。ただし、セレク
タ21の0番目の入力はCLK(N−1)、セレクタ2
3の(N−1)番目の入力はCLK0である。
The clock selection unit 20 shown in this configuration example is the same as that shown in FIG.
As shown in FIG. 2, the selectors 21 to 23 are composed of three clocks CLK0 to CLK multi-phased by the multi-phase clock generator 10 in each of the selectors 21 to 23.
(N−1) and the clock selection signal SEL output from the clock selection determination unit 40 are input. Note that the k-th clock CLKk is the (k + 1) -th input of the selector 21, the k-th input of the selector 22, and the
Is input to the (k-1) th input. However, the 0th input of the selector 21 is CLK (N−1), the selector 2
The (N-1) th input of CLK3 is CLK0.

【0055】上記のように構成されたクロック選択部2
0においては、セレクタ21〜23のそれぞれにおい
て、クロック選択信号SELに基づいて、入力されたク
ロックCLK0〜CLK(N−1)のうち1つのクロッ
クが選択される。
The clock selector 2 configured as described above
At 0, one of the input clocks CLK0 to CLK (N-1) is selected in each of the selectors 21 to 23 based on the clock selection signal SEL.

【0056】セレクタ21にて選択されたクロックはク
ロックCK1として出力され、セレクタ22にて選択さ
れたクロックはクロックCK2として出力され、セレク
タ23にて選択されたクロックはクロックCK3として
出力される。
The clock selected by selector 21 is output as clock CK1, the clock selected by selector 22 is output as clock CK2, and the clock selected by selector 23 is output as clock CK3.

【0057】これにより、クロック選択部20から出力
される3つのクロックCK1〜CK3は、互いに1周期
の1/Nの位相差を有するクロックとなり、位相が進ん
でいる順に、CK1,CK2,CK3となる。
As a result, the three clocks CK1 to CK3 output from the clock selection unit 20 become clocks having a phase difference of 1 / N of one cycle from each other, and CK1, CK2, CK3 and Become.

【0058】図3は、図1に示した位相比較部50の一
構成例を示す回路図である。
FIG. 3 is a circuit diagram showing a configuration example of the phase comparison section 50 shown in FIG.

【0059】本構成例に示す位相比較部50は図3に示
すように、3点サンプリング部30内のフリップフロッ
プ31から出力されたデータとフリップフロップ32か
ら出力されたデータとの排他的論理和をとるXORゲー
ト51aと、3点サンプリング部30内のフリップフロ
ップ32から出力されたデータとフリップフロップ33
から出力されたデータとの排他的論理和をとるXORゲ
ート51bと、XORゲート51aから出力された信号
を3点サンプリング部30から供給されたクロックに基
づいて取り込むフリップフロップ52aと、XORゲー
ト51bから出力された信号を3点サンプリング部30
から供給されたクロックに基づいて取り込むフリップフ
ロップ52bと、ANDゲート53a,53bと、フリ
ップフロップ54a,54bと、ORゲート55と、フ
リップフロップ56a〜56dと、NORゲート57と
から構成されており、ANDゲート53a,53b、フ
リップフロップ54a,54b、ORゲート55、フリ
ップフロップ56a〜56d及びNORゲート57から
なる回路においては、フリップフロップ52aに1がセ
ットされた場合、フリップフロップ54aの出力となる
UPに1パルスだけ1が出力され、以降の5クロックの
間は0が出力され、また、フリップフロップ52bに1
がセットされた場合、フリップフロップ54bの出力と
なるDOWNに1パルスだけ1が出力され、以降の5ク
ロックの間は0が出力される。なお、フリップフロップ
52a,52bに同時に1がセットされた場合は、フリ
ップフロップ52aが優先される。
As shown in FIG. 3, the phase comparison unit 50 shown in this configuration example performs an exclusive OR operation on the data output from the flip-flop 31 and the data output from the flip-flop 32 in the three-point sampling unit 30. XOR gate 51a, and the data output from flip-flop 32 in three-point sampling section 30 and flip-flop 33
XOR gate 51b that takes an exclusive OR with the data output from XOR gate 51, flip-flop 52a that takes in the signal output from XOR gate 51a based on the clock supplied from three-point sampling unit 30, and XOR gate 51b A three-point sampling unit 30 outputs the output signal.
A flip-flop 52b that takes in the clock based on the clock supplied from the FF, AND gates 53a and 53b, flip-flops 54a and 54b, an OR gate 55, flip-flops 56a to 56d, and a NOR gate 57. In a circuit including AND gates 53a and 53b, flip-flops 54a and 54b, an OR gate 55, flip-flops 56a to 56d, and a NOR gate 57, when 1 is set to the flip-flop 52a, the UP which becomes the output of the flip-flop 54a Is output for only one pulse, 0 is output for the next 5 clocks, and 1 is output to the flip-flop 52b.
Is set, 1 is output for one pulse to DOWN which is the output of the flip-flop 54b, and 0 is output for the next five clocks. When 1 is set to the flip-flops 52a and 52b at the same time, the flip-flop 52a has priority.

【0060】以下に、上記のように構成された高速デー
タ受信回路の動作について説明する。
The operation of the high-speed data receiving circuit configured as described above will be described below.

【0061】図4は、図1〜図3に示した高速データ受
信回路の動作を説明するためのタイミングチャートであ
り、多相クロック生成部10にて8相のクロックが生成
される場合の動作を示している。
FIG. 4 is a timing chart for explaining the operation of the high-speed data receiving circuit shown in FIGS. 1 to 3, and shows the operation when the multi-phase clock generating unit 10 generates an eight-phase clock. Is shown.

【0062】受信クロックが多相クロック生成部10に
入力されると、まず、多相クロック生成部10におい
て、受信クロックの1周期の1/N(N≧4)の時間ず
つ段階的に位相が遅れたN個のクロックが生成される。
本形態においては8つのクロックCLK0〜CLK7が
生成される。
When the received clock is input to the multi-phase clock generator 10, the multi-phase clock generator 10 first changes the phase in steps of 1 / N (N ≧ 4) of one cycle of the received clock. N delayed clocks are generated.
In the present embodiment, eight clocks CLK0 to CLK7 are generated.

【0063】多相クロック生成部10にて生成された8
つのクロックCLK0〜CLK7はクロック選択部20
に入力され、クロック選択部20において、クロック選
択決定部40から出力されたクロック選択信号SELに
基づいて、クロックCLK0〜CLK7のうち1周期の
1/Nの位相差を有する3つのクロックがクロックCK
1〜CK3として出力される。
8 generated by the multi-phase clock generator 10
Clocks CLK0 to CLK7
And three clocks having a phase difference of 1 / N of one cycle among the clocks CLK0 to CLK7 in the clock selection unit 20 based on the clock selection signal SEL output from the clock selection determination unit 40.
1 to CK3.

【0064】ここで、図4に示すように、クロック選択
決定部40から出力されるクロック選択信号SELが時
刻t0にて切り替わった場合、それに伴って、クロック
CK1〜CK3として出力されるクロックも切り替わ
る。クロック選択信号SELが5の場合は、クロックC
LK4がクロックCK1として選択されて出力され、ク
ロックCLK5がクロックCK2として選択されて出力
され、クロックCLK6がクロックCK3として選択さ
れて出力される。また、クロック選択信号SELが6の
場合は、クロックCLK5がクロックCK1として選択
されて出力され、クロックCLK6がクロックCK2と
して選択されて出力され、クロックCLK7がクロック
CK3として選択されて出力される。このように、CK
1として出力されるクロックCLK0〜CLK7の番号
はSEL−1となり、CK2として出力されるクロック
CLK0〜CLK7の番号はSELとなり、CK3とし
て出力されるクロックCLK0〜CLK7の番号はSE
L+1となる。
Here, as shown in FIG. 4, when the clock selection signal SEL output from the clock selection determining unit 40 switches at time t0, the clocks output as the clocks CK1 to CK3 also change accordingly. . When the clock selection signal SEL is 5, the clock C
LK4 is selected and output as clock CK1, clock CLK5 is selected and output as clock CK2, and clock CLK6 is selected and output as clock CK3. When the clock selection signal SEL is 6, the clock CLK5 is selected and output as the clock CK1, the clock CLK6 is selected and output as the clock CK2, and the clock CLK7 is selected and output as the clock CK3. Thus, CK
The numbers of the clocks CLK0 to CLK7 output as 1 are SEL-1, the numbers of the clocks CLK0 to CLK7 output as CK2 are SEL, and the numbers of the clocks CLK0 to CLK7 output as CK3 are SE.
L + 1.

【0065】このようにして、クロック選択部20から
出力されるクロックCK1〜CK3は、互いに1周期の
1/8の位相差を有するクロックとなる。なお、本構成
例においては、わかりやすくするためにセレクタ21〜
23の遅延量は0とする。
As described above, the clocks CK1 to CK3 output from the clock selector 20 are clocks having a phase difference of 1/8 of one cycle from each other. In this configuration example, the selectors 21 to 21 are provided for easy understanding.
23 is 0.

【0066】クロック選択部20から出力されたクロッ
クCK1〜CK3は3点サンプリング部30に入力さ
れ、3点サンプリング部30において、クロックCK1
〜CK3がバッファ34〜36に入力されるとともに、
フリップフロップ31〜33において、クロックCK1
〜CK3の立ち上がりのタイミングで受信データが取り
込まれ、クロック選択決定部40に対して出力される。
The clocks CK1 to CK3 output from the clock selection unit 20 are input to the three-point sampling unit 30, and the three-point sampling unit 30 outputs the clock CK1.
To CK3 are input to the buffers 34 to 36,
In the flip-flops 31 to 33, the clock CK1
The received data is taken in at the timing of the rising edge of CK3 and output to the clock selection determining unit 40.

【0067】クロック選択決定部40においては、位相
比較部50内のXORゲート51aにおいてフリップフ
ロップ31から出力されたデータとフリップフロップ3
2から出力されたデータとが比較され、該比較結果がフ
リップフロップ52aに取り込まれる。そのため、フリ
ップフロップ52aに1がセットされた場合、クロック
CK1の立ち上がりとクロックCK2の立ち上がりとの
間に受信データの変化点が存在することとなる。この場
合、セットアップ時間の余裕が小さいと判断され、UP
信号として1パルスだけ1が出力され、カウンタ部60
においてはカウンタ値がインクリメントされて、それに
基づいたクロック選択信号がクロック選択部20に対し
て出力される。
In the clock selection determining section 40, the data output from the flip-flop 31 and the flip-flop 3 in the XOR gate 51a in the phase comparing section 50 are output.
2 is compared with the data output from 2 and the comparison result is taken into the flip-flop 52a. Therefore, when 1 is set in the flip-flop 52a, a change point of the received data exists between the rise of the clock CK1 and the rise of the clock CK2. In this case, it is determined that the margin of the setup time is small,
As a signal, 1 is output for only one pulse, and the counter section 60
In, the counter value is incremented, and a clock selection signal based on the increment is output to the clock selection unit 20.

【0068】これにより、クロック選択部20にて選択
される3つのクロックCK1〜CK3がそれぞれクロッ
クCLK0〜CLK7のうち1つずつインクリメントさ
れたクロックとなり、クロックCK1〜CK3の位相が
遅れることとなる。それにより、フリップフロップ32
のセットアップ時間の余裕が大きくなる。
As a result, the three clocks CK1 to CK3 selected by the clock selection unit 20 become clocks each incremented by one of the clocks CLK0 to CLK7, and the phases of the clocks CK1 to CK3 are delayed. Thereby, the flip-flop 32
The time for setup time is increased.

【0069】また、位相比較部50内のXORゲート5
1bにおいては、フリップフロップ32から出力された
データとフリップフロップ33から出力されたデータと
が比較され、該比較結果がフリップフロップ52bに取
り込まれる。そのため、フリップフロップ52bに1が
セットされた場合、クロックCK2の立ち上がりとクロ
ックCK3の立ち上がりとの間に受信データの変化点が
存在することとなる。この場合、ホールド時間の余裕が
小さいと判断され、DOWN信号として1パルスだけ1
が出力され、カウンタ部60においてはカウンタ値がデ
クリメントされて、それに基づいたクロック選択信号が
クロック選択部20に対して出力される。
The XOR gate 5 in the phase comparator 50
In 1b, the data output from the flip-flop 32 is compared with the data output from the flip-flop 33, and the comparison result is taken into the flip-flop 52b. Therefore, when 1 is set to the flip-flop 52b, a change point of the received data exists between the rising edge of the clock CK2 and the rising edge of the clock CK3. In this case, it is determined that the margin of the hold time is short, and the DOWN signal is set to 1 for one pulse.
Is output, the counter value is decremented in the counter section 60, and a clock selection signal based on the decrement is output to the clock selection section 20.

【0070】これにより、クロック選択部20にて選択
される3つのクロックCK1〜CK3がそれぞれクロッ
クCLK0〜CLK7のうち1つずつデクリメントされ
たクロックとなり、クロックCK1〜CK3の位相が進
むこととなる。それにより、フリップフロップ32のホ
ールド時間の余裕が大きくなる。
As a result, the three clocks CK1 to CK3 selected by the clock selection unit 20 become decremented clocks by one of the clocks CLK0 to CLK7, respectively, and the phases of the clocks CK1 to CK3 are advanced. Thereby, the margin of the hold time of the flip-flop 32 increases.

【0071】また、フリップフロップ52a,52bか
らの出力が共に0の場合は、クロックCK1の立ち上が
りとクロックCK2の立ち上がりとの間、並びに、クロ
ックCK2の立ち上がりとクロックCK3の立ち上がり
との間には受信データの変化点が存在しない。この場
合、セットアップ時間及びホールド時間の余裕が十分に
大きいと判断され、UP信号及びDOWN信号において
は共に0が出力され、カウンタ部60では現在のカウン
タ値が保持される。
When the outputs from the flip-flops 52a and 52b are both 0, reception is performed between the rising edges of the clock CK1 and the clock CK2 and between the rising edges of the clock CK2 and the clock CK3. There is no data change point. In this case, it is determined that the margin of the setup time and the hold time is sufficiently large, 0 is output for both the UP signal and the DOWN signal, and the counter unit 60 holds the current counter value.

【0072】そのため、クロック選択部20から出力さ
れるクロックCK1〜CK3は変化せず、セットアップ
時間及びホールド時間の余裕が十分にある状態が維持さ
れる。
Therefore, the clocks CK1 to CK3 output from the clock selection unit 20 do not change, and a state in which there is sufficient setup time and hold time is maintained.

【0073】また、フリップフロップ52a,52bか
らの出力が共に1の場合は、クロックCK1の立ち上が
りとクロックCK2の立ち上がりとの間、並びに、クロ
ックCK2の立ち上がりとクロックCK3の立ち上がり
との間の両方に受信データの変化点が存在することとな
るが、これは、通常は起き得ない異常な状態である。こ
の場合、位相比較部50からはUP信号として1が出力
され、カウンタ部60においてカウンタ値がインクリメ
ントされる。
When the outputs from the flip-flops 52a and 52b are both 1, both the rising edge of the clock CK1 and the rising edge of the clock CK2, and the rising edge of the clock CK2 and the rising edge of the clock CK3. There will be a transition point in the received data, which is an abnormal condition that cannot normally occur. In this case, 1 is output as an UP signal from the phase comparison unit 50, and the counter value is incremented in the counter unit 60.

【0074】このように、フリップフロップ31〜33
からの出力が比較され、不一致が検出されてセットアッ
プ時間またはホールド時間の余裕が小さいと判断された
場合には、余裕を大きくするように、クロック選択部2
0にて選択されるクロックが切り替えられるが、クロッ
クが切り替えられた後も上述した比較動作が再開され、
電源電圧や温度の変動により再度セットアップ時間また
はホールド時間の余裕が小さくなった場合には、再びク
ロックが切り替えられる。
As described above, the flip-flops 31 to 33
Are compared with each other, and when a mismatch is detected and it is determined that the margin of the setup time or the hold time is small, the clock selection unit 2 increases the margin.
Although the clock selected at 0 is switched, the above-described comparison operation is restarted even after the clock is switched,
When the margin of the setup time or the hold time is reduced again due to the fluctuation of the power supply voltage or the temperature, the clock is switched again.

【0075】ここで、フリップフロップ31〜33から
の出力の不一致が検出され、UP信号またはDOWN信
号として1パルスだけ1が出力されてからクロック選択
部20において選択されるクロックが切り替わり上記比
較が再開されるまでに数クロックが必要であるが、本形
態においては、位相比較部50内にフリップフロップ5
6a〜56d及びNORゲート57が設けられており、
それにより、UP信号またはDOWN信号として1パル
スだけ1が出力された後の5クロックの間はフリップフ
ロップ52a,52bの比較結果が無視されている。な
お、本形態においては、4つのフリップフロップ56a
〜56dが設けられているが、フリップフロップの数
は、比較再開までに必要な時間に応じて増減してもよ
い。
Here, a mismatch between the outputs from the flip-flops 31 to 33 is detected, 1 is output as one pulse as an UP signal or a DOWN signal, and then the clock selected by the clock selection unit 20 is switched to restart the comparison. Although several clocks are required before the operation is performed, in the present embodiment, the flip-flop 5
6a to 56d and a NOR gate 57 are provided,
As a result, the comparison result of the flip-flops 52a and 52b is ignored for five clocks after 1 is output as one pulse as the UP signal or the DOWN signal. In this embodiment, the four flip-flops 56a
Although ~ 56d is provided, the number of flip-flops may be increased or decreased according to the time required until the comparison is restarted.

【0076】以下に、3点サンプリング部30における
動作に基づくクロック選択決定部40の動作について説
明する。
The operation of the clock selection determining section 40 based on the operation of the three-point sampling section 30 will be described below.

【0077】図5は、図1及び図3に示した3点サンプ
リング部30及びクロック選択決定部40の動作を説明
するためのタイミングチャートである。
FIG. 5 is a timing chart for explaining the operation of the three-point sampling section 30 and the clock selection determining section 40 shown in FIGS.

【0078】まず、フリップフロップ31において、受
信データがクロックCK1の立ち上がりのタイミングで
取り込まれ、位相比較部50にデータD1として入力さ
れる。
First, in the flip-flop 31, the received data is fetched at the rising edge of the clock CK1, and is input to the phase comparator 50 as data D1.

【0079】また、フリップフロップ32において、受
信データがクロックCK2の立ち上がりのタイミングで
取り込まれ、位相比較部50にデータD2として入力さ
れる。
In the flip-flop 32, the received data is fetched at the rising edge of the clock CK2 and input to the phase comparator 50 as data D2.

【0080】また、フリップフロップ33において、受
信データがクロックCK3の立ち上がりのタイミングで
取り込まれ、位相比較部50にデータD3として入力さ
れる。
In the flip-flop 33, the received data is fetched at the rising edge of the clock CK3 and is input to the phase comparator 50 as data D3.

【0081】位相比較部50内のXORゲート51aに
おいては、フリップフロップ31から出力されたデータ
D1と、フリップフロップ32から出力されたデータD
2との排他的論理和が取られ、両者が一致しない場合の
み1が出力される。
In the XOR gate 51a in the phase comparison unit 50, the data D1 output from the flip-flop 31 and the data D1 output from the flip-flop 32
Exclusive OR with 2 is obtained, and 1 is output only when they do not match.

【0082】また、位相比較部50内のXORゲート5
1bにおいては、フリップフロップ32から出力された
データD2と、フリップフロップ33から出力されたデ
ータD3との排他的論理和が取られ、両者が一致しない
場合のみ1が出力される。
The XOR gate 5 in the phase comparator 50
In 1b, the exclusive OR of the data D2 output from the flip-flop 32 and the data D3 output from the flip-flop 33 is obtained, and 1 is output only when the two do not match.

【0083】次に、フリップフロップ52aにおいて、
XORゲート51aからの出力がクロックCK1の立ち
上がりのタイミングで取り込まれ、ANDゲート53a
の一方の入力端子に入力される。
Next, in the flip-flop 52a,
The output from the XOR gate 51a is taken in at the rising edge of the clock CK1, and the AND gate 53a
Is input to one of the input terminals.

【0084】また、フリップフロップ52bにおいて、
XORゲート51bからの出力がクロックCK1の立ち
上がりのタイミングで取り込まれ、ANDゲート53b
の一方の入力端子に入力される。
In the flip-flop 52b,
The output from the XOR gate 51b is taken in at the rising edge of the clock CK1, and the AND gate 53b
Is input to one of the input terminals.

【0085】ここで、初期状態においては、UP出力及
びDOWN出力ともに0であるため、NORゲート57
の出力は1となっている。
Here, in the initial state, since both the UP output and the DOWN output are 0, the NOR gate 57
Output is 1.

【0086】この状態にてフリップフロップ52aから
1が出力されると、フリップフロップ54aにおいて
は、クロックCK1の立ち上がりのタイミングにて1が
取り込まれることになり、UP信号として1が出力され
る。
When 1 is output from the flip-flop 52a in this state, 1 is taken into the flip-flop 54a at the rising timing of the clock CK1, and 1 is output as the UP signal.

【0087】すなわち、データD1とデータD2とが異
なる場合に、UP信号として1が出力され、クロック選
択部20にて選択されるクロックCK1〜CK3が1つ
ずつインクリメントされる。
That is, when the data D1 and the data D2 are different, 1 is output as the UP signal, and the clocks CK1 to CK3 selected by the clock selector 20 are incremented by one.

【0088】また、フリップフロップ52bから1が出
力されると、フリップフロップ54bにおいては、クロ
ックCK1の立ち上がりのタイミングにて1が取り込ま
れることになり、DOWN信号として1が出力される。
When 1 is output from the flip-flop 52b, 1 is taken into the flip-flop 54b at the rising timing of the clock CK1, and 1 is output as the DOWN signal.

【0089】すなわち、データD2とデータD3とが異
なる場合に、DOWN信号として1が出力され、クロッ
ク選択部20にて選択されるクロックCK1〜CK3が
1つずつデクリメントされる。
That is, when the data D2 is different from the data D3, 1 is output as the DOWN signal, and the clocks CK1 to CK3 selected by the clock selector 20 are decremented one by one.

【0090】図5においては、受信データに位相変動が
生じて、クロックCK1の立ち上がりとクロックCK2
の立ち上がりとの間に受信データの変化点が3つ存在し
ている。
In FIG. 5, the phase of the received data fluctuates, and the rising edge of the clock CK1 and the clock CK2
There are three points of change in the received data between the rising edge of.

【0091】この場合、フリップフロップ52aからは
1が3回出力されるが、ORゲート55及びフリップフ
ロップ56a〜56dにより、NORゲート57からの
出力が5クロック間0となり、それにより、2回目及び
3回目のパルスは無視され、1回目のパルスによっての
みUP信号として1が出力される。
In this case, 1 is output from the flip-flop 52a three times. However, the output from the NOR gate 57 becomes 0 for five clocks by the OR gate 55 and the flip-flops 56a to 56d. The third pulse is ignored, and 1 is output as the UP signal only by the first pulse.

【0092】以上説明したように本形態においては、3
点サンプリング部30で取り込んだ3個のデータが一致
するよう、常に選択するクロックを制御することによ
り、データとクロックの位相関係の変動に対応し、セッ
トアップ時間及びホールド時間の余裕を常に十分に保
ち、正確にデータを受信することができる。
As described above, in this embodiment, 3
By always controlling the clock to be selected so that the three data taken in by the point sampling unit 30 match, it is possible to cope with the fluctuation of the phase relationship between the data and the clock, and always keep the margin of the setup time and the hold time sufficiently. , Can receive data accurately.

【0093】さらに、3点サンプリング部30の直後に
位相比較部50を設け、3点サンプリング部30で取り
込んだ3個のデータを使って位相比較を行なうことによ
り、従来の発明のように分岐先の遅延量を調節する必要
がない。そのため、高速なデータの受信に適用すること
ができる。
Further, a phase comparison unit 50 is provided immediately after the three-point sampling unit 30 to compare the phases using the three data acquired by the three-point sampling unit 30. There is no need to adjust the amount of delay. Therefore, it can be applied to high-speed data reception.

【0094】図6は、図1に示したクロック選択部20
の他の構成例を示すブロック図である。
FIG. 6 is a block diagram showing the clock selection unit 20 shown in FIG.
FIG. 13 is a block diagram showing another example of the configuration.

【0095】本構成例に示すクロック選択部20は図6
に示すように、3つのセレクタ24〜26から構成され
ており、セレクタ24〜26のそれぞれに、多相クロッ
ク生成部10にて多相されたクロックCLK0〜CLK
(N−1)及びクロック選択決定部40から出力された
クロック選択信号SELが入力される。なお、k番目の
クロックCLKkは、セレクタ24の(k+2)番目の
入力と、セレクタ25のk番目の入力と、セレクタ26
の(k−2)番目の入力に入力される。
The clock selection unit 20 shown in this configuration example is the same as that shown in FIG.
As shown in FIG. 3, the selectors 24 to 26 are composed of three clocks CLK0 to CLK which are multiphased by the multiphase clock generator 10.
(N−1) and the clock selection signal SEL output from the clock selection determination unit 40 are input. Note that the k-th clock CLKk is supplied to the (k + 2) -th input of the selector 24, the k-th input of the selector 25, and the
Is input to the (k-2) th input.

【0096】上記のように構成されたクロック選択部2
0においては、セレクタ24〜26のそれぞれにおい
て、クロック選択信号SELに基づいて、入力されたク
ロックCLK0〜CLK(N−1)のうち1つのクロッ
クが選択される。
The clock selector 2 configured as described above
In 0, one of the input clocks CLK0 to CLK (N-1) is selected in each of the selectors 24 to 26 based on the clock selection signal SEL.

【0097】セレクタ24においては、クロックCLK
0〜CLK(N−1)のうち、クロック選択信号(SE
L−2)の番号のクロックがクロックCK1として出力
され、セレクタ25においては、クロックCLK0〜C
LK(N−1)のうち、クロック選択信号SELの番号
のクロックがクロックCK2として出力され、セレクタ
26においては、クロックCLK0〜CLK(N−1)
のうち、クロック選択信号(SEL+2)の番号のクロ
ックがクロックCK3として出力される。
In the selector 24, the clock CLK
0 to CLK (N-1), the clock selection signal (SE
The clock of the number L-2) is output as the clock CK1.
Among the clocks LK (N−1), the clock of the number of the clock selection signal SEL is output as the clock CK2, and the clocks CLK0 to CLK (N−1) are output from the selector 26.
Among them, the clock of the number of the clock selection signal (SEL + 2) is output as the clock CK3.

【0098】これにより、クロックCK1〜CK3か
ら、1周期の2/N(N≧6)の位相差を有する3つの
クロックが出力される。
As a result, three clocks having a phase difference of 2 / N (N ≧ 6) are output from the clocks CK1 to CK3.

【0099】同様に、クロックCK1〜CK3から、1
周期のK/N(K≧3、N≧2K+2)の位相差を有す
る3つのクロックを出力させることもできる。
Similarly, from the clocks CK1 to CK3, 1
It is also possible to output three clocks having a phase difference of K / N (K ≧ 3, N ≧ 2K + 2) of the cycle.

【0100】さらに、クロックCK1とクロックCK2
との位相差を1周期の2/Nとし、クロックCK2とク
ロックCK3との位相差を1周期の1/Nとする等、ク
ロックCK1とクロックCK2との位相差とクロックC
K2とクロックCK3との位相差とを異なるようにする
こともできる。
Further, clock CK1 and clock CK2
The phase difference between the clock CK1 and the clock CK2 and the clock C are set such that the phase difference between the clock CK2 and the clock CK3 is 1 / N of the cycle.
The phase difference between K2 and clock CK3 may be different.

【0101】図7は、図1に示したクロック選択部20
の他の構成例を示すブロック図である。
FIG. 7 is a block diagram of the clock selection unit 20 shown in FIG.
FIG. 13 is a block diagram showing another example of the configuration.

【0102】本構成例に示すクロック選択部20は図7
に示すように、多相クロック生成部10にて多相された
クロックCLK0〜CLK(N−1)及びクロック選択
決定部40から出力されたクロック選択信号SELが入
力され、クロック選択信号SELに基づいて、クロック
CLK0〜CLK(N−1)のうち1つのクロックをC
K1とするセレクタ27と、セレクタ27から出力され
たクロックCK1を予め決められた遅延量だけ遅延させ
てクロックCK2として出力する遅延部28と、遅延部
28から出力されたクロックCK2を予め決められた遅
延量だけ遅延させてクロックCK3として出力する遅延
部29とから構成されている。
The clock selecting section 20 shown in this configuration example is the same as that shown in FIG.
As shown in the figure, the clocks CLK0 to CLK (N-1) multi-phased by the multi-phase clock generation unit 10 and the clock selection signal SEL output from the clock selection determination unit 40 are input, and based on the clock selection signal SEL. And one of the clocks CLK0 to CLK (N-1) is
A selector 27 for setting K1; a delay unit 28 for delaying the clock CK1 output from the selector 27 by a predetermined delay amount to output the clock CK2; and a clock CK2 output from the delay unit 28 are determined in advance. And a delay unit 29 that delays by the delay amount and outputs the clock CK3.

【0103】上記のように構成されたクロック選択部2
0においては、遅延部28,29における遅延量を任意
に設定することができるため、クロックCK1〜CK3
の位相差を任意に設定することができる。
The clock selector 2 configured as described above
At 0, the delay amounts in the delay units 28 and 29 can be set arbitrarily, so that the clocks CK1 to CK3
Can be set arbitrarily.

【0104】ここで、上述した実施の形態においては、
受信データのデューティーが劣化した場合に正しいデー
タを受信することができなくなる虞れがある。
Here, in the above-described embodiment,
When the duty of the received data is deteriorated, there is a possibility that correct data cannot be received.

【0105】図8は、図1に示した高速データ受信回路
において受信データの立ち上がりが遅れることにより受
信データのデューティーが劣化した場合の動作を説明す
るためのタイミングチャートであり、受信データのデュ
ーティーが劣化し、受信データの立ち上がりがCLK1
の立ち上がりとCLK2の立ち上がりとの間にあり、受
信データの立ち下がりがCLK7の立ち上がりとCLK
0の立ち上がりとの間にある場合を示す。
FIG. 8 is a timing chart for explaining the operation of the high-speed data receiving circuit shown in FIG. 1 when the rise of the received data is delayed and the duty of the received data is degraded. Deteriorated and the rising edge of the received data is CLK1
Between the rising edge of CLK7 and the rising edge of CLK2.
This shows a case between the rising edge of zero.

【0106】まず、フリップフロップ32に入力される
クロックCK2として最初にCLK5が選択されている
とする。
First, it is assumed that CLK5 is first selected as the clock CK2 input to the flip-flop 32.

【0107】この場合、CLK4の立ち上がりとCLK
5の立ち上がりとの間にもCLK5の立ち上がりとCL
K6の立ち上がりとの間にも受信データの変化点は存在
しない。従って、クロック選択部20においてCLK5
が選択され続けることになり、フリップフロップ32か
ら“1”と“0”とが交互に出力され、正しいデータが
受信されることになる。
In this case, the rise of CLK4 and CLK4
5 and the rising edge of CLK5 and CL
There is no change point in the received data even between the rise of K6. Therefore, in the clock selection unit 20, CLK5
Are continuously selected, "1" and "0" are alternately output from the flip-flop 32, and correct data is received.

【0108】次に、フリップフロップ132に入力され
るクロックCK2として最初にCLK0が選択されてい
るとする。
Next, it is assumed that CLK0 is initially selected as the clock CK2 input to the flip-flop 132.

【0109】この場合、CLK7の立ち上がりとCLK
0の立ち上がりとの間にてデータの変化点(立ち下が
り)が検出されるため、セットアップ時間の余裕が小さ
いと判断され、クロック選択部20においてCLK1が
選択される。すると、今度はCLK1の立ち上がりとC
LK2の立ち上がりとの間にデータの変化点(立ち上が
り)が検出されるため、ホールド時間の余裕が小さいと
判断され、クロック選択部20においてCLK0が選択
される。
In this case, the rise of CLK7 and CLK7
Since a data change point (falling edge) is detected before the rising edge of 0, it is determined that the margin of the setup time is small, and the clock selecting unit 20 selects CLK1. Then, the rise of CLK1 and C
Since a data change point (rising edge) is detected before the rising edge of LK2, it is determined that the margin of the hold time is small, and the clock selecting unit 20 selects CLK0.

【0110】このように、クロック選択部20において
CLK0とCLK1とが交互に選択され続けることにな
り、フリップフロップ32からは常に0が出力され、正
しいデータが受信されていないことになる。
As described above, CLK0 and CLK1 continue to be alternately selected in the clock selecting section 20, and 0 is always output from the flip-flop 32, and correct data is not received.

【0111】(第2の実施の形態)図9は、本発明の高
速データ受信回路の第2の実施の形態を示すブロック図
である。
(Second Embodiment) FIG. 9 is a block diagram showing a high-speed data receiving circuit according to a second embodiment of the present invention.

【0112】本形態は図9に示すように、受信クロック
をその1周期の1/N(N≧6)の時間だけ段階的に遅
延させる多相クロック生成部10と、入力されるクロッ
ク選択信号に基づいて、多相クロック生成部10にて多
相化されたクロックのうち、予め決められた位相差を有
する5つのクロックを選択して出力するクロック選択部
220と、クロック選択部220から出力された5つの
クロックが入力され、該5つのクロックのそれぞれの立
ち上がりのタイミングで受信データを取り込むフリップ
フロップを備えた5点サンプリング部230と、5点サ
ンプリング部230で取り込まれたデータが入力され、
入力された5つのデータを比較し、該比較結果に基づい
て、クロック選択部220に入力されるクロック選択信
号を生成して出力するクロック選択決定部240とから
構成されており、クロック選択部220においては、ク
ロック選択決定部240から出力されたクロック選択信
号に基づいて5つのクロックが選択される。
In this embodiment, as shown in FIG. 9, a multi-phase clock generator 10 for delaying a reception clock stepwise by 1 / N (N ≧ 6) of one cycle thereof, and a clock selection signal input thereto A clock selection unit 220 that selects and outputs five clocks having a predetermined phase difference among the clocks that have been multi-phased by the multi-phase clock generation unit 10 based on Received five clocks, a five-point sampling unit 230 provided with a flip-flop that captures received data at the rising timing of each of the five clocks, and data captured by the five-point sampling unit 230,
And a clock selection determining unit 240 for generating and outputting a clock selection signal to be input to the clock selection unit 220 based on the comparison result. In, five clocks are selected based on the clock selection signal output from the clock selection determining unit 240.

【0113】なお、5点サンプリング部230は、クロ
ック選択部220から出力された5つのクロックのうち
最も位相が進んだクロックを用いて受信データを取り込
むフリップフロップ231と、該クロックをクロック選
択決定部240に供給するためのバッファ236と、ク
ロック選択部220から出力された5つのクロックのう
ち2番目に位相が進んだクロックを用いて受信データを
取り込むフリップフロップ232と、クロック選択部2
20から出力された5つのクロックのうち中央の位相を
有するクロックを用いて受信データを取り込むフリップ
フロップ233と、該クロックを出力するためのバッフ
ァ238と、クロック選択部220から出力された5つ
のクロックのうち2番目に位相が遅れたクロックを用い
て受信データを取り込むフリップフロップ234と、ク
ロック選択部220から出力された5つのクロックのう
ち最も位相が遅れたクロックを用いて受信データを取り
込むフリップフロップ233と、フリップフロップ23
2,234,235に入力されるクロックの負荷容量が
フリップフロップ231,233に入力されるクロック
の負荷容量と同じになるようそれぞれ調節するためのバ
ッファ237a,237b,237cとから構成されて
おり、フリップフロップ233から出力されるデータは
出力データとして出力され、バッファ238から出力さ
れるクロックは出力クロックとして出力される。
The five-point sampling section 230 includes a flip-flop 231 for receiving received data using the clock with the most advanced phase among the five clocks output from the clock selection section 220, and a clock selection determination section for determining the clock. A buffer 236 for supplying the received data to the clock 240, a flip-flop 232 for receiving the received data using the clock whose phase is advanced second from the five clocks output from the clock selector 220, and a clock selector 2
A flip-flop 233 for receiving received data using a clock having a central phase among the five clocks output from 20, a buffer 238 for outputting the clock, and five clocks output from the clock selector 220 Among the five clocks output from the clock selection unit 220, the flip-flop 234 that fetches the received data using the clock whose phase is secondly delayed. 233 and the flip-flop 23
And buffers 237a, 237b, and 237c for respectively adjusting the load capacity of the clock input to the flip-flops 231 and 233 to be equal to the load capacity of the clock input to the flip-flops 231 and 233. Data output from the flip-flop 233 is output as output data, and a clock output from the buffer 238 is output as an output clock.

【0114】また、クロック選択決定部240は、5点
サンプリング部230から出力された5つのデータのう
ちフリップフロップ232,233,234から出力さ
れた3つのデータが入力され、入力された3つのデータ
を比較し、該比較結果に基づいて、クロック選択部22
0にて選択されるクロックの位相を進ませるか遅らせる
かを判断し、判断した結果を出力する位相比較部250
と、5点サンプリング部230から出力された5つのデ
ータのうちフリップフロップ231,233,235か
ら出力された3つのデータが入力され、入力された3つ
のデータを比較し、フリップフロップ233における受
信データの取り込みがデューティー劣化部に入っている
かどうかを検出し、それにより、クロック選択部220
にて選択されるクロックの位相を進ませるか遅らせるか
を判断し、判断した結果を出力するデューティー劣化検
出部270と、UP/DOWNカウンタにより構成さ
れ、位相比較部250及びデューティー劣化検出部27
0から出力された判断結果に基づいて、カウンタの値を
インクリメントまたはデクリメントし、クロック選択信
号として出力するカウンタ部260と、位相比較部25
0及びデューティー劣化検出部270における判断結果
のカウンタ部260への出力を規制する出力規制部28
0とから構成されている。
The clock selection determining section 240 receives the three data output from the flip-flops 232, 233, and 234 among the five data output from the five-point sampling section 230, and inputs the three data. , And based on the comparison result, the clock selection unit 22
A phase comparison unit 250 that determines whether to advance or delay the phase of the clock selected at 0 and outputs the determination result
And the three data output from the flip-flops 231, 233, and 235 among the five data output from the five-point sampling unit 230, and compares the three input data. Is detected in the duty deteriorating section, whereby the clock selecting section 220
The phase comparator 250 and the duty deterioration detector 27 are constituted by a duty deterioration detector 270 that determines whether to advance or delay the phase of the clock selected by the selector, and outputs the result of the determination, and an UP / DOWN counter.
A counter 260 for incrementing or decrementing the value of the counter based on the determination result output from 0 and outputting it as a clock selection signal;
The output restricting unit 28 restricts the output of the determination result in the zero and the duty deterioration detecting unit 270 to the counter unit 260.
0.

【0115】図10は、図9に示したクロック選択部2
20の一構成例を示すブロック図である。
FIG. 10 is a block diagram of the clock selection unit 2 shown in FIG.
FIG. 20 is a block diagram illustrating an example of a configuration of the device 20.

【0116】本構成例に示すクロック選択部220は図
10に示すように、5つのセレクタ221〜225から
構成されており、セレクタ221〜225のそれぞれ
に、多相クロック生成部10にて多相されたクロックC
LK0〜CLK(N−1)及びクロック選択決定部24
0から出力されたクロック選択信号SELが入力され
る。なお、k番目のクロックCLKkは、セレクタ22
1の(k+2)番目の入力と、セレクタ222の(k+
1)番目の入力と、セレクタ223のk番目の入力と、
セレクタ224の(k−1)番目の入力と、セレクタ2
25の(k−2)番目の入力に入力される。
As shown in FIG. 10, the clock selecting section 220 shown in this configuration example includes five selectors 221 to 225. Clock C
LK0-CLK (N-1) and clock selection determining unit 24
The clock selection signal SEL output from 0 is input. The k-th clock CLKk is supplied to the selector 22
1 (k + 2) th input and the selector 222 (k + 2)
1) -th input, k-th input of selector 223,
(K-1) th input of selector 224 and selector 2
25 (k-2) th inputs.

【0117】上記のように構成されたクロック選択部2
20においては、セレクタ221〜225のそれぞれに
おいて、クロック選択信号SELに基づいて、入力され
たクロックCLK0〜CLK(N−1)のうち1つのク
ロックが選択される。
The clock selector 2 configured as described above
In 20, in each of the selectors 221 to 225, one of the input clocks CLK0 to CLK (N-1) is selected based on the clock selection signal SEL.

【0118】セレクタ221にて選択されたクロックは
クロックCK1として出力され、セレクタ222にて選
択されたクロックはクロックCK2として出力され、セ
レクタ223にて選択されたクロックはクロックCK3
として出力され、セレクタ224にて選択されたクロッ
クはクロックCK4として出力され、セレクタ225に
て選択されたクロックはクロックCK5として出力され
る。
The clock selected by selector 221 is output as clock CK1, the clock selected by selector 222 is output as clock CK2, and the clock selected by selector 223 is clock CK3.
The clock selected by the selector 224 is output as a clock CK4, and the clock selected by the selector 225 is output as a clock CK5.

【0119】これにより、クロック選択部220から出
力される5つのクロックCK1〜CK5は、互いに1周
期の1/Nの位相差を有するクロックとなり、位相が進
んでいる順に、CK1,CK2,CK3,CK4,CK
5となる。
As a result, the five clocks CK1 to CK5 output from the clock selection unit 220 become clocks having a phase difference of 1 / N of one cycle from each other, and CK1, CK2, CK3, CK4, CK
It becomes 5.

【0120】図11は、図9に示した位相比較部25
0、デューティー劣化検出部270及び出力規制部28
0の一構成例を示す回路図である。
FIG. 11 is a block diagram of the phase comparator 25 shown in FIG.
0, duty deterioration detecting section 270 and output regulating section 28
FIG. 2 is a circuit diagram illustrating a configuration example of a zero.

【0121】本構成例に示す位相比較部250は図11
に示すように、5点サンプリング部230内のフリップ
フロップ232から出力されたデータとフリップフロッ
プ233から出力されたデータとの排他的論理和をとる
XORゲート251aと、5点サンプリング部230内
のフリップフロップ233から出力されたデータとフリ
ップフロップ234から出力されたデータとの排他的論
理和をとるXORゲート251bと、XORゲート25
1aから出力された信号を5点サンプリング部230か
ら供給されたクロックに基づいて取り込み、左側変化点
検出信号として出力するフリップフロップ252aと、
XORゲート251bから出力された信号を5点サンプ
リング部230から供給されたクロックに基づいて取り
込むフリップフロップ252bと、フリップフロップ2
52bから出力されたデータを5点サンプリング部23
0から供給されたクロックに基づいて取り込み、右側変
化点検出信号として出力するフリップフロップ252c
と、フリップフロップ252cから出力された右側変化
点検出信号を反転させるNOTゲート253と、フリッ
プフロップ252aから出力された左側変化点検出信号
とNOTゲート253から出力された信号とデューティ
ー劣化検出部270から出力された信号と出力規制部2
80から出力された出力規制信号との論理積をとるAN
Dゲート254aと、フリップフロップ252cから出
力された右側変化点検出信号とデューティー劣化検出部
270から出力された信号と出力規制部280から出力
された出力規制信号との論理積をとるANDゲート25
4bと、ANDゲート254aから出力された信号を5
点サンプリング部230から供給されたクロックに基づ
いて取り込み、UP信号として出力するフリップフロッ
プ252dと、ANDゲート254bから出力された信
号を5点サンプリング部230から供給されたクロック
に基づいて取り込み、DOWN信号として出力するフリ
ップフロップ252eとから構成されている。
The phase comparison unit 250 shown in this configuration example is different from the one shown in FIG.
As shown in the figure, an XOR gate 251a that performs an exclusive OR operation on the data output from the flip-flop 232 in the five-point sampling unit 230 and the data output from the flip-flop 233, and the flip-flop in the five-point sampling unit 230 XOR gate 251b that takes an exclusive OR of the data output from flip-flop 233 and the data output from flip-flop 234, and XOR gate 25
A flip-flop 252a that takes in the signal output from the first signal generator 1a based on the clock supplied from the five-point sampling unit 230 and outputs the signal as a left change point detection signal;
A flip-flop 252b that takes in the signal output from the XOR gate 251b based on the clock supplied from the five-point sampling unit 230;
The data output from 52b is sampled by a five-point sampling unit 23.
Flip-flop 252c which takes in based on the clock supplied from 0 and outputs it as a right transition point detection signal
A NOT gate 253 for inverting the right change point detection signal output from the flip-flop 252c, a left change point detection signal output from the flip-flop 252a, the signal output from the NOT gate 253, and the duty deterioration detection unit 270 Output signal and output control unit 2
AN that takes a logical product with the output regulation signal output from 80
A D-gate 254a, and an AND gate 25 that performs a logical product of the right transition point detection signal output from the flip-flop 252c, the signal output from the duty deterioration detection unit 270, and the output restriction signal output from the output restriction unit 280.
4b and the signal output from the AND gate 254a
A flip-flop 252d that fetches based on the clock supplied from the point sampling unit 230 and outputs it as an UP signal, and a signal output from the AND gate 254b is fetched based on the clock supplied from the five-point sampling unit 230 and outputs a DOWN signal And a flip-flop 252e that outputs the data as

【0122】また、本構成例に示すデューティー劣化検
出部270は図11に示すように、5点サンプリング部
230内のフリップフロップ231から出力されたデー
タとフリップフロップ233から出力されたデータとの
排他的論理和をとるXORゲート271aと、5点サン
プリング部230内のフリップフロップ233から出力
されたデータとフリップフロップ235から出力された
データとの排他的論理和をとるXORゲート271b
と、XORゲート271aから出力された信号を5点サ
ンプリング部230から供給されたクロックに基づいて
取り込むフリップフロップ272aと、5点サンプリン
グ部230内のフリップフロップ233から出力された
データを5点サンプリング部230から供給されたクロ
ックに基づいて取り込むフリップフロップ272bと、
XORゲート271bから出力された信号を5点サンプ
リング部230から供給されたクロックに基づいて取り
込むフリップフロップ272cと、フリップフロップ2
72bから出力されたデータを5点サンプリング部23
0から供給されたクロックに基づいて取り込むフリップ
フロップ272dと、フリップフロップ272cから出
力されたデータを5点サンプリング部230から供給さ
れたクロックに基づいて取り込むフリップフロップ27
2eと、フリップフロップ272bから出力されたデー
タとフリップフロップ272dから出力されたデータと
の排他的論理和をとり、データ変化検出信号として出力
するXORゲート271cと、XORゲート271cか
ら出力されたデータ変化検出信号を反転させるNOTゲ
ート273aと、フリップフロップ272aから出力さ
れたデータとNOTゲート273aから出力された信号
との論理積をとり、左側デューティー劣化検出信号とし
て出力するANDゲート274aと、フリップフロップ
272eから出力されたデータとNOTゲート273a
から出力された信号との論理積をとり、右側デューティ
ー劣化検出信号として出力するANDゲート274b
と、ANDゲート274aから出力された左側デューテ
ィー劣化検出信号とANDゲート274bから出力され
た右側デューティー劣化検出信号との否定的論理和をと
るNORゲート275と、ANDゲート274bから出
力された左側デューティー劣化検出信号を反転させるN
OTゲート273bと、ANDゲート274aから出力
された左側デューティー劣化検出信号と出力規制部28
0から出力された出力規制信号との論理積をとるAND
ゲート274cと、ANDゲート274bから出力され
た右側デューティー劣化検出信号と出力規制部280か
ら出力された出力規制信号とNOTゲート273bから
出力された信号との論理積をとるANDゲート274d
と、ANDゲート274cから出力された信号を5点サ
ンプリング部230から供給されたクロックに基づいて
取り込み、DDOWN信号として出力するフリップフロ
ップ272fと、ANDゲート274dから出力された
信号を5点サンプリング部230から供給されたクロッ
クに基づいて取り込み、DUP信号として出力するフリ
ップフロップ272gとから構成されている。なお、N
ORゲート275から出力された信号が位相比較部26
0内のNANDゲート254a,254bにそれぞれ入
力される。
Further, as shown in FIG. 11, the duty deterioration detecting section 270 shown in the present configuration example excludes the data output from the flip-flop 231 and the data output from the flip-flop 233 in the 5-point sampling section 230. XOR gate 271a for performing an exclusive OR operation, and XOR gate 271b for performing an exclusive OR operation on the data output from flip-flop 233 and data output from flip-flop 235 in five-point sampling section 230
And a flip-flop 272a that takes in the signal output from the XOR gate 271a based on the clock supplied from the five-point sampling unit 230, and the data output from the flip-flop 233 in the five-point sampling unit 230 A flip-flop 272b to take in based on the clock supplied from 230;
A flip-flop 272c that takes in the signal output from the XOR gate 271b based on the clock supplied from the five-point sampling unit 230;
The data output from 72b is sampled by a five-point sampling unit 23.
A flip-flop 272d that takes in data based on the clock supplied from 0, and a flip-flop 27 that takes in data output from the flip-flop 272c based on the clock supplied from the five-point sampling unit 230.
2e, an XOR gate 271c that takes an exclusive OR of the data output from the flip-flop 272b and the data output from the flip-flop 272d, and outputs the data as a data change detection signal, and the data change output from the XOR gate 271c. A NOT gate 273a for inverting the detection signal, an AND gate 274a for taking a logical product of the data output from the flip-flop 272a and the signal output from the NOT gate 273a, and outputting the result as a left duty deterioration detection signal, and a flip-flop 272e. And the NOT gate 273a
AND gate 274b which takes the logical product with the signal output from the first and outputs it as a right duty deterioration detection signal
A NOR gate 275 that performs a logical OR operation of a left duty deterioration detection signal output from the AND gate 274a and a right duty deterioration detection signal output from the AND gate 274b, and a left duty deterioration output from the AND gate 274b. N to invert the detection signal
OT gate 273b, left duty deterioration detection signal output from AND gate 274a, and output control unit 28
AND for ANDing with the output regulation signal output from 0
A gate 274c, and an AND gate 274d that calculates the logical product of the right duty deterioration detection signal output from the AND gate 274b, the output control signal output from the output control unit 280, and the signal output from the NOT gate 273b.
And a flip-flop 272f for taking in the signal output from the AND gate 274c based on the clock supplied from the five-point sampling unit 230 and outputting the signal as a DDOWN signal, and a signal output from the AND gate 274d for the five-point sampling unit 230. And a flip-flop 272g that takes in the clock based on the clock supplied from and outputs it as a DUP signal. Note that N
The signal output from the OR gate 275 is output to the phase comparator 26.
It is input to the NAND gates 254a and 254b in 0, respectively.

【0123】また、本構成に示す出力規制部280は図
11に示すように、フリップフロップ252dから出力
されたUP信号とフリップフロップ252eから出力さ
れたDOWN信号とフリップフロップ272fから出力
されたDDOWN信号とフリップフロップ272gから
出力されたDUP信号との論理和をとるORゲート28
1と、ORゲート281から出力された信号を5点サン
プリング部230から供給されたクロックに基づいて取
り込むフリップフロップ283aと、フリップフロップ
283aから出力されたデータを5点サンプリング部2
30から供給されたクロックに基づいて取り込むフリッ
プフロップ283bと、フリップフロップ283bから
出力されたデータを5点サンプリング部230から供給
されたクロックに基づいて取り込むフリップフロップ2
83cと、フリップフロップ283cから出力されたデ
ータを5点サンプリング部230から供給されたクロッ
クに基づいて取り込むフリップフロップ283dと、フ
リップフロップ283dから出力されたデータを5点サ
ンプリング部230から供給されたクロックに基づいて
取り込むフリップフロップ283eと、フリップフロッ
プ283eから出力されたデータを5点サンプリング部
230から供給されたクロックに基づいて取り込むフリ
ップフロップ283fと、ORゲート281から出力さ
れた信号とフリップフロップ283aから出力されたデ
ータとフリップフロップ283bから出力されたデータ
とフリップフロップ283cから出力されたデータとフ
リップフロップ283dから出力されたデータとフリッ
プフロップ283eから出力されたデータとフリップフ
ロップ283fから出力されたデータとの否定的論理和
をとり、出力規制信号として出力するNORゲート28
2とから構成されている。なお、NORゲート282か
ら出力された出力規制信号が、位相比較部250内のA
NDゲート254a,254b及びデューティー劣化検
出部270内のANDゲート274c,274dにそれ
ぞれ入力される。
Further, as shown in FIG. 11, the output restricting section 280 shown in this configuration includes an UP signal output from the flip-flop 252d, a DOWN signal output from the flip-flop 252e, and a DDOWN signal output from the flip-flop 272f. OR gate 28 which takes the logical sum of the DUP signal output from flip-flop 272g
1, a flip-flop 283a that takes in the signal output from the OR gate 281 based on the clock supplied from the five-point sampling unit 230, and a five-point sampling unit 2 that captures the data output from the flip-flop 283a.
Flip-flop 283b that takes in based on a clock supplied from clock 30 and flip-flop 2 that takes in data output from flip-flop 283b based on a clock supplied from 5-point sampling section 230
83c, a flip-flop 283d for taking in data output from the flip-flop 283c based on the clock supplied from the five-point sampling unit 230, and a clock supplied from the five-point sampling unit 230 for data output from the flip-flop 283d. 283e, which takes in data based on the clock, a flip-flop 283f, which takes in data output from the flip-flop 283e based on a clock supplied from the five-point sampling unit 230, a signal output from the OR gate 281 and the flip-flop 283a. Data output, data output from flip-flop 283b, data output from flip-flop 283c, data output from flip-flop 283d, and flip-flop 283 It takes a negative logical sum of the output data from the output data and the flip-flop 283f from, NOR gate 28 to output as an output regulation signal
And 2. Note that the output regulation signal output from the NOR gate 282 is
The signals are input to the ND gates 254a and 254b and the AND gates 274c and 274d in the duty deterioration detector 270, respectively.

【0124】上記のように構成された位相比較部250
においては、5点サンプリング部230内のフリップフ
ロップ232に取り込まれたデータとフリップフロップ
233に取り込まれたデータとが異なる場合、すなわ
ち、フリップフロップ233におけるセットアップ時間
の余裕が小さな場合に、フリップフロップ252aから
1が出力され、左側変化点検出信号が1にセットされ
る。
The phase comparator 250 constructed as described above
In the case where the data fetched by the flip-flop 232 in the five-point sampling unit 230 is different from the data fetched by the flip-flop 233, that is, if the margin of the setup time in the flip-flop 233 is small, the flip-flop 252a Is output, and the left transition point detection signal is set to 1.

【0125】また、5点サンプリング部230内のフリ
ップフロップ233に取り込まれたデータとフリップフ
ロップ234に取り込まれたデータとが異なる場合、す
なわち、フリップフロップ233におけるホールド時間
の余裕が小さな場合に、フリップフロップ252cから
1が出力され、右側変化点検出信号が1にセットされ
る。
When the data fetched by the flip-flop 233 in the five-point sampling unit 230 is different from the data fetched by the flip-flop 234, that is, when the margin of the hold time in the flip-flop 233 is small, 1 is output from the loop 252c, and the right transition point detection signal is set to 1.

【0126】また、上記のように構成されたデューティ
ー劣化検出部270においては、XORゲート271c
においてフリップフロップ272bから出力されたデー
タとフリップフロップ272dから出力されたデータと
の排他的論理和をとることにより、5点サンプリング部
230内のフリップフロップ233において取り込まれ
たデータを1周期前のクロックで取り込まれたデータと
比較し、その比較結果がデータ変化検出信号として出力
される。フリップフロップ233において取り込まれた
データと1周期前のクロックで取り込まれたデータとが
異なる場合はデータ変化検出信号として1が出力され
る。
Further, in the duty deterioration detecting section 270 configured as described above, the XOR gate 271c
, An exclusive OR of the data output from the flip-flop 272b and the data output from the flip-flop 272d is performed, so that the data fetched by the flip-flop 233 in the five-point sampling unit 230 is clocked by one clock before. Is compared with the data fetched, and the comparison result is output as a data change detection signal. If the data fetched by the flip-flop 233 differs from the data fetched by the clock one cycle before, 1 is output as a data change detection signal.

【0127】また、ANDゲート274aにおいては、
5点サンプリング部230内のフリップフロップ231
に取り込まれたデータとフリップフロップ233に取り
込まれたデータとが異なり、かつ、データ変化検出信号
が0の場合すなわちフリップフロップ233において取
り込まれたデータと1周期前のクロックで取り込まれた
データとが同じ場合、左側デューティー劣化検出信号と
して1が出力される。
In the AND gate 274a,
Flip-flop 231 in 5-point sampling section 230
Is different from the data captured by the flip-flop 233 and the data change detection signal is 0, that is, the data captured by the flip-flop 233 and the data captured by the clock one cycle earlier are different. In the same case, 1 is output as the left duty deterioration detection signal.

【0128】また、ANDゲート274bにおいては、
5点サンプリング部230内のフリップフロップ233
に取り込まれたデータとフリップフロップ235に取り
込まれたデータとが異なり、かつ、データ変化検出信号
が0の場合すなわちフリップフロップ233において取
り込まれたデータと1周期前のクロックで取り込まれた
データとが同じ場合、右側デューティー劣化検出信号と
して1が出力される。
In addition, in AND gate 274b,
Flip-flop 233 in 5-point sampling section 230
Is different from the data captured by the flip-flop 235 and the data change detection signal is 0, that is, the data captured by the flip-flop 233 and the data captured by the clock one cycle earlier are different. In the same case, 1 is output as the right duty deterioration detection signal.

【0129】そして、左側変化点検出信号が1となった
場合にUP信号に1パルスだけ1が出力され、右側変化
点検出信号が1となった場合にDOWN信号に1パルス
だけ1が出力され、左側デューティー劣化検出信号が1
となった場合にDDOWN信号に1パルスだけ1が出力
され、右側デューティー劣化検出信号が1となった場合
にDUP信号に1パルスだけ1が出力されることになる
が、左側変化点検出信号、右側変化点検出信号、左側デ
ューティー劣化検出信号及び右側デューティー劣化検出
信号のうちの複数の信号が1となった場合に、NOTゲ
ート253,273b、ANDゲート254a,254
b,274c,274d及びNORゲート275によっ
て、左側デューティー劣化検出信号、右側デューティー
劣化検出信号、右側変化点検出信号、左側変化点検出信
号という順に優先順位が付けられてDDOWN信号、D
UP信号、DOWN信号及びUP信号のうちの1つの信
号のみが出力されることになる。
When the left transition point detection signal becomes 1, 1 is outputted as one pulse in the UP signal, and when the right transition point detection signal becomes 1, 1 is outputted as one pulse in the DOWN signal. , The left duty deterioration detection signal is 1
In this case, 1 is output for one pulse in the DDOWN signal, and 1 is output for one pulse in the DUP signal when the right duty deterioration detection signal is 1, but the left transition point detection signal, When a plurality of signals among the right change point detection signal, the left duty deterioration detection signal, and the right duty deterioration detection signal become 1, the NOT gates 253, 273b, the AND gates 254a, 254
b, 274c, 274d and the NOR gate 275, the left-side duty deterioration detection signal, the right-side duty deterioration detection signal, the right-side transition point detection signal, and the left-side transition point detection signal are prioritized in the order of DDOWN signal, D
Only one of the UP signal, the DOWN signal, and the UP signal is output.

【0130】また、上記のように構成された出力規制部
280においては、UP信号、DOWN信号、DDOW
N信号及びDUP信号のいずれかの信号に1が出力され
た後7クロックの間、UP信号、DOWN信号、DDO
WN信号及びDUP信号として0が出力されるような出
力規制信号が出力されている。なお、出力規制信号が出
力される時間においては、本形態では6つのフリップフ
ロップ283a〜283fにより7クロックとしたが、
フリップフロップの数を変えることにより制御可能であ
る。
In the output restricting section 280 configured as described above, the UP signal, DOWN signal, DDOW
For 7 clocks after 1 is output to one of the N signal and the DUP signal, the UP signal, the DOWN signal, the DDO
An output regulation signal that outputs 0 as the WN signal and the DUP signal is output. In the present embodiment, seven clocks are set by the six flip-flops 283a to 283f during the output control signal output time.
It can be controlled by changing the number of flip-flops.

【0131】以下に、上記のように構成された高速デー
タ受信回路の動作について説明する。
Hereinafter, the operation of the high-speed data receiving circuit configured as described above will be described.

【0132】図12は、図9〜図11に示した高速デー
タ受信回路の動作を説明するためのタイミングチャート
であり、多相クロック生成部10にて8相のクロックを
生成し、クロック選択部220にてクロックが選択され
る動作を示している。
FIG. 12 is a timing chart for explaining the operation of the high-speed data receiving circuit shown in FIGS. 9 to 11, in which a multi-phase clock generator 10 generates an eight-phase clock and a clock selector. At 220, an operation for selecting a clock is shown.

【0133】受信クロックが多相クロック生成部10に
入力されると、まず、多相クロック生成部10におい
て、受信クロックの1周期の1/N(N≧6)の時間ず
つ段階的に位相が遅れたN個のクロックが生成される。
本形態においては8つのクロックCLK0〜CLK7が
生成される。
When the received clock is input to the multi-phase clock generator 10, first, the multi-phase clock generator 10 changes the phase in steps of 1 / N (N ≧ 6) of one cycle of the received clock. N delayed clocks are generated.
In the present embodiment, eight clocks CLK0 to CLK7 are generated.

【0134】多相クロック生成部10にて生成された8
つのクロックCLK0〜CLK7はクロック選択部22
0に入力され、クロック選択部220において、クロッ
ク選択決定部240から出力されたクロック選択信号S
ELに基づいて、クロックCLK0〜CLK7のうち1
周期の1/Nの位相差を有する5つのクロックがクロッ
クCK1〜CK5として出力される。
8 generated by the multi-phase clock generator 10
Clocks CLK0 to CLK7
0, and the clock selection unit 220 outputs the clock selection signal S output from the clock selection determination unit 240.
Based on EL, one of clocks CLK0-CLK7
Five clocks having a phase difference of 1 / N of the cycle are output as clocks CK1 to CK5.

【0135】ここで、図12に示すように、クロック選
択決定部240から出力されるクロック選択信号SEL
が時刻t0にて切り替わった場合、それに伴って、クロ
ックCK1〜CK5として出力されるクロックも切り替
わる。クロック選択信号SELが5の場合は、クロック
CLK3がクロックCK1として選択されて出力され、
クロックCLK4がクロックCK2として選択されて出
力され、クロックCLK5がクロックCK3として選択
されて出力され、クロックCLK6がクロックCK4と
して選択されて出力され、クロックCLK7がクロック
CK5として選択されて出力される。また、クロック選
択信号SELが6の場合は、クロックCLK4がクロッ
クCK1として選択されて出力され、クロックCLK5
がクロックCK2として選択されて出力され、クロック
CLK6がクロックCK3として選択されて出力され、
クロックCLK7がクロックCK4として選択されて出
力され、クロックCLK0がクロックCK5として選択
されて出力される。このように、CK1として出力され
るクロックCLK0〜CLK7の番号はSEL−2とな
り、CK2として出力されるクロックCLK0〜CLK
7の番号はSEL−1となり、CK3として出力される
クロックCLK0〜CLK7の番号はSELとなり、C
K4として出力されるクロックCLK0〜CLK7の番
号はSEL+1となり、CK5として出力されるクロッ
クCLK0〜CLK7の番号はSEL+2となる。
Here, as shown in FIG. 12, clock selection signal SEL output from clock selection determination unit 240
Are switched at time t0, the clocks output as clocks CK1 to CK5 are also switched accordingly. When the clock selection signal SEL is 5, the clock CLK3 is selected and output as the clock CK1,
The clock CLK4 is selected and output as the clock CK2, the clock CLK5 is selected and output as the clock CK3, the clock CLK6 is selected and output as the clock CK4, and the clock CLK7 is selected and output as the clock CK5. When the clock selection signal SEL is 6, the clock CLK4 is selected and output as the clock CK1, and the clock CLK5 is output.
Are selected and output as the clock CK2, and the clock CLK6 is selected and output as the clock CK3,
The clock CLK7 is selected and output as the clock CK4, and the clock CLK0 is selected and output as the clock CK5. Thus, the numbers of the clocks CLK0 to CLK7 output as CK1 are SEL-2, and the clocks CLK0 to CLK output as CK2.
7 is SEL-1, and the numbers of clocks CLK0 to CLK7 output as CK3 are SEL.
The numbers of the clocks CLK0 to CLK7 output as K4 are SEL + 1, and the numbers of the clocks CLK0 to CLK7 output as CK5 are SEL + 2.

【0136】このようにして、クロック選択部220か
ら出力されるクロックCK1〜CK5は、互いに1周期
の1/8の位相差を有するクロックとなる。なお、本構
成例においては、わかりやすくするためにセレクタ22
1〜225の遅延量は0とする。
As described above, the clocks CK1 to CK5 output from the clock selector 220 are clocks having a phase difference of 1/8 of one cycle from each other. Note that, in this configuration example, the selector 22
The delay amount of 1 to 225 is set to 0.

【0137】クロック選択部220から出力されたクロ
ックCK1〜CK5は5点サンプリング部230に入力
され、5点サンプリング部230において、クロックC
K1〜CK5がバッファ236,237a〜237c,
238に入力されるとともに、フリップフロップ231
〜235において、クロックCK1〜CK5の立ち上が
りのタイミングで受信データが取り込まれ、クロック選
択決定部240に対して出力される。
The clocks CK1 to CK5 output from the clock selection unit 220 are input to the five-point sampling unit 230, and the five-point sampling unit 230
K1 to CK5 are buffers 236, 237a to 237c,
238 and the flip-flop 231
In 235, the received data is fetched at the rising timing of the clocks CK1 to CK5 and output to the clock selection determining unit 240.

【0138】クロック選択決定部240においては、位
相比較部250内のXORゲート251aにおいてフリ
ップフロップ232から出力されたデータD2とフリッ
プフロップ233から出力されたデータD3とが比較さ
れ、該比較結果がフリップフロップ252aに取り込ま
れ、左側変化点検出信号として出力される。そのため、
左側変化点検出信号として1が出力された場合、クロッ
クCK2の立ち上がりとクロックCK3の立ち上がりと
の間に受信データの変化点が存在することとなる。この
場合、セットアップ時間の余裕が小さいと判断され、U
P信号として1パルスだけ1が出力され、カウンタ部2
60においてはカウンタ値がインクリメントされて、そ
れに基づいたクロック選択信号がクロック選択部220
に対して出力される。
In clock selection determining section 240, data D2 output from flip-flop 232 and data D3 output from flip-flop 233 are compared by XOR gate 251a in phase comparing section 250, and the comparison result is output by flip-flop. And is output as a left transition point detection signal. for that reason,
When 1 is output as the left transition point detection signal, a transition point of the received data exists between the rise of the clock CK2 and the rise of the clock CK3. In this case, it is determined that the margin of the setup time is small, and U
1 is output only for one pulse as the P signal, and the counter 2
At 60, the counter value is incremented, and a clock selection signal based on the counter value is
Is output to

【0139】これにより、クロック選択部220にて選
択される5つのクロックCK1〜CK5がそれぞれクロ
ックCLK0〜CLK7のうち1つずつインクリメント
されたクロックとなり、クロックCK1〜CK5の位相
が遅れることとなる。それにより、フリップフロップ2
33のセットアップ時間の余裕が大きくなる。
As a result, the five clocks CK1 to CK5 selected by the clock selection unit 220 become clocks each incremented by one of the clocks CLK0 to CLK7, and the phases of the clocks CK1 to CK5 are delayed. Thereby, flip-flop 2
The margin of the setup time of 33 increases.

【0140】また、位相比較部250内のXORゲート
251bにおいては、フリップフロップ233から出力
されたデータD3とフリップフロップ234から出力さ
れたデータD4とが比較され、該比較結果がフリップフ
ロップ252b,252cに順次取り込まれ、右側変化
点検出信号として出力される。そのため、右側変化点検
出信号として1が出力された場合、クロックCK3の立
ち上がりとクロックCK4の立ち上がりとの間に受信デ
ータの変化点が存在することとなる。この場合、ホール
ド時間の余裕が小さいと判断され、DOWN信号として
1パルスだけ1が出力され、カウンタ部260において
はカウンタ値がデクリメントされて、それに基づいたク
ロック選択信号がクロック選択部220に対して出力さ
れる。
In the XOR gate 251b in the phase comparison section 250, the data D3 output from the flip-flop 233 is compared with the data D4 output from the flip-flop 234, and the comparison result is output to the flip-flops 252b and 252c. And is output as a right transition point detection signal. Therefore, when 1 is output as the right transition point detection signal, a transition point of the received data exists between the rise of the clock CK3 and the rise of the clock CK4. In this case, it is determined that the margin of the hold time is short, 1 is output as one pulse as the DOWN signal, the counter value is decremented in the counter 260, and the clock selection signal based on the decrement is sent to the clock selector 220. Is output.

【0141】これにより、クロック選択部220にて選
択される5つのクロックCK1〜CK5がそれぞれクロ
ックCLK0〜CLK7のうち1つずつデクリメントさ
れたクロックとなり、クロックCK1〜CK5の位相が
進むこととなる。それにより、フリップフロップ233
のホールド時間の余裕が大きくなる。
As a result, the five clocks CK1 to CK5 selected by the clock selection unit 220 become decremented clocks by one of the clocks CLK0 to CLK7, respectively, and the phases of the clocks CK1 to CK5 are advanced. Thereby, the flip-flop 233
Hold time is increased.

【0142】また、デューティー劣化検出部270内の
XORゲート271cにおいては、フリップフロップ2
33から出力されたデータが取り込まれたフリップフロ
ップ272bからの出力とその出力が次のクロックで取
り込まれたフリップフロップ272dからの出力とが比
較されており、その比較結果がデータ変化検出信号とし
て出力される。それにより、フリップフロップ233に
取り込まれたデータが変化した場合は、データ変化点検
出信号として1が出力される。このデータ変化検出信号
は、左側デューティー劣化検出と右側デューティー劣化
検出に使用される。
In the XOR gate 271c in the duty deterioration detecting section 270, the flip-flop 2
The output from the flip-flop 272b, to which the data output from the flip-flop 33 is captured, is compared with the output from the flip-flop 272d, the output of which is captured at the next clock, and the comparison result is output as a data change detection signal. Is done. As a result, when the data captured by the flip-flop 233 changes, 1 is output as a data change point detection signal. This data change detection signal is used for left duty deterioration detection and right duty deterioration detection.

【0143】また、デューティー劣化検出部270内の
XORゲート271aにおいては、フリップフロップ2
31から出力されたデータD1とフリップフロップ23
3から出力されたデータD3とが比較され、該比較結果
がフリップフロップ272aに取り込まれる。そのた
め、フリップフロップ272aからの出力が1となった
場合、クロックCK1の立ち上がりとクロックCK3の
立ち上がりとの間に受信データの変化点が存在すること
となる。
In the XOR gate 271a in the duty deterioration detecting section 270, the flip-flop 2
Data D1 output from 31 and flip-flop 23
3 is compared with the data D3 output, and the comparison result is taken into the flip-flop 272a. Therefore, when the output from the flip-flop 272a becomes 1, a change point of the received data exists between the rising edge of the clock CK1 and the rising edge of the clock CK3.

【0144】フリップフロップ272aの出力が1で、
かつ、データ変化検出信号が0の場合には、左側デュー
ティー劣化検出信号が1となる。この場合、フリップフ
ロップ233から出力されたデータD3がデューティー
劣化範囲内に入っていると判断され、DDOWN信号と
して1パルスだけ1が出力され、カウンタ部260にお
いては、フリップフロップ233から出力されたデータ
D3がデューティー劣化範囲内から抜け出すのに必要な
だけカウンタ値がデクリメントされて、それに基づいた
クロック選択信号がクロック選択部220に対して出力
される。
When the output of the flip-flop 272a is 1,
When the data change detection signal is 0, the left duty deterioration detection signal is 1. In this case, it is determined that the data D3 output from the flip-flop 233 is within the duty deterioration range, 1 is output as one pulse as the DDOWN signal, and the counter 260 outputs the data output from the flip-flop 233. The counter value is decremented by an amount necessary for D3 to come out of the duty deterioration range, and a clock selection signal based on the decrement is output to clock selection section 220.

【0145】これにより、クロック選択部220にて選
択される5つのクロックCK1〜CK5がそれぞれクロ
ックCLK0〜CLK7のうち、フリップフロップ23
3から出力されたデータD3がデューティー劣化範囲内
から抜け出すのに必要なだけデクリメントされたクロッ
クとなり、クロックCK1〜CK5の位相が進むことと
なる。それにより、フリップフロップ233から出力さ
れたデータD3がデューティー劣化範囲内から抜け出
す。
As a result, the five clocks CK1 to CK5 selected by the clock selection unit 220 are the same as those of the flip-flops 23 of the clocks CLK0 to CLK7, respectively.
3 becomes a clock decremented as much as necessary to get out of the duty deterioration range, and the phases of the clocks CK1 to CK5 are advanced. As a result, the data D3 output from the flip-flop 233 comes out of the duty deterioration range.

【0146】また、デューティー劣化検出部270内の
XORゲート271bにおいては、フリップフロップ2
33から出力されたデータD3とフリップフロップ23
5から出力されたデータD5とが比較され、該比較結果
がフリップフロップ272cに取り込まれ、さらにフリ
ップフロップ272eに取り込まれる。そのため、フリ
ップフロップ272eの出力が1となった場合、クロッ
クCK3の立ち上がりとクロックCK5の立ち上がりと
の間に受信データの変化点が存在することとなる。
In the XOR gate 271b in the duty deterioration detecting section 270, the flip-flop 2
33 and the data D3 output from the flip-flop 23
5 is compared with the data D5 output from the memory 5 and the comparison result is taken into the flip-flop 272c and further taken into the flip-flop 272e. Therefore, when the output of the flip-flop 272e becomes 1, a change point of the received data exists between the rise of the clock CK3 and the rise of the clock CK5.

【0147】フリップフロップ272eの出力が1で、
かつデータ変化検出信号が0の場合には、右側デューテ
ィー劣化検出信号が1となる。この場合、フリップフロ
ップ233から出力されたデータD3がデューティー劣
化範囲内に入っていると判断され、DUP信号として1
パルスだけ1が出力され、カウンタ部260において
は、フリップフロップ233から出力されたデータD3
がデューティー劣化範囲内から抜け出すのに必要なだけ
カウンタ値がインクリメントされて、それに基づいたク
ロック選択信号がクロック選択部220に対して出力さ
れる。
When the output of the flip-flop 272e is 1,
When the data change detection signal is 0, the right duty deterioration detection signal is 1. In this case, it is determined that the data D3 output from the flip-flop 233 is within the duty deterioration range, and the DUP signal is set to 1
Only one pulse is output, and in the counter 260, the data D3 output from the flip-flop 233 is output.
The counter value is incremented as necessary to escape from the duty deterioration range, and a clock selection signal based on the counter value is output to the clock selection unit 220.

【0148】これにより、クロック選択部220にて選
択される5つのクロックCK1〜CK5がそれぞれクロ
ックCLK0〜CLK7のうち、フリップフロップ23
3から出力されたデータD3がデューティー劣化範囲内
から抜け出すのに必要なだけインクリメントされたクロ
ックとなり、クロックCK1〜CK5の位相が遅れるこ
ととなる。それにより、フリップフロップ233から出
力されたデータD3がデューティー劣化範囲内から抜け
出す。
As a result, the five clocks CK1 to CK5 selected by the clock selection unit 220 are the same as the flip-flops 23 of the clocks CLK0 to CLK7, respectively.
3 becomes a clock that is incremented as necessary to get out of the duty deterioration range, and the phases of the clocks CK1 to CK5 are delayed. As a result, the data D3 output from the flip-flop 233 comes out of the duty deterioration range.

【0149】また、左側変化点検出信号、右側変化点検
出信号、左側デューティー劣化検出信号及び右側デュー
ティー劣化検出信号が全て0の場合には、セットアップ
時間及びホールド時間の余裕が十分に大きく、しかも、
フリップフロップ233から出力されたデータD3がデ
ューティー劣化範囲内に入っていないと判断され、UP
信号、DOWN信号、DDOWN信号及びDUP信号と
しては全て0が出力され、カウンタ部260において、
現在のカウンタ値が保持される。
When the left change point detection signal, the right change point detection signal, the left duty deterioration detection signal, and the right duty deterioration detection signal are all 0, the margin of the setup time and the hold time is sufficiently large, and
It is determined that the data D3 output from the flip-flop 233 does not fall within the duty deterioration range,
As the signal, the DOWN signal, the DDOWN signal, and the DUP signal, all 0s are output.
The current counter value is held.

【0150】そのため、クロック選択部220から出力
されるクロックCK1〜CK5は変化せず、セットアッ
プ時間及びホールド時間の余裕が十分に大きく、しか
も、フリップフロップ233から出力されたデータD3
がデューティー劣化範囲内に入っていない状態が維持さ
れる。
Therefore, the clocks CK1 to CK5 output from the clock selection unit 220 do not change, the margin for the setup time and the hold time is sufficiently large, and the data D3 output from the flip-flop 233
Is maintained within the duty deterioration range.

【0151】また、左側変化点検出信号、右側変化点検
出信号、左側デューティー劣化検出信号及び右側デュー
ティー劣化検出信号のうち複数の信号が1の場合は、デ
ューティー劣化検出を優先しなければならない。この場
合、優先順位の高い方から、DDOWN信号、DUP信
号、DOWN信号、UP信号とし、この中から1つだけ
1とする。
When a plurality of signals among the left change point detection signal, the right change point detection signal, the left duty deterioration detection signal, and the right duty deterioration detection signal are 1, priority must be given to the duty deterioration detection. In this case, the DDOWN signal, the DUP signal, the DOWN signal, and the UP signal are set in descending order of priority, and only one of them is set to 1.

【0152】このように、フリップフロップ231〜2
35からの出力が比較され、フリップフロップ233か
ら出力されたデータD3がデューティー劣化範囲内に入
っていると判断された場合には、フリップフロップ23
3から出力されたデータD3がデューティー劣化範囲内
から抜け出すように、クロック選択部220にて選択さ
れるクロックが切り替えられ、また、セットアップ時間
またはホールド時間の余裕が小さいと判断された場合に
は、余裕を大きくするように、クロック選択部220に
て選択されるクロックが切り替えられるが、クロックが
切り替えられた後も上述した比較動作が再開され、電源
電圧や温度の変動により再度デューティー劣化が検出さ
れた場合あるいはセットアップ時間またはホールド時間
の余裕が小さくなった場合には、再びクロックが切り替
えられる。
As described above, the flip-flops 231 to 231
The output from the flip-flop 23 is compared with the data D3 output from the flip-flop 233, and if it is determined that the data D3 is within the duty deterioration range.
When the clock selected by the clock selection unit 220 is switched so that the data D3 output from No. 3 falls out of the duty deterioration range, and it is determined that the margin of the setup time or the hold time is small, The clock selected by the clock selection unit 220 is switched so as to increase the margin. However, even after the clock is switched, the above-described comparison operation is restarted, and the duty deterioration is detected again due to a change in the power supply voltage or the temperature. If the setup time or the hold time becomes short, the clock is switched again.

【0153】ここで、DDOWN信号、DUP信号、D
OWN信号、UP信号として1パルスだけ1が出力され
てからクロック選択部220において選択されるクロッ
クが切り替わり上記比較が再開されるまでに数クロック
が必要であるが、本形態においては、出力規制部280
内に設けられたORゲート281、フリップフロップ2
83a〜283f及びNORゲート282により、DD
OWN信号、DUP信号、DOWN信号、UP信号のい
ずれかに1パルスだけ1が出力された後の7クロックの
間は、左側変化点検出信号、右側変化点検出信号、左側
デューティー劣化検出信号及び右側デューティー劣化検
出信号が無視されている。なお、本形態においては、6
つのフリップフロップ283a〜283fが設けられて
いるが、フリップフロップの数は、比較再開までに必要
な時間に応じて増減してもよい。
Here, the DDOWN signal, DUP signal, D
Several clocks are required from the output of 1 for only one pulse as the OWN signal and the UP signal to the time when the clock selected by the clock selection unit 220 is switched and the comparison is restarted. 280
OR gate 281, flip-flop 2 provided in
83a to 283f and NOR gate 282, DD
During 7 clocks after 1 is output as one pulse to any of the DOWN signal, the DUP signal, the DOWN signal, and the UP signal, the left transition point detection signal, the right transition point detection signal, the left duty deterioration detection signal, and the right side The duty deterioration detection signal is ignored. In this embodiment, 6
Although the flip-flops 283a to 283f are provided, the number of flip-flops may be increased or decreased according to the time required until the comparison is restarted.

【0154】以下に、5点サンプリング部230におけ
る動作に基づくクロック選択決定部240の動作につい
て説明する。
The operation of clock selection determining section 240 based on the operation of 5-point sampling section 230 will be described below.

【0155】図13および図14は、図9及び図11に
示した5点サンプリング部230及びクロック選択決定
部240の動作を説明するためのタイミングチャートで
ある。
FIGS. 13 and 14 are timing charts for explaining the operation of the five-point sampling section 230 and the clock selection determining section 240 shown in FIGS. 9 and 11.

【0156】まず、フリップフロップ231において、
受信データがクロックCK1の立ち上がりのタイミング
で取り込まれ、デューティー劣化検出部270にデータ
D1として入力される。
First, in the flip-flop 231,
The received data is captured at the rising timing of the clock CK1 and is input to the duty deterioration detection unit 270 as data D1.

【0157】また、フリップフロップ232において、
受信データがクロックCK2の立ち上がりのタイミング
で取り込まれ、位相比較部250にデータD2として入
力される。
In the flip-flop 232,
Received data is captured at the rising edge of the clock CK2, and is input to the phase comparison unit 250 as data D2.

【0158】また、フリップフロップ233において、
受信データがクロックCK3の立ち上がりのタイミング
で取り込まれ、位相比較部250とデューティー劣化検
出部270にデータD3として入力される。
In the flip-flop 233,
The received data is captured at the rising timing of the clock CK3, and is input to the phase comparison unit 250 and the duty deterioration detection unit 270 as data D3.

【0159】また、フリップフロップ234において、
受信データがクロックCK4の立ち上がりのタイミング
で取り込まれ、位相比較部250にデータD4として入
力される。
In the flip-flop 234,
The received data is captured at the rising timing of the clock CK4, and is input to the phase comparison unit 250 as data D4.

【0160】また、フリップフロップ235において、
受信データがクロックCK5の立ち上がりのタイミング
で取り込まれ、デューティー劣化検出部270にデータ
D5として入力される。
In the flip-flop 235,
The received data is captured at the rising timing of the clock CK5 and is input to the duty deterioration detection unit 270 as data D5.

【0161】位相比較部250内のXORゲート251
aにおいては、フリップフロップ232から出力された
データD2とフリップフロップ233から出力されたデ
ータD3との排他的論理和が取られ、その結果がフリッ
プフロップ252aに取り込まれる。フリップフロップ
252aの出力は、左側変化点検出信号として出力され
る。なお、左側変化点検出信号は、データD2とデータ
D3とが一致しない場合のみ1が出力される。
XOR gate 251 in phase comparison section 250
In a, the exclusive OR of the data D2 output from the flip-flop 232 and the data D3 output from the flip-flop 233 is obtained, and the result is input to the flip-flop 252a. The output of the flip-flop 252a is output as a left transition point detection signal. Note that 1 is output as the left transition point detection signal only when the data D2 and the data D3 do not match.

【0162】位相比較部250内のXORゲート251
bにおいては、フリップフロップ233から出力された
データD3とフリップフロップ234から出力されたデ
ータD4との排他的論理和が取られ、その結果がフリッ
プフロップ252bに取り込まれ、さらにフリップフロ
ップ252cに取り込まれる。フリップフロップ252
cの出力は、右側変化点検出信号として出力される。な
お、右側変化点検出信号は、データD3とデータD4と
が一致しない場合のみ1が出力される。
XOR gate 251 in phase comparison section 250
In b, the exclusive OR of the data D3 output from the flip-flop 233 and the data D4 output from the flip-flop 234 is obtained, and the result is taken into the flip-flop 252b and further taken into the flip-flop 252c. . Flip-flop 252
The output of c is output as a right transition point detection signal. Note that 1 is output as the right transition point detection signal only when the data D3 and the data D4 do not match.

【0163】デューティー劣化検出部270内のXOR
ゲート271cにおいては、フリップフロップ233か
ら出力されたデータD3とフリップフロップ233から
1周期前に出力されたデータD3との排他的論理和が取
られ、その結果がデータ変化検出信号として出力され
る。なお、データ変化検出信号は、データD3が変化し
た場合のみ1が出力される。
XOR in duty deterioration detecting section 270
The gate 271c performs an exclusive OR operation on the data D3 output from the flip-flop 233 and the data D3 output one cycle before from the flip-flop 233, and outputs the result as a data change detection signal. The data change detection signal is 1 only when the data D3 changes.

【0164】デューティー劣化検出部270内のXOR
ゲート271aにおいては、フリップフロップ231か
ら出力されたデータD1とフリップフロップ233から
出力されたデータD3との排他的論理和が取られ、その
結果がフリップフロップ272aに取り込まれる。な
お、フリップフロップ272aの出力は、データD1と
データD3とが一致しない場合のみ1となる。
XOR in duty deterioration detecting section 270
In the gate 271a, the exclusive OR of the data D1 output from the flip-flop 231 and the data D3 output from the flip-flop 233 is obtained, and the result is taken into the flip-flop 272a. Note that the output of the flip-flop 272a becomes 1 only when the data D1 and the data D3 do not match.

【0165】デューティー劣化検出部270内のXOR
ゲート271bにおいては、フリップフロップ233か
ら出力されたデータD3とフリップフロップ235から
出力されたデータD5との排他的論理和が取られ、その
結果がフリップフロップ272cに取り込まれ、さらに
フリップフロップ272eに取り込まれる。フリップフ
ロップ272eの出力は、データD3とデータD5とが
一致しない場合のみ1となる。
XOR in duty deterioration detecting section 270
In the gate 271b, an exclusive OR of the data D3 output from the flip-flop 233 and the data D5 output from the flip-flop 235 is taken, and the result is taken into the flip-flop 272c and further taken into the flip-flop 272e. It is. The output of the flip-flop 272e becomes 1 only when the data D3 and the data D5 do not match.

【0166】デューティー劣化検出部270内のAND
ゲート274aにおいては、フリップフロップ272a
出力とデータ変化検出信号とに基づいて、フリップフロ
ップ233から出力されたデータD3がデューティー劣
化範囲内に入っているかどうかが判断され、判断結果が
左側デューティー劣化信号として出力される。具体的に
は、フリップフロップ272aの出力が1(つまり、左
側に変化点を検出)、かつデータ変化検出信号が0(つ
まり、フリップフロップ233で取り込んだデータが変
化しない)の場合に、フリップフロップ233から出力
されたデータD3がデューティー劣化範囲内に入ってい
ると判断される。
AND in Duty Degradation Detection Unit 270
In the gate 274a, the flip-flop 272a
Based on the output and the data change detection signal, it is determined whether or not data D3 output from flip-flop 233 is within the duty deterioration range, and the result of the determination is output as a left duty deterioration signal. Specifically, when the output of the flip-flop 272a is 1 (that is, a change point is detected on the left side) and the data change detection signal is 0 (that is, the data captured by the flip-flop 233 does not change), It is determined that data D3 output from H.233 is within the duty deterioration range.

【0167】デューティー劣化検出部270内のAND
ゲート274bにおいては、フリップフロップ272e
出力とデータ変化検出信号とに基づいて、フリップフロ
ップ233から出力されたデータD3がデューティー劣
化範囲内に入っているかどうかが判断され、判断結果が
右側デューティー劣化信号として出力される。具体的に
は、フリップフロップ272eの出力が1(つまり、右
側に変化点を検出)、かつデータ変化検出信号が0(つ
まり、フリップフロップ233で取り込んだデータが変
化しない)の場合に、フリップフロップ233から出力
されたデータD3がデューティー劣化範囲内に入ってい
ると判断される。
AND in Duty Degradation Detection Unit 270
In the gate 274b, the flip-flop 272e
Based on the output and the data change detection signal, it is determined whether or not data D3 output from flip-flop 233 is within the duty deterioration range, and the result of the determination is output as a right duty deterioration signal. Specifically, when the output of the flip-flop 272e is 1 (that is, a change point is detected on the right side) and the data change detection signal is 0 (that is, the data captured by the flip-flop 233 does not change), It is determined that data D3 output from H.233 is within the duty deterioration range.

【0168】一方、初期状態おいては、UP出力、DO
WN出力、DDOWN出力及びDUP出力は全て0であ
るため、出力規制部280内のNORゲート282の出
力は1となっている。
On the other hand, in the initial state, UP output, DO
Since the WN output, the DDOWN output, and the DUP output are all 0, the output of the NOR gate 282 in the output control unit 280 is 1.

【0169】この状態にて左側デューティー劣化信号が
1になると、フリップフロップ272fにおいては1が
取り込まれることになり、DDOWN信号として1が出
力される。その結果、カウンタ部260において、フリ
ップフロップ233から出力されたデータD3がデュー
ティー劣化範囲内から抜け出すのに必要なだけカウンタ
がデクリメントされ、クロック選択部220にて選択さ
れるクロックCK1〜CK5が、フリップフロップ23
3から出力されたデータD3がデューティー劣化範囲内
から抜け出すのに必要なだけデクリメントされる。な
お、本形態においては、カウンタを3回デクリメントす
れば、フリップフロップ233から出力されたデータD
3がデューティー劣化範囲内から抜け出すことができ
る。
When the left duty deterioration signal becomes 1 in this state, 1 is taken in the flip-flop 272f, and 1 is output as the DDOWN signal. As a result, in the counter section 260, the counter is decremented by an amount necessary for the data D3 output from the flip-flop 233 to come out of the duty deterioration range, and the clocks CK1 to CK5 selected by the clock selection section 220 Step 23
3 is decremented by an amount necessary to escape from the duty deterioration range. Note that in this embodiment, if the counter is decremented three times, the data D output from the flip-flop 233 is output.
3 can get out of the duty deterioration range.

【0170】また、初期状態において、左側デューティ
ー劣化信号は0、右側デューティー劣化信号が1になる
と、フリップフロップ272gにおいては1が取り込ま
れることになり、DUP信号として1が出力される。そ
の結果、カウンタ部260において、フリップフロップ
233から出力されたデータD3がデューティー劣化範
囲内から抜け出すのに必要なだけカウンタがインクリメ
ントされ、クロック選択部220にて選択されるクロッ
クCK1〜CK5が、フリップフロップ233から出力
されたデータD3がデューティー劣化範囲内から抜け出
すのに必要なだけインクリメントされる。なお、本形態
においては、カウンタを3回インクリメントすれば、フ
リップフロップ233から出力されたデータD3がデュ
ーティー劣化範囲内から抜け出すことができる。
In the initial state, when the left duty deterioration signal becomes 0 and the right duty deterioration signal becomes 1, 1 is taken in the flip-flop 272g, and 1 is output as the DUP signal. As a result, in the counter section 260, the counter is incremented by an amount necessary for the data D3 output from the flip-flop 233 to come out of the duty deterioration range, and the clocks CK1 to CK5 selected by the clock selection section 220 The data D3 output from the loop 233 is incremented by an amount necessary to escape from the duty deterioration range. In the present embodiment, if the counter is incremented three times, the data D3 output from the flip-flop 233 can come out of the duty deterioration range.

【0171】また、初期状態において、左側デューティ
ー劣化信号及び右側デューティー劣化信号が0、右側変
化点検出信号が1になると、フリップフロップ252e
には1が取り込まれることになり、DOWN信号として
1が出力される。その結果、カウンタ部260におい
て、ホールド時間の余裕を大きくするためにカウンタが
デクリメントされ、クロック選択部220にて選択され
るクロックCK1〜CK5が1つずつデクリメントされ
る。
In the initial state, when the left duty deterioration signal and the right duty deterioration signal become 0 and the right change point detection signal becomes 1, the flip-flop 252e
Is taken in, and 1 is output as a DOWN signal. As a result, in the counter 260, the counter is decremented in order to increase the margin of the hold time, and the clocks CK1 to CK5 selected by the clock selector 220 are decremented one by one.

【0172】また、初期状態において、左側デューティ
ー劣化信号、右側デューティー劣化信号及び右側変化点
検出信号が0、左側変化点検出信号が1になると、フリ
ップフロップ252dには1が取り込まれることにな
り、UP信号として1が出力される。その結果、カウン
タ部260において、セットアップ時間の余裕を大きく
するためにカウンタがインクリメントされ、クロック選
択部220にて選択されるクロックCK1〜CK5が1
つずつインクリメントされる。
In the initial state, when the left duty deterioration signal, the right duty deterioration signal, and the right change point detection signal become 0 and the left change point detection signal becomes 1, 1 is taken into the flip-flop 252d. 1 is output as the UP signal. As a result, in the counter section 260, the counter is incremented in order to increase the margin of the setup time, and the clocks CK1 to CK5 selected by the clock selection section 220 become 1
It is incremented by one.

【0173】図13においては、受信データにデューテ
ィー劣化が発生していて、左側変化点検出信号と左側デ
ューティー劣化信号が1になる例を示している。
FIG. 13 shows an example in which duty deterioration has occurred in the received data, and the left change point detection signal and the left duty deterioration signal become 1.

【0174】図13に示すように、左側変化点検出信
号、右側変化点検出信号及び左側デューティー劣化信号
としてそれぞれ1が3回出力されているが、左側デュー
ティー劣化信号を優先し、1回目のパルスによってDD
OWN信号として1が出力される。このDDOWN信号
により、NORゲート282の出力が7クロックの間0
となり、左側デューティー劣化信号の2回目と3回目の
パルスは無視される。
As shown in FIG. 13, 1 is output three times as the left transition point detection signal, the right transition point detection signal, and the left duty degradation signal, respectively. By DD
1 is output as the OWN signal. This DDOWN signal causes the output of NOR gate 282 to go to 0 for 7 clocks.
And the second and third pulses of the left duty deterioration signal are ignored.

【0175】なお、図13に示す破線はデューティー劣
化がなかった場合の波形を示しており、この場合は、左
側デューティー劣化信号、右側デューティー劣化信号、
右側変化点検出信号及び左側変化点検出信号は全て0と
なり、UP信号、DOWN信号、DDOWN信号及びD
UP信号は全て0である。
The dashed line shown in FIG. 13 shows the waveform when there is no duty deterioration. In this case, the left duty deterioration signal, the right duty deterioration signal,
The right transition point detection signal and the left transition point detection signal are all 0, and the UP signal, DOWN signal, DDOWN signal, and D
All UP signals are 0.

【0176】図14においては、受信データにデューテ
ィー劣化が発生していて、右側変化点検出信号及び右側
デューティー劣化信号が1になる例を示している。
FIG. 14 shows an example in which the received data has undergone duty deterioration, and the right change point detection signal and the right duty deterioration signal become 1.

【0177】図14に示すように、右側変化点検出信号
及び右側デューティー劣化信号としてそれぞれ1が3回
出力されているが、右側デューティー劣化信号を優先
し、1回目のパルスによってDUP信号として1が出力
される。このDUP信号により、NORゲート282の
出力が7クロックの間0となり、右側デューティー劣化
信号の2回目と3回目のパルスは無視される。
As shown in FIG. 14, 1 is output three times as the right transition point detection signal and the right duty deterioration signal, respectively. However, the right duty deterioration signal is prioritized, and 1 is output as the DUP signal by the first pulse. Is output. With this DUP signal, the output of the NOR gate 282 becomes 0 for seven clocks, and the second and third pulses of the right duty deterioration signal are ignored.

【0178】なお、図14に示す破線はデューティー劣
化がなかった場合の波形を示しており、この場合は、右
側変化点検出信号が1となり、DOWN信号は1パルス
だけ1となる。
The broken line shown in FIG. 14 shows the waveform when the duty is not deteriorated. In this case, the right transition point detection signal becomes 1, and the DOWN signal becomes 1 for one pulse.

【0179】以上説明したように本形態においては、5
点サンプリング部230で取り込んだ5個のデータのう
ち、フリップフロップ231,233,235で取り込
んだデータから受信データがデューティー劣化範囲内に
入っているかどうかが常に監視されており、デューティ
ー劣化範囲内に入っていると判断された場合は、デュー
ティー劣化範囲内から抜け出すように選択するクロック
が制御され、それにより、受信データがデューティー劣
化範囲から抜け出すことができる。
As described above, in this embodiment, 5
Of the five data fetched by the point sampling unit 230, it is constantly monitored whether received data is within the duty deterioration range from the data fetched by the flip-flops 231, 233, and 235. If it is determined that the received data is included, the clock that is selected so as to escape from the duty deterioration range is controlled, whereby the received data can escape from the duty deterioration range.

【0180】さらに、5点サンプリング部230で取り
込んだ5個のデータのうち、フリップフロップ232,
233,234で取り込んだデータが一致するように常
に選択するクロックが制御されることにより、データと
クロックの位相関係の変動に対応し、セットアップ時間
及びホールド時間の余裕を常に十分に保ち、正確にデー
タを受信することができる。
Further, among the five data fetched by the five-point sampling section 230, the flip-flop 232,
By controlling the clock which is always selected so that the data taken in by 233 and 234 coincide, it is possible to cope with the fluctuation of the phase relationship between the data and the clock, always keep the margin of the setup time and the hold time sufficiently, and accurately Data can be received.

【0181】図15は、図9に示したクロック選択部2
20の他の構成例を示すブロック図である。
FIG. 15 shows the clock selection unit 2 shown in FIG.
FIG. 20 is a block diagram showing another example of the configuration of FIG.

【0182】本構成例に示すクロック選択部220は図
15に示すように、多相クロック生成部10にて多相さ
れたクロックCLK0〜CLK(N−1)及びクロック
選択決定部240から出力されたクロック選択信号SE
Lが入力され、クロック選択信号SELに基づいて、ク
ロックCLK0〜CLK(N−1)のうち1つのクロッ
クをCK1とするセレクタ226と、セレクタ226か
ら出力されたクロックCK1を予め決められた遅延量だ
け遅延させてクロックCK2として出力する遅延部22
7aと、遅延部227aから出力されたクロックCK2
を予め決められた遅延量だけ遅延させてクロックCK3
として出力する遅延部227bと、遅延部227bから
出力されたクロックCK3を予め決められた遅延量だけ
遅延させてクロックCK4として出力する遅延部227
cと、遅延部227cから出力されたクロックCK4を
予め決められた遅延量だけ遅延させてクロックCK5と
して出力する遅延部227dとから構成されている。
As shown in FIG. 15, the clock selection unit 220 shown in this configuration example is output from the clocks CLK0 to CLK (N-1) multiplied by the multiphase clock generation unit 10 and the clock selection determination unit 240. Clock selection signal SE
L, the selector 226 that sets one of the clocks CLK0 to CLK (N-1) to CK1 based on the clock selection signal SEL, and the clock CK1 output from the selector 226 by a predetermined delay amount. Delay unit 22 that delays the clock signal and outputs it as clock CK2
7a and the clock CK2 output from the delay unit 227a.
Is delayed by a predetermined delay amount and the clock CK3
And a delay unit 227 that delays the clock CK3 output from the delay unit 227b by a predetermined delay amount and outputs the delayed clock CK4 as the clock CK4.
c, and a delay unit 227d that delays the clock CK4 output from the delay unit 227c by a predetermined delay amount and outputs it as the clock CK5.

【0183】上記のように構成されたクロック選択部2
20においては、遅延部227a〜227dにおける遅
延量を任意に設定することができるため、クロックCK
1〜CK5の位相差を任意に設定することができる。
The clock selector 2 configured as described above
In 20, since the delay amount in the delay units 227 a to 227 d can be set arbitrarily, the clock CK
1 to CK5 can be arbitrarily set.

【0184】図16は、図9に示した位相比較部25
0、デューティー劣化検出部270及び出力規制部28
0の他の構成例を示す回路図である。
FIG. 16 is a block diagram of the phase comparator 25 shown in FIG.
0, duty deterioration detecting section 270 and output regulating section 28
FIG. 10 is a circuit diagram illustrating another example of the configuration of the 00 ’.

【0185】本構成例に示す位相比較部250は図16
に示すように、5点サンプリング部230内のフリップ
フロップ232から出力されたデータD2とフリップフ
ロップ233から出力されたデータD3との排他的論理
和をとるXORゲート251aと、3点サンプリング部
230内のフリップフロップ233から出力されたデー
タD3とフリップフロップ234から出力されたデータ
D4との排他的論理和をとるXORゲート251bと、
XORゲート251aから出力された信号を5点サンプ
リング部230から供給されたクロックに基づいて取り
込むフリップフロップ252aと、XORゲート251
bから出力された信号を5点サンプリング部230から
供給されたクロックに基づいて取り込むフリップフロッ
プ252bと、フリップフロップ252bから出力され
たデータを5点サンプリング部230から供給されたク
ロックに基づいて取り込むフリップフロップ252c
と、フリップフロップ252aから出力されたデータを
反転させるNOTゲート253aと、フリップフロップ
252cから出力されたデータを反転させるNOTゲー
ト253bと、フリップフロップ252aから出力され
たデータと出力側からフィードバックされたデータとの
排他的論理和をとるXORゲート251cと、フリップ
フロップ252cから出力されたデータと出力側からフ
ィードバックされたデータとの排他的論理和をとるXO
Rゲート251dと、XORゲート251cから出力さ
れた信号とNOTゲート253bから出力された信号と
デューティー劣化検出部270から出力された信号と出
力規制部280から出力された出力規制信号との論理積
をとるANDゲート254aと、XORゲート251d
から出力された信号とNOTゲート253aから出力さ
れた信号とデューティー劣化検出部270から出力され
た信号と出力規制部280から出力された出力規制信号
との論理積をとるANDゲート254bと、ANDゲー
ト254aから出力された信号を5点サンプリング部2
30から供給されたクロックに基づいて取り込むフリッ
プフロップ252dと、ANDゲート254bから出力
された信号を5点サンプリング部230から供給された
クロックに基づいて取り込むフリップフロップ252e
と、フリップフロップ252aから出力された信号とフ
リップフロップ252dから出力された信号の論理積を
とり、左側変化点検出信号として出力するANDゲート
254cと、フリップフロップ252cから出力された
信号とフリップフロップ252eから出力された信号の
論理積をとり、右側変化点検出信号として出力するAN
Dゲート254dと、ANDゲート254cから出力さ
れた左側変化点検出信号を5点サンプリング部230か
ら供給されたクロックに基づいて取り込み、UP信号と
して出力するフリップフロップ252fと、ANDゲー
ト254dから出力された右側変化点検出信号を5点サ
ンプリング部230から供給されたクロックに基づいて
取り込み、DOWN信号として出力するフリップフロッ
プ252gとから構成されており、XORゲート251
cにおいては、フリップフロップ252aから出力され
たデータとフリップフロップ252dから出力されたデ
ータとの排他的論理和がとられ、また、XORゲート2
51dにおいては、フリップフロップ252cから出力
されたデータとフリップフロップ252eから出力され
たデータとの排他的論理和がとられる。
The phase comparison section 250 shown in this configuration example is similar to that shown in FIG.
As shown in the figure, an XOR gate 251a that takes an exclusive OR of the data D2 output from the flip-flop 232 in the five-point sampling unit 230 and the data D3 output from the flip-flop 233, An XOR gate 251b that performs an exclusive OR operation on the data D3 output from the flip-flop 233 and the data D4 output from the flip-flop 234,
A flip-flop 252a for taking in the signal output from the XOR gate 251a based on the clock supplied from the five-point sampling unit 230;
and a flip-flop 252b for taking in the signal output from the b-point based on the clock supplied from the five-point sampling unit 230 and a flip-flop for taking in the data output from the flip-flop 252b based on the clock supplied from the five-point sampling unit 230. 252c
A NOT gate 253a for inverting data output from the flip-flop 252a, a NOT gate 253b for inverting data output from the flip-flop 252c, and data output from the flip-flop 252a and data fed back from the output side An XOR gate 251c that takes the exclusive OR of the data and an XO that takes the exclusive OR of the data output from the flip-flop 252c and the data fed back from the output side
The logical product of the signal output from the R gate 251d, the signal output from the XOR gate 251c, the signal output from the NOT gate 253b, the signal output from the duty deterioration detection unit 270, and the output control signal output from the output control unit 280 is calculated. AND gate 254a and XOR gate 251d
AND gate 254b, which takes the logical product of the signal output from the inverter, the signal output from the NOT gate 253a, the signal output from the duty deterioration detection unit 270, and the output control signal output from the output control unit 280. The signal output from the 254a is sampled by a 5-point sampling unit 2
Flip-flop 252d that takes in based on the clock supplied from 30 and flip-flop 252e that takes in the signal output from AND gate 254b based on the clock supplied from 5-point sampling section 230.
AND gate of a signal output from the flip-flop 252a and a signal output from the flip-flop 252d, and outputs an AND gate 254c as a left transition point detection signal; and a signal output from the flip-flop 252c and the flip-flop 252e. AND that outputs the logical product of the signals output from
The D-gate 254d, the flip-flop 252f that fetches the left transition point detection signal output from the AND gate 254c based on the clock supplied from the five-point sampling unit 230, and outputs it as an UP signal, and the output from the AND gate 254d. And a flip-flop 252g that fetches the right transition point detection signal based on the clock supplied from the five-point sampling unit 230 and outputs it as a DOWN signal.
In (c), the exclusive OR of the data output from the flip-flop 252a and the data output from the flip-flop 252d is calculated.
At 51d, the exclusive OR of the data output from the flip-flop 252c and the data output from the flip-flop 252e is calculated.

【0186】また、本構成例に示すデューティー劣化検
出部270は図16に示すように、5点サンプリング部
230内のフリップフロップ231から出力されたデー
タとフリップフロップ233から出力されたデータとの
排他的論理和をとるXORゲート271aと、5点サン
プリング部230内のフリップフロップ233から出力
されたデータとフリップフロップ235から出力された
データとの排他的論理和をとるXORゲート271b
と、XORゲート271aから出力された信号を5点サ
ンプリング部230から供給されたクロックに基づいて
取り込むフリップフロップ272aと、XORゲート2
71bから出力された信号を5点サンプリング部230
から供給されたクロックに基づいて取り込むフリップフ
ロップ272bと、5点サンプリング部230内のフリ
ップフロップ233から出力されたデータを5点サンプ
リング部230から供給されたクロックに基づいて取り
込むフリップフロップ272cと、フリップフロップ2
72aから出力されたデータを反転させるNOTゲート
273aと、フリップフロップ272bから出力された
データを5点サンプリング部230から供給されたクロ
ックに基づいて取り込むフリップフロップ272dと、
フリップフロップ272dから出力されたデータを反転
させるNOTゲート273bと、フリップフロップ27
2cから出力されたデータを5点サンプリング部230
から供給されたクロックに基づいて取り込むフリップフ
ロップ272eと、フリップフロップ272cから出力
されたデータとフリップフロップ272eから出力され
たデータとの排他的論理和をとり、データ変化検出信号
として出力するXORゲート271cと、XORゲート
271cから出力されたデータ変化検出信号を反転させ
るNOTゲート273cと、NOTゲート273cから
出力された信号と出力側からフィードバックされた信号
との論理積をとるANDゲート274a,274bと、
フリップフロップ272aから出力された信号とAND
ゲート274aから出力された信号との論理和をとるO
Rゲート275aと、フリップフロップ272dから出
力された信号とANDゲート274bから出力された信
号との論理和をとるORゲート275bと、ORゲート
275aから出力された信号とNOTゲート273bか
ら出力された信号と出力規制部280から出力された信
号との論理積をとるANDゲート274cと、ORゲー
ト275bから出力された信号とNOTゲート273a
から出力された信号と出力規制部280から出力された
信号との論理積をとるANDゲート274dと、AND
ゲート274cから出力された信号を5点サンプリング
部230から供給されたクロックに基づいて取り込むフ
リップフロップ272fと、ANDゲート274dから
出力された信号を5点サンプリング部230から供給さ
れたクロックに基づいて取り込むフリップフロップ27
2gと、フリップフロップ272dから出力されたデー
タとフリップフロップ272gから出力されたデータと
の論理和をとるORゲート275cと、フリップフロッ
プ272aから出力されたデータとORゲート275c
から出力された信号との論理積をとり、左側デューティ
ー劣化検出信号として出力するANDゲート274e
と、フリップフロップ272dから出力されたデータと
フリップフロップ272fから出力されたデータとの論
理積をとり、右側デューティー劣化検出信号として出力
するANDゲート274fと、ANDゲート274eか
ら出力された左側デューティー劣化検出信号を5点サン
プリング部230から供給されたクロックに基づいて取
り込み、DDOWN信号として出力するフリップフロッ
プ272hと、ANDゲート274fから出力された右
側デューティー劣化検出信号を5点サンプリング部23
0から供給されたクロックに基づいて取り込み、DUP
信号として出力するフリップフロップ272iとから構
成されており、ANDゲート274aにおいては、NO
Tゲート273cから出力された信号とフリップフロッ
プ272fから出力された信号との論理積がとられ、ま
た、ANDゲート274bにおいては、NOTゲート2
73cから出力された信号とフリップフロップ272g
から出力された信号との論理積がとられる。
Further, as shown in FIG. 16, the duty deterioration detecting section 270 shown in the present configuration example excludes the data output from the flip-flop 231 and the data output from the flip-flop 233 in the 5-point sampling section 230. XOR gate 271a for performing an exclusive OR operation, and XOR gate 271b for performing an exclusive OR operation on the data output from flip-flop 233 and data output from flip-flop 235 in five-point sampling section 230
A flip-flop 272a for taking in a signal output from the XOR gate 271a based on a clock supplied from the five-point sampling unit 230, and a XOR gate 2
The signal output from 71b is sampled by a 5-point sampling unit 230.
And a flip-flop 272c that takes in data output from the flip-flop 233 in the five-point sampling unit 230 based on the clock supplied from the five-point sampling unit 230. Step 2
A NOT gate 273a for inverting the data output from the 72a, a flip-flop 272d for taking in the data output from the flip-flop 272b based on the clock supplied from the five-point sampling unit 230,
A NOT gate 273b for inverting data output from the flip-flop 272d;
The data output from 2c is sampled by a five-point sampling unit 230.
XOR gate 271c that takes the exclusive OR of the data output from flip-flop 272e and the data output from flip-flop 272e, and outputs the data as a data change detection signal A NOT gate 273c for inverting a data change detection signal output from the XOR gate 271c, and AND gates 274a and 274b for performing an AND operation on a signal output from the NOT gate 273c and a signal fed back from the output side;
The signal output from flip-flop 272a and AND
O for ORing with the signal output from gate 274a
An R gate 275a, an OR gate 275b for performing a logical sum of a signal output from the flip-flop 272d and a signal output from the AND gate 274b, a signal output from the OR gate 275a, and a signal output from the NOT gate 273b AND gate 274c for ANDing the signal output from output control unit 280 and the signal output from OR gate 275b and NOT gate 273a
An AND gate 274d for calculating the logical product of the signal output from the output control unit 280 and the signal output from the output control unit 280;
A flip-flop 272f that takes in the signal output from the gate 274c based on the clock supplied from the five-point sampling unit 230, and takes in the signal output from the AND gate 274d based on the clock supplied from the five-point sampling unit 230. Flip-flop 27
2g, an OR gate 275c that performs an OR operation on the data output from the flip-flop 272d and the data output from the flip-flop 272g, and the data output from the flip-flop 272a and the OR gate 275c.
AND gate 274e that takes a logical product with the signal output from the first and outputs it as a left-side duty deterioration detection signal
AND gate 274f for taking the logical product of the data output from the flip-flop 272d and the data output from the flip-flop 272f and outputting it as a right duty deterioration detection signal, and the left duty deterioration detection output from the AND gate 274e The flip-flop 272h for taking in the signal based on the clock supplied from the five-point sampling unit 230 and outputting it as a DDOWN signal, and the right-side duty deterioration detection signal output from the AND gate 274f is output to the five-point sampling unit 23.
0 based on the clock supplied from 0, and DUP
And a flip-flop 272i that outputs the signal as a signal.
The logical product of the signal output from the T-gate 273c and the signal output from the flip-flop 272f is obtained. In the AND gate 274b, the NOT gate 2
73c and flip-flop 272g
Is ANDed with the signal output from.

【0187】また、本構成に示す出力規制部280は図
11に示したものと同様の構成である。
The output restricting section 280 shown in this configuration has the same configuration as that shown in FIG.

【0188】位相比較部250内のフリップフロップ2
52aには、データD2とデータD3とを比較した結果
が取り込まれており、該比較結果が異なる場合、1がセ
ットされる。
Flip-flop 2 in phase comparison section 250
The result of comparing data D2 and data D3 is taken into 52a, and 1 is set when the comparison result is different.

【0189】また、フリップフロップ252cには、デ
ータD3とデータD4とを比較した結果が取り込まれて
おり、該比較結果が異なる場合、1がセットされる。
The result of comparison between data D3 and data D4 is taken into flip-flop 252c. If the comparison result is different, 1 is set.

【0190】また、デューティー劣化検出部270内の
フリップフロップ272aには、データD1とデータD
3とを比較した結果が取り込まれており、該比較結果が
異なる場合、1がセットされる。
The data D1 and the data D1 are applied to the flip-flop 272a in the duty deterioration detecting section 270.
If the result of comparison with 3 is taken in and the comparison result is different, 1 is set.

【0191】また、フリップフロップ272dには、デ
ータD3とデータD5とを比較した結果が取り込まれて
おり、該比較結果が異なる場合、1がセットされる。
The result obtained by comparing data D3 and data D5 is taken into flip-flop 272d. If the comparison result is different, 1 is set.

【0192】また、XORゲート271cにおいては、
5点サンプリング部230内のフリップフロップ233
において取り込んだデータと1周期前のクロックで取り
込んだデータとを比較した結果が、データ変化検出信号
として出力される。データ変化検出信号は、取り込まれ
たデータが1周期前のデータと異なる場合に1が出力さ
れる。
In the XOR gate 271c,
Flip-flop 233 in 5-point sampling section 230
The result obtained by comparing the data fetched in step 1 with the data fetched by the clock one cycle before is output as a data change detection signal. A 1 is output as the data change detection signal when the taken data is different from the data one cycle before.

【0193】フリップフロップ252d,252e,2
72f,272gの初期状態を全て0とすると、フリッ
プフロップ252aに1がセットされた場合、フリップ
フロップ252dに1がセットされ、もう一度フリップ
フロップ252aに1がセットされた場合、フリップフ
ロップ252aは0にリセットされると同時にANDゲ
ート254cの出力は1となり、フリップフロップ25
2fに1がセットされ、UP出力が1となる。
Flip-flops 252d, 252e, 2
Assuming that the initial states of 72f and 272g are all 0, when 1 is set to flip-flop 252a, 1 is set to flip-flop 252d, and when 1 is set again to flip-flop 252a, flip-flop 252a is set to 0. At the same time as the reset, the output of the AND gate 254c becomes 1, and the flip-flop 25
1 is set to 2f, and the UP output becomes 1.

【0194】このように、フリップフロップ232にて
取り込まれたデータD2とフリップフロップ233にて
取り込まれたデータD3とにおいて2回不一致が生じた
場合、セットアップ時間の余裕が小さいと判断され、U
P信号として1パルスだけ1が出力される。その結果、
カウンタ部260において、セットアップ時間の余裕を
大きくするためにカウンタがインクリメントされ、クロ
ック選択部220にて選択されるクロックCK1〜CK
5が1つずつインクリメントされる。
As described above, when the data D2 fetched by the flip-flop 232 and the data D3 fetched by the flip-flop 233 are mismatched twice, it is determined that the margin of the setup time is small, and
As a P signal, 1 is output for only one pulse. as a result,
In the counter section 260, the counter is incremented to increase the margin of the setup time, and the clocks CK1 to CK selected by the clock selection section 220 are increased.
5 is incremented by one.

【0195】また、フリップフロップ252d,252
e,272f,272gの初期状態を全て0とすると、
フリップフロップ252cに1がセットされた場合、フ
リップフロップ252eに1がセットされ、もう一度フ
リップフロップ252cに1がセットされた場合、フリ
ップフロップ252eは0にリセットされると同時にA
NDゲート254eの出力は1となり、フリップフロッ
プ252gに1がセットされ、DOWN出力が1とな
る。
The flip-flops 252d and 252
If all initial states of e, 272f, and 272g are set to 0,
When 1 is set in the flip-flop 252c, 1 is set in the flip-flop 252e. When 1 is set in the flip-flop 252c again, the flip-flop 252e is reset to 0 and A
The output of the ND gate 254e becomes 1, the flip-flop 252g is set to 1, and the DOWN output becomes 1.

【0196】このように、フリップフロップ233にて
取り込まれたデータD3とフリップフロップ234にて
取り込まれたデータD4とにおいて2回不一致が生じた
場合、ホールド時間の余裕が小さいと判断され、DOW
N信号として1パルスだけ1が出力される。その結果、
カウンタ部260において、ホールド時間の余裕を大き
くするためにカウンタがデクリメントされ、クロック選
択部220にて選択されるクロックCK1〜CK5が1
つずつデクリメントされる。
As described above, when the data D3 fetched by the flip-flop 233 and the data D4 fetched by the flip-flop 234 do not match twice, it is determined that the margin of the hold time is small, and DOW is not performed.
One pulse is output as one N signal. as a result,
In the counter section 260, the counter is decremented to increase the margin of the hold time, and the clocks CK1 to CK5 selected by the clock selection section 220 become 1
Decremented one by one.

【0197】また、フリップフロップ252d、252
e、272f、272gの初期状態を全て0とすると、
フリップフロップ272aに1がセットされた場合、フ
リップフロップ272fに1がセットされ、次に、フリ
ップフロップ272dに1がセットされた場合、フリッ
プフロップ272fは0にリセットされると同時にAN
Dゲート274fの出力は1となり、フリップフロップ
272iに1がセットされ、DUP出力が1となる。
Also, flip-flops 252d and 252
e, 272f, 272g, if all initial states are 0,
When 1 is set to the flip-flop 272a, 1 is set to the flip-flop 272f. Next, when 1 is set to the flip-flop 272d, the flip-flop 272f is reset to 0 and at the same time, the AN is reset.
The output of the D gate 274f becomes 1, the flip-flop 272i is set to 1, and the DUP output becomes 1.

【0198】この動作において、フリップフロップ27
2aに1がセットされてからフリップフロップ272d
に1がセットされるまでの間に、データ変化検出信号が
1になると、フリップフロップ272fはりセットさ
れ、初期状態に戻る。
In this operation, flip-flop 27
After 1 is set to 2a, flip-flop 272d
When the data change detection signal is set to 1 before is set to 1, the flip-flop 272f is reset and returns to the initial state.

【0199】このように、フリップフロップ231にて
取り込まれたデータD1とフリップフロップ233にて
取り込まれたデータD3とにおいて不一致が生じてか
ら、フリップフロップ233にて取り込まれたデータD
3とフリップフロップ235にて取り込まれたデータD
5とにおいて不一致が生じるまでの間に、フリップフロ
ップ233のデータが変化しなかった場合、フリップフ
ロップ233にて取り込まれたデータがデューティー劣
化範囲内に入っていると判断され、DUP信号として1
パルスだけ1が出力される。その結果、カウンタ部26
0において、フリップフロップ233にて取り込まれた
データがデューティー劣化範囲内から抜け出すのに必要
なだけカウンタ値がインクリメントされ、クロック選択
部220にて選択される5つのクロックCK1〜CK5
が、フリップフロップ233にて取り込まれたデータが
デューティー劣化範囲内から抜け出すのに必要なだけイ
ンクリメントされる。
As described above, after a mismatch occurs between the data D1 fetched by the flip-flop 231 and the data D3 fetched by the flip-flop 233, the data D1 fetched by the flip-flop 233
3 and the data D captured by the flip-flop 235
If the data of the flip-flop 233 does not change before the mismatch occurs with the data No. 5, it is determined that the data fetched by the flip-flop 233 is within the duty deterioration range, and the DUP signal is set to 1
Only one pulse is output. As a result, the counter 26
At 0, the counter value is incremented by an amount necessary for the data fetched by the flip-flop 233 to come out of the duty deterioration range, and the five clocks CK1 to CK5 selected by the clock selector 220 are set.
Is increased by an amount necessary for the data fetched by the flip-flop 233 to escape from the duty deterioration range.

【0200】また、フリップフロップ252d、252
e、272f、272gの初期状態を全て0とすると、
フリップフロップ272dに1がセットされた場合、フ
リップフロップ272gに1がセットされ、次に、フリ
ップフロップ272aに1がセットされた場合、フリッ
プフロップ272gは0にリセットされると同時にAN
Dゲート274aの出力は1となり、フリップフロップ
272hに1がセットされ、DDOWN出力が1とな
る。
Also, flip-flops 252d and 252
e, 272f, 272g, if all initial states are 0,
When 1 is set to the flip-flop 272d, 1 is set to the flip-flop 272g. Next, when 1 is set to the flip-flop 272a, the flip-flop 272g is reset to 0 and at the same time, AN is set.
The output of the D gate 274a becomes 1, the flip-flop 272h is set to 1, and the DDOWN output becomes 1.

【0201】この動作において、フリップフロップ27
2dに1がセットされてからフリップフロップ272a
に1がセットされるまでの間に、データ変化検出信号が
1になると、フリップフロップ272gはりセットさ
れ、初期状態に戻る。
In this operation, flip-flop 27
After 1 is set to 2d, flip-flop 272a
When the data change detection signal is set to 1 before is set to 1, the flip-flop 272g is reset and returns to the initial state.

【0202】このように、フリップフロップ233にて
取り込まれたデータD3とフリップフロップ235にて
取り込まれたデータD5とにおいて不一致が生じてか
ら、フリップフロップ231にて取り込まれたデータD
1とフリップフロップ233にて取り込まれたデータD
3とにおいて不一致が生じるまでの間に、フリップフロ
ップ233のデータが変化しなかった場合、フリップフ
ロップ233にて取り込まれたデータがデューティー劣
化範囲内に入っていると判断され、DDOWN信号とし
て1パルスだけ1が出力される。その結果、カウンタ部
260において、フリップフロップ233にて取り込ま
れたデータがデューティー劣化範囲内から抜け出すのに
必要なだけカウンタ値がデクリメントされ、クロック選
択部220にて選択される5つのクロックCK1〜CK
5が、フリップフロップ233にて取り込まれたデータ
がデューティー劣化範囲内から抜け出すのに必要なだけ
デクリメントされる。
As described above, after a mismatch occurs between the data D3 captured by the flip-flop 233 and the data D5 captured by the flip-flop 235, the data D3 captured by the flip-flop 231
1 and data D captured by the flip-flop 233
In the case where the data of the flip-flop 233 does not change before the mismatch with the data No. 3 is detected, it is determined that the data fetched by the flip-flop 233 is within the duty deterioration range, and one pulse is output as the DDOWN signal. Only 1 is output. As a result, the counter section 260 decrements the counter value by an amount necessary for the data fetched by the flip-flop 233 to come out of the duty deterioration range, and the five clocks CK1 to CK selected by the clock selection section 220.
5 is decremented by an amount necessary for the data fetched by the flip-flop 233 to come out of the duty deterioration range.

【0203】図17は、図9及び図16に示した5点サ
ンプリング部230及びクロック選択決定部240の動
作を説明するためのタイミングチャートであり、受信デ
ータにデューティー劣化が発生していて、DDOWN出
力が1になる例を示す。
FIG. 17 is a timing chart for explaining the operation of the five-point sampling section 230 and the clock selection determining section 240 shown in FIGS. 9 and 16. In FIG. An example in which the output becomes 1 is shown.

【0204】図17に示すように、フリップフロップ2
72aとフリップフロップ272gがともに1になった
後に、DDOWN出力が1となっている。
As shown in FIG. 17, flip-flop 2
After both 72a and the flip-flop 272g become 1, the DDOWN output becomes 1.

【0205】なお、図17に示す破線は、デューティー
劣化がない場合を表しており、この場合は、データD3
とデータD4とにおいて2回の不一致が検出された後
に、DOWN出力が1となっている。
The broken line shown in FIG. 17 indicates a case where there is no duty deterioration. In this case, the data D3
The DOWN output becomes 1 after two mismatches between the data and the data D4 are detected.

【0206】図11に示した構成例においては、デュー
ティー劣化を検出することができる受信データのパター
ンが、“010”または“101”のように2回続けて
変化するパターンのみであったが、本構成例において
は、図17の実線で示すように“010”または“10
1”以外の受信データパターンでもデューティー劣化を
検出することができる。
In the configuration example shown in FIG. 11, the pattern of the received data from which the duty deterioration can be detected is only a pattern such as "010" or "101" which changes twice in succession. In the present configuration example, as shown by the solid line in FIG.
Duty deterioration can be detected even with a received data pattern other than 1 ".

【0207】なお、本形態においては、フリップフロッ
プ231の出力がデューティー劣化検出部270のD1
に入力され、フリップフロップ232の出力が位相比較
部250のD2に入力され、フリップフロップ234の
出力が位相比較部250のD4に入力され、フリップフ
ロップ235の出力がデューティー劣化検出部270の
D5に入力されているが、フリップフロップ231の出
力を位相比較部250のD2に入力し、フリップフロッ
プ232の出力をデューティー劣化検出部270のD1
に入力し、フリップフロップ234の出力をデューティ
ー劣化検出部270のD5に入力し、フリップフロップ
235の出力を位相比較部250のD4に入力してもよ
い。
In the present embodiment, the output of the flip-flop 231 is the D1 of the duty deterioration detecting section 270.
, The output of the flip-flop 232 is input to D2 of the phase comparison unit 250, the output of the flip-flop 234 is input to D4 of the phase comparison unit 250, and the output of the flip-flop 235 is input to D5 of the duty deterioration detection unit 270. Although input, the output of the flip-flop 231 is input to D2 of the phase comparison unit 250, and the output of the flip-flop 232 is input to D1 of the duty deterioration detection unit 270.
, The output of the flip-flop 234 may be input to D5 of the duty deterioration detection unit 270, and the output of the flip-flop 235 may be input to D4 of the phase comparison unit 250.

【0208】(第3の実施の形態)図9に示した位相比
較部250に入力されるデータとデューティー劣化検出
部270に入力されるデータとを共通にすることによ
り、回路構成を簡単にすることができる。
(Third Embodiment) The circuit configuration is simplified by sharing the data input to the phase comparator 250 and the data input to the duty deterioration detector 270 shown in FIG. be able to.

【0209】図18は、本発明の高速データ受信回路の
第3の実施の形態を示すブロック図である。
FIG. 18 is a block diagram showing a high-speed data receiving circuit according to a third embodiment of the present invention.

【0210】図18に示すように本形態は図9に示した
ものに対して、位相比較部350に入力されるデータと
デューティー劣化検出部370に入力されるデータとが
共通の3つのデータとなっており、それに伴って、クロ
ック選択部320においては3つのクロックが選択さ
れ、また、サンプリング手段としては、クロック選択部
320から出力された3つのクロックによって受信デー
タがとり込まれる。
As shown in FIG. 18, this embodiment is different from the one shown in FIG. 9 in that the data input to the phase comparison unit 350 and the data input to the duty deterioration detection unit 370 are three data in common. Accordingly, three clocks are selected in the clock selection unit 320, and the received data is captured by the three clocks output from the clock selection unit 320 as sampling means.

【0211】これにより、3点サンプリング部330に
おいては、3つずつのフリップフロップ及びバッファを
設けるだけでよく回路規模が縮小され、クロック選択部
320の回路規模も縮小される。
As a result, in the three-point sampling section 330, it is sufficient to provide only three flip-flops and buffers, and the circuit scale is reduced, and the circuit scale of the clock selection section 320 is also reduced.

【0212】図19は、図18に示した位相比較部35
0、デューティー劣化検出部370及び出力規制部28
0の一構成例を示す回路図である。
FIG. 19 is a block diagram of the phase comparator 35 shown in FIG.
0, duty deterioration detecting section 370 and output regulating section 28
FIG. 2 is a circuit diagram illustrating a configuration example of a zero.

【0213】本構成例は図19に示すように、図11に
示したものに対して、データD1とデータD2とで共通
となる回路が1つとなり、また、データD4とデータD
5とで共通となる回路が1つとなることにより、回路規
模が縮小されている。同様に、図16に示したものに対
しても回路規模が縮小される。
In this configuration example, as shown in FIG. 19, the data D1 and the data D2 have one common circuit, and the data D4 and the data D
Since the number of circuits common to the circuits 5 and 5 is one, the circuit scale is reduced. Similarly, the circuit scale is reduced as compared with that shown in FIG.

【0214】[0214]

【発明の効果】以上説明したように本発明においては、
受信データを予め決められた位相差を有する3つのクロ
ックにて取り込むサンプリング手段と、サンプリング手
段にて取り込まれた3つのデータを互いに比較し、最も
位相の進んだクロックにて取り込まれたデータと中央の
位相を有するクロックにて取り込まれたデータとが異な
る場合、現在選択されている3つのクロックに対して位
相が遅れた3つのクロックを選択し、また、最も位相の
遅れたクロックにて取り込まれたデータと中央の位相を
有するクロックにて取り込まれたデータとが異なる場
合、現在選択されている3つのクロックに対して位相が
進んだ3つのクロックを選択する選択手段とを設け、サ
ンプリング手段において、選択された3つのクロックに
て受信データが取り込まれ、中央の位相を有するクロッ
クが出力クロックとして出力され、該出力クロックにて
取り込まれたデータが出力データとして出力される構成
としたため、実際に出力クロックとして出力されるクロ
ックにて取り込まれたデータに基づいてクロックの位相
の調整が行われることになり、回路や配線における遅延
量を調節することなく受信データを正しく受信すること
ができる。
As described above, in the present invention,
Sampling means for taking in the received data with three clocks having a predetermined phase difference, and comparing the three data taken in by the sampling means with each other, and comparing the data taken in with the clock with the most advanced phase with the center. If the data captured by the clock having the phase is different from the data captured, three clocks whose phases are delayed with respect to the currently selected three clocks are selected, and the clock captured by the clock with the most delayed phase is selected. Selecting means for selecting three clocks whose phases are advanced with respect to the currently selected three clocks, when the data acquired and the data captured by the clock having the central phase are different. The received data is captured by the selected three clocks, and the clock having the central phase is the output clock. And the data captured by the output clock is output as output data. Therefore, the phase of the clock is adjusted based on the data captured by the clock actually output as the output clock. That is, it is possible to correctly receive the received data without adjusting the amount of delay in the circuit or wiring.

【0215】また、選択手段における3つのクロックの
選択及びサンプリング手段における受信データの取り込
みがループによって繰り返し行われるので、電源電圧や
温度等の環境がゆっくり変化し、受信クロックと受信デ
ータとの位相関係が変動した場合においても、受信デー
タを正しく受信することができる。
Since the selection means selects three clocks and the sampling means takes in the received data repeatedly in a loop, the environment such as the power supply voltage and the temperature changes slowly, and the phase relationship between the received clock and the received data changes. Even if the value fluctuates, the received data can be correctly received.

【0216】また、選択手段において、1つのクロック
のみを選択し、選択されたクロックと、選択されたクロ
ックを互いに異なる遅延量だけ遅延させた2つのクロッ
クとの3つのクロックを出力する構成とした場合におい
ても、最も位相の進んだクロックにて取り込まれたデー
タと中央の位相を有するクロックにて取り込まれたデー
タとが異なる場合、現在選択されているクロックに対し
て位相が遅れたクロックが選択され、また、最も位相の
遅れたクロックにて取り込まれたデータと中央の位相を
有するクロックにて取り込まれたデータとが異なる場
合、現在選択されているクロックに対して位相が進んだ
クロックが選択され、サンプリング手段において、選択
手段にて選択されたクロックと、選択されたクロックを
互いに異なる遅延量だけ遅延させた2つのクロックとの
3つのクロックにて受信データが取り込まれ、中央の位
相を有するクロックが出力クロックとして出力され、該
出力クロックにて取り込まれたデータが出力データとし
て出力されるので、上記同様の効果に加えて、3つのク
ロック間の位相差を任意に設定することができるという
効果を奏する。
Further, the selecting means selects only one clock and outputs three clocks of the selected clock and two clocks obtained by delaying the selected clock by different delay amounts. Even in the case where the data captured by the clock with the most advanced phase and the data captured by the clock with the central phase are different, the clock delayed in phase from the currently selected clock is selected. If the data captured by the clock with the latest phase is different from the data captured by the clock having the central phase, the clock with the phase advanced from the currently selected clock is selected. In the sampling means, the clock selected by the selection means and the selected clock are delayed by different delay amounts. The received data is taken in by three clocks, two clocks delayed by a delay, a clock having a central phase is outputted as an output clock, and the data taken in by the output clock is outputted as output data. In addition to the effects similar to the above, there is an effect that the phase difference between the three clocks can be arbitrarily set.

【0217】以上説明したように本発明においては、受
信データを予め決められた位相差を有する5つのクロッ
クにて取り込むサンプリング手段と、サンプリング手段
にて取り込まれた5つのデータのうち中央の位相を有す
るクロックにて取り込まれたデータと中央の位相より位
相の進んだクロックにて取り込まれたデータと中央の位
相より位相の遅れたクロックにて取り込まれたデータと
を互いに比較することにより、デューティー劣化部に入
り込んでいるかどうかを判断し、デューティー劣化部に
入り込んでいる場合、現在選択されている5つのクロッ
クに対してデューティー劣化部から抜け出すのに必要な
だけ位相が進んだ5つのクロックあるいは位相が遅れた
5つのクロックを選択する選択手段とを設け、サンプリ
ング手段において、選択された5つのクロックにて受信
データが取り込まれ、中央の位相を有するクロックが出
力クロックとして出力され、該出力クロックにて取り込
まれたデータが出力データとして出力される構成とした
ため、受信データのデューティーが劣化した場合にも受
信データを正しく受信することができる。
As described above, according to the present invention, the sampling means for receiving the received data with five clocks having a predetermined phase difference, and the central phase among the five data captured by the sampling means Duty degradation by comparing data captured with a clock with data that is captured with a clock advanced in phase from the center phase and data captured with a clock that is delayed in phase from the center phase Judgment is made as to whether or not the clock has entered the duty-deteriorating section. If the clock has entered the duty-deteriorating section, five clocks or phases whose phases have advanced by as much as necessary to escape from the duty-deteriorating section with respect to the currently selected five clocks Selecting means for selecting the five delayed clocks; Received data is captured by the selected five clocks, a clock having a central phase is output as an output clock, and the data captured by the output clock is output as output data. Even when the duty is deteriorated, the reception data can be correctly received.

【0218】また、前記サンプリング手段にて取り込ま
れた5つのデータを比較し、中央の位相を有するクロッ
クにて取り込まれたデータとそれより位相の進んだクロ
ックにて取り込まれたデータとが異なる場合、現在選択
されている5つのクロックに対して位相が遅れた5つの
クロックを選択し、また、中央の位相を有するクロック
にて取り込まれたデータとそれより位相の遅れたクロッ
クにて取り込まれたデータとが異なる場合、現在選択さ
れている5つのクロックに対して位相が進んだ5つのク
ロックを選択し、サンプリング手段において、選択され
た5つのクロックにて受信データが取り込まれ、中央の
位相を有するクロックが出力クロックとして出力され、
該出力クロックにて取り込まれたデータが出力データと
して出力される構成としたため、セットアップ時間とホ
ールド時間の余裕が十分にある状態で受信データを正し
く受信することができる。
The five data taken in by the sampling means are compared with each other, and when the data taken in by the clock having the center phase is different from the data taken in by the clock having a phase advanced from that. Selects five clocks delayed in phase with respect to the currently selected five clocks, and selects the data captured by the clock having the center phase and the clock captured by the clock delayed in phase. When the data is different from the currently selected five clocks, five clocks whose phases are advanced with respect to the currently selected five clocks are selected, and the sampling data is received by the selected five clocks, and the central phase is changed. A clock having the output is output as an output clock,
Since the data fetched by the output clock is output as output data, it is possible to correctly receive the received data in a state where the setup time and the hold time have a sufficient margin.

【0219】また、前記選択手段による比較は、サンプ
リング手段において実際に選択されたクロックにて取り
込まれたデータに基づいて行なわれる構成としたため、
回路や配線における遅延量を調節することなく受信デー
タを正しく受信することができる。
Further, since the comparison by the selection means is performed based on the data taken in by the clock actually selected by the sampling means,
Received data can be correctly received without adjusting the amount of delay in a circuit or wiring.

【0220】また、選択手段における5つのクロックの
選択及びサンプリング手段における受信データの取り込
みがループによって繰り返し行われるので、電源電圧や
温度等の環境がゆっくり変化し、受信クロックと受信デ
ータとの位相関係が変動した場合においても、受信デー
タを正しく受信することができる。
Since the selection means selects five clocks and the sampling means fetches received data repeatedly in a loop, the environment such as the power supply voltage and temperature changes slowly, and the phase relationship between the received clock and the received data changes. Even if the value fluctuates, the received data can be correctly received.

【0221】また、受信データを予め決められた位相差
を有する5つのクロックにて取り込むサンプリング手段
と、サンプリング手段にて取り込まれた5つのデータを
互いに比較し、中央の位相を有するクロックにて取り込
まれたデータとそれよりも位相の進んだクロックにて取
り込まれたデータとが異なる場合、現在選択されている
5つのクロックに対して位相が遅れた5つのクロックを
選択し、中央の位相を有するクロックにて取り込まれた
データとそれよりも位相の遅れたクロックにて取り込ま
れたデータとが異なる場合、現在選択されている5つの
クロックに対して位相が進んだ5つのクロックを選択
し、また、中央の位相を有するクロックにて取り込まれ
たデータがデューティー劣化範囲内に含まれていること
が検出された場合、当該データがデューティー劣化範囲
内から抜け出すような5つのクロックを選択する選択手
段を設け、サンプリング手段において、選択された5つ
のクロックにて受信データが取り込まれ、中央の位相を
有するクロックが出力クロックとして出力され、該出力
クロックにて取り込まれたデータが出力データとして出
力される構成とした場合においては、受信デューティー
が劣化した場合においても受信データを正確に受信する
ことができる。
Further, sampling means for taking in the received data with five clocks having a predetermined phase difference, and five data taken in by the sampling means are compared with each other and taken in with a clock having a central phase. If the acquired data is different from the data acquired by the clock with a phase leading it, five clocks that are delayed in phase from the currently selected five clocks are selected and have a center phase. If the data fetched by the clock is different from the data fetched by the clock delayed in phase therefrom, five clocks whose phases are advanced with respect to the currently selected five clocks are selected, and If it is detected that the data captured by the clock having the center phase is included in the duty deterioration range, There is provided a selection means for selecting five clocks such that the data comes out of the duty deterioration range. In the sampling means, received data is taken in at the selected five clocks, and a clock having a central phase is used as an output clock. In a configuration in which data that is output and captured by the output clock is output as output data, received data can be accurately received even when the reception duty is deteriorated.

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

【図1】本発明の高速データ受信回路の第1の実施の形
態を示すブロック図である。
FIG. 1 is a block diagram illustrating a high-speed data receiving circuit according to a first embodiment of the present invention.

【図2】図1に示したクロック選択部の一構成例を示す
ブロック図である。
FIG. 2 is a block diagram illustrating a configuration example of a clock selection unit illustrated in FIG. 1;

【図3】図1に示した位相比較部の一構成例を示す回路
図である。
FIG. 3 is a circuit diagram illustrating a configuration example of a phase comparison section illustrated in FIG. 1;

【図4】図1〜図3に示した高速データ受信回路の動作
を説明するためのタイミングチャートである。
FIG. 4 is a timing chart for explaining an operation of the high-speed data receiving circuit shown in FIGS. 1 to 3;

【図5】図1及び図3に示した3点サンプリング部及び
クロック選択決定部の動作を説明するためのタイミング
チャートである。
FIG. 5 is a timing chart for explaining operations of the three-point sampling unit and the clock selection determining unit shown in FIGS. 1 and 3;

【図6】図1に示したクロック選択部の他の構成例を示
すブロック図である。
FIG. 6 is a block diagram showing another configuration example of the clock selection unit shown in FIG. 1;

【図7】図1に示したクロック選択部の他の構成例を示
すブロック図である。
FIG. 7 is a block diagram showing another configuration example of the clock selection unit shown in FIG. 1;

【図8】図1に示した高速データ受信回路において受信
データの立ち上がりが遅れることにより受信データのデ
ューティーが劣化した場合の動作を説明するためのタイ
ミングチャートである。
8 is a timing chart for explaining an operation when the duty of the received data is deteriorated due to a delay in rising of the received data in the high-speed data receiving circuit shown in FIG. 1;

【図9】本発明の高速データ受信回路の第2の実施の形
態を示すブロック図である。
FIG. 9 is a block diagram illustrating a high-speed data receiving circuit according to a second embodiment of the present invention.

【図10】図9に示したクロック選択部の一構成例を示
すブロック図である。
FIG. 10 is a block diagram illustrating a configuration example of a clock selection unit illustrated in FIG. 9;

【図11】図9に示した位相比較部、デューティー劣化
検出部及び出力規制部の一構成例を示す回路図である。
11 is a circuit diagram illustrating a configuration example of a phase comparison unit, a duty deterioration detection unit, and an output control unit illustrated in FIG. 9;

【図12】図9〜図11に示した高速データ受信回路の
動作を説明するためのタイミングチャートである。
FIG. 12 is a timing chart for explaining the operation of the high-speed data receiving circuit shown in FIGS. 9 to 11;

【図13】図9及び図11に示した5点サンプリング部
及びクロック選択決定部の動作を説明するためのタイミ
ングチャートである。
FIG. 13 is a timing chart for explaining operations of the five-point sampling unit and the clock selection determining unit shown in FIGS. 9 and 11;

【図14】図9及び図11に示した5点サンプリング部
及びクロック選択決定部の動作を説明するためのタイミ
ングチャートである。
FIG. 14 is a timing chart for explaining operations of the five-point sampling unit and the clock selection determining unit shown in FIGS. 9 and 11;

【図15】図9に示したクロック選択部の他の構成例を
示すブロック図である。
FIG. 15 is a block diagram illustrating another configuration example of the clock selection unit illustrated in FIG. 9;

【図16】図9に示した位相比較部、デューティー劣化
検出部及び出力規制部の他の構成例を示す回路図であ
る。
FIG. 16 is a circuit diagram illustrating another configuration example of the phase comparison unit, the duty deterioration detection unit, and the output control unit illustrated in FIG. 9;

【図17】図9及び図16に示した5点サンプリング部
及びクロック選択決定部の動作を説明するためのタイミ
ングチャートである。
FIG. 17 is a timing chart for explaining operations of the five-point sampling unit and the clock selection determining unit shown in FIGS. 9 and 16;

【図18】本発明の高速データ受信回路の第3の実施の
形態を示すブロック図である。
FIG. 18 is a block diagram illustrating a high-speed data receiving circuit according to a third embodiment of the present invention.

【図19】図18に示した位相比較部、デューティー劣
化検出部及び出力規制部の一構成例を示す回路図であ
る。
19 is a circuit diagram illustrating a configuration example of a phase comparison unit, a duty deterioration detection unit, and an output control unit illustrated in FIG. 18;

【図20】従来のデータ受信回路の一構成例を示すブロ
ック図である。
FIG. 20 is a block diagram illustrating a configuration example of a conventional data receiving circuit.

【符号の説明】[Explanation of symbols]

10 多相クロック生成部 20,220,320 クロック選択部 21〜27,221〜225,226 セレクタ 28,29,227a〜227d 遅延部 30,330 3点サンプリング部 31〜33,52a,52b,54a,54b,56a
〜56d,231〜235,252a〜252g,27
2a〜272i,283a〜283f フリップフロ
ップ 34〜36,236,237a〜237c,238
バッファ 40,240,340 クロック選択決定部 50,250,350 位相比較部 51a,51b,251a〜251d,271a〜27
1c XORゲート 53a,53b,254a〜254d,274a〜27
4f ANDゲート 55,281 ORゲート 57,275,275a,275b,282 NOR
ゲート 60,260 カウンタ部 230 5点サンプリング部 253,253a,253b,273a〜273c
NOTゲート 270,370 デューティー劣化検出部 280 出力規制部
Reference Signs List 10 polyphase clock generation unit 20, 220, 320 clock selection unit 21-27, 221-225, 226 selector 28, 29, 227a-227d delay unit 30, 330 three-point sampling unit 31-33, 52a, 52b, 54a, 54b, 56a
~ 56d, 231 ~ 235,252a ~ 252g, 27
2a to 272i, 283a to 283f Flip-flops 34 to 36, 236, 237a to 237c, 238
Buffers 40, 240, 340 Clock selection determination units 50, 250, 350 Phase comparison units 51a, 51b, 251a to 251d, 271a to 27
1c XOR gates 53a, 53b, 254a to 254d, 274a to 27
4f AND gate 55,281 OR gate 57,275,275a, 275b, 282 NOR
Gate 60, 260 Counter unit 230 Five-point sampling unit 253, 253a, 253b, 273a to 273c
NOT gates 270, 370 Duty deterioration detector 280 Output regulator

Claims (23)

【特許請求の範囲】[Claims] 【請求項1】 受信データを所定のセットアップ時間及
びホールド時間を満たすクロックにて取り込む高速デー
タ受信回路であって、 前記受信データを予め決められた位相差を有する3つの
クロックにて取り込むサンプリング手段と、 該サンプリング手段にて取り込まれた3つのデータを互
いに比較し、該比較結果に基づいて、前記3つのクロッ
クを出力する選択手段とを有し、 前記サンプリング手段に入力される3つのクロックのう
ち中央の位相を有するクロックが出力クロックとして出
力され、該出力クロックにて取り込まれたデータが出力
データとして出力されることを特徴とする高速データ受
信回路。
1. A high-speed data receiving circuit that captures received data with a clock that satisfies a predetermined setup time and a hold time, a sampling unit that captures the received data with three clocks having a predetermined phase difference. Selecting means for comparing the three data fetched by the sampling means with each other and outputting the three clocks based on the result of the comparison; and among the three clocks inputted to the sampling means, A high-speed data receiving circuit, wherein a clock having a central phase is output as an output clock, and data captured by the output clock is output as output data.
【請求項2】 請求項1に記載の高速データ受信回路に
おいて、 前記選択手段における前記3つのクロックの出力及び前
記サンプリング手段における受信データの取り込みは、
ループによって繰り返し行われることを特徴とする高速
データ受信回路。
2. The high-speed data receiving circuit according to claim 1, wherein the output of the three clocks in the selection unit and the reception of reception data in the sampling unit are performed by:
A high-speed data receiving circuit that is repeatedly performed by a loop.
【請求項3】 請求項2に記載の高速データ受信回路に
おいて、 前記選択手段は、前記3つのデータを互いに比較した結
果、最も位相の進んだクロックにて取り込まれたデータ
と前記中央の位相を有するクロックにて取り込まれたデ
ータとが異なる場合、出力する3つのクロックの位相を
それぞれ遅らせ、最も位相の遅れたクロックにて取り込
まれたデータと前記中央の位相を有するクロックにて取
り込まれたデータとが異なる場合、出力する3つのクロ
ックの位相をそれぞれ進ませることを特徴とする高速デ
ータ受信回路。
3. The high-speed data receiving circuit according to claim 2, wherein said selecting means compares the three data with each other, and as a result, sets the data captured by the clock with the most advanced phase and said central phase. In the case where the data captured by the clock having a different phase, the phases of the three output clocks are respectively delayed, and the data captured by the clock with the most delayed phase and the data captured by the clock having the central phase A high-speed data receiving circuit for advancing the phases of the three clocks to be output, respectively.
【請求項4】 請求項3に記載の高速データ受信回路に
おいて、 受信クロックを多相化する多相クロック生成手段を有
し、 前記選択手段は、前記比較結果に基づいて、前記多相ク
ロック生成手段にて生成された複数のクロックの中から
3つのクロックを選択して出力することを特徴とする高
速データ受信回路。
4. The high-speed data receiving circuit according to claim 3, further comprising a multi-phase clock generating means for multi-phase receiving clock, wherein said selecting means generates said multi-phase clock based on said comparison result. A high-speed data receiving circuit for selecting and outputting three clocks from a plurality of clocks generated by the means.
【請求項5】 請求項3に記載の高速データ受信回路に
おいて、 受信クロックを多相化する多相クロック生成手段を有
し、 前記選択手段は、前記比較結果に基づいて、前記多相ク
ロック生成手段にて生成された複数のクロックの中から
1つのクロックを選択し、選択した1つのクロックを予
め決められた位相差を設けて3つのクロックとして出力
することを特徴とする高速データ受信回路。
5. The high-speed data receiving circuit according to claim 3, further comprising: a multi-phase clock generating unit configured to multi-phase a received clock, wherein the selecting unit generates the multi-phase clock based on the comparison result. A high-speed data receiving circuit which selects one clock from a plurality of clocks generated by the means, and outputs the selected one clock as three clocks with a predetermined phase difference.
【請求項6】 請求項4に記載の高速データ受信回路に
おいて、 前記選択手段は、 前記サンプリング手段にて取り込まれた3つのデータを
互いに比較し、最も位相の進んだクロックにて取り込ま
れたデータと前記中央の位相を有するクロックにて取り
込まれたデータとが異なる場合、選択する3つのクロッ
クの位相をそれぞれ遅らせるための選択信号を出力し、
最も位相の遅れたクロックにて取り込まれたデータと前
記中央の位相を有するクロックにて取り込まれたデータ
とが異なる場合、選択する3つのクロックの位相をそれ
ぞれ進ませるための選択信号を出力するクロック選択決
定部と、 該クロック選択決定部から出力された選択信号に基づい
て、前記多相クロック生成手段にて生成された複数のク
ロックのうち3つのクロックを選択して出力するクロッ
ク選択部とを有することを特徴とする高速データ受信回
路。
6. The high-speed data receiving circuit according to claim 4, wherein said selecting means compares the three data fetched by said sampling means with each other, and fetches the data fetched by a clock having the most advanced phase. And when the data captured by the clock having the central phase is different, a selection signal for delaying the phases of the selected three clocks is output,
A clock that outputs a selection signal for advancing the phases of three clocks to be selected, respectively, when the data captured by the clock with the most delayed phase is different from the data captured by the clock having the central phase. A selection determination unit; and a clock selection unit that selects and outputs three clocks among a plurality of clocks generated by the multi-phase clock generation unit based on a selection signal output from the clock selection determination unit. A high-speed data receiving circuit, comprising:
【請求項7】 請求項5に記載の高速データ受信回路に
おいて、 前記選択手段は、 前記サンプリング手段にて取り込まれた3つのデータを
互いに比較し、最も位相の進んだクロックにて取り込ま
れたデータと前記中央の位相を有するクロックにて取り
込まれたデータとが異なる場合、選択する3つのクロッ
クの位相をそれぞれ遅らせるための選択信号を出力し、
最も位相の遅れたクロックにて取り込まれたデータと前
記中央の位相を有するクロックにて取り込まれたデータ
とが異なる場合、選択する3つのクロックの位相をそれ
ぞれ進ませるための選択信号を出力するクロック選択決
定部と、 該クロック選択決定部から出力された選択信号に基づい
て、前記多相クロック生成手段にて生成された複数のク
ロックのうち1つのクロックを選択し、選択した1つの
クロックを予め決められた位相差を設けて3つのクロッ
クとして出力するクロック選択部とを有することを特徴
とする高速データ受信回路。
7. The high-speed data receiving circuit according to claim 5, wherein the selecting unit compares the three data taken in by the sampling unit with each other, and the data taken in by a clock having the most advanced phase. And when the data captured by the clock having the central phase is different, a selection signal for delaying the phases of the selected three clocks is output,
A clock that outputs a selection signal for advancing the phases of three clocks to be selected, respectively, when the data captured by the clock with the most delayed phase is different from the data captured by the clock having the central phase. A selection determining unit; selecting one of the plurality of clocks generated by the multi-phase clock generating unit based on the selection signal output from the clock selection determining unit; A high-speed data receiving circuit, comprising: a clock selecting unit for providing a predetermined phase difference and outputting three clocks.
【請求項8】 請求項7に記載の高速データ受信回路に
おいて、 前記クロック選択部は、 前記クロック選択決定部から出力された選択信号に基づ
いて、前記多相クロック生成手段にて生成された複数の
クロックのうち1つのクロックを選択するセレクタと、 該セレクタにて選択されたクロックを互いに異なる遅延
量だけ遅延させて2つのクロックとして出力する遅延手
段とを有し、 前記セレクタにて選択されたクロックと、前記遅延手段
から出力された2つのクロックとを前記3つのクロック
として出力することを特徴とする高速データ受信回路。
8. The high-speed data receiving circuit according to claim 7, wherein the clock selection unit generates a plurality of clocks generated by the multi-phase clock generation unit based on a selection signal output from the clock selection determination unit. And a delay unit that delays the clock selected by the selector by different delay amounts and outputs the two clocks, the selector selecting one of the clocks selected by the selector. A high-speed data receiving circuit for outputting a clock and two clocks output from the delay means as the three clocks.
【請求項9】 請求項6に記載の高速データ受信回路に
おいて、 前記クロック選択決定部は、 前記サンプリング手段にて取り込まれた3つのデータを
互いに比較し、最も位相の進んだクロックにて取り込ま
れたデータと前記中央の位相を有するクロックにて取り
込まれたデータとが異なる場合、UP信号を出力し、最
も位相の遅れたクロックにて取り込まれたデータと前記
中央の位相を有するクロックにて取り込まれたデータと
が異なる場合、DOWN信号を出力する位相比較部と、 該位相比較部からUP信号が出力された場合にカウント
値をインクリメントし、DOWN信号が出力された場合
にカウント値をデクリメントし、該カウント値を前記選
択信号として出力するカウンタ部とを有し、 前記クロック選択部は、前記カウンタ部におけるカウン
ト値がインクリメントされた場合、選択する3つのクロ
ックの位相をそれぞれ遅らせ、前記カウンタ部における
カウント値がデクリメントされた場合、選択する3つの
クロックの位相をそれぞれ進ませることを特徴とする高
速データ受信回路。
9. The high-speed data receiving circuit according to claim 6, wherein the clock selection determining unit compares the three data captured by the sampling means with each other, and captures the three data with a clock having the most advanced phase. If the received data is different from the data captured by the clock having the central phase, an UP signal is output, and the data captured by the clock with the latest phase and the clock captured by the clock having the central phase are captured. If the received data is different, the phase comparator outputs a DOWN signal, and increments the count value when the UP signal is output from the phase comparator, and decrements the count value when the DOWN signal is output. And a counter unit that outputs the count value as the selection signal. Wherein when the count value is incremented, the phases of the three clocks to be selected are respectively delayed, and when the count value in the counter section is decremented, the phases of the three clocks to be selected are advanced respectively. Receiver circuit.
【請求項10】 請求項7または請求項8に記載の高速
データ受信回路において、 前記クロック選択決定部は、 前記サンプリング手段にて取り込まれた3つのデータを
互いに比較し、最も位相の進んだクロックにて取り込ま
れたデータと前記中央の位相を有するクロックにて取り
込まれたデータとが異なる場合、UP信号を出力し、最
も位相の遅れたクロックにて取り込まれたデータと前記
中央の位相を有するクロックにて取り込まれたデータと
が異なる場合、DOWN信号を出力する位相比較部と、 該位相比較部からUP信号が出力された場合にカウント
値をインクリメントし、DOWN信号が出力された場合
にカウント値をデクリメントし、該カウント値を前記選
択信号として出力するカウンタ部とを有し、 前記クロック選択部は、前記カウンタ部におけるカウン
ト値がインクリメントされた場合、選択する1つのクロ
ックの位相を遅らせ、前記カウンタ部におけるカウント
値がデクリメントされた場合、選択する1つのクロック
の位相を進ませることを特徴とする高速データ受信回
路。
10. The high-speed data receiving circuit according to claim 7, wherein the clock selection determining unit compares the three data captured by the sampling unit with each other, and determines a clock having the most advanced phase. If the data fetched at is different from the data fetched by the clock having the center phase, an UP signal is output, and the data fetched by the clock with the most delayed phase has the center phase. A phase comparator that outputs a DOWN signal when the data captured by the clock is different, and increments a count value when an UP signal is output from the phase comparator and counts when a DOWN signal is output A counter section for decrementing a value and outputting the count value as the selection signal, wherein the clock selection section The high-speed data is characterized in that when the count value in the counter section is incremented, the phase of one clock to be selected is delayed, and when the count value in the counter section is decremented, the phase of one clock to be selected is advanced. Receiver circuit.
【請求項11】 請求項9または請求項10に記載の高
速データ受信回路において、 前記位相比較部は、前記UP信号または前記DOWN信
号を出力した場合、該UP信号またはDOWN信号出力
後予め決められた期間は、前記UP信号または前記DO
WN信号を出力しないことを特徴とする高速データ受信
回路。
11. The high-speed data receiving circuit according to claim 9, wherein the phase comparator, when outputting the UP signal or the DOWN signal, is determined in advance after outputting the UP signal or the DOWN signal. The UP signal or the DO signal
A high-speed data receiving circuit that does not output a WN signal.
【請求項12】 受信データを所定のセットアップ時間
及びホールド時間を満たすクロックにて取り込む高速デ
ータ受信回路であって、 前記受信データを予め決められた位相差を有する5つの
クロックにて取り込むサンプリング手段と、 該サンプリング手段にて取り込まれた5つのデータを互
いに比較するとともに、当該5つのデータのうち中央の
位相を有するクロックにて取り込まれたデータがデュー
ティー劣化範囲内に含まれているかどうかを検出し、該
比較結果及び検出結果に基づいて、前記5つのクロック
を出力する選択手段とを有し、 前記サンプリング手段に入力される5つのクロックのう
ち中央の位相を有するクロックが出力クロックとして出
力され、該出力クロックにて取り込まれたデータが出力
データとして出力されることを特徴とする高速データ受
信回路。
12. A high-speed data receiving circuit for receiving received data with a clock that satisfies a predetermined setup time and a hold time, a sampling means for capturing the received data with five clocks having a predetermined phase difference. The five data fetched by the sampling means are compared with each other, and it is detected whether the data fetched by the clock having the central phase among the five data is included in the duty deterioration range. Selecting means for outputting the five clocks based on the comparison result and the detection result, wherein a clock having a central phase among the five clocks input to the sampling means is output as an output clock; Data captured by the output clock is output as output data A high-speed data receiving circuit.
【請求項13】 請求項12に記載の高速データ受信回
路において、 前記選択手段における前記5つのクロックの出力及び前
記サンプリング手段における受信データの取り込みは、
ループによって繰り返し行われることを特徴とする高速
データ受信回路。
13. The high-speed data receiving circuit according to claim 12, wherein the output of the five clocks in the selection unit and the reception of reception data in the sampling unit are performed by:
A high-speed data receiving circuit that is repeatedly performed by a loop.
【請求項14】 請求項13に記載の高速データ受信回
路において、 前記選択手段は、前記5つのデータを互いに比較した結
果、中央の位相を有するクロックにて取り込まれたデー
タとそれよりも位相の進んだクロックにて取り込まれた
データとが異なる場合、出力する5つのクロックの位相
をそれぞれ遅らせ、前記中央の位相を有するクロックに
て取り込まれたデータとそれよりも位相の遅れたクロッ
クにて取り込まれたデータとが異なる場合、出力する5
つのクロックの位相をそれぞれ進ませることを特徴とす
る高速データ受信回路。
14. The high-speed data receiving circuit according to claim 13, wherein said selection means compares the five data with each other, and as a result, the data fetched by a clock having a center phase and the phase of a data fetched by a clock having a central phase If the data captured by the advanced clock is different, the phases of the five clocks to be output are respectively delayed, and the data captured by the clock having the central phase and the clock captured by the clock having a phase delayed from the clock are delayed. If the data is different, output 5
A high-speed data receiving circuit that advances the phases of two clocks.
【請求項15】 請求項14に記載の高速データ受信回
路において、 前記選択手段は、前記中央の位相を有するクロックにて
取り込まれたデータがデューティー劣化範囲内に含まれ
ていることを検出した場合、当該データがデューティー
劣化範囲内から抜け出すようなクロックを出力すること
を特徴とする高速データ受信回路。
15. The high-speed data receiving circuit according to claim 14, wherein the selecting unit detects that data taken in by the clock having the central phase is included in a duty deterioration range. A high-speed data receiving circuit for outputting a clock such that the data comes out of the duty deterioration range.
【請求項16】 請求項15に記載の高速データ受信回
路において、 前記選択手段は、前記中央の位相を有するクロックにて
取り込まれたデータがデューティー劣化範囲内に含まれ
ていることを検出した場合、出力する5つのクロックの
位相を変化させることにより、当該データがデューティ
ー劣化範囲内から抜け出すようなクロックを出力するこ
とを特徴とする高速データ受信回路。
16. The high-speed data receiving circuit according to claim 15, wherein said selecting means detects that data taken in by said clock having said central phase is included in a duty deterioration range. A high-speed data receiving circuit that outputs a clock that changes the phase of five output clocks so that the data comes out of the duty deterioration range.
【請求項17】 請求項16に記載の高速データ受信回
路において、 受信クロックを多相化する多相クロック生成手段を有
し、 前記選択手段は、前記比較結果に基づいて、前記多相ク
ロック生成手段にて生成された複数のクロックの中から
5つのクロックを選択して出力することを特徴とする高
速データ受信回路。
17. The high-speed data receiving circuit according to claim 16, further comprising a multi-phase clock generating means for multi-phase receiving clocks, wherein said selecting means generates said multi-phase clock based on said comparison result. A high-speed data receiving circuit for selecting and outputting five clocks from a plurality of clocks generated by the means.
【請求項18】 請求項16に記載の高速データ受信回
路において、 受信クロックを多相化する多相クロック生成手段を有
し、 前記選択手段は、前記比較結果に基づいて、前記多相ク
ロック生成手段にて生成された複数のクロックの中から
1つのクロックを選択し、選択した1つのクロックを予
め決められた位相差を設けて5つのクロックとして出力
することを特徴とする高速データ受信回路。
18. The high-speed data receiving circuit according to claim 16, further comprising a multi-phase clock generating means for multi-phase receiving clocks, wherein said selecting means generates said multi-phase clock based on said comparison result. A high-speed data receiving circuit which selects one clock from a plurality of clocks generated by the means, and outputs the selected one clock as five clocks with a predetermined phase difference.
【請求項19】 請求項17に記載の高速データ受信回
路において、 前記選択手段は、 前記サンプリング手段にて取り込まれた5つのデータを
互いに比較し、前記中央の位相を有するクロックにて取
り込まれたデータとそれよりも位相の進んだクロックに
て取り込まれたデータとが異なる場合、選択する5つの
クロックの位相をそれぞれ遅らせるための選択信号を出
力し、前記中央の位相を有するクロックにて取り込まれ
たデータとそれよりも位相の遅れたクロックにて取り込
まれたデータとが異なる場合、選択する5つのクロック
の位相をそれぞれ進ませるための選択信号を出力し、当
該5つのデータのうち中央の位相を有するクロックにて
取り込まれたデータがデューティー劣化範囲内に含まれ
ているかどうかを検出し、前記中央の位相を有するクロ
ックにて取り込まれたデータがデューティー劣化範囲内
に含まれていることを検出した場合、当該データがデュ
ーティー劣化範囲内から抜け出すようなクロックを選択
するための選択信号を出力するクロック選択決定部と、 該クロック選択決定部から出力された選択信号に基づい
て、前記多相クロック生成手段にて生成された複数のク
ロックのうち5つのクロックを選択して出力するクロッ
ク選択部とを有することを特徴とする高速データ受信回
路。
19. The high-speed data receiving circuit according to claim 17, wherein said selecting means compares the five data fetched by said sampling means with each other and fetches them with a clock having said central phase. If the data is different from the data captured by the clock with a phase leading it, a selection signal for delaying the phase of each of the selected five clocks is output, and the data is captured by the clock having the central phase. If the received data is different from the data captured by the clock delayed in phase, a selection signal for advancing the phase of each of the selected five clocks is output, and the central phase of the five data is output. Detects whether the data captured by the clock having A clock selection determining unit that outputs a selection signal for selecting a clock that causes the data to fall out of the duty deterioration range when detecting that the data fetched by the clock included in the clock falls within the duty deterioration range. And a clock selection unit that selects and outputs five clocks among a plurality of clocks generated by the multi-phase clock generation unit based on a selection signal output from the clock selection determination unit. Characterized high-speed data receiving circuit.
【請求項20】 請求項18に記載の高速データ受信回
路において、 前記選択手段は、 前記サンプリング手段にて取り込まれた5つのデータを
互いに比較し、前記中央の位相を有するクロックにて取
り込まれたデータとそれよりも位相の進んだクロックに
て取り込まれたデータとが異なる場合、選択する5つの
クロックの位相をそれぞれ遅らせるための選択信号を出
力し、前記中央の位相を有するクロックにて取り込まれ
たデータとそれよりも位相の遅れたクロックにて取り込
まれたデータとが異なる場合、選択する5つのクロック
の位相をそれぞれ進ませるための選択信号を出力し、当
該5つのデータのうち中央の位相を有するクロックにて
取り込まれたデータがデューティー劣化範囲内に含まれ
ているかどうかを検出し、前記中央の位相を有するクロ
ックにて取り込まれたデータがデューティー劣化範囲内
に含まれていることを検出した場合、当該データがデュ
ーティー劣化範囲内から抜け出すようなクロックを選択
するための選択信号を出力するクロック選択決定部と、 該クロック選択決定部から出力された選択信号に基づい
て、前記多相クロック生成手段にて生成された複数のク
ロックのうち1つのクロックを選択し、選択した1つの
クロックを予め決められた位相差を設けて5つのクロッ
クとして出力するクロック選択部とを有することを特徴
とする高速データ受信回路。
20. The high-speed data receiving circuit according to claim 18, wherein said selecting means compares the five data taken in by said sampling means with each other, and takes in with a clock having said central phase. If the data is different from the data captured by the clock with a phase leading it, a selection signal for delaying the phase of each of the selected five clocks is output, and the data is captured by the clock having the central phase. If the received data is different from the data captured by the clock delayed in phase, a selection signal for advancing the phase of each of the selected five clocks is output, and the central phase of the five data is output. Detects whether the data captured by the clock having A clock selection determining unit that outputs a selection signal for selecting a clock that causes the data to fall out of the duty deterioration range when detecting that the data fetched by the clock included in the clock falls within the duty deterioration range. And selecting one of the plurality of clocks generated by the multi-phase clock generating means based on the selection signal output from the clock selection determining unit, and selecting the selected one of the clocks in advance. A high-speed data receiving circuit, comprising: a clock selecting unit that provides a phase difference and outputs five clocks.
【請求項21】 請求項19に記載の高速データ受信回
路において、 前記クロック選択決定部は、 前記サンプリング手段にて取り込まれた5つのデータの
うち、中央の位相を有するクロックにて取り込まれたデ
ータと中央の位相よりも位相の進んだクロックにて取り
込まれたデータと中央の位相よりも位相の遅れたクロッ
クにて取り込まれたデータとを互いに比較し、前記中央
の位相を有するクロックにて取り込まれたデータと前記
位相の進んだクロックにて取り込まれたデータとが異な
る場合、UP信号を出力し、前記中央の位相を有するク
ロックにて取り込まれたデータと前記位相の遅れたクロ
ックにて取り込まれたデータとが異なる場合、DOWN
信号を出力する位相比較部と、 前記サンプリング手段にて取り込まれた5つのデータの
うち、中央の位相を有するクロックにて取り込まれたデ
ータと中央の位相よりも位相の進んだクロックにて取り
込まれたデータと中央の位相よりも位相の遅れたクロッ
クにて取り込まれたデータとを互いに比較し、前記中央
の位相を有するクロックにて取り込まれたデータがデュ
ーティー劣化範囲内に含まれているかどうかを検出し、
前記中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内に含まれていることを検出
した場合、DUP信号またはDDOWN信号を出力する
デューティー劣化検出部と、 前記位相比較部からUP信号が出力された場合にカウン
ト値をインクリメントし、DOWN信号が出力された場
合にカウント値をデクリメントし、前記デューティー劣
化検出部からDUP信号が出力された場合に前記中央の
位相を有するクロックにて取り込まれたデータがデュー
ティー劣化範囲内から抜け出すように前記カウント値を
インクリメントし、DDOWN信号が出力された場合に
前記中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内から抜け出すように前記カ
ウント値をデクリメントし、該カウント値を前記選択信
号として出力するカウンタ部とを有し、 前記クロック選択部は、前記カウンタ部におけるカウン
ト値がインクリメントされた場合、選択する5つのクロ
ックの位相をそれぞれ遅らせ、前記カウンタ部における
カウント値がデクリメントされた場合、選択する5つの
クロックの位相をそれぞれ進ませることを特徴とする高
速データ受信回路。
21. The high-speed data receiving circuit according to claim 19, wherein the clock selection determining unit is configured to output data captured by a clock having a central phase among five data captured by the sampling unit. And the data captured by the clock with a phase advanced from the central phase and the data captured by the clock with a phase delayed from the central phase are compared with each other, and are captured by the clock having the central phase. If the acquired data is different from the data acquired by the clock having the advanced phase, an UP signal is output, and the data acquired by the clock having the center phase and the data acquired by the clock having the delayed phase are outputted. If the data is different, DOWN
A phase comparison unit that outputs a signal, and among the five pieces of data captured by the sampling means, data captured by a clock having a central phase and captured by a clock advanced in phase from the central phase. Data and the data captured by the clock delayed in phase from the center phase are compared with each other to determine whether the data captured by the clock having the center phase is included in the duty deterioration range. Detect
A duty deterioration detection unit that outputs a DUP signal or a DDOWN signal when detecting that data taken in by the clock having the center phase is included in the duty deterioration range; and an UP signal from the phase comparison unit. When the DOWN signal is output, the count value is incremented, when the DOWN signal is output, the count value is decremented, and when the DUP signal is output from the duty deterioration detection unit, the count value is captured by the clock having the central phase. The count value is incremented so that the acquired data comes out of the duty deterioration range, and when the DDOWN signal is output, the data taken in by the clock having the central phase goes out of the duty deterioration range. Decrement the count value and change the count value And a counter section that outputs the selection signal. When the count value in the counter section is incremented, the clock selection section delays the phase of each of the selected five clocks, and decrements the count value in the counter section. A high-speed data receiving circuit for advancing the phases of five clocks to be selected, respectively.
【請求項22】 請求項20に記載の高速データ受信回
路において、 前記クロック選択決定部は、 前記サンプリング手段にて取り込まれた5つのデータの
うち、中央の位相を有するクロックにて取り込まれたデ
ータと中央の位相よりも位相の進んだクロックにて取り
込まれたデータと中央の位相よりも位相の遅れたクロッ
クにて取り込まれたデータとを互いに比較し、前記中央
の位相を有するクロックにて取り込まれたデータと前記
位相の進んだクロックにて取り込まれたデータとが異な
る場合、UP信号を出力し、前記中央の位相を有するク
ロックにて取り込まれたデータと前記位相の遅れたクロ
ックにて取り込まれたデータとが異なる場合、DOWN
信号を出力する位相比較部と、 前記サンプリング手段にて取り込まれた5つのデータの
うち、中央の位相を有するクロックにて取り込まれたデ
ータと中央の位相よりも位相の進んだクロックにて取り
込まれたデータと中央の位相よりも位相の遅れたクロッ
クにて取り込まれたデータとを互いに比較し、前記中央
の位相を有するクロックにて取り込まれたデータがデュ
ーティー劣化範囲内に含まれているかどうかを検出し、
前記中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内に含まれていることを検出
した場合、DUP信号またはDDOWN信号を出力する
デューティー劣化検出部と、 前記位相比較部からUP信号が出力された場合にカウン
ト値をインクリメントし、DOWN信号が出力された場
合にカウント値をデクリメントし、前記デューティー劣
化検出部からDUP信号が出力された場合に前記中央の
位相を有するクロックにて取り込まれたデータがデュー
ティー劣化範囲内から抜け出すように前記カウント値を
インクリメントし、DDOWN信号が出力された場合に
前記中央の位相を有するクロックにて取り込まれたデー
タがデューティー劣化範囲内から抜け出すように前記カ
ウント値をデクリメントし、該カウント値を前記選択信
号として出力するカウンタ部とを有し、 前記クロック選択部は、前記カウンタ部におけるカウン
ト値がインクリメントされた場合、選択する1つのクロ
ックの位相を遅らせ、前記カウンタ部におけるカウント
値がデクリメントされた場合、選択する1つのクロック
の位相を進ませることを特徴とする高速データ受信回
路。
22. The high-speed data receiving circuit according to claim 20, wherein the clock selection determining unit is configured to output the data captured by a clock having a central phase among the five data captured by the sampling unit. And the data captured by the clock with a phase advanced from the central phase and the data captured by the clock with a phase delayed from the central phase are compared with each other, and captured by the clock having the central phase. If the acquired data is different from the data acquired by the clock having the advanced phase, an UP signal is output, and the data acquired by the clock having the center phase and the data acquired by the clock having the delayed phase are outputted. If the data is different, DOWN
A phase comparison unit that outputs a signal; of the five data captured by the sampling means, data captured by a clock having a central phase and captured by a clock advanced in phase from the central phase Data and the data captured by the clock delayed in phase from the center phase are compared with each other to determine whether the data captured by the clock having the center phase is included in the duty deterioration range. Detect
A duty deterioration detection unit that outputs a DUP signal or a DDOWN signal when detecting that data taken in by the clock having the center phase is included in the duty deterioration range; and an UP signal from the phase comparison unit. When the DOWN signal is output, the count value is incremented, when the DOWN signal is output, the count value is decremented, and when the DUP signal is output from the duty deterioration detection unit, the count value is captured by the clock having the central phase. The count value is incremented so that the acquired data comes out of the duty deterioration range, and when the DDOWN signal is output, the data taken in by the clock having the central phase goes out of the duty deterioration range. Decrement the count value and change the count value A counter section that outputs the selection signal, wherein the clock selection section delays the phase of one clock to be selected when the count value in the counter section is incremented, and the count value in the counter section is decremented. A high-speed data receiving circuit for advancing the phase of one clock to be selected.
【請求項23】 請求項21または請求項22に記載の
高速データ受信回路において、 前記クロック選択決定部は、前記位相比較部から前記U
P信号または前記DOWN信号が出力された場合や、前
記デューティー劣化検出部から前記DUP信号または前
記DDOWN信号が出力された場合、該UP信号または
DOWN信号またはDUP信号またはDDOWN信号出
力後予め決められた期間は、前記UP信号または前記D
OWN信号または前記DUP信号または前記DDOWN
信号を前記位相比較部または前記デューティー劣化検出
部から出力させない出力規制部を有することを特徴とす
る高速データ受信回路。
23. The high-speed data receiving circuit according to claim 21 or 22, wherein the clock selection deciding unit is configured to determine whether or not the clock signal is determined by the phase comparing unit.
When the P signal or the DOWN signal is output, or when the DUP signal or the DDOWN signal is output from the duty deterioration detection unit, a predetermined value after the output of the UP signal, the DOWN signal, the DUP signal, or the DDOWN signal. The period is the UP signal or the D signal.
OWN signal or the DUP signal or the DDOWN signal
A high-speed data receiving circuit comprising an output restricting unit that prevents a signal from being output from the phase comparing unit or the duty deterioration detecting unit.
JP31706899A 1999-06-24 1999-11-08 High-speed data receiving circuit Expired - Fee Related JP3246554B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31706899A JP3246554B2 (en) 1999-06-24 1999-11-08 High-speed data receiving circuit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP17876999 1999-06-24
JP11-178769 1999-06-24
JP31706899A JP3246554B2 (en) 1999-06-24 1999-11-08 High-speed data receiving circuit

Publications (2)

Publication Number Publication Date
JP2001069127A true JP2001069127A (en) 2001-03-16
JP3246554B2 JP3246554B2 (en) 2002-01-15

Family

ID=26498856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31706899A Expired - Fee Related JP3246554B2 (en) 1999-06-24 1999-11-08 High-speed data receiving circuit

Country Status (1)

Country Link
JP (1) JP3246554B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012028943A (en) * 2010-07-21 2012-02-09 Fujitsu Ltd Receiver circuit
WO2012086017A1 (en) * 2010-12-21 2012-06-28 富士通株式会社 Data reception circuit, information processing device, data reception program and data reception method
JP2015139095A (en) * 2014-01-22 2015-07-30 富士通株式会社 Clock data recovery circuit and method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3369118B2 (en) 1998-12-28 2003-01-20 日本電気株式会社 Data judgment circuit
JP2000209191A (en) 1999-01-18 2000-07-28 Nec Saitama Ltd High-speed data reception method and circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012028943A (en) * 2010-07-21 2012-02-09 Fujitsu Ltd Receiver circuit
WO2012086017A1 (en) * 2010-12-21 2012-06-28 富士通株式会社 Data reception circuit, information processing device, data reception program and data reception method
JP5598551B2 (en) * 2010-12-21 2014-10-01 富士通株式会社 Data receiving circuit, information processing apparatus, data receiving program, and data receiving method
US8855242B2 (en) 2010-12-21 2014-10-07 Fujitsu Limited Data receiving circuit, information processing apparatus, a computer readable storage medium, and data receiving method
JP2015139095A (en) * 2014-01-22 2015-07-30 富士通株式会社 Clock data recovery circuit and method thereof

Also Published As

Publication number Publication date
JP3246554B2 (en) 2002-01-15

Similar Documents

Publication Publication Date Title
US6262611B1 (en) High-speed data receiving circuit and method
US11139805B1 (en) Bi-directional adaptive clocking circuit supporting a wide frequency range
JP4335586B2 (en) Clock and data recovery circuit
US7302026B2 (en) Clock recovery circuit and electronic device using a clock recovery circuit
US7224199B1 (en) Circuit and method for digital delay and circuits incorporating the same
JP3323207B2 (en) Frequency-voltage conversion circuit, delay amount determination circuit, system including frequency-voltage conversion circuit, method for adjusting input / output characteristics of frequency-voltage conversion circuit, and apparatus for automatically adjusting input / output characteristics of frequency-voltage conversion circuit
US5537068A (en) Differential delay line clock generator
US6563349B2 (en) Multiplexor generating a glitch free output when selecting from multiple clock signals
US6600354B2 (en) Clock control method and circuit
KR100714892B1 (en) Clock Signal Generators and Phase-Delay Synchronous Loops with the Same
US5812832A (en) Digital clock waveform generator and method for generating a clock signal
CN113364434B (en) A duty cycle calibration circuit and method
JPH11145816A (en) Semiconductor device
JP3559785B2 (en) PLL circuit and phase difference detection circuit
JPH06202756A (en) Stable clock generation circuit provided with clock multiplication circuit
US6967536B2 (en) Phase-locked loop circuit reducing steady state phase error
JP3246554B2 (en) High-speed data receiving circuit
CN1977487B (en) phase synchronization circuit
KR100897381B1 (en) Clock generator independent of input signal duty ratio
US12542546B2 (en) Timing margin sensor
US7279944B2 (en) Clock signal generator with self-calibrating mode
CN115151884A (en) Voltage regulation circuit and method, computing system, integrated module and circuit
JP4408470B2 (en) Timing signal generation circuit
US6333659B1 (en) Clock control method and circuit
CN114244352A (en) Clock frequency conversion system, method, processor, chip and electronic equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071102

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees