JPH10145350A - Interconnection circuit - Google Patents

Interconnection circuit

Info

Publication number
JPH10145350A
JPH10145350A JP8292783A JP29278396A JPH10145350A JP H10145350 A JPH10145350 A JP H10145350A JP 8292783 A JP8292783 A JP 8292783A JP 29278396 A JP29278396 A JP 29278396A JP H10145350 A JPH10145350 A JP H10145350A
Authority
JP
Japan
Prior art keywords
input data
clock
phase
data
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8292783A
Other languages
Japanese (ja)
Inventor
Kazuo Kenmoku
一男 見目
Norio Sugano
典夫 菅野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP8292783A priority Critical patent/JPH10145350A/en
Publication of JPH10145350A publication Critical patent/JPH10145350A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain the simple interconnection circuit that receives a plurality of input signals by using a same clock, independently of relation of phase lead/ lag and that has provision for reception of a high-speed signal. SOLUTION: A phase comparator circuit 5 provides an output of a phase lead/lag relation between input clocks 2a and 2b and a phase difference. A control circuit 8 controls a variable delay circuit 6 in such a way that a delay by a phase difference is inserted to input data, corresponding to the clock having a phase lead, and no delay is inserted to the data corresponding to the clock with a phase lag. Furthermore, the control circuit 8 controls a selection circuit 7 so as select the clock with a phase lag as an output clock 4. Thus, a flip-flop 9 latches variable delay circuit outputs 13, whose phase is arranged by using an output clock 4.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、通信装置などに
おけるデータ伝送に伴うインターコネクション回路に関
するものである。特に、異なる伝送経路で伝送された複
数データを受信する際に、高速のデータでも簡易な構成
で行うことができるものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interconnection circuit for data transmission in a communication device or the like. In particular, when receiving a plurality of data transmitted through different transmission paths, high-speed data can be received with a simple configuration.

【0002】[0002]

【従来の技術】図9は例えば特開昭60−1944号公
報に示された従来の位相補正回路の構成図であり、異な
る伝送経路を伝送して発生する互いに位相の異なるデー
タを受信する場合の位相補正回路を示す。図において、
9a、9b、9c、9dはフリップフロップ、20はイ
ンバータ、5は位相比較回路、29は自動位相制御回路
である。
2. Description of the Related Art FIG. 9 is a block diagram of a conventional phase correction circuit disclosed in Japanese Patent Application Laid-Open No. Sho 60-1944, for example, when receiving data having different phases generated by transmitting through different transmission paths. Is shown. In the figure,
9a, 9b, 9c and 9d are flip-flops, 20 is an inverter, 5 is a phase comparison circuit, and 29 is an automatic phase control circuit.

【0003】次に、図9に示した位相補正回路の動作を
説明する。2系統の信号の入力データ1aと入力データ
1bは、それぞれのデータに同期した入力クロック2
a、2bとともに伝送される。入力クロック2aと入力
クロック2bの周波数は同一であるが、各伝送経路の違
いにより入力クロック2aと2bとの間で位相ずれが生
じている。入力データ1a、1bは、まずフリップフロ
ップ9c、9dに入力され、それぞれのデータに対応す
る入力クロック2a、2bでラッチされるが、このとき
は入力データに対応するクロックでラッチされるため、
ラッチのタイミングに問題はない。
Next, the operation of the phase correction circuit shown in FIG. 9 will be described. The input data 1a and the input data 1b of the two signals are input clocks 2 synchronized with the respective data.
a and 2b. Although the frequencies of the input clock 2a and the input clock 2b are the same, a phase shift occurs between the input clocks 2a and 2b due to the difference in each transmission path. The input data 1a and 1b are first input to the flip-flops 9c and 9d and are latched by the input clocks 2a and 2b corresponding to the respective data. In this case, the input data 1a and 1b are latched by the clock corresponding to the input data.
There is no problem with the latch timing.

【0004】次に、入力クロック2bを基準として2系
統のデータの位相を揃えるため、入力クロック2aと入
力クロック2bの位相を比較し、次段のフリップフロッ
プ9a、9bにおけるラッチタイミングが最適になるよ
うに、自動位相制御回路29を制御する。すなわち、自
動位相制御回路出力30がフリップフロップ9aにおい
て最適ラッチタイミングになるように、自動位相制御回
路29でクロックの半周期分の遅延を挿入して出力する
か、または、そのまま出力するかを制御するのである。
このようにすることで、入力データ1a、1bは入力ク
ロック2bをインバータ20で反転した同一のクロック
でラッチすることができる。
Next, in order to align the phases of the two systems of data with reference to the input clock 2b, the phases of the input clock 2a and the input clock 2b are compared, and the latch timing in the next-stage flip-flops 9a and 9b is optimized. Thus, the automatic phase control circuit 29 is controlled. That is, control is performed by the automatic phase control circuit 29 to insert a delay of a half cycle of the clock or to output the output as it is, so that the output 30 of the automatic phase control circuit becomes the optimal latch timing in the flip-flop 9a. You do it.
By doing so, the input data 1a and 1b can be latched by the same clock inverted from the input clock 2b by the inverter 20.

【発明が解決しようとする課題】[Problems to be solved by the invention]

【0005】上記のような従来の位相補正回路を用いた
インターコネクション回路では、基準クロックを1つに
決めて、そのクロックに対する位相差を検出し、基準ク
ロック以外のデータに対し遅延挿入処理を行っていた。
そのため、遅延挿入処理が行われるデータの方が基準ク
ロックを有するデータよりも位相遅れを有する場合に、
処理が行えないという問題点があった。また、クロック
の位相比較によりクロック半周期分の遅延挿入をするた
め、1クロック周期以上の位相差に対し対処できないと
いう問題点があった。
In an interconnection circuit using a conventional phase correction circuit as described above, one reference clock is determined, a phase difference with respect to that clock is detected, and delay insertion processing is performed on data other than the reference clock. I was
Therefore, when the data subjected to the delay insertion processing has a phase delay more than the data having the reference clock,
There was a problem that processing could not be performed. In addition, since a delay of half a clock cycle is inserted by comparing clock phases, there is a problem that a phase difference of one clock cycle or more cannot be dealt with.

【0006】また、装置内のデータ伝送においては複数
のデータが個別のケーブルを用いて行われることがあ
り、その際に使用されるケーブル長等の伝送経路長の差
により受信データに位相のばらつきが生じることがあ
る。この位相ばらつきは、ケーブル長等の誤差管理によ
りどの程度の位相差が生じるかは予想することができる
が、データ間の位相の進み遅れを予想することは難し
い。さらに、データの伝送速度を上げた場合わずかなケ
ーブル長差により1クロック周期以上の位相差を容易に
生じてしまう。そのため、位相の進み遅れ関係が予想で
きないような複数の高速データに対し、その位相差を揃
えて受信するための簡易なインターコネクション回路の
出現が必要である。
In data transmission in a device, a plurality of data may be transmitted using individual cables, and a difference in transmission path length such as a cable length used at that time causes variations in phase of received data. May occur. This phase variation can predict how much a phase difference will occur due to error management such as cable length, but it is difficult to predict the advance or delay of the phase between data. Furthermore, when the data transmission speed is increased, a slight difference in cable length easily causes a phase difference of one clock cycle or more. Therefore, it is necessary to provide a simple interconnection circuit for receiving a plurality of pieces of high-speed data in which the phase lead / lag relationship cannot be predicted with the same phase difference.

【0007】本発明はこのような問題点を解決するため
になされたもので、入力データの位相の進み遅れの関係
を検出し、入力ータに最適な遅延量を挿入することによ
り、複数の入力データの位相関係によらずこれらのデー
タを正確に受信することのできるインターコネクション
回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem. The present invention detects a lead / lag relationship of the phase of input data, and inserts an optimum delay amount into input data, thereby obtaining a plurality of data. It is an object of the present invention to provide an interconnection circuit that can accurately receive such data regardless of the phase relationship of input data.

【0008】[0008]

