JPH06342414A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH06342414A
JPH06342414A JP5130596A JP13059693A JPH06342414A JP H06342414 A JPH06342414 A JP H06342414A JP 5130596 A JP5130596 A JP 5130596A JP 13059693 A JP13059693 A JP 13059693A JP H06342414 A JPH06342414 A JP H06342414A
Authority
JP
Japan
Prior art keywords
data
memory
read
address
transfer
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
JP5130596A
Other languages
Japanese (ja)
Inventor
Katsumi Ando
克美 安藤
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 VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
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 VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP5130596A priority Critical patent/JPH06342414A/en
Publication of JPH06342414A publication Critical patent/JPH06342414A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To provide the data transfer device, which can speedily restart transfer after the transfer operation is interrupted, without expanding circuit scale. CONSTITUTION:A read/write control circuit 3 and a data storage device 7 for temporarily storing data are interposed between a host device 9 and a memory 10, data to be asynchronously transferred between the host device 9 and the memory 10 are temporarily stored in the data storage device 7 based on the control of the read/write control circuit 3, and the data stored in the data storage device 7 are transferred to the host device 9 or the memory 10 based on the control of the read/write control circuit 3. The read/write control circuit 3 is provided with a function for storing an address corresponding to the data stored in the data storage device 7 based on the control of this read/write control circuit 3.

Description

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

【0001】[0001]

【産業上の利用分野】この発明はデータ処理装置におい
て、MPU等の上位装置とメモリとの間でデータ転送を
行うデータ転送装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer device for transferring data between a host device such as MPU and a memory in a data processing device.

【0002】近年のデータ処理装置においては、その処
理動作の高速化、高信頼性及びコストパフォーマンスの
確保が益々要請されている。このため、このようなデー
タ処理装置で使用されるデータ転送装置において、転送
動作が何らかの異常により中断された後の再転送動作を
高効率化することが要請されている。
In recent data processing apparatuses, there is an increasing demand for speeding up processing operations, ensuring high reliability and cost performance. Therefore, in the data transfer device used in such a data processing device, it is required to improve the efficiency of the retransfer operation after the transfer operation is interrupted due to some abnormality.

【0003】[0003]

【従来の技術】従来のデータ転送装置の一例を図4に従
って説明する。タイミング調整回路1は非同期で動作す
るMPU等の上位装置とメモリとの間で、メモリへのデ
ータの書き込み動作あるいはメモリからのデータの読み
出し動作を行う場合に、そのタイミングを調整するよう
に動作する。
2. Description of the Related Art An example of a conventional data transfer device will be described with reference to FIG. The timing adjusting circuit 1 operates so as to adjust the timing when a data writing operation to a memory or a data reading operation from a memory is performed between an upper device such as an MPU which operates asynchronously and a memory. .

【0004】すなわち、前記タイミング調整回路1には
MPU(図示しない)からデータリクエスト信号DRE
Q、書き込み及び読み出し制御信号XWR、データスト
ローブ信号XDSが入力され、同タイミング調整回路1
からMPUにアクノリッジ信号DACKが出力され、同
タイミング調整回路1からメモリ(図示しない)に各制
御信号XWE,XRAS,XCASが出力される。
That is, the timing adjustment circuit 1 receives a data request signal DRE from an MPU (not shown).
Q, write and read control signal XWR, and data strobe signal XDS are input, and the same timing adjustment circuit 1
To MPU, the acknowledge signal DACK is output, and the timing adjustment circuit 1 outputs the control signals XWE, XRAS, and XCAS to the memory (not shown).

【0005】また、前記タイミング調整回路1は前記各
信号DREQ,XWR,XDSに基づいてFIFOメモ
リ2に制御信号を出力する。また、前記タイミング調整
回路1は前記各制御信号DREQ,XWR,XDSに基
づいてアドレス制御回路5及びFIFOメモリ2に制御
信号を出力する。
Further, the timing adjusting circuit 1 outputs a control signal to the FIFO memory 2 based on the signals DREQ, XWR and XDS. Further, the timing adjustment circuit 1 outputs a control signal to the address control circuit 5 and the FIFO memory 2 based on the control signals DREQ, XWR and XDS.

