JPH04278746A - Intra-system serial data receiving circuit - Google Patents
Intra-system serial data receiving circuitInfo
- Publication number
- JPH04278746A JPH04278746A JP3041452A JP4145291A JPH04278746A JP H04278746 A JPH04278746 A JP H04278746A JP 3041452 A JP3041452 A JP 3041452A JP 4145291 A JP4145291 A JP 4145291A JP H04278746 A JPH04278746 A JP H04278746A
- Authority
- JP
- Japan
- Prior art keywords
- data
- selector
- cycle
- read
- input
- 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
Links
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 230000001934 delay Effects 0.000 abstract description 3
- 230000000630 rising effect Effects 0.000 abstract description 2
- 239000006185 dispersion Substances 0.000 abstract 1
- 230000003111 delayed effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は装置内シリアルデータ伝
送回路に関し、特に装置内のユニット間で伝送されるシ
リアルデータを受信するための装置内シリアルデータ受
信回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an in-device serial data transmission circuit, and more particularly to an in-device serial data receiving circuit for receiving serial data transmitted between units in an apparatus.
【0002】0002
【従来の技術】従来のこの種の装置内シリアルデータ受
信回路では、受信データをリタイミングするブロックの
位相を予め設定しておき、データ読取りを行なっている
。2. Description of the Related Art In a conventional in-device serial data receiving circuit of this type, the phase of a block for retiming received data is set in advance, and data is read.
【0003】0003
【発明が解決しようとする課題】上述した従来のシリア
ルデータ受信回路では、読取りタイミングずれによる誤
りを防ぐため、位相設定したクロックを各ユニットへ分
配するゲート回路やユニット間ケーブルなどでのクロッ
ク遅延のばらつき、ユニット間でシリアルデータを伝送
するゲート回路やユニット間ケーブルによるデータ遅延
のばらつきを、厳しく管理する必要があり、設計および
製作時に多大な工数を要するという問題点がある。[Problems to be Solved by the Invention] In the conventional serial data receiving circuit described above, in order to prevent errors due to read timing deviations, it is necessary to reduce clock delays in gate circuits that distribute phase-set clocks to each unit, cables between units, etc. There is a problem in that it is necessary to strictly control variations in data delay due to gate circuits and inter-unit cables that transmit serial data between units, and a large number of man-hours are required during design and manufacturing.
【0004】0004
【課題を解決するための手段】本発明の装置内シリアル
データ受信回路はシリアルの受信データおよびこれの読
取りタイミングを指示するクロック信号を受けて前記受
信データを前記クロック信号の読取りタイミングで読取
る第1の読取り回路と、前記受信データを前記クロック
信号から半周期ずらしたタイミングで読取る第2の読取
り回路と、前記第1および第2の読取り回路の各読取り
データのうちの一方を選択出力する第1のセレクタと、
前記受信データをそれぞれ前記クロック信号から4分の
1周期および4分の3周期ずらしたタイミングで読取る
第3および第4の読取り回路と、前記第3および第4の
読取り回路の両読取データを比較して両者が一致してい
るか否かに応じて前記第1のセレクタの選択を制御する
第1の制御手段とを備えている。Means for Solving the Problems The in-device serial data receiving circuit of the present invention receives serial received data and a clock signal instructing the reading timing thereof, and reads the received data at the reading timing of the clock signal. a second reading circuit that reads the received data at a timing shifted by half a cycle from the clock signal; and a first reading circuit that selectively outputs one of the read data of the first and second reading circuits. and a selector of
Comparing third and fourth reading circuits that read the received data at timings shifted by one quarter period and three quarters from the clock signal, respectively, and the read data of both the third and fourth reading circuits. and a first control means for controlling the selection of the first selector depending on whether or not the two match.
【0005】[0005]
【実施例】次に本発明について図面を参照して説明する
。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.
【0006】図1は本発明の一実施例のブロック図であ
る。受信データは、フリップフロップ11,13,14
,16へ送られており、入力クロックは遅延器31、イ
ンバータ21、フリップフロップ13へ送られている。
遅延器31は、入力クロックを1/4周期遅延して、イ
ンバータ22、フリップフロップ14へ送る。従ってイ
ンバー22での反転出力は、入力クロックを3/4周期
遅延したものとなる。またインバータ21の反転出力は
、入力クロックを半周期ずらした逆相クロックになる。FIG. 1 is a block diagram of one embodiment of the present invention. The received data is sent to flip-flops 11, 13, 14.
, 16, and the input clock is sent to a delay device 31, an inverter 21, and a flip-flop 13. The delay device 31 delays the input clock by 1/4 period and sends it to the inverter 22 and the flip-flop 14. Therefore, the inverted output from the inverter 22 is the input clock delayed by 3/4 period. Further, the inverted output of the inverter 21 becomes a reverse phase clock obtained by shifting the input clock by half a cycle.
【0007】フリップフロップ14は受信データを1/
4周期遅延した入力クロックでリタイミングし、フリッ
プフロップ15はこれを更に半周期遅延させるようリタ
ミングして、フリップフロッム16の読取りタイミング
に合わせる。フリップフロップ16は、受信データを3
/4周期遅延した入力クロックでリタイミングする。デ
ータ比較回路61は、フリップフロップ15,16の両
リタイミング出力を比較して、一致しているか否かを検
出する。一致(不一致)ならば、受信データの変化点が
入力(逆相)クロックの立上りに近い位相にあるとみな
し、セレクタ41に対し、逆相(入力)クロックでリタ
イミングするフリップフロップ11(13)の出力デー
タを選択するよう、セレクタ制御回路71から制御をか
ける。[0007] The flip-flop 14 converts the received data into 1/
Retiming is performed using an input clock delayed by four periods, and the flip-flop 15 retimes this to further delay it by a half period to match the reading timing of the flip-flop 16. The flip-flop 16 converts the received data into 3
Retiming is performed using an input clock delayed by /4 cycles. The data comparison circuit 61 compares both retiming outputs of the flip-flops 15 and 16 to detect whether they match. If there is a match (mismatch), it is assumed that the change point of the received data is in a phase close to the rising edge of the input (reverse phase) clock, and the flip-flop 11 (13) retimes the selector 41 using the reverse phase (input) clock. Control is applied from the selector control circuit 71 to select the output data.
【0008】セレクタ41の出力データは、フリップフ
ロップ17、18で1クロック周期ずつずらされてセレ
クタ42へ与えられるとともに、パターンチェック回路
51〜53へ送られる。パターンチェック回路51〜5
3はおのおの、送信側でデータの空ビットに挿入された
チェック用パタンと照合して、これと一致しているもの
をセレクタ42で選択させるよう、セレクタ制御回路7
2から制御させる。この選択制御により、データあるい
はクロックのタイミングジッタ等に起因して出力データ
中に読み飛ばしや二重読取りによるビットずれが生じる
のを、防止できる。The output data of the selector 41 is shifted by one clock period by flip-flops 17 and 18 and is applied to the selector 42, and is also sent to pattern check circuits 51-53. Pattern check circuits 51-5
3 is a selector control circuit 7 so as to check the check pattern inserted into the empty bit of the data on the transmitting side and cause the selector 42 to select the one that matches the check pattern.
Control from 2. This selection control can prevent bit shifts from occurring in output data due to skipped reading or double reading due to data or clock timing jitter or the like.
【0009】[0009]
【発明の効果】以上説明したように本発明は、正相およ
び逆相のクロックの中間タイミングのリタイミングデー
タを比較してデータ変化点が正相および逆相クロックの
読取りタイミングのいずれに近いかを判別した上で、デ
ータ変化点から離れている方の読取りタイミングでリタ
イミングした方のデータを選択し、更にこれを1クロッ
ク同期ずつずらした複数のデータ中からチェック用パタ
ーンの一致するデータを選択することにより、出力デー
タ中のビットずれを防止することができるとともに、ク
ロックおよびデータの伝送系の遅延のばらつきを考慮す
る必要を無くすることができるという効果を有する。As explained above, the present invention compares retiming data at intermediate timings of positive-phase and negative-phase clocks to determine whether the data change point is closer to the read timing of the positive-phase or negative-phase clocks. After determining this, select the data that is retimed at the read timing that is farther away from the data change point, and then select the data that matches the check pattern from among the multiple data that are shifted by one clock synchronization. This selection has the effect of being able to prevent bit shifts in output data and eliminating the need to take into account variations in delay in the clock and data transmission systems.
【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the invention.
11〜18 フリップフロップ
21,22 インバータ
31 遅延器
41,42 セレクタ
51〜53 パターンチェック回路61
データ比較回路
71,72 セレクタ制御回路11-18 Flip-flops 21, 22 Inverter 31 Delay devices 41, 42 Selectors 51-53 Pattern check circuit 61
Data comparison circuits 71, 72 Selector control circuit
Claims (2)
取りタイミングを指示するクロック信号を受けて前記受
信データを前記クロック信号の読取りタイミングで読取
る第1の読取り回路と、前記受信データを前記クロック
信号から半周期ずらしたタイミングで読取る第2の読取
り回路と、前記第1および第2の読取り回路の各読取り
データのうちの一方を選択出力する第1のセレクタと、
前記受信データをそれぞれ前記クロック信号から4分の
1周期および4分の3周期ずらしたタイミングで読取る
第3および第4の読取り回路と、前記第3および第4の
読取り回路の両読取データを比較して両者が一致してい
るか否かに応じて前記第1のセレクタの選択を制御する
第1の制御手段とを備えていることを特徴とする装置内
シリアルデータ受信回路。1. A first reading circuit that receives serial received data and a clock signal instructing its read timing, and reads the received data at the read timing of the clock signal; a second reading circuit that reads data at shifted timing; a first selector that selectively outputs one of the read data of the first and second reading circuits;
Comparing third and fourth reading circuits that read the received data at timings shifted by one quarter period and three quarters from the clock signal, respectively, and the read data of both the third and fourth reading circuits. and a first control means for controlling selection of the first selector depending on whether or not the two match.
ック用パターンを挿入してあり、前記第1のセレクタの
選択出力データを前記クロック信号の1周期分ずつずら
して複数の読取りデータを作る遅延手段と、この遅延手
段からの複数の前記読取りデータのうちの1つを選択出
力する第2のセレクタと、前記遅延手段からの複数の前
記読取りデータ中の前記チェック用パターンの出現タイ
ミングを検出しこれに応じて前記第2のセレクタの選択
を制御する第2の制御手段とを備えている請求項1記載
の装置内シリアルデータ受信回路。2. A delay unit having a check pattern inserted into empty bits in the received data, and generating a plurality of read data by shifting the selected output data of the first selector by one cycle of the clock signal. a second selector for selectively outputting one of the plurality of read data from the delay means; and a second selector for detecting the appearance timing of the check pattern among the plurality of read data from the delay means. 2. The in-device serial data receiving circuit according to claim 1, further comprising second control means for controlling selection of said second selector in accordance with said second selector.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3041452A JPH04278746A (en) | 1991-03-07 | 1991-03-07 | Intra-system serial data receiving circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3041452A JPH04278746A (en) | 1991-03-07 | 1991-03-07 | Intra-system serial data receiving circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04278746A true JPH04278746A (en) | 1992-10-05 |
Family
ID=12608774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3041452A Pending JPH04278746A (en) | 1991-03-07 | 1991-03-07 | Intra-system serial data receiving circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04278746A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9497018B2 (en) | 2012-11-28 | 2016-11-15 | Mitsubishi Electric Corporation | Relay device, communication system and relay method |
-
1991
- 1991-03-07 JP JP3041452A patent/JPH04278746A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9497018B2 (en) | 2012-11-28 | 2016-11-15 | Mitsubishi Electric Corporation | Relay device, communication system and relay method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100546971B1 (en) | A data capture method for high speed signaling | |
US6671753B2 (en) | Elastic interface apparatus and method therefor | |
EP0688447B1 (en) | De-skewer for serial data bus | |
US5359630A (en) | Method and apparatus for realignment of synchronous data | |
RU2213992C2 (en) | Wavefront pipeline dynamic interface and its operating process | |
JPH02168754A (en) | Clock skew correcting | |
US20030099253A1 (en) | Apparatus and method for arbitrating data transmission amongst devices having SMII standard | |
EP1946475B1 (en) | Data interface and method of seeking synchronization | |
JP2002169771A (en) | Low latency high speed transmission system | |
US7839963B2 (en) | Isochronous synchronizer | |
US5748123A (en) | Decoding apparatus for Manchester code | |
JPH11112485A (en) | Device and method adjusting delay time between plural transmitting lines | |
JP4598872B2 (en) | Timing recovery circuit, communication node, network system, and electronic device | |
JPH04278746A (en) | Intra-system serial data receiving circuit | |
JPS61127243A (en) | Bit phase synchronizing circuit | |
Sawyer | Source-synchronous serialization and deserialization (up to 1050 Mb/s) | |
JP2702257B2 (en) | Bit phase synchronization circuit | |
JP2000196570A (en) | Data transmission device | |
JPH03171945A (en) | Digital system | |
JP2603608B2 (en) | Propagation time difference correction circuit for switched space diversity digital wireless communication. | |
KR100236979B1 (en) | Apparatus for synchronizing cell using the data delay | |
JPH02250535A (en) | Bit phase synchronizing circuit | |
JPH08329000A (en) | Information processor | |
JPH11161600A (en) | Adjustment device and adjustment method for delay time between plural transmission lens | |
JP2001244920A (en) | Synchronizing circuit between devices |