JPH05143283A - Data speed converter - Google Patents

Data speed converter

Info

Publication number
JPH05143283A
JPH05143283A JP3304903A JP30490391A JPH05143283A JP H05143283 A JPH05143283 A JP H05143283A JP 3304903 A JP3304903 A JP 3304903A JP 30490391 A JP30490391 A JP 30490391A JP H05143283 A JPH05143283 A JP H05143283A
Authority
JP
Japan
Prior art keywords
data
read
data buffer
write
buffer
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.)
Withdrawn
Application number
JP3304903A
Other languages
Japanese (ja)
Inventor
Hideshi Maruo
秀史 丸尾
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3304903A priority Critical patent/JPH05143283A/en
Publication of JPH05143283A publication Critical patent/JPH05143283A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide a highly reliable data speed converter to prevent the data in a data buffer from being dissipated. CONSTITUTION:While data buffers 1, 2 and 3 can write, a chip selector control circuit 14 switches a switch 16 through a chip selector 4 in the sequence of terminals (a), (b), (c) and (a), and thus, the data inputted from an (A) side are written in the sequence of data buffers 1, 2, 3 and 1. When these data buffers can read, by synchronizing to this, a chip selector control circuit 15 switches a switch 17 through a chip selector 5 in the sequence of terminals (c), (a), (b) and (c), and thus, from data buffers 3, 1, 2 and 3, the data are read in the sequence and outputted to (B). At this time, the same data buffer is controlled so as not to become simultaneously for writing and for reading, and the speed of input data and output data is converted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ通信等において伝
送されるデータの速度を変更するデータ速度変換装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data rate converter for changing the rate of data transmitted in data communication or the like.

【0002】[0002]

【従来の技術】従来、この種のデータ速度変換装置は、
DSU内部にあり、端末側−DSUとDSU−OCU間
の伝送データ速度が異なるため、伝送データの速度を変
換するために用いられる。図4は従来この種のデータ速
度変換装置の一例を示したブロック図である。ここで、
図中〔A〕から〔B〕に向かってデータが伝送され、且
つこの〔A〕と〔B〕の間でデータの速度が変更される
ものとする。読み出し書き込み選択回路9、10はデー
タバッファ1、2に対して図5(A)に示すように書込
許可信号をハイレベルとして、上記データバッファ1、
2を書き込み可能にする。チップセレクタ制御回路13
は書き込み側チップセレクタ回路5を介してスイッチ1
6を端子a、b、a…の順番に切り替えて、書き込み用
のデータバッファを所定の間隔で選択する。従って、図
5(B)に示す如く書き込み側チップセレクタ回路5は
データバッファ1、データバッファ2、データバッファ
3、データバッファ1…の順番で書き込み用データバッ
ファを選択する。これにより、〔A〕から入力されたデ
ータは図5(E)に示す如く、データバッファ1、デー
タバッファ2、データバッファ1…に交互に書き込まれ
る。尚、図中網かけ部分がデータバッファ1へのアクセ
スを、白部分がデータバッファ2へのアクセスを示して
いる。
2. Description of the Related Art Conventionally, this type of data rate conversion device is
Since it is inside the DSU and the transmission data rate between the terminal side-DSU and the DSU-OCU is different, it is used for converting the transmission data rate. FIG. 4 is a block diagram showing an example of a conventional data rate converter of this type. here,
It is assumed that data is transmitted from [A] to [B] in the figure, and the data rate is changed between [A] and [B]. The read / write selection circuits 9 and 10 set the write enable signal to the high level to the data buffers 1 and 2 as shown in FIG.
Make 2 writable. Chip selector control circuit 13
Is the switch 1 via the write side chip selector circuit 5.
6 is switched in the order of the terminals a, b, a ... And the data buffer for writing is selected at a predetermined interval. Therefore, as shown in FIG. 5B, the write side chip selector circuit 5 selects the write data buffer in the order of the data buffer 1, the data buffer 2, the data buffer 3, the data buffer 1. As a result, the data input from [A] is alternately written into the data buffer 1, the data buffer 2, the data buffer 1, ... As shown in FIG. In the figure, the shaded area indicates the access to the data buffer 1, and the white area indicates the access to the data buffer 2.