【0006】前記アドレス制御回路5は前記タイミング
調整回路1から出力される制御信号及びMPUからの命
令に基づき、メモリにアドレス信号MA7〜MA0を出
力する。
The address control circuit 5 outputs address signals MA7 to MA0 to the memory based on the control signal output from the timing adjustment circuit 1 and an instruction from the MPU.

【0007】前記FIFOメモリ2には、書き込み動作
時においては前記MPUから出力されたデータD7〜D
0が書き込まれるとともに、その書き込まれたデータは
前記タイミング調整回路1の制御信号に基づいて、FI
FOメモリ2からメモリに向かって、先に書き込まれた
データから順に書き込みデータMD7〜MD0として順
次出力される。
In the FIFO memory 2, data D7 to D output from the MPU at the time of writing operation is written.
0 is written, and the written data is FI based on the control signal of the timing adjustment circuit 1.
Write data MD7 to MD0 are sequentially output from the FO memory 2 to the memory in order from the previously written data.

【0008】また、前記FIFOメモリ2には、読み出
し動作時においては前記メモリから読み出されたデータ
MD7〜MD0が書き込まれるとともに、その書き込ま
れたデータは前記タイミング調整回路1の制御信号に基
づいて、FIFOメモリ2から前記MPUに向かって、
先に書き込まれたデータから順に読み出しデータD7〜
D0として順次出力される。
Further, the data MD7 to MD0 read from the memory are written into the FIFO memory 2 during the read operation, and the written data is based on the control signal of the timing adjusting circuit 1. , From the FIFO memory 2 to the MPU,
Read data D7 to
It is sequentially output as D0.

【0009】上記のように構成されたデータ転送装置で
は、MPUからメモリへのデータの書き込み動作時に
は、MPUからFIFOメモリ2に出力されるデータD
7〜D0は、同FIFOメモリ2に格納され、同FIF
Oメモリ2から所定のタイミングでメモリに書き込みデ
ータMD7〜MD0として順次出力される。
In the data transfer apparatus configured as described above, the data D output from the MPU to the FIFO memory 2 during the data write operation from the MPU to the memory.
7 to D0 are stored in the same FIFO memory 2 and
The write data MD7 to MD0 are sequentially output from the O memory 2 to the memory at a predetermined timing.

【0010】すなわち、タイミング調整回路1はMPU
から出力される各制御信号DREQ,XWR,XDSに
基づいてFIFOメモリ2を制御し、MPUからFIF
Oメモリに出力されるデータD7〜D0は、タイミング
調整回路1の制御に基づいて同FIFOメモリ2に順次
格納される。
That is, the timing adjustment circuit 1 is an MPU.
The FIFO memory 2 is controlled based on the control signals DREQ, XWR, and XDS output from the MPU.
The data D7 to D0 output to the O memory are sequentially stored in the FIFO memory 2 under the control of the timing adjustment circuit 1.

【0011】そして、FIFOメモリ2に格納されたデ
ータD7〜D0は、タイミング調整回路1からメモリに
出力される制御信号XWE,XRAS,XCASに同期
して書き込みデータMD7〜MD0としてメモリに出力
される。
The data D7 to D0 stored in the FIFO memory 2 are output to the memory as write data MD7 to MD0 in synchronization with the control signals XWE, XRAS, XCAS output from the timing adjusting circuit 1 to the memory. .

【0012】このとき、アドレス制御回路5では、タイ
ミング調整回路1からFIFOメモリ2に出力される制
御信号に基づいて書き込みデータMD7〜MD0が書き
込まれるメモリのアドレス値を出力する。
At this time, the address control circuit 5 outputs the address value of the memory into which the write data MD7 to MD0 are written based on the control signal output from the timing adjusting circuit 1 to the FIFO memory 2.

【0013】そして、前記FIFOメモリ2では、同F
IFOメモリ2に空き領域が存在するか否か及び同FI
FOメモリ2に有効な書き込みデータが存在しているか
否かを検出し、前記タイミング調整回路1に出力する。
In the FIFO memory 2, the same F
Whether there is a free area in the IFO memory 2 and the same FI
It detects whether or not there is valid write data in the FO memory 2, and outputs it to the timing adjustment circuit 1.