【課題を解決するための手段】第1の発明に係るインタ
ーコネクション回路は、複数のデータを入力するインタ
ーコネクション回路において、各入力データのクロック
相互間の位相を比較する位相比較手段と、この位相比較
手段による位相比較結果に基づいて最も遅れた入力デー
タを特定入力データとした場合、前記特定入力データの
クロックを基準クロックとして選択するクロック選択手
段と、前記特定入力データ以外の入力データに対して前
記位相比較結果に基づいて最適なタイミングになるよう
に遅延を付加する遅延手段と、前記基準クロックにより
前記の各入力データをラッチする複数のフリップフロッ
プと、前記クロック選択手段と前記遅延手段を制御する
制御手段とを備えたものである。
An interconnection circuit according to a first aspect of the present invention is an interconnection circuit for inputting a plurality of data, wherein the phase comparison means compares the phases of clocks of respective input data with each other. When the most delayed input data based on the result of the phase comparison by the comparing means is the specific input data, a clock selecting means for selecting a clock of the specific input data as a reference clock; A delay unit for adding a delay so as to have an optimal timing based on the phase comparison result, a plurality of flip-flops for latching the input data with the reference clock, and controlling the clock selection unit and the delay unit And control means for performing the control.

【0009】第2の発明に係るインターコネクション回
路は、複数のデータを入力するインターコネクション回
路において、各入力データのクロック相互間の位相を比
較する位相比較手段と、この位相比較手段による位相比
較結果に基づいて最も遅れた入力データを特定入力デー
タとした場合、前記特定入力データのクロックを基準ク
ロックとして選択するクロック選択手段と、前記特定入
力データ以外の入力データを選択する第1のデータ選択
手段と、該第1のデータ選択手段からの入力データを前
記位相比較結果に基づいて最適なタイミングになるよう
に遅延を付加する遅延手段と、前記特定の入力データま
たは前記遅延手段から出力された特定データ以外の入力
データのいずれか一方を選択する複数の第2の入力デー
タ選択手段と、前記基準クロックにより前記複数の第2
の入力データ選択手段からの各出力データをラッチする
複数のフリップフロップと、前記クロック選択手段と前
記第1のデータ選択手段と前記遅延手段と前記第2の入
力データ選択手段を制御する制御手段とを備え、前記第
2の選択手段の内の1つは前記特定入力データ選択する
と共にこの第2の選択手段以外の第2の選択手段は遅延
手段からの入力データを選択するものである。
In an interconnection circuit according to a second aspect of the present invention, in an interconnection circuit for inputting a plurality of data, a phase comparison means for comparing phases of clocks of respective input data with each other, and a phase comparison result by the phase comparison means When the most delayed input data is determined as the specific input data, a clock selecting means for selecting a clock of the specific input data as a reference clock, and a first data selecting means for selecting input data other than the specific input data Delay means for adding a delay to the input data from the first data selection means so as to have an optimum timing based on the phase comparison result; and a specific input data or a specific output from the delay means. A plurality of second input data selecting means for selecting one of input data other than data; Wherein the reference clock plurality of second
A plurality of flip-flops for latching each output data from the input data selecting means, a control means for controlling the clock selecting means, the first data selecting means, the delay means, and the second input data selecting means; And one of the second selecting means selects the specific input data, and the second selecting means other than the second selecting means selects the input data from the delaying means.

【0010】第3の発明に係るインターコネクション回
路は、複数のデータを入力するインターコネクション回
路において、複数の入力データの中から特定の入力デー
タに対して及びこの特定の入力データのクロックに対し
てすべての入力データ間でとりうる最大の位相差を遅延
させて遅延入力データと基準クロックとを出力する固定
遅延手段と、前記特定入力データ以外の入力データを遅
延量を可変に遅延させる遅延量可変遅延手段と、前記特
定入力データ以外の入力データのクロックと前記基準ク
ロックとの位相を比較する位相比較手段と、この位相比
較手段からの位相比較結果に基づいて、前記特定入力デ
ータ以外の入力データに対し遅延を挿入するように前記
遅延量可変遅延手段を制御する制御手段と、前記基準ク
ロックにより遅延された各入力データをラッチする複数
のフリップフロップとを備えたものである。
[0010] An interconnection circuit according to a third aspect of the present invention is an interconnection circuit for inputting a plurality of data, wherein the interconnection circuit receives a specific input data from a plurality of input data and a clock for the specific input data. Fixed delay means for delaying a maximum possible phase difference between all input data and outputting delayed input data and a reference clock; and a variable delay amount for variably delaying the input data other than the specific input data. Delay means, phase comparison means for comparing the phase of the clock of the input data other than the specific input data with the reference clock, and input data other than the specific input data based on a phase comparison result from the phase comparison means. Control means for controlling the delay amount variable delay means so as to insert a delay with respect to Each input data is obtained by a plurality of flip-flops for latching.

【0011】第4の発明に係るインターコネクション回
路は、複数のデータを入力するインターコネクション回
路において、各入力データのクロックと受信側の基準ク
ロックとの位相を比較する位相比較手段と、この位相比
較手段の位相比較結果に基づいて、前記基準クロックよ
りも位相が進んでいるクロックを持つ入力データに対し
ては基準クロックの半周期と進んでいる位相分との合計
量を遅延させ、前記基準クロックよりも位相が遅れてい
るクロックを持つ入力データに対しては基準クロックの
半周期から遅れた位相を差し引いた位相分を遅延させる
遅延手段と、この遅延手段を制御する制御手段と、前記
基準クロックにより前記遅延手段の各出力データをラッ
チする複数のフリップフロップとを備えたものである。
In an interconnection circuit according to a fourth aspect of the present invention, in the interconnection circuit for inputting a plurality of data, a phase comparison means for comparing the phase of a clock of each input data with a reference clock on a receiving side, Means for delaying a total amount of a half cycle of the reference clock and a leading phase for input data having a clock whose phase is ahead of the reference clock based on a phase comparison result of the means; Delay means for delaying a phase obtained by subtracting a delayed phase from a half cycle of the reference clock for input data having a clock delayed in phase from the reference clock; control means for controlling the delay means; And a plurality of flip-flops for latching each output data of the delay means.

【0012】第5の発明に係るインターコネクション回
路は、複数のデータを入力するインターコネクション回
路において、各入力データのデータの先頭を示すフレー
ムパルス相互の位相を比較するフレームパルス位相比較
手段と、この位相比較手段の位相比較結果に基づいてデ
ータを遅延させる遅延手段と、前記各入力データの互い
のクロックの位相を比較する位相比較手段と、この位相
比較結果に基づいてデータをラッチするクロックを選択
する選択手段と、選択されたクロックでラッチする際に
最適なラッチタイミングになるようにデータに遅延を挿
入する遅延手段と、前記選択手段と前記遅延手段を制御
する制御手段と、選択されたクロックにより遅延された
各入力データをラッチする複数のフリップフロップとを
備え、位相の異なる複数の入力データの位相を揃えて受
信するものである。
In an interconnection circuit according to a fifth aspect of the present invention, in the interconnection circuit for inputting a plurality of data, frame pulse phase comparing means for comparing the phases of frame pulses indicating the beginning of data of each input data; A delay means for delaying data based on the phase comparison result of the phase comparison means, a phase comparison means for comparing the phases of the respective input data with each other, and a clock for latching data based on the phase comparison result Selecting means for performing the above operation, delay means for inserting a delay into data so as to obtain an optimal latch timing when latching with the selected clock, control means for controlling the selecting means and the delay means, and a selected clock. And a plurality of flip-flops for latching each input data delayed by It is intended to receive align the plurality of input data phase.

【0013】[0013]

【発明の実施の形態】実施の形態1.図1はこの発明の
一実施の形態を示すインターコネクション回路の構成図
であり、チャネルaとチャネルbの2系統の信号を入力
し、それぞれ入力データ1aと入力クロック2aおよび
入力データ1bと入力クロック2bとを入力して、出力
データ3a、出力データ3bおよび出力クロック4を得
るものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a block diagram of an interconnection circuit according to an embodiment of the present invention, in which signals of two systems of a channel a and a channel b are inputted, and input data 1a and input clock 2a, input data 1b and input clock are input, respectively. 2b, the output data 3a, the output data 3b and the output clock 4 are obtained.

【0014】図1において、5は入力クロック2aと入
力クロック2bの位相差を比較する位相比較回路、6
a、6bは入力データ1a、1bを入力して制御電圧に
対応した遅延量を挿入する可変遅延回路、7は入力クロ
ック2aと入力クロック2bを入力し選択制御信号にも
とづきそのうちの一方を選択して出力する選択回路、8
は位相比較回路5の位相比較結果の出力に基づき可変遅
延回路6a、6bに対する遅延時間制御電圧を発生しま
た選択回路7の出力信号を選択する選択制御信号を発生
する制御回路、9a、9bは可変遅延回路の出力信号を
出力クロック4でラッチするフリップフロップである。
In FIG. 1, reference numeral 5 denotes a phase comparison circuit for comparing the phase difference between the input clock 2a and the input clock 2b;
a and 6b are variable delay circuits for inputting input data 1a and 1b and inserting a delay amount corresponding to a control voltage, and 7 receiving input clocks 2a and 2b and selecting one of them based on a selection control signal. Output selection circuit, 8
Is a control circuit for generating a delay time control voltage for the variable delay circuits 6a and 6b based on the output of the phase comparison result of the phase comparison circuit 5 and for generating a selection control signal for selecting an output signal of the selection circuit 7, 9a and 9b This is a flip-flop that latches the output signal of the variable delay circuit with the output clock 4.

