JPH02235142A - Control system for data speed conversion circuit - Google Patents

Control system for data speed conversion circuit

Info

Publication number
JPH02235142A
JPH02235142A JP5492989A JP5492989A JPH02235142A JP H02235142 A JPH02235142 A JP H02235142A JP 5492989 A JP5492989 A JP 5492989A JP 5492989 A JP5492989 A JP 5492989A JP H02235142 A JPH02235142 A JP H02235142A
Authority
JP
Japan
Prior art keywords
address
circuit
read
data
clock
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
JP5492989A
Other languages
Japanese (ja)
Inventor
Yutaka Hayashi
豊 林
Keiko Kubo
恵子 久保
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5492989A priority Critical patent/JPH02235142A/en
Publication of JPH02235142A publication Critical patent/JPH02235142A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To convert the speed of data with a minimum delay value by preparing plural detecting circuits, detecting a reading or writing address together with a clock and recognizing the execution of respective operation. CONSTITUTION:A writing address detecting circuit 14 simultaneously detects a writing address generated from a writing address generating circuit 10 and a clock. A reading address detecting circuit 15 simultaneously detects a reading address generated from a reading address generating circuit 12 and a clock. The writing and reading addresses outputted from the circuits 14, 15 are detected by an overflow/underflow detecting circuit 13 and a memory 11 is initialized. Since the clock is simultaneously detected, the writing and reading of data in the detected address area can be recognized and the data speed is converted with the minimum delay value.

Description

【発明の詳細な説明】 概要 書き込みクロックと読み出しクロックの周波数が異なる
メモリ内にデータを一時的に蓄えて、そのデータの速度
変換を行うデータ速度変換回路の制御方式に関し、 最小の遅延量でデータの速度変換を行うことを目的とし
、 書き込みクロックのタイミングと書き込みアドレス発生
回路によるアドレスに従って、データをメモリ内に書き
込み、読み出しクロックのタイミングと読み出しアドレ
ス発生回路によるアドレスに従って、メモリ内のデータ
を読み出し、オーバフロー/アンダフロー検出回路によ
り、データの2度書き、2度読みを検出するデータ速度
変換回路の制御方式において、書き込みアドレス発生回
路による書き込みアドレスと書き込みクロックを同時に
検出する書き込みアドレス検出回路と、読み出しアドレ
ス発生回路による読み出しアドレスと読み出しクロック
を同時に検出する読み出しアドレス検出回路を設け、書
き込みアドレス検出回路から出力された書き込みアドレ
スと、読み出しアドレス検出回路から出力された読み出
しアドレスを、オーバフロー/アンダフロー検出回路に
より検出するように構成する。
[Detailed Description of the Invention] Overview This relates to a control method for a data speed conversion circuit that temporarily stores data in a memory whose write clock and read clock frequencies are different, and converts the data speed with a minimum amount of delay. The purpose of this is to write data into the memory according to the timing of the write clock and the address by the write address generation circuit, read the data in the memory according to the timing of the read clock and the address by the read address generation circuit, In a data speed conversion circuit control method that uses an overflow/underflow detection circuit to detect data writing or reading twice, a write address detection circuit that simultaneously detects a write address and a write clock by a write address generation circuit, and a read A read address detection circuit that simultaneously detects the read address and read clock by the address generation circuit is provided, and the overflow/underflow detection circuit detects the write address output from the write address detection circuit and the read address output from the read address detection circuit. Configure it to be detected by.

産業上の利用分野 本発明は書き込みクロックと読み出しクロックの周波数
が異なるメモリ内にデータを一時的に蓄えて、そのデー
タの速度変換を行うデータ速度変換回路の制御方式に関
する。
INDUSTRIAL APPLICATION FIELD The present invention relates to a control method for a data rate conversion circuit that temporarily stores data in a memory whose write clock and read clock have different frequencies and converts the data rate.

今日、通信サービスの多様化に伴って、音声・画像・デ
ータ等を効率よく信号処理できる通信機器への需要が高
まっている。このような需要に対応するため、従来の集
中スイッチ方式に代わり、多元信号を効率的に処理でき
る分散スイッチ方式が注目され始めている。この分散ス
イッチ方式においては、各種データ端末から送られてく
るデータの速度変換を行うデータ速度変換回路が使用さ
れる。
Today, with the diversification of communication services, there is an increasing demand for communication equipment that can efficiently process signals such as audio, images, and data. In order to meet such demands, distributed switching systems that can efficiently process multiple signals are beginning to attract attention in place of conventional centralized switching systems. This distributed switch system uses a data rate conversion circuit that converts the rate of data sent from various data terminals.