【0003】一方、読み出し書き込み選択回路9、10
は図5(C)に示すように読み出し許可信号を周期的に
ハイレベルにして、データバッファ1、2を読み出し可
能状態にする。これと共に、チップセレクタ制御回路1
4は読み出し側チップセレクタ回路8を介してスイッチ
17を端子b、a、b…の順番に切り替えて、図5
(D)に示すように読み出し用データバッファをデータ
バッファ2、データバッファ1、データバッファ2…の
順番に選択する。このため、データが図2(F)に示す
ように、データバッファ2、データバッファ1、データ
バッファ2…の順番にこれらデータバッファから読み出
され、読み出されたデータがスイッチ17を介して
〔B〕側に出力される。
On the other hand, read / write selection circuits 9, 10
5 periodically sets the read enable signal to the high level as shown in FIG. 5C to put the data buffers 1 and 2 in a readable state. Along with this, the chip selector control circuit 1
4 switches the switch 17 in the order of terminals b, a, b ... Through the read side chip selector circuit 8, and FIG.
As shown in (D), the read data buffer is selected in the order of data buffer 2, data buffer 1, data buffer 2 ... Therefore, as shown in FIG. 2F, the data is read from these data buffers in the order of data buffer 2, data buffer 1, data buffer 2, ... B] side.

【0004】ここで、各データバッファに対するデータ
は対応するアドレス発生回路から発生されるアドレス部
に書き込み用クロックWCLKに従って書き込まれる。
又、各データバッファからのデータの読み出しは対応す
るアドレス発生回路から発生されるアドレス部のデータ
を読み出し用クロックRCLKに従って読み出すことに
よって行われる。即ち、データバッファ1に対してはア
ドレス発生回路6が、データバッファ2に対してはアド
レス発生回路7が対応しており、各アドレス発生回路は
対応するデータバッファに書き込み/読み出しアドレス
を供給する。しかも、上記した書込用クロックWCLK
と、読み出し用クロックRCLKの速度は異なるように
設定されているため、〔A〕から入力されてきた時のデ
ータの速度と、スイッチ17から〔B〕側に出力される
データの速度が異なり、データの速度変換がなされる。
Here, the data for each data buffer is written in the address portion generated from the corresponding address generation circuit in accordance with the write clock WCLK.
Further, the reading of data from each data buffer is performed by reading the data of the address part generated from the corresponding address generating circuit according to the read clock RCLK. That is, the address generating circuit 6 corresponds to the data buffer 1 and the address generating circuit 7 corresponds to the data buffer 2, and each address generating circuit supplies the write / read address to the corresponding data buffer. Moreover, the above-mentioned write clock WCLK
Since the speed of the read clock RCLK is set to be different, the speed of data when input from [A] is different from the speed of data output from the switch 17 to the [B] side. Data speed conversion is performed.

【0005】ところで、図4に示した従来の装置におい
て、図6に示すように読み出しと書き込みに異なるデー
タバッファが割り当てられている場合には何等の問題も
生じないが、同一のデータバッファにデータの書き込み
と読み出しを同時に割り当てた場合、このデータバッフ
ァ内のデータが読み出される前に消失してしまう可能性
がある。上記した図5は読み出し速度が書き込み速度に
比べて速い場合の図4に示した装置のデータ速度変換動
作を説明するタイムチャートである。例えば、書き込み
読み出し選択回路9、10から出力される書込許可信号
が図5(A)に示す如くハイレベルになると、チップセ
レクタ制御回路13によって、書き込み用のデータバッ
ファとして図5(B)に示す如くデータバッファ1が選
択される。従って、図5(E)に示す如く前記書込許可
信号がハイレベルになった時点から〔A〕側のデータが
データバッファ1に書き込まれる。
By the way, in the conventional device shown in FIG. 4, when different data buffers are assigned for reading and writing as shown in FIG. 6, no problem occurs, but data is stored in the same data buffer. If writing and reading are simultaneously assigned, the data in the data buffer may be lost before being read. FIG. 5 described above is a time chart for explaining the data speed conversion operation of the device shown in FIG. 4 when the read speed is faster than the write speed. For example, when the write enable signal output from the write / read selection circuits 9 and 10 goes to a high level as shown in FIG. 5A, the chip selector control circuit 13 causes the write data buffer shown in FIG. The data buffer 1 is selected as shown. Therefore, as shown in FIG. 5E, the data on the [A] side is written in the data buffer 1 from the time when the write enable signal becomes high level.