【0015】次に、図1に示したインターコネクション
回路の動作を説明する。入力クロック2aと入力クロッ
ク2bは位相比較回路5へ入力される。位相比較回路5
は入力クロック2aと入力クロック2bの位相を比較
し、その位相差に対応した検出電圧10を発生するもの
である。すなわち、入力クロック2aを基準とした入力
クロック2bの位相進み量および位相遅れ量に対応した
検出電圧10を発生し、入力クロック2aと入力クロッ
ク2bのどちらにどれだけ位相遅れがあるか検出するこ
とができる。制御回路8は、位相比較回路5の検出結果
から、位相進みがあるデータに対し可変遅延回路6a、
6bが最適な遅延量を与えるような制御電圧を発生さ
せ、他方のデータに対しては可変遅延回路6a、6bで
遅延量を与えないような制御電圧を発生させる。
Next, the operation of the interconnection circuit shown in FIG. 1 will be described. The input clock 2a and the input clock 2b are input to the phase comparison circuit 5. Phase comparison circuit 5
Is for comparing the phases of the input clock 2a and the input clock 2b and generating a detection voltage 10 corresponding to the phase difference. That is, a detection voltage 10 corresponding to the amount of phase advance and the amount of phase lag of the input clock 2b with respect to the input clock 2a is generated, and it is detected which of the input clock 2a and the input clock 2b has a phase delay. Can be. From the detection result of the phase comparison circuit 5, the control circuit 8 controls the variable delay circuit 6a,
The variable delay circuits 6a and 6b generate a control voltage that does not provide a delay voltage for the other data.

【0016】また、制御回路8では選択回路7が位相遅
れがあるクロックを選択し出力クロック4として出力す
るような選択制御信号11を発生する。可変遅延回路6
a、6bの出力信号はそれぞれフリップフロップ9a、
9bへ入力され、このフリップフロップ9a、9bには
同一の出力クロック4が入力され、フリップフロップ9
a、9bの入力信号はラッチされ出力される。
In the control circuit 8, the selection circuit 7 selects a clock having a phase delay and generates a selection control signal 11 to be output as the output clock 4. Variable delay circuit 6
a, 6b are output from flip-flops 9a,
9b, and the same output clock 4 is input to the flip-flops 9a and 9b.
Input signals a and 9b are latched and output.

【0017】次に、図1に示したインターコネクション
回路の動作を図2に示すタイミングチャートを用いて説
明する。チャネルaとして入力データ1aと入力クロッ
ク2aが入力され、入力クロック2aの立ち下がりに入
力データ1aの変化点が現れる。また同様に、チャネル
bとして入力データ1bと入力クロック2bが入力さ
れ、入力クロック2bの立ち下がりに入力データ1bの
変化点が現れる。このとき、入力クロック2bは入力ク
ロック2aに対し位相差φの位相遅れがある。
Next, the operation of the interconnection circuit shown in FIG. 1 will be described with reference to the timing chart shown in FIG. Input data 1a and input clock 2a are input as channel a, and a transition point of input data 1a appears at the falling edge of input clock 2a. Similarly, input data 1b and input clock 2b are input as channel b, and a transition point of input data 1b appears at the falling edge of input clock 2b. At this time, the input clock 2b has a phase delay of a phase difference φ with respect to the input clock 2a.

【0018】入力された入力クロック2aと入力クロッ
ク2bは位相比較回路5へ入力され、位相比較回路5は
入力クロック2bの位相遅れφを検出し、位相遅れ量φ
に対応した検出電圧10を発生する。制御回路8は位相
比較回路5が発生した検出電圧10を入力し、その検出
電圧10から可変遅延回路6aに対し遅延量φの遅延を
入力データ1aに挿入するような制御電圧12aを発生
し、また、可変遅延回路6bに対し遅延量0となるよう
な制御電圧12bを発生する。さらに、制御回路8は選
択回路7が出力クロック4として入力クロック2bを選
択するような選択制御信号11を発生する。
The input clock 2a and the input clock 2b are input to a phase comparator 5, which detects a phase delay φ of the input clock 2b and outputs a phase delay φ
Is generated. The control circuit 8 receives the detection voltage 10 generated by the phase comparison circuit 5 and generates a control voltage 12a from the detection voltage 10 to the variable delay circuit 6a to insert a delay of the delay amount φ into the input data 1a. In addition, a control voltage 12b for generating a delay amount of 0 for the variable delay circuit 6b is generated. Further, the control circuit 8 generates a selection control signal 11 such that the selection circuit 7 selects the input clock 2b as the output clock 4.

【0019】これにより、可変遅延回路出力13aは入
力データ1aに対してφだけ遅延された入力データ1b
と同一位相のものになり、また、可変遅延回路出力13
bは入力データ1bと同一位相になる。さらに、制御回
路8は、選択回路の出力が入力クロック2bとなるよう
な選択制御信号11を発生し、出力クロック4は入力ク
ロック2bと同位相のクロックとなる。これにより、可
変遅延回路13aと可変遅延回路13bの変化点はどち
らも出力クロック4の立ち下がりに位置することにな
る。これは、フリップフロップ9a、9bにおいて出力
クロック4でラッチする場合の最適タイミングになって
いる。この最適タイミングで同一のクロックによってラ
ッチされたデータが出力データ3a、3bとして出力さ
れる。
Thus, the output 13a of the variable delay circuit becomes the input data 1b delayed by φ with respect to the input data 1a.
And the variable delay circuit output 13
b has the same phase as the input data 1b. Further, the control circuit 8 generates a selection control signal 11 such that the output of the selection circuit becomes the input clock 2b, and the output clock 4 becomes a clock having the same phase as the input clock 2b. As a result, the changing points of the variable delay circuits 13a and 13b are both located at the falling edge of the output clock 4. This is the optimal timing when the flip-flops 9a and 9b latch with the output clock 4. Data latched by the same clock at the optimum timing is output as output data 3a, 3b.

【0020】一方、入力クロック2aが入力クロック2
bに対し位相差φの位相遅れがある場合は、位相比較回
路5が発生した検出電圧10により、制御回路8は可変
遅延回路6aに対し遅延量0となるような制御電圧12
aを発生し、また、可変遅延回路6bに対し遅延量φの
遅延を入力データ1bに挿入するような制御電圧12b
を発生し、さらに、選択回路7において出力クロック4
として入力クロック2aを選択するような選択制御信号
11を発生する。これにより、出力クロック4は入力ク
ロック2aと同位相のクロックになり、可変遅延回路出
力13aと可変遅延回路出力13bは出力クロック4で
ラッチする際の最適タイミングになる。
On the other hand, the input clock 2a
When there is a phase delay of b with respect to the phase difference b, the detection voltage 10 generated by the phase comparison circuit 5 causes the control circuit 8 to control the variable delay circuit 6a with a control voltage 12 such that the delay amount becomes zero.
a for controlling the variable delay circuit 6b to insert a delay of the delay amount φ into the input data 1b.
Is generated, and the output clock 4
To generate the selection control signal 11 for selecting the input clock 2a. As a result, the output clock 4 becomes a clock having the same phase as the input clock 2a, and the variable delay circuit output 13a and the variable delay circuit output 13b become the optimal timing for latching with the output clock 4.

【0021】この実施の形態によれば、入力信号の位相
の進み遅れ関係によらず複数の入力信号を同一のクロッ
クによって最適なラッチタイミングでラッチできるとい
う効果を奏する。
According to this embodiment, there is an effect that a plurality of input signals can be latched at the optimum latch timing by the same clock regardless of the lead / lag relationship of the phase of the input signal.

【0022】なお、位相比較回路を増設し、選択回路を
多入力のものにし、制御回路で増設した位相比較回路に
対応する制御をすることにより、2系統以上のチャネル
に対応できることはいうまでもない。この場合、最も位
相の遅れた入力データのクロックを基準クロックとすれ
ばよい。
It is needless to say that two or more channels can be supported by adding a phase comparison circuit, using a multi-input selection circuit, and controlling the added phase comparison circuit by a control circuit. Absent. In this case, the clock of the input data with the most delayed phase may be used as the reference clock.