このような中で、データ速度変換回路によるデータの速
度変換を効率よく行うことが要望されている。
Under these circumstances, there is a demand for efficient data rate conversion using a data rate conversion circuit.

従来の技術 第4図は従来のデータ速度変換回路の制御方式のブロッ
ク図を示している。
BACKGROUND OF THE INVENTION FIG. 4 shows a block diagram of a control method for a conventional data rate conversion circuit.

メモリ39において使用するライトクロックとリードク
ロツタの周波数は右互いに異なっている。
The frequencies of the write clock and read clock used in the memory 39 are different from each other.

ライトクロックのタイミングに同期して、ライトアドレ
スにより指定されたメモリ39のアドレスのデータ領域
にデータが書き込まれる。また、リードクロツクのタイ
ミングに同期して、リードアドレスにより指定されたメ
モリ39のアドレスのデータ領域に蓄積されているデー
タが読み出される。
Data is written in the data area of the memory 39 at the address specified by the write address in synchronization with the timing of the write clock. Further, in synchronization with the timing of the read clock, data stored in the data area of the address of the memory 39 specified by the read address is read out.

ライトクロツクの周波数とリードクロツクの周波数がお
互いに異なっていると、メモリ39内のデータの2度書
き(オーバフロー)や2度読み(アンダフロー)が発生
するため、オーバフロー/アンダフロー検出回路40に
より、オーバフロー又はアンダフロー状態が近づいてき
たことを検出して、メモリ39の初期化を行うようにし
ている。よって、ライトアドレスとリードアドレスが接
近スると、このオーバフ口ー/アンダフロー検出回路4
0により、メモリ39の初期化が行われる。例えば、メ
モリ39のアドレスn番地の領域にデータを書き込んで
いるとき、リードアドレスがこのアドレスn番地に近づ
いてきたとすると、オーバフロー/アンダフロー検出回
路40は、ライトアドレスをアドレスn番地から0番地
へ変更するようにメモリ39を制御する。
If the write clock frequency and read clock frequency are different from each other, data in the memory 39 will be written twice (overflow) or read twice (underflow). Alternatively, the memory 39 is initialized by detecting that an underflow state is approaching. Therefore, when the write address and read address get close to each other, this overflow/underflow detection circuit 4
0 initializes the memory 39. For example, when data is being written to the area at address n of the memory 39, if the read address approaches this address n, the overflow/underflow detection circuit 40 changes the write address from address n to address 0. The memory 39 is controlled to change.

発明が解決しようとする課題 しかし、上述したような従来のデータ速度変換回路の制
御方式では、ライトアドレスとリードアドレスのみを比
較して、オーバフロー/アンダフローの検出を行ってお
り、実際のデータの書き込み、読み出しについては認識
していな.い。よって、ライトアドレスとリードアドレ
スがある程度接近してきたら、これを検出して(近接的
アラーム)メモリの初期化を行っていたため、書き込ん
だデータがすぐに読み出されず、データの伝送遅延が大
きくなる傾向にあった。
Problems to be Solved by the Invention However, in the conventional control method of the data rate conversion circuit as described above, overflow/underflow is detected by comparing only the write address and read address, and the actual data I don't know about writing and reading. stomach. Therefore, when the write address and read address get close to some extent, this is detected (proximity alarm) and the memory is initialized, so the written data is not read out immediately and the data transmission delay tends to increase. there were.

本発明はこのよう点に鑑みてなされたものであり、その
目的とするところは、最小の遅延量でデータの速度変換
が行えるデータ速度変換回路の制御方式を提供すること
である。
The present invention has been made in view of these points, and an object thereof is to provide a control system for a data rate conversion circuit that can perform data rate conversion with a minimum amount of delay.

課題を解決するための手段 第1図は本発明の原理、ブロック図である。Means to solve problems FIG. 1 is a block diagram showing the principle of the present invention.