【0006】その後、図5(C)に示すように書き込み
読み出し選択回路9、10が読出許可信号を出力すると
同時に、チップセレクタ制御回路14が図5(D)に示
すようにチップセレクタ回路8によってデータバッファ
2を読み出し用として選択すると、図5(F)に示すよ
うにデータバッファ2からデータの読み出しが行われ、
このデータがスイッチ17を介して〔B〕側に出力され
る。次にチップセレクタ制御回路13がチップセレクタ
回路5によって書き込み用のデータバッファをデータバ
ッファ2に図5(B)に示す如く切り替えると、〔A〕
側からの入力データはスイッチ16を介して図5(E)
に示す如くデータバッファ2に書き込まれる。又、書き
込み読み出し選択回路9から出力されていた読出信号が
図5(C)に示す如くローレベルになると、図5(F)
に示す如くデータバッファ2からのデータの読出が停止
される。次に再び書き込み読み出し選択回路9の読出許
可信号が図5(C)に示す如くハイレベルになると同時
に、チップセレクタ制御回路14がチップセレクタ8に
よってデータ読み出し側のデータバッファを図5(D) 示
す如くデータバッファ1に切り替えると、図5(F)に
示す如くこのデータバッファ1からのデータの読み出し
が開始され、読み出されたデータがスイッチ17を介して
〔B〕側に出力される。
Thereafter, as shown in FIG. 5C, the write / read selection circuits 9 and 10 output the read enable signal, and at the same time, the chip selector control circuit 14 operates by the chip selector circuit 8 as shown in FIG. 5D. When the data buffer 2 is selected for reading, data is read from the data buffer 2 as shown in FIG.
This data is output to the [B] side via the switch 17. Next, when the chip selector control circuit 13 switches the data buffer for writing to the data buffer 2 by the chip selector circuit 5, as shown in FIG. 5B, [A]
The input data from the side is sent through the switch 16 as shown in FIG.
It is written in the data buffer 2 as shown in FIG. When the read signal output from the write / read selection circuit 9 becomes low level as shown in FIG. 5C, FIG.
Reading of data from the data buffer 2 is stopped as shown in FIG. Next, at the same time when the read enable signal of the write / read selection circuit 9 becomes high level as shown in FIG. 5 (C), the chip selector control circuit 14 causes the chip selector 8 to show the data buffer on the data read side as shown in FIG. 5 (D). When switching to the data buffer 1 as described above, reading of data from the data buffer 1 is started as shown in FIG. 5 (F), and the read data is output to the [B] side via the switch 17.

【0007】次に、チップセレクタ制御回路13はチッ
プセレクタ回路5によって書き込み用データバッファを
図5(B)に示す如くデータバッファ1にする。これに
より、図5(E)で示すように〔A〕側から入力データ
がスイッチ16を介してデータバッファ1に書き込まれ
る。この時、図5(F)に示す如くデータバッファ1か
らはデータの読み出しも行われているため、図中イで示
した期間、データバッファ1に対してデータの書き込み
と読み出しが同時に行われることになる。このような、
一つのデータバッファに対して読み出しと書き込みが同
時に行われる期間は、図5(E)、(F)のロ、ハ、ニ
にあり、このような期間ではデータバッファ1又はデー
タバッファ2内のデータが読み出される前に、オーバー
ライトで新たなデータが書き込まれてしまい、読み出す
べきデータが失われ、前記新しく書き込まれたデータが
読み出されてしまうという不具合が生じる恐れがあっ
た。
Next, the chip selector control circuit 13 causes the chip selector circuit 5 to change the write data buffer to the data buffer 1 as shown in FIG. As a result, the input data from the [A] side is written in the data buffer 1 via the switch 16 as shown in FIG. At this time, since data is also read from the data buffer 1 as shown in FIG. 5 (F), writing and reading of data to and from the data buffer 1 are simultaneously performed during the period indicated by B in the figure. become. like this,
The periods in which reading and writing are performed simultaneously for one data buffer are in (b), (c), and (d) of FIGS. 5E and 5F. In such a period, data in the data buffer 1 or the data buffer 2 is Before the data is read, new data may be written by overwriting, the data to be read may be lost, and the newly written data may be read.