【0023】実施の形態2.図3はこの発明の別の実施
の形態を示すインターコネクション回路の構成図であ
る。図3において、図1と同一符号のものは同一または
相当部分を示す。5は入力クロック2aと入力クロック
2bの位相差を比較する位相比較回路、6は制御電圧に
対応した遅延量を挿入する可変遅延回路、7は入力クロ
ック2aと入力クロック2bを入力し選択制御信号11
にもとづきそのうちの一方を選択して出力する選択回
路、14は入力データ1aと入力データ1bを入力し選
択制御信号15にもとづきそのうちの一方を選択して出
力する選択回路、16a、16bはそれぞれ入力データ
1aと可変遅延回路出力13、入力データ1bと可変遅
延回路出力13を入力し選択制御信号11にもとづきそ
のうちの一方を選択して出力する選択回路、8は位相比
較回路5の位相比較結果より可変遅延回路6に対する制
御電圧を発生し、また、選択回路7、選択回路14、選
択回路16a、16bの出力信号を選択する選択制御信
号を発生する制御回路、9a、9bは可変遅延回路の出
力信号を出力クロック4でラッチするフリップフロップ
である。
Embodiment 2 FIG. FIG. 3 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention. 3, the same reference numerals as those in FIG. 1 indicate the same or corresponding parts. 5 is a phase comparison circuit for comparing the phase difference between the input clock 2a and the input clock 2b, 6 is a variable delay circuit for inserting a delay amount corresponding to the control voltage, and 7 is an input of the input clock 2a and the input clock 2b and a selection control signal. 11
A selection circuit 14 for selecting and outputting one of the input data 1a and 1b based on a selection control signal 15 and selecting and outputting one of the input data 1a and 1b based on a selection control signal 15; A selection circuit which inputs data 1a and variable delay circuit output 13 and input data 1b and variable delay circuit output 13 and selects and outputs one of them based on a selection control signal 11, and 8 is based on the phase comparison result of phase comparison circuit 5. A control circuit for generating a control voltage for the variable delay circuit 6 and for generating a selection control signal for selecting an output signal of the selection circuit 7, the selection circuit 14, and the selection circuits 16a and 16b, 9a and 9b are outputs of the variable delay circuit This is a flip-flop that latches a signal with the output clock 4.

【0024】次に、図3に示したインターコネクション
回路の動作を説明する。位相比較回路5による入力クロ
ック2aと入力クロック2bの位相比較結果に基づい
て、制御回路8はその位相差分の遅延量を可変遅延回路
6が与えるような制御電圧12を発生させ、さらに、選
択回路14が位相進みがあるクロックに対応する入力デ
ータを選択し可変遅延回路6へ入力するように選択回路
14への選択制御信号15を発生する。また、制御回路
8は以下の制御を行う選択制御信号11を発生し、選択
回路7、選択回路16a、選択回路16bへ出力する。 (1)選択回路7が位相遅れがあるクロックを選択する (2)選択回路16aが入力データ1aを選択する場合
には選択回路14が入力データ1bを選択し、選択回路
16bはこの選択回路14によって選択された入力デー
タ1bを可変遅延回路6によって遅延した出力13を選
択する。また、選択回路16bが入力データ1bを選択
する場合には選択回路14が入力データ1aを選択し、
選択回路16aはこの選択回路14によって選択された
入力データ1aを可変遅延回路6によって遅延した出力
13を選択する。
Next, the operation of the interconnection circuit shown in FIG. 3 will be described. Based on the result of the phase comparison between the input clock 2a and the input clock 2b by the phase comparison circuit 5, the control circuit 8 generates a control voltage 12 that gives the delay amount of the phase difference to the variable delay circuit 6, and further selects the selection circuit. 14 selects the input data corresponding to the clock having the phase advance and generates a selection control signal 15 to the selection circuit 14 so as to be input to the variable delay circuit 6. Further, the control circuit 8 generates a selection control signal 11 for performing the following control and outputs it to the selection circuit 7, the selection circuit 16a, and the selection circuit 16b. (1) The selection circuit 7 selects a clock with a phase delay. (2) When the selection circuit 16a selects the input data 1a, the selection circuit 14 selects the input data 1b, and the selection circuit 16b selects the input data 1b. The output 13 obtained by delaying the input data 1b selected by the variable delay circuit 6 is selected. When the selection circuit 16b selects the input data 1b, the selection circuit 14 selects the input data 1a,
The selection circuit 16a selects the output 13 obtained by delaying the input data 1a selected by the selection circuit 14 by the variable delay circuit 6.

【0025】これによって、入力信号の位相比較結果か
ら位相の進んでいる方のデータを選択し可変遅延回路6
により位相差分の遅延量を挿入し、また、位相の遅れて
いる方のクロックを選択し出力クロックとすることにな
る。これは、フリップフロップ9a、9bにおいて出力
クロック4でラッチする場合の最適タイミングになって
いる。この最適タイミングで同一のクロックによってラ
ッチされたデータが出力データ3a、3bとして出力さ
れる。
As a result, the data whose phase is advanced is selected from the result of the phase comparison of the input signal, and the variable delay circuit 6
Thus, the delay amount of the phase difference is inserted, and the clock with the delayed phase is selected and used as the output clock. This is the optimal timing when the flip-flops 9a and 9b latch with the output clock 4. Data latched by the same clock at the optimum timing is output as output data 3a, 3b.

【0026】この実施の形態によれば、入力信号の位相
の進み遅れ関係によらず複数の入力信号を同一のクロッ
クによって最適なラッチタイミングでラッチでき、可変
遅延回路を削減できるという効果を奏する。
According to this embodiment, a plurality of input signals can be latched at the optimum latch timing by the same clock regardless of the lead / lag relationship of the phase of the input signal, and the effect of reducing the number of variable delay circuits can be obtained.

【0027】なお、位相比較回路を増設し、選択回路を
多入力のものにし、制御回路で増設した位相比較回路に
対応する制御をすることにより、2系統以上のチャネル
に対応できることはいうまでもない。この場合、最も位
相の遅れた入力データのクロックを基準クロックとすれ
ばよい。
It is needless to say that two or more channels can be supported by adding a phase comparison circuit, using a multi-input selection circuit, and performing control corresponding to the added phase comparison circuit by a control circuit. Absent. In this case, the clock of the input data with the most delayed phase may be used as the reference clock.

【0028】実施の形態3.図4はこの発明の別の実施
の形態を示すインターコネクション回路の構成図であ
る。図4において、図1、図3と同一符号のものは同一
または相当部分を示す。17a、17bは一定の遅延量
φmaxを挿入する固定遅延回路、5は入力クロック2
aと入力クロック2bに固定遅延回路17bによる遅延
を挿入したクロックとの位相差を比較する位相比較回
路、6は入力データ1aを入力して制御電圧に対応した
遅延量を挿入する可変遅延回路、8は位相比較回路5の
位相比較結果より可変遅延回路6に対する制御電圧を発
生する制御回路、9a、9bはそれぞれ可変遅延回路出
力13、固定遅延回路出力18を出力クロック4でラッ
チするフリップフロップである。
Embodiment 3 FIG. 4 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention. 4, the same reference numerals as those in FIGS. 1 and 3 denote the same or corresponding parts. 17a and 17b are fixed delay circuits for inserting a fixed delay amount φmax, and 5 is an input clock 2
a phase comparison circuit that compares the phase difference between the clock signal a and the input clock 2b with the delay added by the fixed delay circuit 17b; 6, a variable delay circuit that receives the input data 1a and inserts a delay amount corresponding to the control voltage; Reference numeral 8 denotes a control circuit that generates a control voltage for the variable delay circuit 6 based on the phase comparison result of the phase comparison circuit 5, and reference numerals 9a and 9b denote flip-flops that latch the variable delay circuit output 13 and the fixed delay circuit output 18 with the output clock 4, respectively. is there.