書き込みクロックのタイミングと書き込みアドレス発生
回路10によるアドレスに従って、デー夕をメモリ11
内に書き込み、読み出しクロツクのタイミングと読み出
しアドレス発生回路12によるアドレスに従って、メモ
リ11内のデータを読み出し、オーバフロー/アンダフ
ロー検出回路13により、データの2度書き、2度読み
を検出するデータ速度変換回路の制御方式において、書
き込みアドレス発生回路10による書き込みアドレスと
書き込みクロックを同時に検出する書き込みアドレス検
出回路14と、読み出しアドレス発生回路12による読
み出しアドレスと読み出しクロックを同時に検出する読
み出しアドレス検出回路15を設ける。
The data is transferred to the memory 11 according to the timing of the write clock and the address generated by the write address generation circuit 10.
Data speed conversion that reads the data in the memory 11 according to the timing of the read clock and the address by the read address generation circuit 12, and detects whether the data is written twice or read twice by the overflow/underflow detection circuit 13. In the circuit control system, a write address detection circuit 14 that simultaneously detects the write address and write clock generated by the write address generation circuit 10 and a read address detection circuit 15 that simultaneously detects the read address and read clock generated by the read address generation circuit 12 are provided. .

そして、書き込みアドレス検出回路14から出力された
書き込みアドレスと読み出しアドレス検出回路15から
出力された読み出しアドレスを、オーバフロー/アンダ
フロー検出回路13により検出する。
Then, the overflow/underflow detection circuit 13 detects the write address output from the write address detection circuit 14 and the read address output from the read address detection circuit 15.

4により、書き込みアドレスと書き込みクロックが同時
に検出され、読み出しアドレス検出回路15により、読
み出しアドレスと読み出しクロックが同時に検出される
。よって、この検出したアドレスの領域においてデータ
の書き込み、読み出しが実際に行われていることを認識
することができるため、書き込みアドレスと読み出しア
ドレスが接近してきても、オーバフローやアンダフロー
の状態となら、ない限り、データの書き込み、読み出し
動作を続行することができ、最も遅延量が少ない状態で
データの速度変換を行うことができる。
4, the write address and the write clock are detected simultaneously, and the read address detection circuit 15 detects the read address and the read clock simultaneously. Therefore, it can be recognized that data is actually being written or read in the area of the detected address, so even if the write address and read address are close to each other, if there is an overflow or underflow state, Unless otherwise specified, data writing and reading operations can be continued, and data speed conversion can be performed with the least amount of delay.

書き込みアドレスと読み出しアドレスが一致し且つ書き
込み読み出しが行われ、オーバフローやアンダフローと
なったときは、オーバフ口ー/アンダフロー検出回路1
3により、このオーバフロー/アンダフロー状態が検出
されメモリ11の初期化が行われる。
When the write address and read address match and write/read is performed and an overflow or underflow occurs, the overflow/underflow detection circuit 1 is activated.
3, this overflow/underflow state is detected and the memory 11 is initialized.

作   用 本発明によれば、書き込みアドレス検出回路1実  施
  例 以下本発明を図面に示す実施例に基づいて詳細に説明す
る。
Function According to the present invention, write address detection circuit 1 Embodiment Hereinafter, the present invention will be explained in detail based on an embodiment shown in the drawings.

第2図は本発明によるデータ速度変換回路の制御方式の
一実施例回路図を示している。
FIG. 2 shows a circuit diagram of an embodiment of a control method for a data rate conversion circuit according to the present invention.