【0008】[0008]

【発明が解決しようとする課題】上記の如く、2個のデ
ータバッファを交互にデータ書き込み用とデータ読みだ
し用に切り替えて、データを書き込む時の速度と、デー
タを読み出す時の速度とを異なるものにすることによっ
て、データの速度を変換する従来のデータ速度変換装置
では、同一のデータバッファがデータの読み出し用と書
き込み用に同時に使用されることがあり、このような場
合、データバッファに書き込まれているデータを読み出
す前に新たなデータをオーバーライトで書き込んでしま
うと、既に書き込まれていたデータが消失し、その代わ
りに新たに書き込まれたデータが読み出されてしまうと
いう不具合が発生する恐れがあった。
As described above, the two data buffers are alternately switched for data writing and data reading, and the data writing speed and the data reading speed are different. Therefore, in the conventional data rate conversion device that converts the data rate, the same data buffer may be used for reading and writing data at the same time. If new data is written by overwriting before reading the existing data, the previously written data will be lost and the newly written data will be read instead. I was afraid.

【0009】そこで本発明は上記の欠点を除去するもの
で、いかなるタイミングにても同一のデータバッファが
データ書き込み用とデータ読み出し用に同時になること
を回避して、前記データバッファ内のデータが消失され
ることを防止した信頼性の高いデータ速度変換装置を提
供することを目的としている。
In view of the above, the present invention eliminates the above-mentioned drawbacks and prevents the same data buffer from being simultaneously used for data writing and data reading at any timing, and the data in the data buffer is lost. It is an object of the present invention to provide a highly reliable data rate conversion device that prevents the occurrence of such a problem.

【0010】[0010]

【課題を解決するための手段】本発明は入力データをメ
モリに書き込んだ後、前記データを読み出して出力する
際に、前記データの書き込み速度と読みだし速度とを異
なる速度にすることによって、前記入力データと出力デ
ータの速度を変換するデータ速度変換装置において、3
個以上の複数のメモリと、これらメモリに前記入力デー
タを所定の順序で順番に書き込む書込制御手段と、これ
らメモリの中でデータの書き込み動作が行われていない
メモリを順番に選択し、選択されたメモリからデータを
読み出す読出制御手段とを具備した構成を有する。
According to the present invention, by writing input data to a memory and then reading and outputting the data, the writing speed and the reading speed of the data are different from each other. In a data speed conversion device that converts the speed of input data and output data, 3
A plurality of memories, a write control means for sequentially writing the input data to these memories in a predetermined order, and a memory in which data writing operation is not performed among these memories are selected in order. Read control means for reading data from the stored memory.

【0011】[0011]

【作用】本発明のデータ速度変換装置において、書込制
御手段は3個以上の複数のメモリと、これらメモリに前
記入力データを所定の順序で順番に書き込む。読出制御
手段はこれらメモリの中でデータの書き込み動作が行わ
れていないメモリを順番に選択し、選択されたメモリか
らデータを読み出す。
In the data rate conversion apparatus of the present invention, the write control means writes a plurality of memories of three or more, and the input data in these memories in order in a predetermined order. The read control means sequentially selects the memory in which the data writing operation is not performed among these memories and reads the data from the selected memory.