【0029】次に、図4に示したインターコネクション
回路の動作を図5のタイミングチャートを用いて説明す
る。入力クロック2aと入力クロック2bは図5に示す
ように位相差をもって入力され、図5の場合、入力クロ
ック2aは入力クロック2bに対し位相進みがある。た
だし、位相進みの場合、位相遅れの場合のいずれにおい
てもこの位相差はφmax以下であるとする。まず、入
力クロック2bは固定遅延回路17bへ入力され、入力
クロック2bに対しφmaxの遅延量を付加された出力
クロック4となる。ここで、入力クロック2aと出力ク
ロック4の位相差を位相比較回路5が位相比較すると、
図5のように入力クロック2aと出力クロック4には位
相差φだけ入力クロック2aが位相進みがあることが検
出される。
Next, the operation of the interconnection circuit shown in FIG. 4 will be described with reference to the timing chart of FIG. The input clock 2a and the input clock 2b are input with a phase difference as shown in FIG. 5, and in the case of FIG. 5, the input clock 2a has a phase lead with respect to the input clock 2b. However, it is assumed that the phase difference is equal to or smaller than φmax in both the case of the phase advance and the case of the phase delay. First, the input clock 2b is input to the fixed delay circuit 17b, and becomes the output clock 4 obtained by adding a delay amount of φmax to the input clock 2b. Here, when the phase comparison circuit 5 compares the phase difference between the input clock 2a and the output clock 4,
As shown in FIG. 5, it is detected that the input clock 2a and the output clock 4 have a phase advance of the input clock 2a by the phase difference φ.

【0030】ここで、入力クロック2aと入力クロック
2bとの入力位相差がφmax以下であるならば、入力
クロック2aと入力クロック2bの位相の進み遅れの関
係に係わらず、入力クロック2aは 出力クロック4に
対し位相進みがあることになる。次に、制御回路8は可
変遅延回路6に対し位相比較回路5によって検出された
位相差φに相当する遅延を挿入するような制御電圧12
を発生し、可変遅延回路出力13は入力データ1aをφ
だけ遅延したものになる。さらに、固定遅延回路17a
により入力データ1bをφmaxだけ遅延した固定遅延
出力データ18を得る。
Here, if the input phase difference between the input clock 2a and the input clock 2b is not more than φmax, the input clock 2a is output clock irrespective of the relationship between the advance and delay of the phase of the input clock 2a and the input clock 2b. 4, there is a phase advance. Next, the control circuit 8 controls the variable delay circuit 6 with a control voltage 12 such that a delay corresponding to the phase difference φ detected by the phase comparison circuit 5 is inserted.
And the output 13 of the variable delay circuit changes the input data 1a to φ
Only delayed. Further, the fixed delay circuit 17a
Thus, the fixed delay output data 18 obtained by delaying the input data 1b by φmax is obtained.

【0031】これによって、可変遅延回路出力13と固
定遅延出力データ18は同一位相になり、また、その変
化点は固定遅延回路の出力である出力クロック4の立ち
下がりに位置することになる。これは、フリップフロッ
プ9a、9bにおいて出力クロック4でラッチする場合
の最適タイミングになっている。この最適タイミングで
同一のクロックによってラッチされたデータが出力デー
タ3a、3bとして出力される。
As a result, the variable delay circuit output 13 and the fixed delay output data 18 have the same phase, and the change point is located at the falling edge of the output clock 4 which is the output of the fixed delay circuit. This is the optimal timing when the flip-flops 9a and 9b latch with the output clock 4. Data latched by the same clock at the optimum timing is output as output data 3a, 3b.

【0032】この実施の形態によれば、入力信号の位相
の進み遅れ関係によらず複数の入力信号を同一のクロッ
クによって最適なラッチタイミングでラッチでき、ま
た、可変遅延回路を削減でき制御回路の制御を簡略化で
きるという効果を奏する。
According to this embodiment, a plurality of input signals can be latched at the optimum latch timing by the same clock regardless of the lead / lag relationship of the phase of the input signal, and the number of variable delay circuits can be reduced and the control circuit can be reduced. There is an effect that control can be simplified.

【0033】なお、位相比較回路、制御回路、可変遅延
回路を増設することにより、2系統以上のチャネルに対
応できることはいうまでもない。この場合、最も位相の
遅れた入力データのクロックを基準クロックとすればよ
い。
By adding a phase comparison circuit, a control circuit, and a variable delay circuit, it goes without saying that two or more channels can be handled. In this case, the clock of the input data with the most delayed phase may be used as the reference clock.

【0034】実施の形態4.図6はこの発明の別の実施
の形態を示すインターコネクション回路の構成図であ
る。図1、図3、図4と同一符号のものは同一または相
当部分を示す。5a、5bはそれぞれ入力クロック2a
と受信側クロック19、入力クロック2bと受信側クロ
ック19の位相差を比較する位相比較回路、6a、6b
は制御電圧に対応した遅延量を挿入する可変遅延回路、
8a、8bはそれぞれ位相比較回路5a、5bの位相比
較結果より可変遅延回路6a、6bに対する遅延時間制
御電圧を発生する制御回路、20はインバータ、9a、
9bは可変遅延回路の出力信号を反転受信側クロック2
1でラッチするフリップフロップである。
Embodiment 4 FIG. 6 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention. 1, 3 and 4 indicate the same or corresponding parts. 5a and 5b are input clocks 2a, respectively.
Phase comparing circuit for comparing the phase difference between the input clock 2b and the receiving clock 19,
Is a variable delay circuit that inserts a delay amount corresponding to the control voltage,
8a and 8b are control circuits for generating delay time control voltages for the variable delay circuits 6a and 6b based on the phase comparison results of the phase comparison circuits 5a and 5b, respectively, 20 are inverters, 9a,
9b is the output signal of the variable delay circuit,
This is a flip-flop that latches at 1.

【0035】次に、図6に示したインターコネクション
回路の動作を説明する。入力クロック2aと受信側クロ
ック19は位相比較回路5aに入力される。位相比較回
路5aは入力クロック2aと受信側クロック19の位相
を比較し、受信側クロック19を基準とした入力クロッ
ク2aの位相進み量および位相遅れ量に対応した検出電
圧10aを発生する。制御回路8aは、位相比較回路5
aの検出電圧10aに基づいて入力データ1aに対し可
変遅延回路6aで最適な遅延量を与えるような制御電圧
12aを発生させる。
Next, the operation of the interconnection circuit shown in FIG. 6 will be described. The input clock 2a and the receiving clock 19 are input to the phase comparison circuit 5a. The phase comparison circuit 5a compares the phase of the input clock 2a with the phase of the receiving clock 19, and generates a detection voltage 10a corresponding to the amount of phase advance and phase lag of the input clock 2a with respect to the receiving clock 19. The control circuit 8a includes the phase comparison circuit 5
On the basis of the detected voltage 10a, a control voltage 12a for giving an optimum delay amount to the input data 1a by the variable delay circuit 6a is generated.

【0036】同様に、入力クロック2bと受信側クロッ
ク19は位相比較回路5bに入力され、その位相比較結
果に基づいて制御回路8bは、入力データ1bに対し可
変遅延回路6bが最適な遅延量を与えるような制御電圧
12bを発生させる。可変遅延回路出力13a、13b
はそれぞれフリップフロップ9a、9bへ入力され、こ
のフリップフロップ9a、9bには同一の反転受信側ク
ロック21が入力され、フリップフロップ9a、9bの
入力信号はラッチされ出力される。
Similarly, the input clock 2b and the receiving clock 19 are input to the phase comparison circuit 5b, and based on the result of the phase comparison, the control circuit 8b makes the variable delay circuit 6b determine the optimum delay amount for the input data 1b. The control voltage 12b to be applied is generated. Variable delay circuit outputs 13a, 13b
Are input to flip-flops 9a and 9b, respectively. The same inverted receiving clock 21 is input to flip-flops 9a and 9b, and input signals of flip-flops 9a and 9b are latched and output.

【0037】次に、図6に示したインターコネクション
回路の動作を図7に示すタイミングチャートを用いて説
明する。チャネルaとして入力データ1aと入力クロッ
ク2aが入力され、入力クロック2aの立ち下がりに入
力データ1aの変化点が位置する。また同様に、チャネ
ルbとして入力データ1bと入力クロック2bが入力さ
れ、入力クロック2bの立ち下がりに入力データ1bの
変化点が位置する。このとき、入力クロック2aは基準
となる受信側クロック19に対し位相差φaの位相進み
があり、また、入力クロック2bは基準となる受信側ク
ロック19に対し位相差φbの位相遅れがある。
Next, the operation of the interconnection circuit shown in FIG. 6 will be described with reference to the timing chart shown in FIG. Input data 1a and input clock 2a are input as channel a, and a transition point of input data 1a is located at the falling edge of input clock 2a. Similarly, input data 1b and input clock 2b are input as channel b, and a transition point of input data 1b is located at the falling edge of input clock 2b. At this time, the input clock 2a has a phase advance of a phase difference φa with respect to the reference reception clock 19, and the input clock 2b has a phase delay of the phase difference φb with respect to the reference reception clock 19.