メモリ20はフリップ7ロップ回路等から成る記憶回路
21−1〜21−Nにより構成されている。ライトアド
レスカウンタ22はnビットのカウンタ23、nビット
のデコーダ24により構成され、リードアドレスカウン
タ26はnビットのカウンタ27、nビットのデコーダ
28により構成されている。AND回路25−1〜25
−Nは、ライトアドレスとライトクロックのAND論理
をとり、その結果を各記憶回路2l−1〜21−Nに送
出している。AND回路29−1〜29−Nは、リード
アドレスとリードクロックのAND論理をとり、その結
果を各記憶回路21−1〜21−Nに送出シている。オ
ーバフロー/アンダフロー検出回路30に右けるアドレ
ス0番地の検出回路は、フリップフロップ回路(F/F
)3 1〜34及び微分回路41.42により構成され
ている。
The memory 20 is composed of storage circuits 21-1 to 21-N each including a flip-7 flop circuit or the like. The write address counter 22 is composed of an n-bit counter 23 and an n-bit decoder 24, and the read address counter 26 is composed of an n-bit counter 27 and an n-bit decoder 28. AND circuits 25-1 to 25
-N takes the AND logic of the write address and the write clock, and sends the result to each of the storage circuits 2l-1 to 21-N. The AND circuits 29-1 to 29-N perform an AND logic of the read address and the read clock, and send the result to each of the storage circuits 21-1 to 21-N. The detection circuit at address 0 on the right side of the overflow/underflow detection circuit 30 is a flip-flop circuit (F/F
) 3 1 to 34 and differentiating circuits 41 and 42.

アドレスO番地以外の検出回路においてもアドレス0番
地の検出回路と同様の構成であり、これについては図示
していない。OR回路35はアドレス0番地に対応した
フリップフロップ32、34及びアドレス0番地以外に
対応したフリップフロップ(図示せず)から出力される
パルスを微分回路36へ送出している。
The detection circuits at addresses other than address O have the same configuration as the detection circuit at address 0, and are not shown. The OR circuit 35 sends pulses output from the flip-flops 32 and 34 corresponding to address 0 and the flip-flops (not shown) corresponding to addresses other than address 0 to the differentiating circuit 36.

このような構成の動作を第3図のタイムチャートを用い
て説明する。
The operation of such a configuration will be explained using the time chart of FIG.

先ず、メモリ20内にデータ書き込むときの動作につい
て説明する。
First, the operation when writing data into the memory 20 will be explained.

NOT回路37を介したライトクロックはライトアドレ
スクロックとしてカウンタ23のクロック端子へ入力さ
れ、このライトアドレスクロックに同期してカウンタ2
3によるカウントアップが行われ(第3図a点)、この
カウントアップされた値は、デコーダ24により解読さ
れてカウントアップされた値に対応するAND回路25
−1〜25−Nに入力される。これと同時に、ライトク
ロックもAND回路25−1〜25−Nに入力される。
The write clock via the NOT circuit 37 is input to the clock terminal of the counter 23 as a write address clock, and the counter 2 is input in synchronization with this write address clock.
3 is counted up (point a in FIG. 3), and this counted up value is decoded by the decoder 24 and outputted to the AND circuit 25 corresponding to the counted up value.
-1 to 25-N. At the same time, the write clock is also input to the AND circuits 25-1 to 25-N.

例えば、カウンタ23から出力されているライトアドレ
スが0番地のときは、デコーダ24からAND回路25
−1にパルスが送出され、このAND回路25−1から
記憶回路21−1のライト端子(W)にパルスが送出さ
れることにより、データAがこの記憶回路2’l−1(
ライトアドレス0)に格納される《第3図b点》。尚、
本実施例においては、記憶回路21−1の前段に設けら
れたラッチ回路(図示せず》にデータをラッチ(第3図
C点)した後、ライトクロックの立ち上がり時点でその
データを記憶回路21−1にラッチしている。
For example, when the write address output from the counter 23 is address 0, the decoder 24 outputs an AND circuit 25
-1, and a pulse is sent from this AND circuit 25-1 to the write terminal (W) of the memory circuit 21-1, so that data A is transmitted to this memory circuit 2'l-1 (
《Point b in Figure 3》 is stored at write address 0). still,
In this embodiment, after data is latched (point C in FIG. 3) in a latch circuit (not shown) provided in the preceding stage of the memory circuit 21-1, the data is transferred to the memory circuit 21-1 at the rising edge of the write clock. It is latched at -1.

次に、メモリ20内のデータを読み出すときの動作につ
いて説明する。
Next, the operation when reading data in the memory 20 will be explained.

NOT回路38を介したリードクロックはリードアドレ
スクロックとしてカウンタ27のクロック端子へ入力さ
れ、このリードアドレスクロックに同期してカウンタ2
7によるカウントアップが行われ(第3図d点)、この
カウントアップされた値は、デコーダ28により解読さ
れてカウントアップされた値に対応するAND回路29
−1〜29−Nに人力される。これと同時に、リードク
ロックもAND回路29−1〜29−Nに人力される。
The read clock via the NOT circuit 38 is input to the clock terminal of the counter 27 as a read address clock, and the counter 2 is input in synchronization with this read address clock.
7 is counted up (point d in FIG. 3), and this counted up value is decoded by the decoder 28 and outputted to the AND circuit 29 corresponding to the counted up value.
-1 to 29-N are manually operated. At the same time, the read clock is also input manually to the AND circuits 29-1 to 29-N.

例えば、カウンタ27から出力されているリードアドレ
スが0番地のときは、デコーダ28からAND回路29
−1にパルスが送出され、このAND回路29−1から
記憶回路21−1のリード端子(R)にパルスが送出さ
れることにより、記憶回路21−1(ライトアドレス0
)に格納されたデータAが読み出される。(第3図e点
)。
For example, when the read address output from the counter 27 is address 0, the AND circuit 29
-1, and this AND circuit 29-1 sends a pulse to the read terminal (R) of the memory circuit 21-1, thereby causing the memory circuit 21-1 (write address 0
) is read out. (Point e in Figure 3).

また、オーバフ口−/アンダーフロー検出回路30内の
フリップフロップ31、33の入力端子(D端子)には
常時ハイレベルの信号が入力され4ており、且つ出力端
子の初期状態は、フリップフロップ31がローレベル、
フリップフロッフ33がハイレベルとなっている。
Further, a high level signal is always input to the input terminals (D terminals) of the flip-flops 31 and 33 in the overflow/underflow detection circuit 30, and the initial state of the output terminal is the same as that of the flip-flop 31. is low level,
Flip-flop 33 is at a high level.

メモリ20のアドレス0番地にデータを書き込むときは
、AND回路25−1の出力が、F/F31のクロック
端子に人力され、このF/F31の出力信号がハイレベ
ルへ反転する。そして、アドレス0番地のデータを読み
出すときは、AND回路29−1の出力が、F/F33
のクロック端子に入力され、このF/F 3 3の出力
信号がハイレベルへ反転すると共に、このハイレベル信
号がF/F31のリセット端子(R)に入力され、F/
F31の出力がローレベルへ反転する。
When writing data to address 0 of the memory 20, the output of the AND circuit 25-1 is input to the clock terminal of the F/F 31, and the output signal of the F/F 31 is inverted to a high level. Then, when reading the data at address 0, the output of the AND circuit 29-1 is
The output signal of this F/F 33 is inverted to high level, and at the same time, this high level signal is input to the reset terminal (R) of F/F 31,
The output of F31 is inverted to low level.

このように、アドレス0番地において、データを書き込
んだ後の動作が読み出し動作であれば、F/F 3 2
の出力はローレベルままであるが、データを書き込んだ
後の動作が、再び書き込み動作であったとするとく2度
書き)、F/F31のR端子にクロックが人力される前
に、AND回路25−1の出力信号がF/F 3 2の
クロック端子に入力されて、このF/F32からハイレ
ベル信号が出力される。
In this way, if the operation after writing data at address 0 is a read operation, F/F 3 2
The output of the AND circuit 25 remains at a low level, but if the operation after writing the data is a write operation again (for example, writing twice), the AND circuit 25 -1 output signal is input to the clock terminal of F/F 32, and a high level signal is output from this F/F 32.

このハイレベル信号は、OR回路35を介して微分回路
36へ送出されて瞬時パルスとなり、ライトアドレスカ
ウンタ22、リードアドレスカウンタ26及びメモリ2
0.をリセットする(初期化)。この初期化の動作は、
次のライトクロック又はリードクロックが発生する前に
完了させる必要があるため、オーバフロー又はアンダー
フローを検出したときに発生するパルス信号を微分回路
36により微分して瞬時パルスを作成する。これにより
、初期化のためのリセットパルス(瞬時パルス)の動作
は、ライトクロックやリードクロックの動作よりも高速
となる。
This high level signal is sent to the differentiating circuit 36 via the OR circuit 35 and becomes an instantaneous pulse, which is sent to the write address counter 22, read address counter 26 and memory 2.
0. Reset (initialize). The behavior of this initialization is
Since it is necessary to complete the process before the next write clock or read clock is generated, the pulse signal generated when overflow or underflow is detected is differentiated by the differentiating circuit 36 to create an instantaneous pulse. As a result, the operation of the reset pulse (instantaneous pulse) for initialization becomes faster than the operation of the write clock and read clock.