【0012】[0012]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明のデータ速度変換装置の一実施例
を示したブロック図である。1、2、3は伝送速度を変
換するデータが読み書きされるデータバッファ、4はス
イッチ16を切り替えて書込用のデータバッファを選択
する書き込み側のチップセレクタ、5はスイッチ17を
切り替えて読出用のデータバッファを選択する読み出し
側のチップセレクタ、6、7、8はデータバッファ1、
2、3に対する読み出し/書き込みアドレスを発生する
アドレス発生回路、9、10、11はデータバッファ
1、2、3に読出許可信号/書込許可信号を出力する読
み出し書き込み選択回路、14はチップセレクタ4を制
御してデータバッファ1、2、3の中の1つをデータ書
き込み用に選択する制御を行うチップセレクタ制御回
路、15はチップセレクタ5を制御してデータバッファ
1、2、3の中の1つをデータ読み出し用に選択する制
御を行うチップセレクタ制御回路である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a data rate converter of the present invention. 1, 2 and 3 are data buffers for reading and writing data for converting the transmission speed, 4 is a write side chip selector for switching the switch 16 to select a data buffer for writing, and 5 is a switch for reading by switching the switch 17. Read side chip selectors for selecting the data buffers 6, 7, 8 are data buffers 1,
Address generation circuits for generating read / write addresses for 2, 3 and 9, 9, 10 and 11 for read / write selection circuits for outputting read permission signals / write permission signals to the data buffers 1, 2, 3 and 14 for the chip selector 4 A chip selector control circuit for controlling one of the data buffers 1, 2, and 3 for data writing, and 15 for controlling the chip selector 5 to control one of the data buffers 1, 2, and 3. It is a chip selector control circuit that performs control to select one for data reading.

【0013】次に本実施例の動作について説明する。
〔A〕から入力されるデータが本装置にて速度変換され
て〔B〕側に出力されるものとする。読み出し書き込み
選択回路9、10、11はデータバッファ1、2、3に
対して図2(A)に示すように書き込み許可信号をハイ
レベルとして、これらデータバッファを書き込み可能に
する。チップセレクタ制御回路14はチップセレクタ4
を介してスイッチ16を端子a、b、c、a…の順番に
切り替えて書き込み用のデータバッファを図2(B)に
示す如くデータバッファ1、データバッファ2、データ
バッファ3、データバッファ1…の順番で選択する。こ
れにより、〔A〕から入力されたデータは図2(E)に
示す如く、データバッファ1、データバッファ2、デー
タバッファ3、データバッファ1…に順番に書き込まれ
る。尚、図2の網かけ部分はデータバッファ1へのアク
セスを、白部分はデータバッファ2へのアクセスを、黒
部分はデータバッファ3へのアクセスを示している。
Next, the operation of this embodiment will be described.
It is assumed that the data input from [A] is subjected to speed conversion by this device and output to the [B] side. The read / write selection circuits 9, 10 and 11 set the write enable signal to the data buffers 1, 2 and 3 to the high level as shown in FIG. The chip selector control circuit 14 is the chip selector 4
2 to switch the terminals 16 in the order of the terminals a, b, c, a ... As the data buffer for writing, as shown in FIG. 2B, the data buffer 1, the data buffer 2, the data buffer 3, the data buffer 1 ... Select in order. As a result, the data input from [A] is sequentially written in the data buffer 1, the data buffer 2, the data buffer 3, the data buffer 1, ... As shown in FIG. The shaded area in FIG. 2 indicates access to the data buffer 1, the white area indicates access to the data buffer 2, and the black area indicates access to the data buffer 3.

【0014】一方、読み出し書き込み選択回路9、1
0、11は図2(C)に示すように読出許可信号を周期
的にハイレベルとしてデータバッファ1、2、3を周期
的に読み出し可能状態にする。これと共に、チップセレ
クタ制御回路15は読み出し側チップセレクタ5を介し
てスイッチ17を端子c、a、b、c、…の順番に切り
替えて、図2(D)に示すように読み出し用データバッ
ファをデータバッファ3、データバッファ1、データバ
ッファ2…の順番に選択する。このため、図2(F)に
示すようにデータバッファ3、データバッファ1、デー
タバッファ2、データバッファ3…の順番にデータがデ
ータバッファから読み出され、読み出されたデータがス
イッチ17を介して〔B〕側に出力される。
On the other hand, read / write selection circuits 9 and 1
As shown in FIG. 2C, 0 and 11 periodically set the read enable signal to the high level to make the data buffers 1, 2, and 3 periodically ready for reading. At the same time, the chip selector control circuit 15 switches the switch 17 in the order of the terminals c, a, b, c, ... Via the read side chip selector 5 to form the read data buffer as shown in FIG. The data buffer 3, the data buffer 1, the data buffer 2, ... Are selected in this order. Therefore, as shown in FIG. 2F, the data is read from the data buffer in the order of the data buffer 3, the data buffer 1, the data buffer 2, the data buffer 3, ... And the read data is passed through the switch 17. Is output to the [B] side.