【0014】また、メモリからMPUへのデータの読み
出し動作時には、メモリからFIFOメモリに読み出さ
れる読み出しデータMD7〜MD0は、同FIFOメモ
リ2に格納され、同FIFOメモリ2から所定のタイミ
ングでMPUに読み出しデータD7〜D0として順次出
力される。
Further, during the data read operation from the memory to the MPU, read data MD7 to MD0 read from the memory to the FIFO memory are stored in the FIFO memory 2 and read from the FIFO memory 2 to the MPU at a predetermined timing. The data D7 to D0 are sequentially output.

【0015】すなわち、タイミング調整回路1はMPU
から出力される各制御信号DREQ,XWR,XDSに
基づいてアドレス制御回路5を制御し、メモリからFI
FOメモリに読み出される読み出しデータMD7〜MD
0は、タイミング調整回路1の制御に基づいて同FIF
Oメモリ2に順次格納される。
That is, the timing adjustment circuit 1 is an MPU.
The address control circuit 5 is controlled based on each control signal DREQ, XWR, XDS output from
Read data MD7 to MD read to the FO memory
0 is the same FIFO under the control of the timing adjustment circuit 1.
Sequentially stored in the O memory 2.

【0016】そして、FIFOメモリ2に格納された読
み出しデータMD7〜MD0は、タイミング調整回路1
からメモリに出力される制御信号DACKに同期して読
み出しデータD7〜D0としてメモリに出力される。
Then, the read data MD7 to MD0 stored in the FIFO memory 2 are transferred to the timing adjustment circuit 1
Are output to the memory as read data D7 to D0 in synchronization with the control signal DACK output from the.

【0017】このとき、FIFOメモリ2では、同FI
FOメモリ2に空き領域が存在するか否か及び同FIF
Oメモリ2に有効な読み出しデータが存在しているか否
かを検出し、前記タイミング調整回路1に出力する。
At this time, in the FIFO memory 2, the same FI
Whether there is a free area in the FO memory 2 and the same FIFO
It is detected whether or not there is valid read data in the O memory 2, and it is output to the timing adjustment circuit 1.

【0018】[0018]

【発明が解決しようとする課題】上記のようなデータ転
送装置では、データ転送中に何らかの異常により転送動
作が中断された後、MPUから再度転送動作が要求され
る場合には、同MPUに設定されたプログラムに基づい
て次のような動作を行う。
In the above data transfer apparatus, if the transfer operation is requested again from the MPU after the transfer operation is interrupted due to some abnormality during data transfer, the transfer operation is set to the same MPU. The following operations are performed based on the executed program.

【0019】すなわち、MPUはFIFOメモリ2内に
残っているデータを消去し、アドレス制御回路5のアド
レス値をリセットした後に、転送が終了していないデー
タの転送動作を再開する。
That is, the MPU erases the data remaining in the FIFO memory 2, resets the address value of the address control circuit 5, and then restarts the transfer operation of the data which has not been transferred.

【0020】このような場合、MPUは読み出しデータ
あるいは書き込みデータをFIFOメモリ2を介してど
こまで転送が終了しているかを検出し、再転送が必要な
データのアドレスを演算しなければならない。
In such a case, the MPU must detect how far the transfer of the read data or the write data has been completed through the FIFO memory 2 and calculate the address of the data that needs to be retransferred.

【0021】また、FIFOメモリ2内に残っているデ
ータは消去されるため、転送再開時には消去されたデー
タを再度FIFOメモリ2に転送する必要がある。従っ
て、転送時間が増大するという問題点がある。
Since the data remaining in the FIFO memory 2 is erased, it is necessary to transfer the erased data to the FIFO memory 2 again when the transfer is restarted. Therefore, there is a problem that the transfer time increases.

【0022】また、次のような転送再開動作が設定され
ることもある。すなわち、FIFOメモリ2内に残って
いるデータ数を検出し、そのデータ数に基づいて、同F
IFOメモリ2内に残っているデータの先頭データのア
ドレスを演算する。そして、転送先のアドレスと、先頭
データのアドレスとを順次比較して両アドレスが一致し
た場合に、その先頭データから転送動作を再開する。
Further, the following transfer resuming operation may be set. That is, the number of data remaining in the FIFO memory 2 is detected, and the same F
The address of the leading data of the data remaining in the IFO memory 2 is calculated. Then, the address of the transfer destination and the address of the head data are sequentially compared, and when both addresses match, the transfer operation is restarted from the head data.