一方、アドレス0番地において、データを読み出した後
の動作が書き込み動作の場合は、F/F33のリセット
端子に、F/F31の出力信号(ハイレベル)が入力さ
れるため、リセットパルスは送出されないが、データを
読み出した後の動作が再び読み出し動作であった場合は
、F/F 33のハイレベル出力信号が、そのままF/
F 3 4にラッチされると共に○R回路35側へ出力
されるため、ライトアドレスカウンタ22、リードアド
レスカウンタ26及びメモリ20がリセットされる。
On the other hand, if the operation after reading data at address 0 is a write operation, the output signal (high level) of F/F 31 is input to the reset terminal of F/F 33, so no reset pulse is sent out. However, if the operation after reading the data is a read operation again, the high level output signal of F/F 33 will be transferred directly to the F/F 33.
Since it is latched by F 3 4 and output to the ○R circuit 35 side, the write address counter 22, read address counter 26, and memory 20 are reset.

例えば、第3図のf点のリードク口ツタのように、アド
レス1番地のデータBを読み出した後、未だ何も書き込
まれていないアドレス2番地のデ一夕を読み出そうとし
た場合(2度読み)は、オーバフロー/アンダフロー検
出回路30のアドレス2番地に対応するF/F (図示
せず)からハイレベル信号が出力される。このハイレベ
ル信号は、○R回路35を介して微分回路36へ送出さ
れてリセットパルス(瞬時パルス》となり(第3図g点
)、ライトアドレスカウンタ22、リードアドレスカウ
ンタ26及びメモリ20をリセットする。
For example, if you try to read data at address 2 to which nothing has been written after reading data B at address 1, as in the case of the read mark at point f in Figure 3 (2 For the overflow/underflow detection circuit 30, a high level signal is output from the F/F (not shown) corresponding to address 2 of the overflow/underflow detection circuit 30. This high-level signal is sent to the differentiating circuit 36 via the ○R circuit 35 and becomes a reset pulse (instantaneous pulse) (point g in Figure 3), which resets the write address counter 22, read address counter 26, and memory 20. .

これにより、ライトアドレス、リードアドレス共に0番
地に設定される。
As a result, both the write address and read address are set to address 0.

発明の効果 本発明のデータ速度変換回路の制御方式は、以上詳述し
たように構成したので、最小のデータ遅延量でデータ速
度変換が行われ、バッファメモリの最適化を図ることが
できると共に、データ伝送の効率向上に寄与するところ
が大きいという効果を奏する。
Effects of the Invention Since the control method of the data rate conversion circuit of the present invention is configured as detailed above, data rate conversion is performed with the minimum amount of data delay, and the buffer memory can be optimized. This has the effect of greatly contributing to improving the efficiency of data transmission.

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

第1図は本発明の原理ブロック図、 第2図は本発明によるデータ速度変換回路の制御方式の
一実施例回路図、 第3図は第2図実施例によるタイムチャート、第4図は
従来のデータ速度変換回路の制御方式のブロック図を示
している。 10・・・書き込みアドレス発生回路、11・・・メモ
リ、 12・・・読み出しアドレス発生回路、13・・・オー
バフ口ー/アンダフロー検出回路、14・・・書き込み
アドレス検出回路、15・・・読み出しアドレス検出回
路、21−1〜21−N・・・記憶回路、 22・・・ライトアドレスカウンタ、 25−1〜25−N,29−1〜29−N・・・AND
回路、 26・・・リードアドレスヵウンタ、 31〜34・・・フリップフロップ回路。
Fig. 1 is a principle block diagram of the present invention, Fig. 2 is a circuit diagram of an embodiment of the control method of the data rate conversion circuit according to the present invention, Fig. 3 is a time chart according to the embodiment of Fig. 2, and Fig. 4 is a conventional one. 2 shows a block diagram of a control method of the data rate conversion circuit of FIG. DESCRIPTION OF SYMBOLS 10... Write address generation circuit, 11... Memory, 12... Read address generation circuit, 13... Overflow/underflow detection circuit, 14... Write address detection circuit, 15... Read address detection circuit, 21-1 to 21-N...Storage circuit, 22...Write address counter, 25-1 to 25-N, 29-1 to 29-N...AND
Circuit, 26... Read address counter, 31-34... Flip-flop circuit.

Claims (1)

【特許請求の範囲】 書き込みクロックのタイミングと書き込みアドレス発生
回路(10)によるアドレスに従って、データをメモリ
(11)内に書き込み、読み出しクロックのタイミング
と読み出しアドレス発生回路(12)によるアドレスに
従って、メモリ(11)内のデータを読み出し、オーバ
フロー/アンダフロー検出回路(13)により、データ
の2度書き、2度読みを検出するデータ速度変換回路の
制御方式において、書き込みアドレス発生回路(10)
による書き込みアドレスと書き込みクロックを同時に検
出する書き込みアドレス検出回路(14)と、 読み出しアドレス発生回路(12)による読み出しアド
レスと読み出しクロックを同時に検出する読み出しアド
レス検出回路(15)を設け、 書き込みアドレス検出回路(14)から出力された書き
込みアドレスと、読み出しアドレス検出回路(15)か
ら出力された読み出しアドレスを、オーバフロー/アン
ダフロー検出回路(13)により検出することを特徴と
するデータ速度変換回路の制御方式。
[Claims] Data is written into the memory (11) according to the timing of the write clock and the address generated by the write address generation circuit (10), and data is written into the memory (11) according to the timing of the read clock and the address generated by the read address generation circuit (12). 11), and an overflow/underflow detection circuit (13) detects whether the data is written twice or read twice.
A write address detection circuit (14) that simultaneously detects the write address and write clock by the read address generation circuit (12) and a read address detection circuit (15) that simultaneously detects the read address and read clock by the read address generation circuit (12) are provided. A control method for a data rate conversion circuit characterized in that an overflow/underflow detection circuit (13) detects a write address output from (14) and a read address output from a read address detection circuit (15). .
JP5492989A 1989-03-09 1989-03-09 Control system for data speed conversion circuit Pending JPH02235142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5492989A JPH02235142A (en) 1989-03-09 1989-03-09 Control system for data speed conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5492989A JPH02235142A (en) 1989-03-09 1989-03-09 Control system for data speed conversion circuit

Publications (1)

Publication Number Publication Date
JPH02235142A true JPH02235142A (en) 1990-09-18

Family

ID=12984314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5492989A Pending JPH02235142A (en) 1989-03-09 1989-03-09 Control system for data speed conversion circuit

Country Status (1)

Country Link
JP (1) JPH02235142A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61296424A (en) * 1985-06-20 1986-12-27 テキサス インスツルメンツインコ−ポレイテツド Method and apparatus for determining state of shift registermemory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61296424A (en) * 1985-06-20 1986-12-27 テキサス インスツルメンツインコ−ポレイテツド Method and apparatus for determining state of shift registermemory

Similar Documents

Publication Publication Date Title
JPH0713926A (en) Buffer control circuit and its operating method
JPH02128267A (en) Communication system by sharing memory
JPH02235142A (en) Control system for data speed conversion circuit
JPH022236A (en) Two-step synchronizer
US5038059A (en) Status register with asynchronous set and reset signals
JPH08316973A (en) Communication processing means
CA2021348C (en) Elastic store memory circuit
US6134288A (en) Apparatus and method for generating a decoding clock signal in response to a period of write and read clock signals
JPS59125141A (en) Buffer memory circuit
JP2867480B2 (en) Memory switching circuit
SU1354191A1 (en) Microprogram control device
KR100338402B1 (en) Memory device and method of controlling the same
JP3354493B2 (en) Serial data transfer device
JPH01269150A (en) Buffering device
JP2556169B2 (en) Clock switching circuit
US6067630A (en) Signal processor
JPH03255714A (en) Latch circuit with reset function
JPH1165728A (en) Bus access circuit
JPH0399344A (en) Control storage circuit
JPS6114597B2 (en)
JPH03125535A (en) Control bus connection circuit
JPH1117772A (en) Data processing method for magnetic card reader
JP2000010850A (en) Memory access system
JPH056336A (en) Method for controlling bus
KR20010035969A (en) Apparatus for synchronization between CPU and external devices in keyphone system