JPH0394538A - Data replacement circuit - Google Patents

Data replacement circuit

Info

Publication number
JPH0394538A
JPH0394538A JP1231949A JP23194989A JPH0394538A JP H0394538 A JPH0394538 A JP H0394538A JP 1231949 A JP1231949 A JP 1231949A JP 23194989 A JP23194989 A JP 23194989A JP H0394538 A JPH0394538 A JP H0394538A
Authority
JP
Japan
Prior art keywords
data
phase
output
circuit
terminal
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
JP1231949A
Other languages
Japanese (ja)
Inventor
Hideki Yoshida
秀樹 吉田
Yasubumi Shiromizu
白水 泰文
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 JP1231949A priority Critical patent/JPH0394538A/en
Publication of JPH0394538A publication Critical patent/JPH0394538A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To eliminate the need for complicated constitution such as duplicate constitution of memories or the like or a reset signal generating circuit or a delay circuit by generating a data of positive and reverse phase with a positive reverse phase data generating section and selecting 2 kinds of data. CONSTITUTION:A positive reverse phase data generating section 2 inputs an output at a terminal Q of an F/F circuit 11 to terminals D of 2 F/F circuits 21, 22 to connect the output from the terminal Q to input terminals A, B of a selection circuit 31 respectively. The output of the terminal Q of the F/F circuits 21, 22 is data having positive and negative half phase difference. A phase comparison section 5 receives an output signal at an output terminal Y of a selection circuit 32 and an in-station clock and compares them and outputs a phase coincidence signal when they are coincident. The switching operation is executed by the selection circuit 31 with the phase coincidence signal to switch the positive reverse phase of the output data and outputs the result, then a stored data is outputted as an in-station data in matching with the in-station phase by the in-station clock.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、局内の位相とは独立した伝送路等からの受信
データを誤り無く局内の位相へ乗せ替えるデータ乗せ替
え回路に関する. 〔従来の技術〕 従来、この種のデータ乗せ替え回路は読み書き両用メモ
リに書き込みアドレスを指定して書き込みを行うととも
に読み出し側は読み出しアドレスを指定して読み出しを
行い且つデータ保護のために二重配置方式となっていた
.また、エラスティックメモリを使用する場合、書き込
みクロ・ノクと書き込みリセット信号がシリアルデータ
を書き込み、読み出しは読み出しクロックと読み出しリ
セット信号とが行ない、データ保護のために位相比較回
路を有し、位相比較回路の出力が書き込み側に有する遅
延回路の切り替えを制御していた.〔発明が解決しよう
とする課題〕 上述した従来のデータ乗せ替え回路は、読み書き両用メ
モリを使用する場合アドレス指定のためのカウンタ回路
が書き込み側読み出し側両者で必要となり、且つダブル
バッファ方式のために読み書き両用メモリが物理的に二
つ必要となるtf4戒となっているので、実装スペース
を多幅に取られるという問題点があった。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer circuit that transfers received data from a transmission line, etc., which is independent of the phase within the station, to the phase within the station without error. [Prior Art] Conventionally, this type of data transfer circuit performs writing by specifying a write address in a read/write memory, and performs reading by specifying a read address on the read side, and double arrangement is used for data protection. It was a method. In addition, when using elastic memory, the write clock and write reset signal write serial data, the read clock and read reset signal perform reading, and a phase comparison circuit is provided to protect the data. The output of the circuit controlled the switching of the delay circuit on the write side. [Problems to be Solved by the Invention] In the conventional data transfer circuit described above, when a read/write memory is used, a counter circuit for address specification is required on both the writing side and the reading side, and because of the double buffer system, Since the TF4 standard requires two physical read/write memories, there is a problem in that a large amount of mounting space is required.

また同様に、エラスティックメモリを使用する場合、書
き込みリセット信号および読み出しリセット信号の発生
回路、並びに位相比較回路およびディレイ回路を必要と
する楕或となっているので、上述の読み書き両用メモリ
の場合と同様に実装スペースを多幅に取られるという問
題点があった. 本発明の目的は、上記問題点を解決したデータ乗せ替え
回路を提供することにある。
Similarly, when using elastic memory, it requires a write reset signal and read reset signal generation circuit, as well as a phase comparator circuit and a delay circuit. Similarly, there was the problem that a large amount of implementation space was taken up. An object of the present invention is to provide a data transfer circuit that solves the above problems.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデータ乗せ替え回路は、それぞれ伝送路データ
を局内の位相に合わせ局内データとして出力するデータ
乗せ替え回路において、伝送路データを入力してそれぞ
れ1/2位相ずれた二つのデータを発生させる正逆位相
データ発生部と、この正逆位相の二つのデータを入力し
位相一致信号を受信したとき出力を一方のデータから他
方のデータへ切り替えると共に出力中のデータの位相を
も出力する選択部と、この選択部が出力する位相を局内
クロックの位相とを比較し一致したとき位相一致信号を
出力する位相比較部とを有する。
The data transfer circuit of the present invention inputs transmission line data and generates two pieces of data with a 1/2 phase shift, respectively, in the data transfer circuit that adjusts each transmission line data to the phase within the station and outputs it as intra-station data. A positive and negative phase data generation unit, and a selection unit that inputs the two data of the positive and negative phases and switches the output from one data to the other data when a phase matching signal is received, and also outputs the phase of the data currently being output. and a phase comparison section that compares the phase output by the selection section with the phase of the local clock and outputs a phase matching signal when they match.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す機能ブロック図である
FIG. 1 is a functional block diagram showing one embodiment of the present invention.