【0023】ところが、このような転送再開動作を設定
するためには、MPU若しくはその周辺回路において、
FIFOメモリ2内に残っているデータ数の検出機能
と、そのデータの先頭アドレスを演算するための演算機
能を備える必要があって、回路規模が増大するという問
題点がある。
However, in order to set such a transfer restart operation, in the MPU or its peripheral circuit,
Since it is necessary to have a function of detecting the number of data remaining in the FIFO memory 2 and a calculation function for calculating the start address of the data, there is a problem that the circuit scale increases.

【0024】また、上記のようなデータ数の検出及び先
頭アドレスの演算に時間を要するため、転送動作の再開
に時間を要するという問題点がある。この発明の目的
は、転送動作を中断した後に、転送再開動作を速やかに
行い得るデータ転送装置を回路規模を増大させることな
く提供することにある。
Further, since it takes time to detect the number of data and calculate the head address as described above, there is a problem that it takes time to restart the transfer operation. An object of the present invention is to provide a data transfer device capable of promptly performing a transfer restart operation after interrupting a transfer operation without increasing the circuit scale.

【0025】[0025]

【課題を解決するための手段】図1は本発明の原理説明
図である。すなわち、上位装置9とメモリ10との間に
リード/ライト制御回路3とデータを一時格納するデー
タ格納装置7とが介在され、前記上位装置9とメモリ1
0との間で非同期で転送されるデータは前記リード/ラ
イト制御回路3の制御に基づいて前記データ格納装置7
に一時格納され、前記データ格納装置7に格納されたデ
ータは前記リード/ライト制御回路3の制御に基づいて
前記上位装置9若しくはメモリ10に転送される。前記
リード/ライト制御回路3は同リード/ライト制御回路
3の制御に基づいて前記データ格納装置7に格納される
データに対応するアドレスを格納する機能を具備してい
る。
FIG. 1 is a diagram for explaining the principle of the present invention. That is, the read / write control circuit 3 and the data storage device 7 for temporarily storing data are interposed between the host device 9 and the memory 10, and the host device 9 and the memory 1 are connected.
The data transferred asynchronously with 0 is stored in the data storage device 7 under the control of the read / write control circuit 3.
The data temporarily stored in the data storage device 7 is transferred to the host device 9 or the memory 10 under the control of the read / write control circuit 3. The read / write control circuit 3 has a function of storing an address corresponding to the data stored in the data storage device 7 under the control of the read / write control circuit 3.

【0026】[0026]

【作用】データの転送動作時に、データ格納装置7に格
納されているデータの内容は、リード/ライト制御回路
3に格納されているアドレスに基づいて確認可能とな
る。
In the data transfer operation, the contents of the data stored in the data storage device 7 can be confirmed based on the address stored in the read / write control circuit 3.

【0027】[0027]

【実施例】以下、この発明を具体化した一実施例を図2
及び図3に従って説明する。なお、前記従来例と同一構
成部分は同一符号を付して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment embodying the present invention will now be described with reference to FIG.
3 and FIG. The same components as those in the conventional example will be described with the same reference numerals.

【0028】タイミング調整回路1は非同期で動作する
MPUとメモリとの間で、MPUからメモリへのデータ
の書き込み動作あるいはメモリからMPUへのデータの
読み出し動作を行う場合に、そのタイミングを調整する
ように動作する。
The timing adjusting circuit 1 adjusts the timing when performing a data writing operation from the MPU to the memory or a data reading operation from the memory to the MPU between the MPU and the memory which operate asynchronously. To work.

【0029】すなわち、前記タイミング調整回路1には
MPU(図示しない)からデータリクエスト信号DRE
Q、書き込み及び読み出し制御信号XWR、データスト
ローブ信号XDSが入力され、同タイミング調整回路1
からMPUに制御信号DACKが出力され、同タイミン
グ調整回路1からメモリ(図示しない)に各制御信号X
WE,XRAS,XCASが出力される。
That is, the timing adjustment circuit 1 receives a data request signal DRE from an MPU (not shown).
Q, write and read control signal XWR, and data strobe signal XDS are input, and the same timing adjustment circuit 1
Control signal DACK is output to the MPU from the timing adjustment circuit 1 and each control signal X is sent to the memory (not shown).
WE, XRAS, XCAS are output.