【0038】入力された入力クロック2aと入力クロッ
ク2bはそれぞれ位相比較回路5a、5bへ入力され、
基準となる受信側クロック19に対する入力クロック2
aの位相進みφaおよび入力クロック2bの位相遅れφ
bを検出し、位相進み量φaおよび位相遅れ量φbに対
応した検出電圧を発生する。制御回路8aは位相比較回
路5aが発生した検出電圧を入力し、φaの位相進みを
示す検出電圧10aに基づいて可変遅延回路6aに対し
(φa+クロック半周期)の遅延を入力データ1aに挿
入するような制御電圧12aを発生する。また、制御回
路8bでは位相比較回路5bが発生したφbの位相遅れ
を示す検出電圧10bを入力し、この検出電圧10bに
基づいて可変遅延回路6bに対し(クロック半周期−φ
b)の遅延を入力データ1bに挿入するような制御電圧
12bを発生する。
The input clock 2a and the input clock 2b are input to phase comparators 5a and 5b, respectively.
Input clock 2 for reference receiving clock 19
a and the phase lag φ of the input clock 2b.
b, and generates a detection voltage corresponding to the phase lead amount φa and the phase delay amount φb. The control circuit 8a receives the detection voltage generated by the phase comparison circuit 5a and inserts a delay of (φa + half cycle) into the input data 1a for the variable delay circuit 6a based on the detection voltage 10a indicating the phase advance of φa. Such a control voltage 12a is generated. Further, the control circuit 8b receives a detection voltage 10b indicating the phase delay of φb generated by the phase comparison circuit 5b and, based on the detection voltage 10b, sends a signal to the variable delay circuit 6b (clock half cycle −φ
A control voltage 12b is generated to insert the delay of b) into the input data 1b.

【0039】制御回路8a、8bによって発生された制
御電圧により、可変遅延回路出力13a、13bはそれ
ぞれ入力データ1a、1bに対し(φa+クロック半周
期)、(クロック半周期−φb)の遅延を挿入するの
で、可変遅延回路出13a、13bは同位相になり、変
化点はインバータ20により受信側クロック19を反転
した反転受信側クロック21の立ち下がりに位置するこ
とになる。これは、フリップフロップ9a、9bにおい
て反転受信側クロック21でラッチする場合の最適タイ
ミングになっている。この最適タイミングで同一のクロ
ックによってラッチされたデータが出力データ3a、3
bとして出力される。
Due to the control voltages generated by the control circuits 8a and 8b, the variable delay circuit outputs 13a and 13b insert delays of (φa + half clock cycle) and (clock half cycle−φb) with respect to the input data 1a and 1b, respectively. Therefore, the variable delay circuits 13a and 13b have the same phase, and the change point is located at the falling edge of the inverted receiving clock 21 obtained by inverting the receiving clock 19 by the inverter 20. This is the optimum timing when the flip-flops 9a and 9b latch the signal with the inverted receiving clock 21. The data latched by the same clock at the optimum timing is output data 3a, 3a.
Output as b.

【0040】この実施の形態によれば、入力信号の位相
関係によらず複数の入力信号を同一の受信側の位相を有
するクロックによって最適なラッチタイミングでラッチ
できるという効果を奏する。
According to this embodiment, there is an effect that a plurality of input signals can be latched at an optimum latch timing by a clock having the same phase on the receiving side irrespective of the phase relation of the input signals.

【0041】なお、位相比較回路と制御回路を増設する
ことにより、2系統以上のチャネルに対応できることは
いうまでもない。
It is needless to say that by adding a phase comparison circuit and a control circuit, it is possible to cope with two or more channels.

【0042】実施の形態5.図8はこの発明の別の実施
の形態を示すインターコネクション回路の構成図であ
り、チャネルaとチャネルbの2系統の信号を入力し、
それぞれ入力データ1a、1b、入力クロック2a、2
b、一定周期毎にデータのフレーム先頭を示す入力フレ
ームパルス22a、22bを入力して、出力データ3
a、出力データ3bおよび出力クロック4を得るもので
ある。
Embodiment 5 FIG. FIG. 8 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention, in which signals of two systems of channel a and channel b are inputted,
Input data 1a, 1b, input clocks 2a, 2a
b, input frame pulses 22a, 22b indicating the beginning of the data frame every fixed period, and output data 3
a, output data 3b and output clock 4 are obtained.

【0043】図8において、図1、図3、図4、図6と
同一符号のものは同一または相当部分を示す。23は入
力フレームパルス22aと入力フレームパルス22bの
位相差を比較する位相比較回路、24a、24bは入力
データをクロックによりシフトするシフトレジスタ、2
5は位相比較回路23の位相差検出結果に基づいてシフ
トレジスタ24a、24bのシフト動作量を制御する制
御回路、6a、6bは制御電圧に対応した遅延量を挿入
する可変遅延回路、7は入力クロック2aと入力クロッ
ク2bを入力し選択制御信号にもとづきそのうちの一方
を選択して出力する選択回路、8は位相比較回路5の位
相比較結果に基づいて可変遅延回路6a、6bに対する
制御電圧を発生しまた選択回路7の出力信号を選択する
選択制御信号を発生する制御回路である。
In FIG. 8, the same reference numerals as those in FIGS. 1, 3, 4, and 6 denote the same or corresponding parts. Reference numeral 23 denotes a phase comparison circuit that compares the phase difference between the input frame pulse 22a and the input frame pulse 22b, and reference numerals 24a and 24b denote shift registers that shift input data by a clock.
5 is a control circuit for controlling the amount of shift operation of the shift registers 24a and 24b based on the phase difference detection result of the phase comparison circuit 23, 6a and 6b are variable delay circuits for inserting a delay amount corresponding to the control voltage, and 7 is an input. A selection circuit 8 which receives the clock 2a and the input clock 2b and selects and outputs one of them based on a selection control signal. A selection circuit 8 generates a control voltage for the variable delay circuits 6a and 6b based on the phase comparison result of the phase comparison circuit 5. And a control circuit for generating a selection control signal for selecting an output signal of the selection circuit 7.

【0044】次に、図8に示したインターコネクション
回路の動作を説明する。まず、入力フレームパルス22
a、22bは位相比較回路23へ入力され、位相比較回
路23は入力フレームパルス22aと入力フレームパル
ス22bの位相を比較し、その位相差に対応した検出電
圧26を発生する。すなわち、入力フレームパルス22
aを基準とした入力フレームパルス22bの位相進み量
または位相遅れ量に対応した検出電圧26を発生する。
この検出電圧26は、入力フレームパルス22aと入力
フレームパルス22bのどちらにどれだけ位相遅れがあ
るかを示す。
Next, the operation of the interconnection circuit shown in FIG. 8 will be described. First, the input frame pulse 22
The signals a and 22b are input to a phase comparison circuit 23. The phase comparison circuit 23 compares the phases of the input frame pulse 22a and the input frame pulse 22b, and generates a detection voltage 26 corresponding to the phase difference. That is, the input frame pulse 22
A detection voltage 26 corresponding to the phase lead amount or the phase delay amount of the input frame pulse 22b with reference to a is generated.
The detection voltage 26 indicates which of the input frame pulse 22a and the input frame pulse 22b has a phase delay.

【0045】制御回路25は、位相比較回路23の検出
結果から、フレームパルス22a、22bのうち位相進
みがある方に対応する入力データに対しシフトレジスタ
24a、24bが位相差分のシフト量を与えるようなシ
フト制御信号27a、27bを発生させ、他方の入力デ
ータに対してはシフトレジスタ24a、24bがシフト
させないようなシフト制御信号27a、27bを発生さ
せる。ここで、シフトレジスタ出力28a、28bの位
相差は1クロック周期以内にすることができる。次に、
実施の形態1に示した方法により、1クロック周期以下
の位相ずれを揃えフリップフロップ9a、9bにおいて
同一のクロックによってラッチされたデータが出力デー
タ3a、3bとして出力される。
The control circuit 25 determines from the detection result of the phase comparison circuit 23 that the shift registers 24a and 24b give the shift amount of the phase difference to the input data corresponding to the frame pulse 22a or 22b having the leading phase. And the shift registers 24a and 24b generate shift control signals 27a and 27b for the other input data. Here, the phase difference between the shift register outputs 28a and 28b can be made within one clock cycle. next,
According to the method shown in the first embodiment, data latched by the same clock in flip-flops 9a and 9b with the phase shift of one clock cycle or less are output as output data 3a and 3b.