第1図において、本回路は伝送路データラッチ部,正逆
位相データ発生部2,選択部3,局内データラッチ部4
,および位相比較部5を有する。
In FIG. 1, this circuit includes a transmission line data latch section, a positive/inverse phase data generation section 2, a selection section 3, and an in-office data latch section 4.
, and a phase comparator 5.

伝送路データラッチ部1はフリツプフロツプ(以下F/
F )回路11、正逆位相データ発生部2はF/F回路
21・22およびインバータ23、選択部3は選択回路
31・32、また局内データラッチ部4はF/F回路4
1、によりそれぞれ構成される。
The transmission line data latch unit 1 is a flip-flop (hereinafter referred to as F/
F) The circuit 11, the forward/reverse phase data generation section 2 is the F/F circuit 21, 22 and the inverter 23, the selection section 3 is the selection circuit 31, 32, and the local data latch section 4 is the F/F circuit 4.
1, respectively.

伝送路データラッチ部1は並列変換されたnビットの伝
送路データをF/F回路l1の端子Dに入力し伝送路ク
ロックにより正位相で一時蓄積される.正逆位相データ
発生部2はF/F回路11の端子Qの出力を二つのF/
F回路21・22の端子Dへ入力し、端子Qからの出力
をそれぞれ選択回路31の入力端子A−Bへ接続する。
The transmission line data latch unit 1 inputs parallel-converted n-bit transmission line data to the terminal D of the F/F circuit l1, and temporarily stores it in positive phase using the transmission line clock. The forward/reverse phase data generator 2 converts the output of the terminal Q of the F/F circuit 11 into two F/F circuits.
The input signal is input to the terminal D of the F circuits 21 and 22, and the output from the terminal Q is connected to the input terminal A-B of the selection circuit 31, respectively.

伝送路クロックはF/F回路22の端子Cおよびインバ
ータ23に入力し、インバータ23の出力はF/F回路
21の端子Cに接続するので、F/F回路21・22の
端子Qの出力は相互に正逆の1/2位相差を有するデー
タとなる。選択部3の選択回路31は入力端子A−Bの
それぞれにF/F回路21・22それぞれの端子Qを接
続し、位相比較部5が出力する位相一致信号により端子
A−Bの一方から他方へ出力端子Yへの接続替えを実行
する.選択回路32も入力端子A−BのそれぞれはF/
F回路21・22の端子Cへの入力を接続するので、出
力端子Yからの出力信号は選択回路31の出力データの
位相に一致する。局内データラッチ部4は選択回路31
の出力端子YでF/F回路41の入力端子Dに接続し、
入力データを一時蓄積し、局内クロックを端子Cで入力
するとき出力端子Qから蓄積データを局内データとして
出力する。位相比較部5は選択回路32の出力端子Yの
出力信号と局内クロックとを入力して比較し、一致した
とき位相一致信号を出力する。
The transmission line clock is input to the terminal C of the F/F circuit 22 and the inverter 23, and the output of the inverter 23 is connected to the terminal C of the F/F circuit 21, so the output of the terminal Q of the F/F circuits 21 and 22 is The data has a 1/2 phase difference between forward and reverse. The selection circuit 31 of the selection section 3 connects the terminals Q of the F/F circuits 21 and 22 to each of the input terminals A-B, and selects one terminal A-B from the other according to the phase matching signal outputted from the phase comparison section 5. Execute the connection change to output terminal Y. In the selection circuit 32, each of the input terminals A-B is F/
Since the inputs to the terminals C of the F circuits 21 and 22 are connected, the output signal from the output terminal Y matches the phase of the output data of the selection circuit 31. The local data latch section 4 is a selection circuit 31
Connect the output terminal Y of the F/F circuit 41 to the input terminal D of the F/F circuit 41,
Input data is temporarily accumulated, and when the internal clock is inputted at terminal C, the accumulated data is outputted from output terminal Q as internal data. The phase comparator 5 inputs and compares the output signal of the output terminal Y of the selection circuit 32 and the local clock, and outputs a phase matching signal when they match.