【0030】また、前記タイミング調整回路1は前記各
制御信号DREQ,XWR,XDSに基づいて第一及び
第二のFIFOメモリ2,4に制御信号を出力する。ま
た、前記タイミング調整回路1は前記各制御信号DRE
Q,XWR,XDSに基づいて制御信号を出力する。
Further, the timing adjusting circuit 1 outputs a control signal to the first and second FIFO memories 2 and 4 based on the control signals DREQ, XWR and XDS. In addition, the timing adjustment circuit 1 controls the control signals DRE.
A control signal is output based on Q, XWR, and XDS.

【0031】前記アドレス制御回路5は前記タイミング
調整回路1から出力される制御信号とMPUからの命令
に基づき、前記メモリからの読み出し動作を行うための
アドレス信号を第一のFIFOメモリ4と、セレクタ回
路8に出力する。
The address control circuit 5 outputs an address signal for performing a read operation from the memory based on a control signal output from the timing adjustment circuit 1 and an instruction from the MPU, to the first FIFO memory 4 and a selector. Output to the circuit 8.

【0032】前記セレクタ回路8は読み出し動作時には
前記アドレス制御回路5から出力されるアドレス信号を
選択して、メモリにアドレス信号MAD7〜MAD0と
して出力する。
During the read operation, the selector circuit 8 selects the address signal output from the address control circuit 5 and outputs it to the memory as address signals MAD7 to MAD0.

【0033】また、前記第一のセレクタ回路8は書き込
み動作時には前記第一のFIFOメモリ4から出力され
るアドレス信号を選択して、メモリにアドレス信号MA
7〜MA0として出力する。
Further, the first selector circuit 8 selects an address signal output from the first FIFO memory 4 during a write operation and outputs the address signal MA to the memory.
Output as 7 to MA0.

【0034】前記第一のFIFOメモリ4には、前記ア
ドレス制御回路5から出力されるアドレス信号が順次書
き込まれ、書き込まれたアドレス信号がその書き込み順
に前記セレクタ回路8に出力される。
Address signals output from the address control circuit 5 are sequentially written in the first FIFO memory 4, and the written address signals are output to the selector circuit 8 in the order of writing.

【0035】前記第二のFIFOメモリ2には、前記第
一のFIFOメモリ4に書き込まれるアドレスに対応す
るデータが同第一のFIFOメモリ4への書き込み動作
に同期して書き込まれる。
Data corresponding to the address written in the first FIFO memory 4 is written in the second FIFO memory 2 in synchronization with the write operation in the first FIFO memory 4.

【0036】すなわち、書き込み動作時においては前記
MPUから出力されたデータD7〜D0が第二のFIF
Oメモリ2に書き込まれるとともに、その書き込まれた
データは前記タイミング調整回路1の制御信号に基づい
て、同第二のFIFOメモリ2からメモリに向かって、
先に書き込まれたデータから順に書き込みデータMD7
〜MD0として順次出力される。
That is, during the write operation, the data D7 to D0 output from the MPU is the second FIFO.
While being written in the O memory 2, the written data is transferred from the second FIFO memory 2 to the memory on the basis of the control signal of the timing adjusting circuit 1.
Write data MD7 in order from the previously written data
~ MD0 are sequentially output.

【0037】また、前記第二のFIFOメモリ2には、
読み出し動作時においては前記メモリから読み出された
データMD7〜MD0が書き込まれるとともに、その書
き込まれたデータは前記タイミング調整回路1の制御信
号に基づいて、同第二のFIFOメモリ2から前記MP
Uに向かって、先に書き込まれたデータから順に読み出
しデータD7〜D0として順次出力される。
In the second FIFO memory 2,
During the read operation, the data MD7 to MD0 read from the memory are written, and the written data is written from the second FIFO memory 2 to the MP based on the control signal of the timing adjustment circuit 1.
To the U, the read data D7 to D0 are sequentially output from the previously written data.