【0046】この実施の形態によれば、入力信号の位相
関係によらず、また、1クロック周期以上の位相差を有
する複数の入力信号を、同一のクロックによって最適な
ラッチタイミングでラッチできるという効果を奏する。
According to this embodiment, a plurality of input signals having a phase difference of one clock cycle or more can be latched at the optimum latch timing by the same clock regardless of the phase relationship of the input signals. To play.

【0047】なお、位相比較回路、シフトレジスタを増
設し、選択回路を多入力のものにし、制御回路で増設し
た位相比較回路に対応する制御をすることにより、2系
統以上のチャネルに対応できることはいうまでもない。
It should be noted that it is possible to cope with two or more channels by adding a phase comparison circuit and a shift register, making the selection circuit a multi-input circuit, and performing control corresponding to the added phase comparison circuit by a control circuit. Needless to say.

【0048】[0048]

【発明の効果】第1の発明によれば、入力信号の位相進
みと位相遅れを検出し、各入力データに最適な遅延を挿
入し、また、ラッチするクロックを選択できるようにし
たため、入力信号の位相の進み遅れ関係によらず複数の
入力信号を同一のクロックによって最適なラッチタイミ
ングでラッチできるという効果を奏する。
According to the first aspect of the present invention, the phase advance and the phase delay of the input signal are detected, the optimum delay is inserted into each input data, and the clock to be latched can be selected. Irrespective of the phase advance / delay relationship, a plurality of input signals can be latched at the optimal latch timing by the same clock.

【0049】また、第2の発明によれば、遅延挿入する
データを選択するようにしたので、入力信号の位相の進
み遅れ関係によらず複数の入力信号を同一のクロックに
よって最適なラッチタイミングでラッチでき、また、遅
延手段を削減できるという効果を奏する。
According to the second aspect of the present invention, data to be inserted with a delay is selected, so that a plurality of input signals can be optimally latched by the same clock regardless of the lead / lag relationship of the phase of the input signal. There is an effect that latch can be performed and delay means can be reduced.

【0050】また、第3の発明によれば、基準とする信
号に対し固定量の遅延を挿入し、その他の信号に対し可
変遅延を挿入するようにしたので、入力信号の位相の進
み遅れ関係によらず複数の入力信号を同一のクロックに
よって最適なラッチタイミングでラッチでき、また、可
変遅延回路を削減でき制御回路の制御を簡略化できると
いう効果を奏する。
According to the third aspect of the present invention, a fixed amount of delay is inserted into the reference signal and a variable delay is inserted into the other signals. Regardless, a plurality of input signals can be latched at the optimal latch timing by the same clock, and the effects of reducing the number of variable delay circuits and simplifying the control of the control circuit can be obtained.

【0051】また、第4の発明によれば、受信側のクロ
ックに対する位相比較と遅延挿入手段を設けたので、入
力信号の位相の進み遅れ関係によらず複数の入力信号を
同一の受信側の位相を有するクロックによって最適なラ
ッチタイミングでラッチできるという効果を奏する。
According to the fourth aspect of the present invention, since the phase comparison with respect to the clock on the receiving side and the delay inserting means are provided, a plurality of input signals can be transmitted to the same receiving side regardless of the lead / lag relationship of the phase of the input signal. There is an effect that latch can be performed at an optimal latch timing by a clock having a phase.

【0052】また、第5の発明によれば、入力信号のフ
レームパルスの位相比較手段と入力クロックによる入力
データの位相シフト手段を設けたので、入力信号の位相
の進み遅れ関係によらず、また、1クロック周期以上の
位相差を有する複数の入力信号を、同一のクロックによ
って最適なラッチタイミングでラッチできるという効果
を奏する。
According to the fifth aspect of the present invention, the phase comparison means for the frame pulse of the input signal and the phase shift means for the input data based on the input clock are provided. This has the effect that a plurality of input signals having a phase difference of one clock cycle or more can be latched at the optimal latch timing by the same clock.

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

【図1】 この発明の一実施の形態を示すインターコネ
クション回路の構成図である。
FIG. 1 is a configuration diagram of an interconnection circuit showing an embodiment of the present invention.

【図2】 図1に示したインターコネクション回路の動
作を示すタイミングチャートである。
FIG. 2 is a timing chart showing an operation of the interconnection circuit shown in FIG.

【図3】 この発明の別実施の形態を示すインターコネ
クション回路の構成図である。
FIG. 3 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention.

【図4】 この発明の別実施の形態を示すインターコネ
クション回路の構成図である。
FIG. 4 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention.

【図5】 図4に示したインターコネクション回路の動
作を示すタイミングチャートである
FIG. 5 is a timing chart showing the operation of the interconnection circuit shown in FIG.

【図6】 この発明の別実施の形態を示すインターコネ
クション回路の構成図である。
FIG. 6 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention.

【図7】 図6に示したインターコネクション回路の動
作を示すタイミングチャートである
7 is a timing chart showing the operation of the interconnection circuit shown in FIG.

【図8】 この発明の別実施の形態を示すインターコネ
クション回路の構成図である。
FIG. 8 is a configuration diagram of an interconnection circuit showing another embodiment of the present invention.

【図9】 位相の異なる信号を受信する際に用いる従来
の位相補正回路である。
FIG. 9 shows a conventional phase correction circuit used when receiving signals having different phases.

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