この位相一致信号で選択回路31が切り替え動作を実行
して出力データの正逆位相を切替え出力するので、この
出力データを局内データラッチ部4が一時蓄積し、局内
クロックによって局内位相に合わせて、この蓄積データ
を局内データとして出力する。
With this phase matching signal, the selection circuit 31 performs a switching operation to switch and output the positive and negative phases of the output data, so this output data is temporarily stored in the station data latch section 4 and adjusted to the station phase using the station clock. This accumulated data is output as internal data.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、正逆位相データ発生部に
より正逆位相のデータを発生させ、この2種類のデータ
を選択してメモリ等の二重化構戒、またはリセット信号
発生回路および遅延回路などの複雑な構或を不要とし簡
略化できる効果がある。
As explained above, the present invention generates data of positive and negative phases by a positive and negative phase data generating section, and selects these two types of data to create a duplex structure for memory, etc., or for a reset signal generation circuit and a delay circuit. This has the effect of eliminating the need for a complicated structure and simplifying it.

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

第1図は本発明のデータ乗せ替え回路の一実施例を示す
機能ブロック図である。 1・・・伝送路データラッチ部、2・・・正逆位相デー
タ発生部、3・・・選択部、4・・・局内データラッチ
部、5・・・位相比較部。
FIG. 1 is a functional block diagram showing an embodiment of the data reassignment circuit of the present invention. DESCRIPTION OF SYMBOLS 1... Transmission line data latch section, 2... Positive/inverse phase data generation section, 3... Selection section, 4... Internal data latch section, 5... Phase comparison section.

Claims (1)

【特許請求の範囲】[Claims] 伝送路データを局内の位相に合わせ局内データとして出
力するデータ乗せ替え回路において、伝送路データを入
力してそれぞれ1/2位相ずれた二つのデータを発生さ
せる正逆位相データ発生部と、この正逆位相の二つのデ
ータを入力し、位相一致信号を受信したとき出力を一方
のデータから他方のデータへ切り替えると共に出力中の
データの位相をも出力する選択部と、この選択部が出力
する位相を局内クロックの位相とを比較し一致したとき
位相一致信号を出力する位相比較部とを有することを特
徴とするデータ乗せ替え回路。
In a data transfer circuit that adjusts the transmission line data to the internal phase of the station and outputs it as internal data, there is a forward and reverse phase data generation section that inputs the transmission line data and generates two data with a 1/2 phase shift, and a A selection section that inputs two data of opposite phases and switches the output from one data to the other data when a phase matching signal is received, and also outputs the phase of the data being output, and the phase that this selection section outputs. 1. A data transfer circuit comprising: a phase comparison section that compares the phase of the internal clock with the phase of the local clock and outputs a phase matching signal when they match.
JP1231949A 1989-09-06 1989-09-06 Data replacement circuit Pending JPH0394538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1231949A JPH0394538A (en) 1989-09-06 1989-09-06 Data replacement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1231949A JPH0394538A (en) 1989-09-06 1989-09-06 Data replacement circuit

Publications (1)

Publication Number Publication Date
JPH0394538A true JPH0394538A (en) 1991-04-19

Family

ID=16931592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1231949A Pending JPH0394538A (en) 1989-09-06 1989-09-06 Data replacement circuit

Country Status (1)

Country Link
JP (1) JPH0394538A (en)

Similar Documents

Publication Publication Date Title
JP2000099193A (en) Device and method for synchronization, and interface circuit
KR20070108331A (en) A semiconductor memory
US5878281A (en) Synchronous serial data transfer device
JPH0394538A (en) Data replacement circuit
GB2254754A (en) Time switch speech-store module
JPH10257034A (en) Unit for switching without short break
KR970004890B1 (en) Circuit for preventing slip in light data link apparatus
KR100293438B1 (en) Apparatus for generating continuous data frames in serial communication process between processors of cdma mobile communication exchange
JPS6234438A (en) Elastic store memory circuit
JPH01147648A (en) Data memory device
JPH0690657B2 (en) Clock switching circuit
JPH01208791A (en) Semiconductor storage circuit
KR100199190B1 (en) Data acquisition logic
JPH0758732A (en) Bit buffer circuit
JPH02158234A (en) Burst signal synchronous multiplexing device
JPH02228141A (en) Multiple synchronizing circuit
JPH0661076B2 (en) Data transfer device
KR20010035969A (en) Apparatus for synchronization between CPU and external devices in keyphone system
JPH08329670A (en) Semiconductor device
JPH05324516A (en) Speed conversion circuit
JPH0650851B2 (en) Frame aligner
JPH0455964A (en) Terminal equipment
JPH04362818A (en) Transmission line interface system
JPH0396034A (en) Advance priority selection circuit
JP2000207287A (en) Storage device