【0038】次に、上記のように構成されたデータ転送
装置の作用を図3に従って説明する。MPUから入力さ
れる書き込み及び読み出し制御信号XWRがHレベルと
なると、上記データ転送装置は、メモリに格納されてい
るデータをMPUに転送する読み出しモードとなる。
Next, the operation of the data transfer device configured as described above will be described with reference to FIG. When the write / read control signal XWR input from the MPU becomes H level, the data transfer device enters the read mode in which the data stored in the memory is transferred to the MPU.

【0039】この状態で、Lレベルのデータリクエスト
信号DREQと、データストローブ信号XDSがタイミ
ング調整回路1に入力されると、同タイミング調整回路
1からメモリにHレベルの書き込み制御信号XWEと、
各制御信号XRAS,XCASが入力されて、同メモリ
よりデータを読み出し、第二のFIFOメモリ2へデー
タを出力する。
In this state, when the L level data request signal DREQ and the data strobe signal XDS are input to the timing adjustment circuit 1, the timing adjustment circuit 1 outputs the H level write control signal XWE to the memory.
Each of the control signals XRAS and XCAS is input, the data is read from the same memory, and the data is output to the second FIFO memory 2.

【0040】また、第二のFIFOメモリ2のMPUへ
のデータ出力準備がととのうと、タイミング調整回路1
からMPUにアクノリッジ信号DACKが入力され、M
PUは制御信号XDSを入力し、データの読み出しが行
われる。
When the data output from the second FIFO memory 2 to the MPU is ready, the timing adjustment circuit 1
The acknowledge signal DACK is input to the MPU from the
The PU inputs the control signal XDS and the data is read.

【0041】すなわち、タイミング調整回路1からメモ
リに出力される各制御信号XRAS,XCASに基づい
て、アドレス制御回路5ではメモリからデータを読み出
すアドレスをセレクタ回路8及び第一のFIFOメモリ
4に出力する。
That is, based on the control signals XRAS and XCAS output from the timing adjustment circuit 1 to the memory, the address control circuit 5 outputs an address for reading data from the memory to the selector circuit 8 and the first FIFO memory 4. .

【0042】セレクタ回路8では、アドレス制御回路5
から出力されるアドレス値をアドレス信号MA7〜MA
0としてメモリに出力する。第一のFIFOメモリ4で
はそのアドレス値を順次格納する。
In the selector circuit 8, the address control circuit 5
The address value output from the address signal MA7 to MA
It is output to the memory as 0. The first FIFO memory 4 sequentially stores the address values.

【0043】メモリに入力されたアドレス値MA7〜M
A0に基づいて、同メモリから読み出された読み出しデ
ータMD7〜MD0は第二のFIFOメモリ2に順次格
納される。
Address values MA7 to M input to the memory
The read data MD7 to MD0 read from the same memory based on A0 are sequentially stored in the second FIFO memory 2.

【0044】第一のFIFOメモリ4に格納されたアド
レス値MA7〜MA0と、第二のFIFOメモリ2に格
納された読み出しデータMD7〜MD0は、タイミング
調整回路1より前記データストローブ信号XDSに基づ
くタイミングで順次出力される。
The address values MA7 to MA0 stored in the first FIFO memory 4 and the read data MD7 to MD0 stored in the second FIFO memory 2 are output from the timing adjusting circuit 1 at the timing based on the data strobe signal XDS. Are output sequentially.

【0045】そして、第一のFIFOメモリ4に格納さ
れたアドレス値MA7〜MA0は第一のFIFOメモリ
4からタイミング調整回路1を介してアドレス信号AD
DRとしてMPUに出力される。
Then, the address values MA7 to MA0 stored in the first FIFO memory 4 are transferred from the first FIFO memory 4 via the timing adjustment circuit 1 to the address signal AD.
It is output to the MPU as DR.

【0046】また、第二のFIFOメモリ2に格納され
た読み出しデータMD7〜MD0は第二のFIFOメモ
リ2から読み出しデータD7〜D0としてMPUに転送
される。
The read data MD7 to MD0 stored in the second FIFO memory 2 are transferred from the second FIFO memory 2 to the MPU as read data D7 to D0.