1 入力データ、2 入力クロック、3 出力データ、
4 出力クロック、5位相比較回路、6 可変遅延回
路、7 選択回路、8 制御回路、9 フリップフロッ
プ、10 検出電圧、11 選択制御信号、12 制御
電圧、13 可変遅延回路出力、14 選択回路、15
選択制御信号、16 選択回路、17固定遅延回路、
18 固定遅延回路出力、19 受信側クロック、20
インバータ、21 反転受信側クロック、22 入力
フレームパルス、23 位相比較回路、24 シフトレ
ジスタ、25 制御回路、26 検出電圧、27 シフ
ト制御信号、28 シフトレジスタ出力、29 自動位
相制御器。
1 input data, 2 input clocks, 3 output data,
Reference Signs List 4 output clock, 5 phase comparison circuit, 6 variable delay circuit, 7 selection circuit, 8 control circuit, 9 flip-flop, 10 detection voltage, 11 selection control signal, 12 control voltage, 13 variable delay circuit output, 14 selection circuit, 15
Selection control signal, 16 selection circuit, 17 fixed delay circuit,
18 Fixed delay circuit output, 19 Receiver clock, 20
Inverter, 21 inverted receiving clock, 22 input frame pulse, 23 phase comparison circuit, 24 shift register, 25 control circuit, 26 detection voltage, 27 shift control signal, 28 shift register output, 29 automatic phase controller.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータを入力するインターコネク
ション回路において、各入力データのクロック相互間の
位相を比較する位相比較手段と、この位相比較手段によ
る位相比較結果に基づいて最も遅れた入力データを特定
入力データとした場合、前記特定入力データのクロック
を基準クロックとして選択するクロック選択手段と、前
記特定入力データ以外の入力データに対して前記位相比
較結果に基づいて最適なタイミングになるように遅延を
付加する遅延手段と、前記基準クロックにより前記の各
入力データをラッチする複数のフリップフロップと、前
記クロック選択手段と前記遅延手段を制御する制御手段
とを備えたことを特徴とするインターコネクション回
路。
In an interconnection circuit for inputting a plurality of data, a phase comparison means for comparing phases of clocks of respective input data with each other, and input data delayed most based on a phase comparison result by the phase comparison means. In the case of the specific input data, a clock selecting means for selecting the clock of the specific input data as a reference clock, and a delay so that an optimum timing is obtained for input data other than the specific input data based on the phase comparison result. An interconnection circuit, comprising: delay means for adding a clock signal; a plurality of flip-flops for latching each of the input data according to the reference clock; and control means for controlling the clock selection means and the delay means. .
【請求項2】 複数のデータを入力するインターコネク
ション回路において、各入力データのクロック相互間の
位相を比較する位相比較手段と、この位相比較手段によ
る位相比較結果に基づいて最も遅れた入力データを特定
入力データとした場合、前記特定入力データのクロック
を基準クロックとして選択するクロック選択手段と、前
記特定入力データ以外の入力データを選択する第1のデ
ータ選択手段と、該第1のデータ選択手段からの入力デ
ータを前記位相比較結果に基づいて最適なタイミングに
なるように遅延を付加する遅延手段と、前記特定の入力
データまたは前記遅延手段から出力された特定データ以
外の入力データのいずれか一方を選択する複数の第2の
入力データ選択手段と、前記基準クロックにより前記複
数の第2の入力データ選択手段からの各出力データをラ
ッチする複数のフリップフロップと、前記クロック選択
手段と前記第1のデータ選択手段と前記遅延手段と前記
第2の入力データ選択手段を制御する制御手段とを備
え、前記第2の選択手段の内の1つは前記特定入力デー
タ選択すると共にこの第2の選択手段以外の第2の選択
手段は遅延手段からの入力データを選択することを特徴
とするインターコネクション回路。
2. An interconnection circuit for inputting a plurality of data, wherein a phase comparing means for comparing phases of clocks of respective input data with each other, and input data which is delayed most based on a phase comparison result by the phase comparing means. When the specific input data is used, clock selecting means for selecting a clock of the specific input data as a reference clock, first data selecting means for selecting input data other than the specific input data, and first data selecting means Delay means for adding a delay so that the input data from the delay unit has an optimal timing based on the phase comparison result; and either the specific input data or input data other than the specific data output from the delay means. And a plurality of second input data selecting means for selecting the plurality of second input data by the reference clock. A plurality of flip-flops for latching each output data from the data selection means, and control means for controlling the clock selection means, the first data selection means, the delay means, and the second input data selection means. Wherein one of the second selecting means selects the specific input data, and the second selecting means other than the second selecting means selects input data from the delay means. circuit.
【請求項3】 複数のデータを入力するインターコネク
ション回路において、複数の入力データの中から特定の
入力データに対して及びこの特定の入力データのクロッ
クに対してすべての入力データ間でとりうる最大の位相
差を遅延させて遅延入力データと基準クロックとを出力
する固定遅延手段と、前記特定入力データ以外の入力デ
ータを遅延量を可変に遅延させる遅延量可変遅延手段
と、前記特定入力データ以外の入力データのクロックと
前記基準クロックとの位相を比較する位相比較手段と、
この位相比較手段からの位相比較結果に基づいて、前記
特定入力データ以外の入力データに対し遅延を挿入する
ように前記遅延量可変遅延手段を制御する制御手段と、
前記基準クロックにより遅延された各入力データをラッ
チする複数のフリップフロップとを備えたことを特徴と
するインターコネクション回路。
3. An interconnection circuit for inputting a plurality of data, wherein a maximum possible value of all input data with respect to a specific input data and a clock of the specific input data is selected from the plurality of input data. Fixed delay means for delaying the phase difference to output delayed input data and a reference clock; delay variable delay means for variably delaying input data other than the specific input data; Phase comparison means for comparing the phase of the input data clock and the reference clock,
Control means for controlling the delay amount variable delay means so as to insert a delay for input data other than the specific input data based on a phase comparison result from the phase comparison means;
An interconnection circuit comprising: a plurality of flip-flops for latching each input data delayed by the reference clock.
【請求項4】 複数のデータを入力するインターコネク
ション回路において、各入力データのクロックと受信側
の基準クロックとの位相を比較する位相比較手段と、こ
の位相比較手段の位相比較結果に基づいて、前記基準ク
ロックよりも位相が進んでいるクロックを持つ入力デー
タに対しては基準クロックの半周期と進んでいる位相分
との合計量を遅延させ、前記基準クロックよりも位相が
遅れているクロックを持つ入力データに対しては基準ク
ロックの半周期から遅れた位相を差し引いた位相分を遅
延させる遅延手段と、この遅延手段を制御する制御手段
と、前記基準クロックにより前記遅延手段の各出力デー
タをラッチする複数のフリップフロップとを備えたこと
を特徴とするインターコネクション回路。
4. An interconnection circuit for inputting a plurality of data, comprising: a phase comparing means for comparing a phase of a clock of each input data with a reference clock on a receiving side; For input data having a clock whose phase is advanced from the reference clock, the total amount of the half cycle of the reference clock and the phase advanced is delayed, and a clock whose phase is delayed from the reference clock is delayed. Delay means for delaying a phase obtained by subtracting a phase delayed from a half cycle of the reference clock for input data having the same; control means for controlling the delay means; and each output data of the delay means by the reference clock. An interconnection circuit comprising a plurality of flip-flops for latching.
【請求項5】 複数のデータを入力するインターコネク
ション回路において、各入力データのデータの先頭を示
すフレームパルス相互の位相を比較するフレームパルス
位相比較手段と、この位相比較手段の位相比較結果に基
づいてデータを遅延させる遅延手段と、前記各入力デー
タの互いのクロックの位相を比較する位相比較手段と、
この位相比較結果に基づいてデータをラッチするクロッ
クを選択する選択手段と、選択されたクロックでラッチ
する際に最適なラッチタイミングになるようにデータに
遅延を挿入する遅延手段と、前記選択手段と前記遅延手
段を制御する制御手段と、選択されたクロックにより遅
延された各入力データをラッチする複数のフリップフロ
ップとを備え、位相の異なる複数の入力データの位相を
揃えて受信することを特徴とするインターコネクション
回路。
5. An interconnection circuit for inputting a plurality of data, wherein a frame pulse phase comparing means for comparing the phases of frame pulses indicating the head of data of each input data with each other, based on a phase comparison result of the phase comparing means. Delay means for delaying the data, and phase comparison means for comparing the phases of the clocks of the input data,
Selecting means for selecting a clock for latching data based on the result of the phase comparison; delay means for inserting a delay into data so as to obtain an optimal latch timing when latching with the selected clock; and Control means for controlling the delay means, and a plurality of flip-flops for latching each input data delayed by a selected clock, receiving a plurality of input data having different phases in phase. Interconnection circuit to perform.
JP8292783A 1996-11-05 1996-11-05 Interconnection circuit Pending JPH10145350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8292783A JPH10145350A (en) 1996-11-05 1996-11-05 Interconnection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8292783A JPH10145350A (en) 1996-11-05 1996-11-05 Interconnection circuit

Publications (1)

Publication Number Publication Date
JPH10145350A true JPH10145350A (en) 1998-05-29

Family

ID=17786287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8292783A Pending JPH10145350A (en) 1996-11-05 1996-11-05 Interconnection circuit

Country Status (1)

Country Link
JP (1) JPH10145350A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6509985B1 (en) 1998-08-07 2003-01-21 Nec Corporation Parallel transmission method and system
JP2004120587A (en) * 2002-09-27 2004-04-15 Matsushita Electric Ind Co Ltd Synchronizing circuit
US7098696B2 (en) 2003-07-31 2006-08-29 Semiconductor Energy Laboratory Co., Ltd. Logic circuit and semiconductor integrated circuit
US7446587B2 (en) 2003-07-31 2008-11-04 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6509985B1 (en) 1998-08-07 2003-01-21 Nec Corporation Parallel transmission method and system
JP2004120587A (en) * 2002-09-27 2004-04-15 Matsushita Electric Ind Co Ltd Synchronizing circuit
US7098696B2 (en) 2003-07-31 2006-08-29 Semiconductor Energy Laboratory Co., Ltd. Logic circuit and semiconductor integrated circuit
US7446587B2 (en) 2003-07-31 2008-11-04 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
US7627773B2 (en) 2003-07-31 2009-12-01 Semiconductor Energy Laboratory Co., Ltd. Logic circuit and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
US5867541A (en) Method and system for synchronizing data having skew
US5794020A (en) Data transfer apparatus fetching reception data at maximum margin of timing
US6262611B1 (en) High-speed data receiving circuit and method
US5621774A (en) Method and apparatus for synchronizing parallel data transfer
US7702945B2 (en) Semiconductor device and communication control method
US5644604A (en) Digital phase selector system and method
US6791360B2 (en) Source synchronous interface using variable digital data delay lines
US6943595B2 (en) Synchronization circuit
US6735732B2 (en) Clock adjusting method and circuit device
JP3125699B2 (en) Data synchronization circuit
US5003561A (en) Process for the reception of a binary digital signal
JPH10145350A (en) Interconnection circuit
US20040047441A1 (en) Source synchronous interface using a dual loop delay locked loop and variable analog data delay lines
JPH0983500A (en) Burst synchronous circuit
JP2730517B2 (en) High-speed data receiving circuit
US6040723A (en) Interface circuit with high speed data transmission
EP0461291A1 (en) Clock generation in a multi-chip computersystem
JPH03240336A (en) Bit phase synchronization circuit
US5294844A (en) Sampling signal generation circuit
JP5378765B2 (en) Data transfer system
KR0175605B1 (en) Connection control logic between utopia synchronous element and non-utopia asynchronous element
JPH09270775A (en) Pn code synchronism pull-in circuit
JP3219651B2 (en) Bit phase synchronization circuit and bit phase synchronization device
KR0172459B1 (en) Method and device for reproducing clock signal
JPH11205101A (en) Phase followup device