【0015】ここで、各データバッファに対するデータ
の書き込みは対応するアドレス発生回路から発生される
アドレスに書き込み用クロックWCLKに従って行われ
る。又、各データバッファからのデータの読み出しは対
応するアドレス発生回路から発生されるアドレスのデー
タを読み出し用クロックRCLKに従って読み出すこと
により行われる。即ち、データバッファ1に対してはア
ドレス発生回路7が、データバッファ2に対してはアド
レス発生回路7が、データバッファ3に対してはアドレ
ス発生回路6が対応しており、各アドレス発生回路は対
応するデータバッファに書き込み/読み出しアドレスを
供給する。しかも、上記した書込用クロックWCLK
と、読み出し用クロックRCLKの速度は異なるように
設定されているため、〔A〕から入力されてきた時のデ
ータの速度と、スイッチ17から〔B〕側に出力される
データの速度が異なり、データの速度変換がなされる。
Here, the writing of data to each data buffer is performed at the address generated by the corresponding address generating circuit in accordance with the write clock WCLK. Data is read from each data buffer by reading the data of the address generated from the corresponding address generation circuit according to the read clock RCLK. That is, the address generation circuit 7 corresponds to the data buffer 1, the address generation circuit 7 corresponds to the data buffer 2, and the address generation circuit 6 corresponds to the data buffer 3. The write / read address is supplied to the corresponding data buffer. Moreover, the above-mentioned write clock WCLK
Since the speed of the read clock RCLK is set to be different, the speed of data when input from [A] is different from the speed of data output from the switch 17 to the [B] side. Data speed conversion is performed.

【0016】本実施例によれば、図2の(E)、(F)
に示す如くデータが書き込まれているデータバッファと
データが読み出されているデータバッファとが同時に同
一のものになることが全くないため、データバッファか
らデータを読み出す前に新たなデータがオーバーライト
されてしまって前記読み出すべきデータが失われてしま
うということが原理上あり得ず、データ速度の変換をデ
ータの消失なしで確実に行うことができる。
According to this embodiment, (E) and (F) of FIG.
As shown in, the data buffer in which the data is written and the data buffer in which the data is read are never the same at the same time, so new data is overwritten before reading the data from the data buffer. In principle, there is no possibility that the data to be read will be lost and the data rate conversion can be reliably performed without loss of data.

【0017】図3は本発明の他の実施例を示したブロッ
ク図である。本例では、1個のデータバッファ20を用
いており、このデータバッファ内を三つのメモリ領域2
1、22、23に区画している。しかも、各メモリ領域
21、22、23はそれぞれ独立してデータの読み出し
/書き込みが行われるように制御されるので、前実施例
のデータバッファ1、2、3に対応している。読み出し
書き込み選択回路11はデータバッファ20に書込許可
信号を与えて、このデータバッファを書き込み可能にす
る。アドレス制御回路16はアドレス発生回路6を制御
して、書込用アドレスを例えばメモリ領域21の先頭ア
ドレスから順番に発生して、次にメモリ領域22、メモ
リ領域23、メモリ領域21…の順番に書込用アドレス
をデータバッファ20に供給する。従って、〔A〕から
入力されるデータはメモリ領域21、メモリ領域22、
メモリ領域23、メモリ領域21…の順番に書込用クロ
ックWCLKに従って書き込まれる。
FIG. 3 is a block diagram showing another embodiment of the present invention. In this example, one data buffer 20 is used, and three memory areas 2 are set in this data buffer.
It is divided into 1, 22, and 23. Moreover, since the respective memory areas 21, 22 and 23 are controlled so that data is read / written independently, they correspond to the data buffers 1, 2 and 3 of the previous embodiment. The read / write selection circuit 11 gives a write enable signal to the data buffer 20 to make this data buffer writable. The address control circuit 16 controls the address generation circuit 6 to generate write addresses, for example, in order from the start address of the memory area 21, and then in the order of the memory area 22, the memory area 23, the memory area 21 ... The write address is supplied to the data buffer 20. Therefore, the data input from [A] is the memory area 21, the memory area 22,
The memory area 23, the memory area 21, ... Are sequentially written in accordance with the write clock WCLK.