【0047】このような読み出し動作中において、何ら
かの異常により上記転送動作が停止された後、転送動作
を再開すべくMPUから命令が実行され、タイミング調
整回路1にリクエスト信号DREQが入力されると、第
一及び第二のFIFOメモリ4,2内に残っているデー
タに基づいて直ちに転送動作が再開される。
During the read operation, after the transfer operation is stopped due to some abnormality, an instruction is executed from the MPU to restart the transfer operation, and the request signal DREQ is input to the timing adjustment circuit 1. The transfer operation is immediately restarted based on the data remaining in the first and second FIFO memories 4 and 2.

【0048】すなわち、MPUは第一のFIFOメモリ
4に残っているアドレス値の先頭アドレスを読み出し、
そのアドレスが転送を再開するアドレスであれば、リク
エスト信号DREQをタイミング調整回路1に出力す
る。そして、第一のFIFOメモリ4へのアドレス値の
格納及び第二のFIFOメモリ2を介した読み出しデー
タの転送が再開される。
That is, the MPU reads the start address of the address value remaining in the first FIFO memory 4,
If the address is an address for restarting the transfer, the request signal DREQ is output to the timing adjustment circuit 1. Then, the storage of the address value in the first FIFO memory 4 and the transfer of the read data via the second FIFO memory 2 are restarted.

【0049】また、書き込み動作時における転送中断後
の再開動作においても同様である。すなわち、書き込み
動作時には第一のFIFOメモリ4にはアドレス制御回
路5により出力されたアドレス値が順次書き込まれてい
る。
The same applies to the resuming operation after the transfer interruption during the writing operation. That is, during the write operation, the address values output by the address control circuit 5 are sequentially written in the first FIFO memory 4.

【0050】そして、転送中断後の再開動作において
は、MPUは第一のFIFOメモリ4に残っているアド
レス値の先頭アドレスを読み出し、そのアドレスが転送
を再開するアドレスであれば、リクエスト信号DREQ
をタイミング調整回路1に出力する。そして、第一のF
IFOメモリ4へのアドレス値の格納及び第二のFIF
Oメモリ2を介したデータの書き込みが再開される。
Then, in the restart operation after the transfer is interrupted, the MPU reads the start address of the address value remaining in the first FIFO memory 4, and if the address is the address for restarting the transfer, the request signal DREQ.
Is output to the timing adjustment circuit 1. And the first F
Storage of address value in IFO memory 4 and second FIFO
Writing of data via the O memory 2 is restarted.

【0051】以上のようにこのデータ転送装置では、デ
ータを一時格納される第二のFIFOメモリ2に加え
て、同第二のFIFOメモリ2に格納されるデータに対
応するアドレス値を一時格納する第一のFIFOメモリ
4が設けられている。
As described above, in this data transfer apparatus, in addition to the second FIFO memory 2 for temporarily storing data, the address value corresponding to the data stored in the second FIFO memory 2 is temporarily stored. A first FIFO memory 4 is provided.

【0052】従って、転送中断後の再開動作時には、第
二のFIFOメモリ4内に残るデータ数を検出し、転送
続行のためのメモリアドレス演算、またはFIFOメモ
リをリセットし、アドレス制御回路5に転送続行のため
のメモリアドレスをセットする等の処理が不要となる。
Therefore, at the time of resuming operation after the transfer is interrupted, the number of data remaining in the second FIFO memory 4 is detected, the memory address operation for continuing the transfer or the FIFO memory is reset and transferred to the address control circuit 5. Processing such as setting a memory address for continuation is unnecessary.

【0053】このため、転送中断後の再開動作を速やか
に行うことができるとともに、転送再開動作時のMPU
の負担を軽減することもできる。
Therefore, the restart operation after the transfer interruption can be promptly performed, and the MPU at the time of the transfer restart operation can be performed.
It is also possible to reduce the burden of.

【0054】[0054]

【発明の効果】以上詳述したように、この発明は転送動
作を中断した後に、転送再開動作を速やかに行い得るデ
ータ転送装置を回路規模を増大させることなく提供する
ことができる優れた効果を発揮する。
As described above in detail, the present invention has an excellent effect that it is possible to provide a data transfer device capable of promptly performing a transfer restart operation after suspending a transfer operation without increasing the circuit scale. Demonstrate.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】一実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment.

