JP3031249B2 - Parallel data phase synchronization circuit - Google Patents

Parallel data phase synchronization circuit

Info

Publication number
JP3031249B2
JP3031249B2 JP8165412A JP16541296A JP3031249B2 JP 3031249 B2 JP3031249 B2 JP 3031249B2 JP 8165412 A JP8165412 A JP 8165412A JP 16541296 A JP16541296 A JP 16541296A JP 3031249 B2 JP3031249 B2 JP 3031249B2
Authority
JP
Japan
Prior art keywords
parallel data
signal
data
synchronization
circuit
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.)
Expired - Fee Related
Application number
JP8165412A
Other languages
Japanese (ja)
Other versions
JPH1013398A (en
Inventor
純一 土田
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 JP8165412A priority Critical patent/JP3031249B2/en
Publication of JPH1013398A publication Critical patent/JPH1013398A/en
Application granted granted Critical
Publication of JP3031249B2 publication Critical patent/JP3031249B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は並列データ位相同期
回路に関し、特に伝送路の遅延時間差や入力側と出力側
とのデータ転送速度の差を吸収して並列データ間の同期
をとるための並列データ位相同期回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel data phase synchronizing circuit, and more particularly to a parallel data phase synchronizing circuit for synchronizing parallel data by absorbing a delay time difference in a transmission line and a difference in data transfer speed between an input side and an output side. The present invention relates to a data phase synchronization circuit.

【0002】[0002]

【従来の技術】一般に、並列データ伝送においては、こ
れ等並列データの各々を伝送する各伝送路間の遅延時間
差や、入力側と出力側とのデータ転送速度の差を吸収し
て、これ等並列データ間の位相同期をとることが必要と
なる。特に、並列コンピュータのクラスタ間のデータ転
送方式において、この並列データ間の位相同期が必要で
ある。
2. Description of the Related Art In general, in parallel data transmission, a delay time difference between respective transmission lines for transmitting each of these parallel data and a difference in data transfer speed between an input side and an output side are absorbed. It is necessary to synchronize phases between parallel data. In particular, in a data transfer method between clusters of parallel computers, phase synchronization between the parallel data is required.

【0003】この様な並列データ間の位相同期回路の例
として、特開平3−149331号公報に開示のものが
ある。この例においては、入力側と出力側とのデータ転
送速度の差を吸収するためのハードウェアとして、先入
れ先出し方式のFIFOメモリが用いられている。この
回路のブロック図を図6に引用して示している。
An example of such a phase synchronization circuit between parallel data is disclosed in Japanese Patent Application Laid-Open No. 3-149331. In this example, a FIFO memory of a first-in first-out method is used as hardware for absorbing a difference in data transfer speed between an input side and an output side. A block diagram of this circuit is shown in FIG.

【0004】図6を参照すると、送信回路1と受信回路
2との間において、n個(nは2以上の整数)の並列デ
ータが、各伝送路121〜12nを介して転送される場
合が示されている。送信回路1はn個のCMI符号化部
(COD)101〜10nと、n個のトランスミッタ
(TR)111〜11nと、周期T毎にフレーム信号を
発生するフレーム発生部(FGN)10とにより構成さ
れ、入力端子SD1〜SDnにはクロックCK1に同期
して転送すべきデータが並列に供給される。
Referring to FIG. 6, between a transmitting circuit 1 and a receiving circuit 2, n (n is an integer of 2 or more) parallel data may be transferred via each of transmission lines 121 to 12n. It is shown. The transmission circuit 1 includes n CMI encoding units (COD) 101 to 10n, n transmitters (TR) 111 to 11n, and a frame generation unit (FGN) 10 that generates a frame signal for each cycle T. The data to be transferred is supplied in parallel to the input terminals SD1 to SDn in synchronization with the clock CK1.

【0005】受信回路2はn個のレシーバ(RC)21
〜2nと、n個のビット同期部(BSYN)31〜3n
と、n個のCMI復号化部(DEC)41〜4nと、n
個の位相同期部(PSYN)51〜5nとからなり、伝
送路121〜12nから受信されたn個のCMI符号化
信号を復号化して、クロックCK2により互いに位相同
期をとった後n個の並列データRD1〜RDnとして出
力するようになっている。
The receiving circuit 2 includes n receivers (RC) 21
To 2n and n bit synchronization units (BSYN) 31 to 3n
And n CMI decoding units (DEC) 41 to 4n, and n
N phase synchronizing units (PSYNs) 51 to 5n, decode n n CMI coded signals received from the transmission lines 121 to 12n, and after synchronizing with each other by the clock CK2, n parallel The data is output as data RD1 to RDn.

【0006】送信回路1では、n本の並列データをクロ
ックCK1の周波数でCMI符号化部101〜10nに
て夫々CMI符号化し、トランスミッタ111〜11n
を夫々介して各伝送路121〜12nへ出力する。この
時、フレーム発生部10では、クロックCK1の周波数
に同期して周期T毎にフレーム信号を生成して符号化部
101〜10nへ出力している。
In the transmission circuit 1, n parallel data are CMI-encoded by the CMI encoding units 101 to 10n at the frequency of the clock CK1, and are transmitted by the transmitters 111 to 11n.
Is output to each of the transmission lines 121 to 12n via the respective transmission lines. At this time, the frame generation unit 10 generates a frame signal every period T in synchronization with the frequency of the clock CK1, and outputs the frame signal to the encoding units 101 to 10n.

【0007】受信回路2では、伝送路121〜12nよ
り入力された並列CMI符号をレシーバ21〜2nにて
夫々受信し、ビット同期部31〜3nへ夫々供給する。
このビット同期部31〜3nでは、各ビット毎にクロッ
クCK2に同期させつつ並列データを出力する。これ等
ビット同期された並列データはCMI復号化部41〜4
nにおいてNRZ信号に夫々変換され、位相同期部51
〜5nへ夫々入力される。
In the receiving circuit 2, the parallel CMI codes input from the transmission lines 121 to 12n are received by the receivers 21 to 2n, respectively, and supplied to the bit synchronization units 31 to 3n, respectively.
The bit synchronization units 31 to 3n output parallel data while synchronizing with the clock CK2 for each bit. These bit-synchronized parallel data are output to the CMI decoding units 41 to 4.
n are converted into NRZ signals, respectively, and
To 5n.

【0008】位相同期部51〜5nは全て同一構成であ
り、図7に位相同期部51のブロック図を示している。
図7を参照すると、位相同期部51は、同期保護回路
(SGD)511と、書込みカウンタ(WCN)512
と、読出しカウンタ(RCN)513と、FIFOメモ
リ514とから構成されている。
The phase synchronizers 51 to 5n all have the same configuration, and FIG. 7 shows a block diagram of the phase synchronizer 51.
Referring to FIG. 7, the phase synchronization unit 51 includes a synchronization protection circuit (SGD) 511 and a write counter (WCN) 512.
, A read counter (RCN) 513, and a FIFO memory 514.

【0009】書込み及び読出しの各カウンタ512,5
13は、同期保護されたフレーム信号によって異なる初
期値“eH”と“gH”とに夫々初期設定されるように
なっている。FIFOメモリ514はクロックCK2の
周期毎に書込みカウンタ512から生成されるアドレス
に復号化部41からの出力データを書込み、読出しカウ
ンタ513から生成されるアドレスからメモリ内容を出
力する。
Write and read counters 512, 5
Numeral 13 is initially set to different initial values "eH" and "gH" depending on the frame signal protected for synchronization. The FIFO memory 514 writes the output data from the decoding unit 41 to the address generated from the write counter 512 every cycle of the clock CK2, and outputs the memory contents from the address generated from the read counter 513.

【0010】以上の構成によって伝送路121〜12n
において互いに位相が異なった並列データを、全て同一
の位相として出力することができるのである。尚、同期
保護回路511の詳細については、上記公報を参照され
たい。
With the above configuration, the transmission lines 121 to 12n
In the above, all the parallel data having different phases can be output as the same phase. For details of the synchronization protection circuit 511, refer to the above publication.

【0011】[0011]

【発明が解決しようとする課題】図6に示した従来の回
路では、n個の並列データ間の位相に合わせるためにN
RZ信号を一度CMI符号に変換して、その符号則によ
り各データ間のスキューを計測する構成であるために、
各データ毎にCMI符号部とCMI復号部とが必要であ
り、ハードウェア量が増加する問題がある。
In the conventional circuit shown in FIG. 6, in order to match the phase between n pieces of parallel data, N
Since the RZ signal is once converted into a CMI code and the skew between each data is measured based on the coding rule,
Since a CMI encoding unit and a CMI decoding unit are required for each data, there is a problem that the amount of hardware increases.

【0012】また、転送データをCMI符号化している
ために、転送周波数が2倍になり、よって伝送路での伝
送効率が低下して高速データ転送には適さないという問
題がある。
[0012] Further, since the transfer data is CMI-encoded, the transfer frequency is doubled, so that the transmission efficiency on the transmission line is reduced, which is not suitable for high-speed data transfer.

【0013】本発明の目的は、並列データ間の伝送路に
よるスキューを、簡単な構成で吸収すると共に、高速デ
ータ転送にも適した並列データ位相同期回路を提供する
ことである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a parallel data phase synchronization circuit suitable for high-speed data transfer while absorbing skew caused by a transmission path between parallel data with a simple configuration.

【0014】[0014]

【課題を解決するための手段】本発明によれば、各々が
同期信号を含むフレームフォーマット化された複数の並
列データを対応伝送路によって伝送して、これ等伝送さ
れた受信並列データ間の伝送遅延変動を吸収して互いに
位相同期した出力並列データとして導出する並列データ
位相同期回路であって、前記受信並列データの各々に夫
々対応して設けられ対応受信並列データを書込み読出し
自在な複数のFIFOメモリと、前記受信並列データの
各々の同期信号を検出して前記メモリの各書込み制御タ
イミング信号を夫々生成する複数の書込み制御手段と、
前記書込み制御タイミング信号の最初の信号を検出して
この最初の信号から所定期間遅延した後のタイミングで
前記メモリの全ての読出しを共通にイネーブル化する読
出しイネーブル信号を生成する読出し制御手段とを含む
ことを特徴とする並列データ位相同期回路が得られる。
According to the present invention, a plurality of frame-formatted parallel data, each containing a synchronization signal, are transmitted by a corresponding transmission line, and the transmission between the received parallel data is transmitted. What is claimed is: 1. A parallel data phase-locked loop circuit which derives output parallel data synchronized with each other by absorbing delay fluctuations, comprising a plurality of FIFOs provided corresponding to each of the reception parallel data and capable of writing and reading corresponding reception parallel data. a memory, a plurality of write control means for respectively generating each write control timing signals of the memory by detecting the synchronization signal of each of the received parallel data,
At the timing after detecting the first signal of the write control timing signal and delaying it for a predetermined period from the first signal ,
Read control means for generating a read enable signal for commonly enabling all reading of the memory , thereby obtaining a parallel data phase locked loop circuit.

【0015】そして、前記読出し制御手段は、予め定め
られた遅延時間を前記所定時間とするように構成されて
いることを特徴としている。
[0015] The read control means is characterized in that a predetermined delay time is set as the predetermined time.

【0016】また、前記読出し制御手段は、前記書込み
制御手段の全ての書込み制御タイミング信号のうち最初
と最後の信号間の時間差を検出する時間差検出手段を有
し、この時間差を前記所定時間とするように構成されて
いることを特徴としている。
Further, the read control means has time difference detection means for detecting a time difference between the first and last signals of all write control timing signals of the write control means, and the time difference is defined as the predetermined time. It is characterized by having such a configuration.

【0017】更に、本発明によれば、各々が同期信号を
含むフレームフォーマット化された複数の並列データを
対応伝送路によって伝送して、これ等伝送された受信並
列データ間の伝送遅延変動を吸収して互いに位相同期し
た出力並列データとして導出する並列データ位相同期回
路であって、前記受信並列データの各々に夫々対応して
設けられ対応受信並列データを書込み読出し自在な複数
FIFOメモリと、前記受信並列データの各々の同期
信号を検出して前記メモリの各書込み制御タイミング信
号を夫々生成する複数の書込み制御手段と、前記同期信
号前記同期信号のうち最初と最後に発生される信号間の
時間差を検出する時間差検出手段と、前記最初に発生さ
れる信号のタイミングから前記時間差に応じた遅延時間
後に前記メモリの全ての読出しを共通にイネーブル化す
る読出しイネーブル信号を生成する読出し制御手段とを
含むことを特徴とする並列データ位相同期回路が得られ
る。
Further, according to the present invention, a plurality of frame-formatted parallel data, each including a synchronization signal, are transmitted by a corresponding transmission path to absorb a transmission delay variation between these received parallel data transmitted. A parallel data phase-locked loop derived as output parallel data phase-synchronized with each other, comprising a plurality of FIFO memories provided corresponding to each of the reception parallel data and capable of writing and reading the corresponding reception parallel data; and A plurality of write control means for detecting a synchronization signal of each of the received parallel data and generating a respective write control timing signal of the memory ; and a time difference between the first and last signals of the synchronization signal. and time difference detecting means for detecting, from the timing of the first signal generated in the memory after a delay time corresponding to the time difference Parallel data phase locked loop circuit characterized in that it comprises Te and read control means for generating a read enable signal to enable a common reading is obtained.

【0018】[0018]

【発明の実施の形態】本発明の作用について述べる。並
列伝送データの各々は同期信号を含むフレームフォーマ
ット化されており、受信側において、この同期信号を夫
々検出することにより、これ等検出同期信号間の最大位
相差を算出し、この最大位相差に基づいて並列データ間
の位相同期を吸収する様、FIFOメモリの読出しタイ
ミングを決定する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The operation of the present invention will be described. Each of the parallel transmission data is formatted into a frame including a synchronization signal, and the receiving side detects the synchronization signal to calculate a maximum phase difference between the detected synchronization signals. Based on this, the read timing of the FIFO memory is determined so as to absorb the phase synchronization between the parallel data.

【0019】この最大位相差の代りに、予め定められた
遅延時間を、最初に検出される同期信号のタイミングに
加えて、FIFOメモリの読出しタイミングを決定する
方式としても良い。
Instead of the maximum phase difference, a predetermined delay time may be added to the timing of the synchronization signal detected first, and the read timing of the FIFO memory may be determined.

【0020】以下に、本発明の実施例について図面を用
いて説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0021】図1は本発明の実施例を示すシステム全体
のブロック図である。図1において、1は送信部であ
り、111〜11nはクロックTCLK1に同期して各
送信データTXD1〜TXDnを入力して送信する送信
回路である。また、2は受信部であり、131〜13n
は送信部1からの送信データを受信してデータよりクロ
ック成分を抽出する受信回路であり、141はクロック
TCLK2によって各データの同期をとるデータ間同期
回路である。121〜12nは送信部1と受信部2との
間をつなぐ伝送路である。
FIG. 1 is a block diagram of the whole system showing an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a transmission unit, and reference numerals 111 to 11n denote transmission circuits which input and transmit each transmission data TXD1 to TXDn in synchronization with a clock TCLK1. Reference numeral 2 denotes a receiving unit, and 131 to 13n
Is a receiving circuit that receives transmission data from the transmission unit 1 and extracts a clock component from the data, and 141 is an inter-data synchronization circuit that synchronizes each data with a clock TCLK2. Reference numerals 121 to 12n denote transmission paths connecting the transmission unit 1 and the reception unit 2.

【0022】送信データのフレームフォーマットは図3
に示す様に同期信号SYNCと有効データ部とからな
り、送信部1のクロックTCLK1に同期している。各
バイト毎に送信回路111〜11nを通って送信データ
TXD1〜TXDnは伝送路121〜12nに出力され
る。
The frame format of the transmission data is shown in FIG.
As shown in (1), it comprises a synchronization signal SYNC and a valid data section, and is synchronized with the clock TCLK1 of the transmission section 1. Transmission data TXD1 to TXDn are output to transmission paths 121 to 12n through transmission circuits 111 to 11n for each byte.

【0023】このデータは受信部2の受信回路131〜
13nで受信され、同期信号が規定の周期で受信された
場合に、同期検出フラグSYNCINと、受信データR
DIと、受信データより抽出した受信クロックRCLK
とがデータ間同期回路141に出力される。
This data is received by the receiving circuits 131 to 131 of the receiving section 2.
13n, and when the synchronization signal is received at a prescribed period, the synchronization detection flag SYNCIN and the reception data R
DI, and a reception clock RCLK extracted from the reception data.
Are output to the inter-data synchronization circuit 141.

【0024】図2は本発明の特徴となるデータ間同期回
路141のブロック図である。図2において、211〜
21nは各データ毎にFIFOメモリ231〜23nへ
のデータの書込みを制御する書込制御回路であり、22
1〜22nはFIFOメモリ231〜23nへデータが
書込まれたことを検出する書込開始検出回路である。
FIG. 2 is a block diagram of the inter-data synchronization circuit 141 which is a feature of the present invention. In FIG.
21n is a write control circuit for controlling the writing of data to the FIFO memories 231 to 23n for each data.
Reference numerals 1 to 22n denote write start detection circuits for detecting that data has been written to the FIFO memories 231 to 23n.

【0025】231〜23nはデータを保持するFIF
Oメモリである。241は各データの書込検出回路の出
力から、n個のデータのうちどのデータが最初にFIF
Oメモリへ書込まれたかを検出するデータ間書込検出回
路であり、251はFIFOメモリからデータの読出し
を制御する読出制御回路であり、261はFIFOメモ
リの読出しアドレスRADRと読出しクロックRCLK
を出力する読出しアドレスカウンタである。
231 to 23n are FIFs for holding data
O memory. 241 indicates which of the n pieces of data is the first
An inter-data write detection circuit for detecting whether data has been written to the O memory, 251 a read control circuit for controlling the reading of data from the FIFO memory, and 261 a read address RADR of the FIFO memory and a read clock RCLK
Is a read address counter.

【0026】データ間同期回路の実施例の動作について
詳細に説明する。受信回路131〜13nから出力され
た受信データRDI1〜RDInは各データの受信クロ
ックRCLKに同期している。受信クロックRCLK1
〜RCLKnは送信部1のクロックTCLK1と同一周
波数で各データ毎に位相の異なるものである。
The operation of the embodiment of the inter-data synchronization circuit will be described in detail. The reception data RDI1 to RDIn output from the reception circuits 131 to 13n are synchronized with the reception clock RCLK of each data. Receive clock RCLK1
RCLKn have the same frequency as the clock TCLK1 of the transmitting unit 1 and have different phases for each data.

【0027】同期検出信号SYNCINを受信すること
により、書込制御回路211〜21nでFIFOメモリ
への書込みクロックWCLKを発生させる。この書込み
クロックを基に、書込制御回路内の書込アドレスカウン
タを動作させてFIFOへの書込みアドレスWADRを
発生させ、指定したアドレスのFIFOメモリ231〜
23n内へ受信データRDIを0番地から順番に書込ん
でいく。書込みアドレスカウンタは同期検出フラグの受
信でリセットされ、有効データ受信の間動作する。
By receiving the synchronization detection signal SYNCIN, the write control circuits 211 to 21n generate a write clock WCLK to the FIFO memory. Based on this write clock, the write address counter in the write control circuit is operated to generate a write address WADR to the FIFO, and the FIFO memories 231 to 231 of the specified address are generated.
The reception data RDI is written into address 23n in order from address 0. The write address counter is reset upon receipt of the synchronization detection flag and operates during reception of valid data.

【0028】書込検出回路221〜22nでは、書込制
御回路内の書込みアドレスカウンタの値が“1”(1番
地)になったことを検出して書込開始フラグWSTFを
出力する。尚、図3のタイムチャートのデータ部におけ
る1,2,3の表示は当該番地を示す。
The write detection circuits 221 to 22n detect that the value of the write address counter in the write control circuit has become "1" (address 1) and output a write start flag WSTF. The indication of 1, 2, 3 in the data section of the time chart of FIG. 3 indicates the address.

【0029】以上の動作は各データの受信クロックに同
期して行われる。すなわちデータ間では非同期で夫々独
立に動作している。
The above operation is performed in synchronization with the reception clock of each data. That is, data operates asynchronously and independently.

【0030】次に読出し動作について説明する。送信部
から出力されたデータは送信回路111〜11n、光フ
ァイバや電気ケーブル等の伝送路121〜12nを経て
受信回路へ到達するが、これ等は同条件で設計しても製
造上のバラツキが生じ、各データ間で遅延時間の差が生
じこれがスキューとなる。この遅延時間差の最大値を送
信回路、伝送線路等の仕様から予め見積もり、これをス
キューT1時間とする。
Next, the read operation will be described. The data output from the transmission unit reaches the reception circuit via transmission circuits 111 to 11n and transmission paths 121 to 12n such as optical fibers and electric cables. However, even if these are designed under the same conditions, manufacturing variations may occur. This causes a difference in delay time between the respective data, which results in skew. The maximum value of the delay time difference is estimated in advance from the specifications of the transmission circuit, the transmission line, and the like, and this is set as the skew T1 time.

【0031】各データの書込開始検出回路から出力され
た書込開始フラグWSTFの論理和(OR)をデータ間
書込開始検出回路241でとり、n個のデータの中のい
ずれかのデータで書込まれたかを検出し出力(BWST
F)する。
The logical sum (OR) of the write start flag WSTF output from the write start detection circuit for each data is taken by the inter-data write start detection circuit 241 and is used as one of the n data. Detects whether data has been written and outputs (BWST
F).

【0032】読出制御回路251では、データ間書込検
出回路で最初の書込みを検出した後、予め見積もったス
キュー値のT1時間遅らせ、読出しイネーブル信号RE
をイネーブルにする。読出しイネーブル信号がイネーブ
ルの間、読出クロックRCLKを出力し、読出クロック
に同期して読出しアドレスカウンタ261を動作させ
る。読出しアドレスは全データ間で共通である。
In the read control circuit 251, after the first write is detected by the inter-data write detection circuit, the read control signal 251 is delayed by T1 of the skew value estimated in advance, and the read enable signal RE is output.
Enable. While the read enable signal is enabled, the read clock RCLK is output, and the read address counter 261 is operated in synchronization with the read clock. The read address is common to all data.

【0033】読出しクロックに同期して、全データ間で
同一の指定されたアドレスのレジスタから同時に読出し
を開始する。読出しクロックは受信部2のクロックTC
LK2と同一周波数であり、送信部のクロックTCLK
1とは異なっても動作上問題ない。
In synchronization with the read clock, reading from the register of the same designated address among all data is simultaneously started. The read clock is the clock TC of the receiver 2.
LK2 has the same frequency as the clock TCLK of the transmitting unit.
There is no operational problem even if it is different from 1.

【0034】以上の動作により、送信部と受信部のクロ
ックの周波数が異なるn個の並列データ転送において、
各データ間で位相の異なるデータを1本の送信クロック
に同期させ、かつデータの始まりを一致させることが可
能となる。これ等動作のタイムチャートを図3に示す。
With the above operation, in n parallel data transfers in which the clock frequencies of the transmitting unit and the receiving unit are different,
It is possible to synchronize the data having different phases among the data with one transmission clock and to match the start of the data. FIG. 3 shows a time chart of these operations.

【0035】次に、第2の実施例について図4を用いて
説明する。第1の実施例では、データ間のスキューT1
は、送信回路,伝送線路等の仕様から予め見積もってい
た。この方法では、実際のスキューが見積もったスキュ
ーT1に比べ十分小さい場合に余分な遅延が生じ、デー
タ転送のスループットが低下するという問題がある。そ
の問題を解決するために、図2のデータ間書込検出回路
241と読出制御回路251との代わりにスキュー測定
回路271を追加する。
Next, a second embodiment will be described with reference to FIG. In the first embodiment, the skew T1 between data
Has been estimated in advance from the specifications of the transmission circuit, the transmission line, and the like. This method has a problem that when the actual skew is sufficiently smaller than the estimated skew T1, an extra delay occurs, and the data transfer throughput decreases. In order to solve the problem, a skew measurement circuit 271 is added instead of the data write detection circuit 241 and the read control circuit 251 of FIG.

【0036】このスキュー測定回路271のブロック図
を図5に示す。401はデータ間の遅延時間差を検出す
る時間差検出回路であり、402は遅延時間を設定する
ためのカウンタ回路であり、403はカウンタ回路40
2の出力を基に遅延を発生させる遅延発生回路である。
FIG. 5 is a block diagram of the skew measuring circuit 271. Reference numeral 401 denotes a time difference detection circuit for detecting a delay time difference between data, 402, a counter circuit for setting a delay time, and 403, a counter circuit 40.
2 is a delay generating circuit for generating a delay based on the output of the second circuit.

【0037】次にスキュー測定回路271の動作につい
て説明する。時間差検出回路401は各データの書込み
開始フラグWSTF1〜WSTFnが最も早いものと遅
いものとの間での到達時間の差を検出し、その間ハイレ
ベルを出力する。カウンタ回路402は時間差検出回路
401の出力がハイレベルの間カウンタを動作させカウ
ントアップする。
Next, the operation of the skew measuring circuit 271 will be described. The time difference detection circuit 401 detects a difference in arrival time between the earliest and latest write start flags WSTF1 to WSTFn of each data, and outputs a high level during that time. The counter circuit 402 operates the counter and counts up while the output of the time difference detection circuit 401 is at a high level.

【0038】遅延発生回路403ではカウンタ回路40
2のカウンタ値より通過するフリップフロップの段数を
セレクタで設定し、最初の書込み開始から測定したスキ
ュー時間分遅らせた後に読出しイネーブル信号をイネー
ブルにし、第1の実施例と同様の読出し動作を行う。
In the delay generation circuit 403, the counter circuit 40
The number of flip-flop stages passing from the counter value of 2 is set by the selector, and after a delay of the skew time measured from the start of the first write, the read enable signal is enabled, and the same read operation as in the first embodiment is performed.

【0039】以上の動作により実際のスキュー時間にあ
った最適な遅延時間を設定することができる。
With the above operation, it is possible to set an optimum delay time that matches the actual skew time.

【0040】尚、図5の時間差検出回路401の入力と
して書込み開始フラグWSTF1〜WSTFnを入力と
して、これ等のうち最初と最後のものとの時間差を検出
しているが、同期検出信号SYNCIN1〜SYNCI
Nnを入力として同様の処理を行っても良い。
The write start flags WSTF1 to WSTFn are input to the time difference detection circuit 401 shown in FIG. 5 to detect the time difference between the first and last of these, but the synchronization detection signals SYNCIN1 to SYNCIN are used.
Similar processing may be performed using Nn as an input.

【0041】[0041]

【発明の効果】第1の効果は、非同期の複数データの並
列データを1つのクロックに同期し、各データ間のデー
タの始まりを一致させて伝送できることである。その理
由は、FIFOメモリを使用してデータ間のスキュー時
間を遅らせた後に読出し動作を開始するからである。
The first effect is that the parallel data of a plurality of asynchronous data can be transmitted in synchronization with one clock, and the start of data between the data is made coincident. The reason is that the read operation is started after the skew time between data is delayed by using the FIFO memory.

【0042】第2の効果は、並列データの同期伝送を従
来技術より少ないハード量で実現できることである。そ
の理由は、従来技術で行っていた送信データの符号化を
行わないためである。
A second effect is that synchronous transmission of parallel data can be realized with a smaller amount of hardware than in the prior art. The reason is that encoding of transmission data, which is performed in the related art, is not performed.

【0043】第3の効果は、従来技術に比べ伝送効率が
上がることである。その理由は、第2の効果と同様に従
来技術が行っていた送信データの符号化を行わないため
である。
A third effect is that the transmission efficiency is increased as compared with the prior art. The reason for this is that, similarly to the second effect, the encoding of the transmission data performed by the conventional technique is not performed.

【0044】第4の効果は、データの書込みから読出し
までの遅延時間を最小にすることが可能なことである。
その理由は、スキュー測定回路で実際のデータ間のスキ
ューを自動で測定しその結果を基に読出しまでの遅延時
間を決定するからである。
A fourth effect is that a delay time from data writing to data reading can be minimized.
The reason is that the skew measurement circuit automatically measures the skew between actual data and determines the delay time until reading based on the result.

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

【図1】本発明の実施例のシステム構成を示す図であ
る。
FIG. 1 is a diagram showing a system configuration according to an embodiment of the present invention.

【図2】図1のデータ間同期回路141の詳細を示すブ
ロック図である。
FIG. 2 is a block diagram showing details of an inter-data synchronization circuit 141 of FIG. 1;

【図3】本発明の実施例の動作を示すタイムチャートで
ある。
FIG. 3 is a time chart showing the operation of the embodiment of the present invention.

【図4】本発明の他の実施例のブロック図である。FIG. 4 is a block diagram of another embodiment of the present invention.

【図5】スキュー測定回路のブロック図である。FIG. 5 is a block diagram of a skew measurement circuit.

【図6】従来技術の動作原理を表す図である。FIG. 6 is a diagram illustrating the operation principle of the related art.

【図7】図6の位相同期部PSYNのブロック図であ
る。
FIG. 7 is a block diagram of a phase synchronization unit PSYN of FIG. 6;

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

1 送信部 2 受信部 111〜11n 送信回路 121〜12n 伝送路 131〜13n 受信回路 141〜14n データ間同期回路 211〜21n 書込制御回路 221〜22n 書込開始検出回路 231〜23n FIFOメモリ 241 データ間書込み検出回路 251 読出制御回路 261 読出しアドレスカウンタ 271 スキュー測定回路 401 時間差検出回路 402 カウンタ回路 403 遅延発生回路 REFERENCE SIGNS LIST 1 transmission unit 2 reception unit 111 to 11n transmission circuit 121 to 12n transmission line 131 to 13n reception circuit 141 to 14n data synchronization circuit 211 to 21n write control circuit 221 to 22n write start detection circuit 231 to 23n FIFO memory 241 data Inter-write detection circuit 251 Read control circuit 261 Read address counter 271 Skew measurement circuit 401 Time difference detection circuit 402 Counter circuit 403 Delay generation circuit

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各々が同期信号を含むフレームフォーマ
ット化された複数の並列データを対応伝送路によって伝
送して、これ等伝送された受信並列データ間の伝送遅延
変動を吸収して互いに位相同期した出力並列データとし
て導出する並列データ位相同期回路であって、 前記受信並列データの各々に夫々対応して設けられ対応
受信並列データを書込み読出し自在な複数のFIFOメ
モリと、 前記受信並列データの各々の同期信号を検出して前記
モリの各書込み制御タイミング信号を夫々生成する複数
の書込み制御手段と、 前記書込み制御タイミング信号の最初の信号を検出して
この最初の信号から所定期間遅延した後のタイミングで
前記メモリの全ての読出しを共通にイネーブル化する読
出しイネーブル信号を生成する読出し制御手段と、 を含むことを特徴とする並列データ位相同期回路。
1. A plurality of frame-formatted parallel data, each including a synchronization signal, are transmitted by a corresponding transmission path, and transmission delay fluctuations between these transmitted reception parallel data are absorbed to perform phase synchronization with each other. A parallel data phase-locked loop derived as output parallel data, comprising a plurality of FIFO memories provided corresponding to each of the reception parallel data and capable of writing and reading corresponding reception parallel data.
Mori and said detecting each synchronization signal of the received parallel data menu
A plurality of write control means for respectively generating each write control timing signals Mori, by detecting the first signal of the write control timing signal at a timing after a predetermined period delayed from the first signal
A read control means for generating a read enable signal for commonly enabling all reading of the memory ; and a parallel data phase synchronization circuit.
【請求項2】 前記読出し制御手段は、予め定められた
遅延時間を前記所定時間とするように構成されているこ
とを特徴とする請求項1記載の並列データ位相同期回
路。
2. The parallel data phase synchronization circuit according to claim 1, wherein said read control means is configured to set a predetermined delay time to said predetermined time.
【請求項3】 前記読出し制御手段は、前記書込み制御
手段の全ての書込み制御タイミング信号のうち最初と最
後の信号間の時間差を検出する時間差検出手段を有し、
この時間差を前記所定時間とするように構成されている
ことを特徴とする請求項1記載の並列データ位相同期回
路。
3. The read control means has a time difference detection means for detecting a time difference between a first signal and a last signal of all write control timing signals of the write control means,
2. The parallel data phase synchronization circuit according to claim 1, wherein said time difference is set to said predetermined time.
【請求項4】 各々が同期信号を含むフレームフォーマ
ット化された複数の並列データを対応伝送路によって伝
送して、これ等伝送された受信並列データ間の伝送遅延
変動を吸収して互いに位相同期した出力並列データとし
て導出する並列データ位相同期回路であって、 前記受信並列データの各々に夫々対応して設けられ対応
受信並列データを書込み読出し自在な複数のFIFOメ
モリと、 前記受信並列データの各々の同期信号を検出して前記
モリの各書込み制御タイミング信号を夫々生成する複数
の書込み制御手段と、 前記同期信号前記同期信号のうち最初と最後に発生され
る信号間の時間差を検出する時間差検出手段と、 前記最初に発生される信号のタイミングから前記時間差
に応じた遅延時間後に前記メモリの全ての読出しを共通
にイネーブル化する読出しイネーブル信号を生成する読
出し制御手段と、 を含むことを特徴とする並列データ位相同期回路。
4. A plurality of frame-formatted parallel data, each including a synchronization signal, are transmitted by a corresponding transmission path, and transmission delay fluctuations between these received parallel data transmitted are absorbed to achieve phase synchronization with each other. A parallel data phase-locked loop derived as output parallel data, comprising a plurality of FIFO memories provided corresponding to each of the reception parallel data and capable of writing and reading corresponding reception parallel data.
Mori and said detecting each synchronization signal of the received parallel data menu
A plurality of write control means for respectively generating each write control timing signals Mori, and time difference detection means for detecting a time difference between the first and last signals generated among the synchronizing signal the synchronizing signal, the first generated And a read control means for generating a read enable signal for commonly enabling all reading of the memory after a delay time corresponding to the time difference from the timing of the signal.
JP8165412A 1996-06-26 1996-06-26 Parallel data phase synchronization circuit Expired - Fee Related JP3031249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8165412A JP3031249B2 (en) 1996-06-26 1996-06-26 Parallel data phase synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8165412A JP3031249B2 (en) 1996-06-26 1996-06-26 Parallel data phase synchronization circuit

Publications (2)

Publication Number Publication Date
JPH1013398A JPH1013398A (en) 1998-01-16
JP3031249B2 true JP3031249B2 (en) 2000-04-10

Family

ID=15811930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8165412A Expired - Fee Related JP3031249B2 (en) 1996-06-26 1996-06-26 Parallel data phase synchronization circuit

Country Status (1)

Country Link
JP (1) JP3031249B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW419924B (en) 1998-02-16 2001-01-21 Nippon Telegraph & Telephone Channel-to-channel skew compensation
JP3201352B2 (en) 1998-07-17 2001-08-20 日本電気株式会社 Synchronization circuit
JP2009105761A (en) 2007-10-24 2009-05-14 Fujitsu Component Ltd Skew adjusting apparatus, transmitting and receiving system and skew adjusting method
JP2010141703A (en) * 2008-12-12 2010-06-24 Nec Corp Circuit and method for transmitting parallel data
JP5889217B2 (en) * 2013-01-22 2016-03-22 日本電信電話株式会社 Sound signal synchronized sound collection and reproduction system and devices constituting the system
JP6313085B2 (en) 2014-03-27 2018-04-18 ルネサスエレクトロニクス株式会社 Semiconductor device

Also Published As

Publication number Publication date
JPH1013398A (en) 1998-01-16

Similar Documents

Publication Publication Date Title
US10038450B1 (en) Circuits for and methods of transmitting data in an integrated circuit
JPH02247709A (en) Method for removing skew
JP3966511B2 (en) Method and system for automatic delay detection and receiver adjustment for synchronous bus interface
JP5532724B2 (en) Interface circuit and semiconductor device having the same
US5864250A (en) Non-servo clock and data recovery circuit and method
US20090323728A1 (en) Asynchronous data fifo that provides uninterrupted data flow
JP3031249B2 (en) Parallel data phase synchronization circuit
US5247485A (en) Memory device
EP1946475B1 (en) Data interface and method of seeking synchronization
US5748123A (en) Decoding apparatus for Manchester code
KR100817270B1 (en) Interface device and method for synchronizing data
US20030161351A1 (en) Synchronizing and converting the size of data frames
US6137851A (en) System and method for synchronizing a signal with respect to another signal
US5179664A (en) Symbol-wide elasticity buffer with a read-only section and a read-write section
EP1317085B1 (en) A method and circuit for initializing a de-skewing buffer in a clock forwarded system
US4964142A (en) Receiver synchronization in encoder/decoder
US5825834A (en) Fast response system implementing a sampling clock for extracting stable clock information from a serial data stream with defined jitter characeristics and method therefor
US7161986B2 (en) Data transmission system and data transmitter/receiver for use therein, and method thereof
JPH0669937A (en) Method and device for correcting delay time difference in loop type transmission line
JP3638769B2 (en) Communication control device
EP3671720B1 (en) Real-time on-chip data transfer system
US7526017B2 (en) Transmitting device, receiving device, transmission system, and transmission method
EP1150451A2 (en) Method and apparatus for initializing a synchronizer
JPH03149931A (en) Phase synchronizing circuit between parallel signals
JP2723078B2 (en) Asynchronous data transmission circuit

Legal Events

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

Free format text: PAYMENT UNTIL: 20080210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090210

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees