[go: up one dir, main page]

JPS62256033A - Memory circuit - Google Patents

Memory circuit

Info

Publication number
JPS62256033A
JPS62256033A JP61100008A JP10000886A JPS62256033A JP S62256033 A JPS62256033 A JP S62256033A JP 61100008 A JP61100008 A JP 61100008A JP 10000886 A JP10000886 A JP 10000886A JP S62256033 A JPS62256033 A JP S62256033A
Authority
JP
Japan
Prior art keywords
clock
signal
circuit
counter
memory
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
JP61100008A
Other languages
Japanese (ja)
Inventor
Kenichi Nomura
健一 野村
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 JP61100008A priority Critical patent/JPS62256033A/en
Publication of JPS62256033A publication Critical patent/JPS62256033A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • G06F5/10Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor having a sequence of storage locations each being individually accessible for both enqueue and dequeue operations, e.g. using random access memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2205/00Indexing scheme relating to group G06F5/00; Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F2205/06Indexing scheme relating to groups G06F5/06 - G06F5/16
    • G06F2205/061Adapt frequency, i.e. clock frequency at one side is adapted to clock frequency, or average clock frequency, at the other side; Not pulse stuffing only

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To easily constitute a memory circuit to make synchronize two signals having the same bit rates on the average, with the clock of the signal on one side, and to make a process into high speed, by using a voltage controlled type oscillation circuit for the initialization of the readout counter of a memory. CONSTITUTION:By comparing the operating phases of a write counter 5, and a readout counter 7 at a phase comparison circuit 8, a voltage controlled type oscillation circuit 9 changes a frequency of output clock (k) so as to set a phase difference appropriately. After signals A and B are inputted to the memory circuit, a PLL circuit including the oscillation circuit 9, etc., performs a phase adjustment between the write counter 5, and the readout counter 7. And after the lapse of a time required for the phase adjustment, a reading out clock (rc) is switched the clock (cb) of the signal B at a readout clock switching circuit 11 by a timer circuit 10, and after that, the write counter 5 is operated by the clock (cb) of the signal B, and the data (da) of the signal A is read out as the data synchronized with the clock (cb) of the signal B. Also, a switching means between the third clock (k) and the clock (cb) of the second signal B consists of the switching circuit 11, and the timer circuit 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデジタル通信分野のメモリ回路に関し、特に平
均的に同一のビットレートをもつ2つり信号を、一方の
信号のクロックに同期させるようにしたメモリ回路に関
する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a memory circuit in the field of digital communications, and particularly to a memory circuit for synchronizing two signals having the same average bit rate with the clock of one signal. The present invention relates to a memory circuit.

〔従来の技術〕[Conventional technology]

従来のこうしたメモリ回路は、例えば第2図に示すよう
に、端子1からの信号Aのデータdaを、°端子4から
の信号Bのクロックcbに同期させる。
In such a conventional memory circuit, data da of a signal A from a terminal 1 is synchronized with a clock cb of a signal B from a terminal 4, for example, as shown in FIG.

信号人のデータdaおよび信号AのクロックCaがそれ
ぞれ端子1,2から入力されると、信号AのクロックC
aにより動作する書込みカウンタ5の状態に応じたメモ
リ60位置に、信号Aのデータdaが書込まれる。
When the data da of the signal person and the clock Ca of the signal A are input from terminals 1 and 2, respectively, the clock C of the signal A
The data da of the signal A is written to the memory 60 location corresponding to the state of the write counter 5 operated by the signal A.

一方、続出しカウンタ7には信号Bのクロックcbが端
子4から加えられ、読出しカウンタ7に応じて、メモリ
6より信号BK同期した信号Aのデータdabが、メモ
リ回路の出力データとして端子3より読出される。
On the other hand, the clock cb of the signal B is applied to the readout counter 7 from the terminal 4, and the data dab of the signal A synchronized with the signal BK is sent from the memory 6 from the terminal 3 as the output data of the memory circuit in accordance with the read counter 7. Read out.

しかし、信号Aと信号Bとは平均的には同一のビットレ
ートであっても、過渡的には異なるため、信号人のクロ
ックCaで動作する書込みカウンタ5により、書込まれ
るメモリ6の位置と、信号Bのクロックcbで動作する
読出しカウンタ7により読出されるメモリ6の位置とは
、離れたり近づいたりをくり返し【おり、極端な場合に
は書込みカウンタ5により新しいデータを書込む前に%
読出しカウンタ7が一度読んだデータを再び読んだり、
読出しカランタフがデータを読出す前に、書込みカウン
タ5が新しいデータに書きかえてしまうことが生ずる。
However, even if the signal A and signal B have the same bit rate on average, they differ transiently, so the write counter 5 operating with the signal person's clock Ca determines the location of the memory 6 to be written. , the position of the memory 6 read out by the read counter 7 operated by the clock cb of the signal B repeatedly moves away from and approaches the position of the memory 6, and in extreme cases, the position of the memory 6 is repeatedly moved away from and approached by the write counter 5.
Read the data once read by the read counter 7,
It may happen that the write counter 5 is rewritten with new data before the read counter reads the data.

これを防ぐには、信号Aと信号Bのクロックca、cb
の変動を吸収するのに十分なビット数のメモリを用いる
とともに、書込みカウンタと読出しカウンタの位相を適
正に11整する必要がある′。
To prevent this, clocks ca and cb of signal A and signal B should be
It is necessary to use a memory with a sufficient number of bits to absorb fluctuations in the number of bits, and to adjust the phases of the write counter and read counter appropriately.

そこで、書込みカウンタ5と読出しカウンタ7との動作
する位相を位相比較回路8で検出し、位相判断回路12
で位相を調整する必要があるかどうかを判断して、位相
調整が終るまで、タイマ回路130周期でクロック停止
回路14により、信号Bのクロックcbを1ビツトずつ
停止させる動作をくり返していた。
Therefore, the operating phase of the write counter 5 and the read counter 7 is detected by the phase comparison circuit 8, and the phase judgment circuit 12
It is determined whether the phase needs to be adjusted or not, and the clock stop circuit 14 repeatedly stops the clock cb of the signal B bit by bit every 130 cycles of the timer circuit until the phase adjustment is completed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のメモリ回路は、メモリの読出しカウンタ
を1.ピット遅らせて、書込みカウンタと読出しカウン
タとの位相比較を行なう操作を、両カウンタの位相がA
周期ずれるまでくり返すため、2つの信号を一方の信号
のクロックに同期させるのに必要とする時間が長くなる
と〜・う欠点がある。
The conventional memory circuit described above has a memory read counter of 1. The phase comparison between the write counter and the read counter is performed by delaying the pit until the phase of both counters is A.
Since this process is repeated until the period is shifted, there is a drawback that the time required to synchronize the two signals with the clock of one signal becomes long.

本発明の目的は、メモリの読出しカウンタの初期設定に
電圧制御形発振回路を用いることKより、平均的には同
一のピットレートの2つの信号を、一方の信号のクロッ
クに同期させることが、容易かつ高速忙行えるメ七す回
路を提供するととKある。
An object of the present invention is to use a voltage-controlled oscillator circuit for initializing a memory read counter, and to synchronize two signals having the same pit rate on average with the clock of one signal. We aim to provide a system circuit that can be easily and quickly operated.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のメモリ回路は、第1の信号のデータを該第1の
信号のクロックによってメモリに書き込み、該メモリに
書き込まれた前記第1の信号のデータを第2のクロック
によって読み出すメモリ回路において、前記第1の信号
のクロックを前記読み出し用の第2のクロッグ、、’i
’o位相差に応じて10.、、、=、j 周波数が変化する第3のクロックを送出する発振回路と
、前記読出し用の第2のブロックとして最初は前記第3
のクロックを送出すると共に、そののち第2の信号のク
ロックに切り換えて送出する切替手段と、を備えている
ことを特徴する。したがって、容易かつ高速に、平均的
には同一のピットレートの2つの信号を一方のりpツク
に同期させることができる。
A memory circuit of the present invention writes data of a first signal to a memory using a clock of the first signal, and reads data of the first signal written to the memory using a second clock. The clock of the first signal is set to the second clock for reading, 'i
'o Depending on the phase difference 10. ,,,=,j An oscillation circuit that sends out a third clock whose frequency changes, and an oscillation circuit that sends out a third clock whose frequency changes, and
It is characterized by comprising a switching means that transmits the clock of the second signal and then switches to and transmits the clock of the second signal. Therefore, it is possible to easily and quickly synchronize two signals having the same pit rate on average to one of the signals.

〔実 施 例〕〔Example〕

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

第1図は、本発明による一実施例を示すブロック図であ
る。第1図に示すよ5に、メモリ6には第1の信号Aの
データdaの入力端子l、および書込みカウンタ5を介
在して信号AのクロックCaの入力端子2が接続される
と共に、読出しカウンタ7およびメモリ回路出力データ
の出力端子3が接続されている。
FIG. 1 is a block diagram showing one embodiment according to the present invention. As shown in FIG. 1, an input terminal 1 for data da of the first signal A and an input terminal 2 for the clock Ca of the signal A are connected to the memory 6 via the write counter 5. A counter 7 and an output terminal 3 for memory circuit output data are connected.

書込みカウンタ5および読出しカウンタ7が位相比較回
路8に接続され、該比較回路80位相差信号が電圧制動
形の発振回路9に出力されるように接続されている。
A write counter 5 and a read counter 7 are connected to a phase comparator circuit 8, and the comparator circuit 80 is connected so that a phase difference signal is outputted to a voltage damped oscillation circuit 9.

読出しクロックの切替回路11には、第2の信号Bのク
ロックcbを入力する入力端子4およびタイマ回路10
が接続されるとともに、電圧制御形の発振回路9の出力
が入力され、続出し用の第2のクロックreを読出しカ
ウンタ7に出力するように接続されている。
The read clock switching circuit 11 includes an input terminal 4 for inputting the clock cb of the second signal B and a timer circuit 10.
is connected, the output of the voltage-controlled oscillation circuit 9 is input, and the second clock re for successive reading is output to the read counter 7.

上述の実施例は、読出しカランタフに入力される第2の
クロックrcが書込みカウンタ5と読出しカウンタ7と
の位相調整が終るまで、電圧制御形の発振回路9の第3
のクロックにであり、位相調整が終了して初めて第2の
信号Bのり四ツクcbが加えられることである。
In the above-mentioned embodiment, the second clock rc input to the readout clock rc is applied to the third clock of the voltage-controlled oscillation circuit 9 until the phase adjustment between the write counter 5 and the read counter 7 is completed.
The second signal B is added to the clock signal Cb only after the phase adjustment is completed.

次に動作たついて説明する。書込みカウンタ5ならびに
読出しカウンタ7の動作する位相が、位相比較回路8で
比較されると、電圧制御形の発振回路9は位相差が適当
となるように出力クロックにの周波数を変化させる。
Next, the operation will be explained. When the operating phases of the write counter 5 and the read counter 7 are compared by the phase comparison circuit 8, the voltage controlled oscillation circuit 9 changes the frequency of the output clock so that the phase difference becomes appropriate.

メモリ回路に信号Aと信号Bとが入力されてから、書込
みカラ/り5と読出しカウンタ7との位相調整を、発振
回路9などを含むPLL回路が行なうのKmする時間が
経過したのち、タイマ回路10により、続出しクロック
の切替回路11で読出し用クロックrcを信号Bのクロ
ックcbK切替えたあとは、書込みカウンタ7は信号B
のクロックcbにより動作し、信号人のデータdaは信
号BのクロックcbK同期したデータdとして読み出さ
れる。
After a time period of Km has elapsed since signals A and B are input to the memory circuit, the PLL circuit including the oscillation circuit 9 adjusts the phase between the write color/return 5 and the read counter 7. After the circuit 10 switches the read clock rc to the clock cbK of the signal B in the continuous clock switching circuit 11, the write counter 7 switches to the clock cbK of the signal B.
The data da of the signal person is read out as data d synchronized with the clock cbK of the signal B.

なお切替回路11ならびにタイマ回路10は、第3のク
ロックにと第2の信号Bのクロックcbとの切替手段を
構成している。
Note that the switching circuit 11 and the timer circuit 10 constitute means for switching between the third clock and the clock cb of the second signal B.

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

以上説明したように本発明は、メモリの読出しカウンタ
の初期設定に電圧制御形の発振回路を用いることによっ
て、平均的には同一のビットレートの2つの信号を、一
方の信号のクロックに同期させるメモリ回路を、簡単に
構成できると共に、高速にできる効果がある。
As explained above, the present invention synchronizes two signals having the same bit rate on average with the clock of one signal by using a voltage-controlled oscillator circuit for the initial setting of a memory read counter. This has the effect that the memory circuit can be configured easily and at high speed.

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

第1図は本発明による一実施例を示すブロック図、第2
図は従来例を示すブロック図である。 1・・・データ入力端子、  2・・・クロック入力端
子、3・・・データ出力端子、  4・・・クロック入
力端子、5・・・書込みカウンタ、  6・・・メ  
モ  リ、7・・・読出しカウンタ、 8・・・位相比
較回路。 9・・・電圧制御形発振回路、  10・・・タ イ 
マ 回 路、11・・・読出しクロック切替回路。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a block diagram showing a conventional example. 1...Data input terminal, 2...Clock input terminal, 3...Data output terminal, 4...Clock input terminal, 5...Write counter, 6...Member
Memory, 7... Readout counter, 8... Phase comparison circuit. 9...Voltage controlled oscillation circuit, 10...Tie
Ma circuit, 11... Read clock switching circuit.

Claims (1)

【特許請求の範囲】 第1の信号のデータを該第1の信号のクロックによつて
メモリに書き込み、該メモリに書き込まれた前記第1の
信号のデータを第2のクロックによって読み出すメモリ
回路において、 前記第1の信号のクロックと前記読み出し用の第2のク
ロックとの位相差に応じて、周波数が変化する第3のク
ロックを送出する発振回路と、前記読出し用の第2のク
ロックとして、最初は前記第3のクロックを送出すると
共に、そののち第2の信号のクロックに切り換えて送出
する切替手段と、を備えていることを特徴とするメモリ
回路。
[Scope of Claim] In a memory circuit that writes data of a first signal to a memory using a clock of the first signal, and reads data of the first signal written to the memory using a second clock. , an oscillation circuit that sends out a third clock whose frequency changes according to a phase difference between the first signal clock and the second reading clock, and the second reading clock; A memory circuit characterized in that it is provided with a switching means that first transmits the third clock and then switches to and transmits the clock of the second signal.
JP61100008A 1986-04-28 1986-04-28 Memory circuit Pending JPS62256033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61100008A JPS62256033A (en) 1986-04-28 1986-04-28 Memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61100008A JPS62256033A (en) 1986-04-28 1986-04-28 Memory circuit

Publications (1)

Publication Number Publication Date
JPS62256033A true JPS62256033A (en) 1987-11-07

Family

ID=14262532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61100008A Pending JPS62256033A (en) 1986-04-28 1986-04-28 Memory circuit

Country Status (1)

Country Link
JP (1) JPS62256033A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006041999A (en) * 2004-07-28 2006-02-09 Seiko Instruments Inc System and method for transmitting/receiving data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006041999A (en) * 2004-07-28 2006-02-09 Seiko Instruments Inc System and method for transmitting/receiving data
JP4498048B2 (en) * 2004-07-28 2010-07-07 エスアイアイ・ネットワーク・システムズ株式会社 Data transmission / reception system and data transmission / reception method

Similar Documents

Publication Publication Date Title
US4805198A (en) Clock multiplier/jitter attenuator
JP2002217715A (en) Multiple input phase locked loop with hitless reference switching
US5150386A (en) Clock multiplier/jitter attenuator
US4154985A (en) Interface circuit for digital telephone facilities
JPH0292021A (en) Digital pll circuit
US4804928A (en) Phase-frequency compare circuit for phase lock loop
JPS62256033A (en) Memory circuit
JPH027737A (en) Dual tracking phase locking loop circuit
JPH0221724A (en) Phase locked loop circuit
JPH02166919A (en) Digital PLL method
JPS6128220A (en) Synchronizing circuit
JPH04246939A (en) Stuff jitter suppressing circuit
JPS60191535A (en) Phase lock loop synchronization method
SU1674245A1 (en) Data reading channel synchronizer
JP2519887Y2 (en) Phase locked oscillator
JPS6117636Y2 (en)
JP2611246B2 (en) Instantaneous interruption synchronous switching device
JPH04230136A (en) Apparatus for suppressing phase jitters
JPH01175416A (en) Digital phase-locked loop circuit
JP2615843B2 (en) Digital PLL circuit
JPH029227A (en) Clock recovery circuit
JPH04175023A (en) Retiming clock replacing circuit
JPS63271514A (en) Switching circuit for clock signal
JPS59208932A (en) Digital phase comparator
JPS6111509B2 (en)