【図3】一実施例の動作を示す波形図である。FIG. 3 is a waveform diagram showing the operation of one embodiment.

【図4】従来例を示すブロック図である。FIG. 4 is a block diagram showing a conventional example.

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

3 リード/ライト制御回路 7 データ格納装置 9 上位装置 10 メモリ 3 read / write control circuit 7 data storage device 9 host device 10 memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 上位装置(9)とメモリ(10)との間
にリード/ライト制御回路(3)とデータを一時格納す
るデータ格納装置(7)とを介在させ、前記上位装置
(9)とメモリ(10)との間で非同期で転送されるデ
ータを前記リード/ライト制御回路(3)の制御に基づ
いて前記データ格納装置(7)に一時格納し、前記デー
タ格納装置(7)に格納されたデータを前記リード/ラ
イト制御回路(3)の制御に基づいて前記上位装置
(9)若しくはメモリ(10)に転送するデータ転送装
置であって、 前記リード/ライト制御回路(3)は前記データ格納装
置(7)に格納されるデータに対応するアドレスを格納
することを特徴とするデータ転送装置。
1. A read / write control circuit (3) and a data storage device (7) for temporarily storing data are interposed between a host device (9) and a memory (10), and the host device (9). Data that is asynchronously transferred between the memory and the memory (10) is temporarily stored in the data storage device (7) under the control of the read / write control circuit (3), and then stored in the data storage device (7). A data transfer device for transferring the stored data to the host device (9) or the memory (10) under the control of the read / write control circuit (3), wherein the read / write control circuit (3) A data transfer device for storing an address corresponding to data stored in the data storage device (7).
JP5130596A 1993-06-01 1993-06-01 Data transfer device Withdrawn JPH06342414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5130596A JPH06342414A (en) 1993-06-01 1993-06-01 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5130596A JPH06342414A (en) 1993-06-01 1993-06-01 Data transfer device

Publications (1)

Publication Number Publication Date
JPH06342414A true JPH06342414A (en) 1994-12-13

Family

ID=15037996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5130596A Withdrawn JPH06342414A (en) 1993-06-01 1993-06-01 Data transfer device

Country Status (1)

Country Link
JP (1) JPH06342414A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007531957A (en) * 2003-07-14 2007-11-08 フルクラム・マイクロシステムズ・インコーポレーテッド Asynchronous static random access memory
JP2009037526A (en) * 2007-08-03 2009-02-19 Mimaki Engineering Co Ltd Data transfer apparatus, request generation apparatus, and request generation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007531957A (en) * 2003-07-14 2007-11-08 フルクラム・マイクロシステムズ・インコーポレーテッド Asynchronous static random access memory
JP2009037526A (en) * 2007-08-03 2009-02-19 Mimaki Engineering Co Ltd Data transfer apparatus, request generation apparatus, and request generation method

Similar Documents

Publication Publication Date Title
US5159671A (en) Data transfer unit for small computer system with simultaneous transfer to two memories and error detection and rewrite to substitute address
JPH01277928A (en) Printer
US20060190637A1 (en) Control apparatus, information processing apparatus, and data transferring method
JPH06342414A (en) Data transfer device
JP2002183675A (en) Control device of data recording medium and method therefor, data recorder and control device
US7457943B2 (en) Controller, image processing apparatus, and method of controlling execution of program
JPH08202635A (en) Dma controller
JP4862255B2 (en) Flash ROM control device, flash ROM control method and program
KR100454652B1 (en) Main storage of highly pipelined bus system on multiprocessor system using shared memory
JPH0863396A (en) Disk cache device
JPH04239355A (en) Electronic disk device
JPH06110506A (en) Comment storage method for programmable controller
JP3299147B2 (en) Cache control circuit
JP3034013B2 (en) Display memory processing device
JPH05120060A (en) Fault data extraction system
JPH07319720A (en) System switching method for processor
JPH09288639A (en) Information processor
JPS6294042A (en) Communication control equipment
JPH05314050A (en) Data transfer device
JPH01284940A (en) Memory controller
JPH03189850A (en) Data processor
JPH075999A (en) Magnetic disk controller
JPH04326144A (en) Memory bus error detection system
JPH06214941A (en) Dma control circuit
JPH0530308A (en) Picture processor

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: 20000801