【0018】一方、読み出し書き込み選択回路12は読
出許可信号をデータバッファ20に所定の間隔で与える
ことにより、データバッファ20を所定の間隔で読み出
し可能にする。これに伴って、アドレス制御回路17は
アドレス発生回路7を制御して、読み出し用アドレスを
読み出し書き込み選択回路12から読出許可信号が出て
いる期間、データバッファ20に供給する。例えば、ア
ドレス発生回路7はメモリ領域23の先頭アドレスから
順番にメモリ領域21、メモリ領域22、メモリ領域2
3…の読出用アドレスを前記アドレス許可信号に同期し
て発生するものとする。これにより、メモリ領域23の
データが読み出し用クロックRCLKに従って読み出さ
れ、次にメモリ領域21のデータが、メモリ領域22の
データが、メモリ領域23のデータが…同様に順番に読
み出されて〔B〕側に出力される。
On the other hand, the read / write selection circuit 12 makes the data buffer 20 readable at a predetermined interval by giving a read enable signal to the data buffer 20 at a predetermined interval. Along with this, the address control circuit 17 controls the address generation circuit 7 to supply the read address to the data buffer 20 while the read enable signal is output from the read / write selection circuit 12. For example, the address generating circuit 7 is arranged so that the memory area 21, the memory area 22, and the memory area 2 are sequentially arranged from the head address of the memory area 23.
It is assumed that the read addresses of 3 ... Are generated in synchronization with the address enable signal. As a result, the data in the memory area 23 is read in accordance with the read clock RCLK, then the data in the memory area 21, the data in the memory area 22, the data in the memory area 23, and so on. B] side.

【0019】本実施例では、データを独立して読み出し
書き込むメモリ領域が3個あるため、1つのメモリ領域
が同時にデータの読み出し用、書き込み用になることを
回避でき、前実施例と同様の効果がある。しかも、本例
ではデータバッファが1個で済むため、前実施例に比べ
て構成部品点数を削減することができ、装置を安価にす
ることができる。
In this embodiment, since there are three memory areas for reading and writing data independently, it is possible to prevent one memory area from being used for reading and writing data at the same time, and the same effect as the previous embodiment. There is. Moreover, since only one data buffer is required in this example, the number of constituent parts can be reduced and the apparatus can be made inexpensive as compared with the previous example.

【0020】[0020]

【発明の効果】以上記述した如く本発明のデータ速度変
換装置によれば、いかなるタイミングにても同一のデー
タバッファがデータ書き込み用とデータ読み出し用に同
時になることを回避して、前記データバッファ内のデー
タが消失されることを防止して、装置の信頼性を向上さ
せることができる。
As described above, according to the data rate conversion apparatus of the present invention, the same data buffer is prevented from being simultaneously used for data writing and data reading at any timing, and It is possible to improve the reliability of the device by preventing the loss of data.

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

【図1】本発明のデータ速度変換装置一実施例を示した
ブロック図。
FIG. 1 is a block diagram showing an embodiment of a data rate conversion device of the present invention.

【図2】図1に示した装置の動作を説明するタイムチャ
ート。
FIG. 2 is a time chart explaining the operation of the apparatus shown in FIG.

【図3】本発明の他の実施例を示したブロック図。FIG. 3 is a block diagram showing another embodiment of the present invention.

【図4】従来のデータ速度変換装置の一例を示したブロ
ック図。
FIG. 4 is a block diagram showing an example of a conventional data rate conversion device.

【図5】図4に示した装置を説明するタイムチャート。5 is a time chart explaining the apparatus shown in FIG.

【図6】図4に示した装置のデータバッファの使用順序
を示した図。
6 is a diagram showing a usage order of data buffers of the device shown in FIG. 4;

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

1、2、3…データバッファ 4、5…チップセレクタ 6、7、8…アドレス発生回路 9、10、11…読み出し書き込み選択回路 14、15…チップセレクタ制御回路 16、17…スイッチ 1, 2, 3 ... Data buffers 4, 5 ... Chip selectors 6, 7, 8 ... Address generation circuits 9, 10, 11 ... Read / write selection circuits 14, 15 ... Chip selector control circuits 16, 17 ... Switches

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力データをメモリに書き込んだ後、前
記データを読み出して出力する際に、前記データの書き
込み速度と読みだし速度とを異なる速度にすることによ
って、前記入力データと出力データの速度を変換するデ
ータ速度変換装置において、3個以上の複数のメモリ
と、これらメモリに前記入力データを所定の順序で順番
に書き込む書込制御手段と、これらメモリの中でデータ
の書き込み動作が行われていないメモリを順番に選択
し、選択されたメモリからデータを読み出す読出制御手
段とを具備したことを特徴とするデータ速度変換装置。
1. The speed of the input data and the speed of the output data are set by making the speed of writing the data different from the speed of reading the data when the data is read and output after the input data is written in the memory. In a data rate conversion device for converting data, three or more memories, write control means for sequentially writing the input data in these memories in a predetermined order, and data write operation in these memories are performed. And a read control unit for reading data from the selected memories in order.
【請求項2】 前記データが書き込まれ読み出される複
数のメモリの代わりに、一つのメモリ中を区画して形成
した複数の記憶エリアを用いたことを特徴とする請求項
1記載のデータ速度変換装置。
2. The data rate converter according to claim 1, wherein a plurality of storage areas formed by partitioning one memory are used instead of the plurality of memories in which the data is written and read. ..
JP3304903A 1991-11-20 1991-11-20 Data speed converter Withdrawn JPH05143283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3304903A JPH05143283A (en) 1991-11-20 1991-11-20 Data speed converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3304903A JPH05143283A (en) 1991-11-20 1991-11-20 Data speed converter

Publications (1)

Publication Number Publication Date
JPH05143283A true JPH05143283A (en) 1993-06-11

Family

ID=17938681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3304903A Withdrawn JPH05143283A (en) 1991-11-20 1991-11-20 Data speed converter

Country Status (1)

Country Link
JP (1) JPH05143283A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06224943A (en) * 1993-01-22 1994-08-12 Kokusai Electric Co Ltd Buffer and its data conversion system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06224943A (en) * 1993-01-22 1994-08-12 Kokusai Electric Co Ltd Buffer and its data conversion system

Similar Documents

Publication Publication Date Title
US4644502A (en) Semiconductor memory device typically used as a video ram
EP0324386A2 (en) Memory testing device
JPH0480350B2 (en)
US4755971A (en) Buffer memory for an input line of a digital interface
US5055940A (en) Video memory control apparatus
JPH05143283A (en) Data speed converter
JPH0696581A (en) Integrated semiconductor memory device and driving method thereof
KR100205589B1 (en) Memory accessing circuit for time-switch
JP3063945B2 (en) Time-division switch control method
JP2637105B2 (en) Time switch circuit
KR0169789B1 (en) Method and circuit for transmitting data of blocks
JP3976388B2 (en) Memory control device
US6421351B1 (en) Cell phase control device applicable to data of size exceeding fixed length defined in advance with respect to cell length of write pulse signal or read pulse
KR0148182B1 (en) Quadruple bank memory control circuit
JPS58224382A (en) Image memory access circuit for crt display
JPH0783513B2 (en) Semiconductor memory device
JP2914289B2 (en) Control method of time division switch
JPS59156097A (en) Output controlling system of time division switch
JPH0759096B2 (en) Time division switch controller
JPH113207A (en) Memory controller
JPH0259551B2 (en)
JPH08147207A (en) Memory circuit
JPH04315234A (en) Memory system
JPH08237084A (en) Timing signal generating circuit
JPH03123300A (en) Initialization circuit for time switch data memory

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204