Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0160862B2 - - Google Patents
[go: Go Back, main page]

JPH0160862B2 - - Google Patents

Info

Publication number
JPH0160862B2
JPH0160862B2 JP10650881A JP10650881A JPH0160862B2 JP H0160862 B2 JPH0160862 B2 JP H0160862B2 JP 10650881 A JP10650881 A JP 10650881A JP 10650881 A JP10650881 A JP 10650881A JP H0160862 B2 JPH0160862 B2 JP H0160862B2
Authority
JP
Japan
Prior art keywords
data
data transfer
fifo
signal
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.)
Expired
Application number
JP10650881A
Other languages
Japanese (ja)
Other versions
JPS588344A (en
Inventor
Kazutoshi Michioka
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
Tokyo Shibaura Electric Co 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP10650881A priority Critical patent/JPS588344A/en
Publication of JPS588344A publication Critical patent/JPS588344A/en
Publication of JPH0160862B2 publication Critical patent/JPH0160862B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 本発明はデータ転送方式、具体的にはデータレ
ートの異る装置間のデータ転送において有用なデ
ータ転送方式に関する。 最近、LSI(大規模集積回路)、マイクロコンピ
ユータの発達によりシステムの価格が非常に低下
してきている。このため、安価なマイクロプロセ
ツサを機能的に割りあて及び接続を行い、それを
系統的に動作させる方式が考えられている。即
ち、演算制御乃至入出力制御に専用のマイクロプ
ロセツサを用い、そのソフトウエア命令により装
置特有のやりとりを行うものである。従つてこれ
ら複数のマイクロプロセツサ間の結合ならびに動
作を調整する必要がある。 本発明は上記要望に鑑みてなされたものであ
り、高速プロセツサと比較的低速な周辺装置間の
データ転送において、ある程度のインテリジエン
シイを持たしたバツフア装置を使用することによ
り、両装置間のデータレート差を調整(処理速度
の差を吸収する)するデータ転送方式を提供する
ことを目的とする。 一方、2つの装置が同じデータレートで動作で
きるとしても、双方が常に同期して動作できると
は限らない。従つて本発明の他の目的はこの様な
場合においても同様に必要となるデータのバツフ
アリング機能を持ち、効率の良い処理を行い得る
データ転送方式を提供することにある。 本発明の特徴は、FIFO(First―in―First―
out)としては比較的大きな容量を持つ、例えば
128バイト×8ビツトFIFO型のバツフアメモリを
使用することにより、2装置間のデータ転送にお
いて前記装置各々の速度で読出し/書込みを同時
に行えることにある。これによりシステムのスル
ープツトを向上させることにある。例えば高速デ
ータ転送を行うDMA装置は高速ブロツク転送を
実行して上記FIFOバツフアをFULLの状態とし、
このFIFOバツフアより比較的低速な周辺装置が
同装置の有するデータレートで読出せることを意
味する。 以下、図面を使用して本発明に関し詳細に説明
する。 第1図は本発明が実現されるデータ転送装置の
実施例を示す。図において、100は本発明の特
徴であるFIFOバツフアコントロール回路(以下、
FIFCと称する)である。このFIFC100はフロ
ツピーデイスク装置の専用プロセツサであるフロ
ツピーデイスクコントローラ(以下、FDC20
0と称する)と、主記憶装置(図示せず)との間
で高速データ転送を行うDMA装置(以下、
DMA300と称する)の間に接続される。各ブ
ロツク(100,200,300)間の転送は後
述する如く従来より周知の2線式ハンドシエイク
によりなされるものとする。図中、DRQはFIFC
100からDMA300に対し発せられるデータ
要求信号、DACKは前記DRQ信号に対し、DMA
300から発せられるアクノリツジ信号である。
又、HRQはDMA300よりCPU(図示せず)に
対し発せられるホールド要求信号、CACKはこれ
に対しCPUより得られるアクノリツジ信号であ
る。このホールド要求により、CPUの持つバス
はフローテイング状態となり、この間DMA30
0か前記バスを占有できるものである。 一方、DATはFIFC100とFDC200間の8
ビツトデータ転送バス、FDRQはFDC200か
らFIFC100に対し発せられるデータ要求信号、
FACKは前記FDRQ信号に対しFIOC100から
発せられるアクノリツジ信号である。又、SWD
はフロツピーデイスク装置(図示せず)に対し発
せられるシリアルライトデータ、SRDはフロツ
ピーデイスク装置から得られるシリアルリードデ
ータである。 第2図は第1図におけるFIFCの内部構成を示
す回路図である。図により明らかな如く、FIFO
100は主にWRITEバツフア用に設けられる
FIFOバツフア11、READバツフア用として設
けられるFIFOバツフア12、8ビツト並列双方
向バスドライバ13、FIFOレングスカウンタ1
4、モード設定フリツプフロツプ15,16、各
種ゲートならびにフリツプフロツプ(以降、ゲー
ト群171819と称する)から成る。前記
双方向バスドライバ13のデータ入力端子DIに
は前記FIFOバツフア11のデータ出力Qが供給
される。データ出力端子Oは前記FIFOバツフア
12のデータ入力端子Dに接続されている。そし
て該双方向バスドライバ13のCS(チツプセレク
ト)入力として後述するモードフリツプフロツプ
15,16の出力の論理和出力が、又、データ
の流れを制御するDIEN入力にはモードフリツプ
フロツプ15の出力が供給されている。ところ
で、前記FIFOレングスカウンタ14には、ソフ
トウエアによりデータ転送長が設定される。該
FIFOレングスカウンタ14はデータ転送がなさ
れる毎に減カウントされ、ある値(例えば“0”)
となつたときにFDC200に対しデータ転送終
了指示TCを与える。又、モードフリツプフロツ
プ15,16のそれぞれには同じくソフトウエア
により、書込みモードWRITE、読出しモード
READのいずれかが設定される。これらフリツ
プフロツプ15,16のQ出力はそれぞれゲート
17、ゲート群18へ、そして出力はゲート
19へ供給される。又、フリツプフロツプ15
の出力は前記双方向バスドライバ13のDIEN
端子に供給されている。 一方、FIFOバツフア11,12における入力
及び出力は非同期に動作を行い、インプツトレデ
イ(以下、IRと称する)信号がアクテイブの時、
シフトイン(以下、SIと称する)信号により第1
バイトロケーシヨンに入力される。このとき、第
2バイトロケーシヨンが空であると、データは第
2バイトロケーシヨンに転送される。データが最
終バイトロケーシヨン(第128バイト)に転送さ
れるとアウトプツトレデイ(以下、ORと称す
る)信号がアクテイブとなり、シフトアウトSO
信号により出力されるものである。尚、各種信号
線のうち、本発明動作に関係するもののみ動作の
欄にて定義する。 以下、本発明の動作につき詳細に説明するが、
その前に本発明ににおいて使用されるフアームウ
エアの運用法につき簡単に記しておく。 まず、FIFOバツフア11,12の内容をリセ
ツトした後、DMA300に対し、アドレス・レ
ングスならびに動作モードをセツトする。次に
FDC2に対しコマンドをセツトし、FIFOレング
ス及びFIOC100の動作モードをそれぞれFIFO
レングスカウンタ14、フリツプフロツプ15,
16にセツトすることにより、以後2線式ハンド
シエイクの制御手順に従いデータ転送がなされ
る。FIFOレングスカウンタ14の示す値が“0”
になると、FDC200に対しTC(Terminal
Count)信号が出力され、FDC200より割込み
信号が発せられることにより、フアームウエアに
対し割り込む。フアームウエアは前記モードフリ
ツプフロツプ15,16の内容をリセツトした
後、FDC200に対し、リザルト処理を行う。 以下、本発明の動作につき書込みシーケンス、
読出しシーケンスに分けて説明する。本発明に係
わる信号名の定義も合わせて説明を行う。 書込みシーケンスから先に説明する。FIFOバ
ツフア11のIRがアクテイブとなることにより、
モードフリツプフロツプ15のQ出力である
FFDWM信号との条件が成立し、このことによ
りDRQ信号がDMA300に対し出力される。
DMA3はCPUに対しHOLD要求を発することに
よりバスの使用権を得ると主記憶からデータを読
出しデータラインDDATにデータを送り出す。
同時に同期信号DMSYNがアクテイブとなり、
前記DDAT上のデータがFIFOバツフア11へ入
力される。FIFOバツフア11の第1バイトロケ
ーシヨンに転送されたデータは最終バイトロケー
シヨンへと順次移動される。以後、上記手順に従
い、DMA300は主記憶からデータを読出し、
FIFOバツフア11へのデータ転送を繰返す。 FIFOバツフア11内において、最終バイトロ
ケーシヨンにデータが移動すると、OR出力であ
るDWBOR信号がアクテイブとなり、この時、
FDC200からFDRQ信号(アクテイブ)が到
来すればゲート条件が成立し、シフトアウト信号
DWBSOがFIFOバツフア11のSO端子に供給さ
れる。このDWBSO信号が入力されるとFIFOバ
ツフア11の第128バイトロケーシヨンのデータ
がデータバスFDATに出力される。このFDAT
上のデータは双方向バスドライバ13を介してデ
ータバスDATへ出力される。このとき、双方向
バスドライバ13のCS,DIENに入力される信号
により転送方向が決定されるが、この場合モード
フリツプフロツプ15,16がWRITEを指示し
ているため、FDC2に対しデータの書込みが行
なわれる。 尚、FIFOバツフア11のシフトアウト信号
DWBSO及び後述するFIFOバツフア12のシフ
トイン信号DRBSIはCPUの基本クロツク|S
CKCPUによりサンプリングされる。又、
DWBSO信号がFDC200への書込み信号とな
る。このとき、FDC200から発せられる
FDRQ信号に対し許可の表示を行うFACK信号も
アクテイブとなる。 以後、FDC200からのデータ要求FDRQが
到来するためにFIFOバツフア11のシフトアウ
ト信号DWBSOがアクテイブとなつてFDC20
0への書込みデータが出力される。 次に読出しシーケンスにつき説明を行う。読出
しはモードフリツプフロツプ16のQ出力が有効
になる他は上記書込み動作とほぼ逆の動作を行う
ため、詳細説明は省略する。読出し動作はFDC
200からデータ要求FDRQが到来する毎に
FIFOデータ12のIRがアクテイブとなつていた
場合に限り、DRBSI信号がアクテイブとなつて、
このFIFOバツフア12へデータが入力されてい
く。FIFOバツフア12のORがアクテイブにな
るとDMA300に対しデータリクエスト(DRQ
信号)を発する。DMA300から得られる
DACK信号により、論理積条件が成立しシフト
アウト信号DRBSOがアクテイブとなる。このこ
とによりDMA300とのデータ転送が行なわれ
る。このデータ転送はFDC200からのデータ
リクエストとは非同期に行なわれる。 ところで上記読出し/書込み動作の終了は
FIFOレングスカウンタ14のボロー信号(B端
子より出力されるTC信号)がアクテイブとなり、
FDC200に対しTC(Terminal Count)信号を
供給することによりなされる。各々の動作におい
て、FIFOバツフア11,12の入出力は非同期
に動作するため、データレートの遅い装置、即ち
本発明実施例においてはFDC200側にて実行
バイト数の認識が必要となる。FIFOレングスカ
ウンタ14には読出し/書込み動作開始時、フア
ームウエアによりDMA300の転送レングスと
同じ値が設定される。このFIFOレングスカウン
タ14の更新(−1)は、書込み動作時において
FIFOバツフア11のシフトアウト信号DWBSO
がアクテイブとなるタイミングで、又、読出し動
作時においてFIFOバツフア12のシフトイン信
号DRBSIがアクテイブとなるタイミングで行な
われる。 以上説明の如く本発明によれば以下に列挙する
効果を得ることができる。 (1) 2線式ハンドシエイクでデータ転送が管管で
き、異なつた速度で動作する装置間のデータ転
送が有効に実現できる。 (2) DMA装置により、本発明が実現される装置
FIFCと主記憶との間のデータ転送は各マシン
サイクル毎に行なえ、入出力装置からデータを
読込みその後主記憶へ書込まなければならない
といつた効率の悪い転送シーケンスを解消でき
る。 (3) DMA装置がメモリアドレスと読出し/書込
み情報を供給し、本装置FIFCがデータの送受
信を行うことで、両側でDMA転送を同時に行
なえる。この方式によれば、主記憶との読出
し/書込みのデータ転送はバスのほぼ最高の帯
域で行なえる。これは入出力装置との交信が、
バスを占有する時間を減少させることを意味
し、システムのスループツト向上の要因ともな
る。 尚、本発明実施例によれば高速ブロツク転送を
行うDMAと低速の入出力装置とのデータ転送に
ついてのみ述べたが、DMA―DMA間あるいは
入出力装置同志のデータ転送にも応用できる。前
者の場合、前述したFIFOレングスカウンタは不
要となり、後者の場合、双方の入出力装置のデー
タ転送長を認識する2個のFIFOレングスカウン
タが必要となる。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer method, and specifically to a data transfer method useful in data transfer between devices having different data rates. Recently, with the development of LSI (Large-Scale Integrated Circuits) and microcomputers, system prices have come down significantly. For this reason, a method has been considered in which inexpensive microprocessors are functionally assigned and connected and are operated systematically. That is, a dedicated microprocessor is used for arithmetic control and input/output control, and its software instructions are used to perform device-specific exchanges. Therefore, it is necessary to coordinate the coupling and operation between these multiple microprocessors. The present invention has been made in view of the above-mentioned needs, and uses a buffer device having a certain degree of intelligence in data transfer between a high-speed processor and a relatively low-speed peripheral device. The purpose of this invention is to provide a data transfer method that adjusts rate differences (absorbs processing speed differences). On the other hand, even if two devices can operate at the same data rate, they may not always be able to operate synchronously. Therefore, another object of the present invention is to provide a data transfer system that has the necessary data buffering function and can perform efficient processing even in such a case. The feature of the present invention is that FIFO (First-in-First-
out) has a relatively large capacity, e.g.
By using a 128-byte x 8-bit FIFO type buffer memory, data transfer between two devices can be performed simultaneously at the speed of each device. This aims to improve the throughput of the system. For example, a DMA device that performs high-speed data transfer executes high-speed block transfer to bring the FIFO buffer to the FULL state,
This means that a peripheral device that is relatively slower than this FIFO buffer can read data at the data rate of the device. Hereinafter, the present invention will be explained in detail using the drawings. FIG. 1 shows an embodiment of a data transfer device in which the present invention is implemented. In the figure, 100 is a FIFO buffer control circuit (hereinafter referred to as
(referred to as FIFC). This FIFC 100 is a floppy disk controller (hereinafter referred to as FDC20), which is a dedicated processor for floppy disk devices.
DMA device (hereinafter referred to as DMA device) that performs high-speed data transfer between
DMA 300). It is assumed that the transfer between the blocks ( 100 , 200, 300) is performed by a conventional two-wire handshake as described later. In the diagram, DRQ is FIFC
DACK is a data request signal issued from 100 to DMA 300, and DACK is a data request signal issued from DMA 300 to
This is an acknowledge signal issued from 300.
Further, HRQ is a hold request signal issued from the DMA 300 to the CPU (not shown), and CACK is an acknowledge signal obtained from the CPU in response to this. Due to this hold request, the bus owned by the CPU becomes in a floating state, and during this time the DMA3
0 or the bus can be occupied. On the other hand, DAT is 8 between FIFC 100 and FDC200.
The bit data transfer bus, FDRQ, is a data request signal issued from the FDC 200 to the FIFC 100 .
FACK is an acknowledge signal issued from the FIOC 100 in response to the FDRQ signal. Also, SWD
is serial write data issued to a floppy disk device (not shown), and SRD is serial read data obtained from the floppy disk device. FIG. 2 is a circuit diagram showing the internal configuration of the FIFC in FIG. 1. As is clear from the figure, FIFO
100 is mainly provided for WRITE buffer
FIFO buffer 11, FIFO buffer 12 provided for READ buffer, 8-bit parallel bidirectional bus driver 13, FIFO length counter 1
4. Mode setting flip-flops 15, 16, various gates, and flip-flops (hereinafter referred to as gate groups 17 , 18 , 19 ). The data output Q of the FIFO buffer 11 is supplied to the data input terminal DI of the bidirectional bus driver 13. The data output terminal O is connected to the data input terminal D of the FIFO buffer 12. The CS (chip select) input of the bidirectional bus driver 13 is the OR output of the outputs of mode flip-flops 15 and 16, which will be described later. 15 outputs are provided. Incidentally, a data transfer length is set in the FIFO length counter 14 by software. Applicable
The FIFO length counter 14 is decremented each time data is transferred, and is set to a certain value (for example, "0").
When this happens, a data transfer end instruction TC is given to the FDC 200. Also, each of the mode flip-flops 15 and 16 is set to write mode WRITE and read mode by the same software.
Either READ is set. The Q outputs of these flip-flops 15 and 16 are supplied to a gate group 17 and a gate group 18 , respectively, and the outputs are supplied to a gate group 19 . Also, flip-flop 15
The output of DIEN of the bidirectional bus driver 13 is
Supplied to the terminal. On the other hand, the inputs and outputs in the FIFO buffers 11 and 12 operate asynchronously, and when the input ready (hereinafter referred to as IR) signal is active,
The first shift-in (hereinafter referred to as SI) signal
input to the byte location. At this time, if the second byte location is empty, the data is transferred to the second byte location. When the data is transferred to the final byte location (128th byte), the output ready (hereinafter referred to as OR) signal becomes active and the shift out SO
It is output as a signal. Of the various signal lines, only those related to the operation of the present invention are defined in the operation column. The operation of the present invention will be explained in detail below.
Before that, we will briefly describe how to operate the firmware used in the present invention. First, after resetting the contents of the FIFO buffers 11 and 12, the address length and operation mode of the DMA 300 are set. next
Set the command to FDC2 and set the FIFO length and FIOC 100 operation mode to FIFO respectively.
length counter 14, flip-flop 15,
By setting the flag to 16, data transfer is thereafter performed according to the two-wire handshake control procedure. The value indicated by the FIFO length counter 14 is “0”
TC (Terminal) for FDC200
Count) signal is output, and the FDC 200 issues an interrupt signal to interrupt the firmware. After resetting the contents of the mode flip-flops 15 and 16, the firmware performs result processing on the FDC 200. The write sequence for the operation of the present invention is as follows:
The explanation will be divided into read sequences. Definitions of signal names related to the present invention will also be explained. The write sequence will be explained first. By activating the IR of FIFO buffer 11,
is the Q output of mode flip-flop 15.
The condition with the FFDWM signal is satisfied, and as a result, the DRQ signal is output to the DMA 300.
The DMA3 issues a HOLD request to the CPU to obtain the right to use the bus, reads data from the main memory, and sends the data to the data line DDAT.
At the same time, the synchronization signal DMSYN becomes active,
The data on the DDAT is input to the FIFO buffer 11. The data transferred to the first byte location of the FIFO buffer 11 is sequentially moved to the final byte location. After that, according to the above procedure, the DMA 300 reads data from the main memory,
Data transfer to FIFO buffer 11 is repeated. When data moves to the final byte location in the FIFO buffer 11, the DWBOR signal, which is the OR output, becomes active, and at this time,
When the FDRQ signal (active) arrives from FDC200, the gate condition is met and the shift out signal
DWBSO is supplied to the SO terminal of the FIFO buffer 11. When this DWBSO signal is input, the data at the 128th byte location of the FIFO buffer 11 is output to the data bus FDAT. This FDAT
The above data is output to the data bus DAT via the bidirectional bus driver 13. At this time, the transfer direction is determined by the signals input to CS and DIEN of the bidirectional bus driver 13, but in this case, since the mode flip-flops 15 and 16 are instructing WRITE, data is not transmitted to the FDC2. Writing is performed. In addition, the shift out signal of FIFO buffer 11
DWBSO and the shift-in signal DRBSI of the FIFO buffer 12, which will be described later, are the basic clock of the CPU |S
Sampled by CKCPU. or,
The DWBSO signal becomes a write signal to the FDC 200. At this time, the FDC200 emits
The FACK signal, which indicates permission for the FDRQ signal, also becomes active. After that, in order to receive the data request FDRQ from the FDC 200, the shift out signal DWBSO of the FIFO buffer 11 becomes active and the FDC 20
Data written to 0 is output. Next, the read sequence will be explained. Since the read operation is almost the opposite of the write operation described above except that the Q output of the mode flip-flop 16 is enabled, detailed explanation will be omitted. Read operation is FDC
Every time a data request FDRQ arrives from 200
Only when the IR of FIFO data 12 is active, the DRBSI signal becomes active.
Data is input to this FIFO buffer 12. When the OR of FIFO buffer 12 becomes active, a data request (DRQ) is sent to DMA300.
signal). Obtained from DMA300
Due to the DACK signal, the AND condition is satisfied and the shift-out signal DRBSO becomes active. Data transfer with the DMA 300 is thereby performed. This data transfer is performed asynchronously with the data request from the FDC 200. By the way, the end of the above read/write operation is
The borrow signal of the FIFO length counter 14 (TC signal output from the B terminal) becomes active,
This is done by supplying a TC (Terminal Count) signal to the FDC 200. In each operation, the input and output of the FIFO buffers 11 and 12 operate asynchronously, so in a device with a slow data rate, that is, in the embodiment of the present invention, it is necessary to recognize the number of executed bytes on the FDC 200 side. The FIFO length counter 14 is set to the same value as the transfer length of the DMA 300 by the firmware at the start of the read/write operation. This FIFO length counter 14 is updated (-1) during write operation.
FIFO buffer 11 shift out signal DWBSO
This is performed at the timing when the shift-in signal DRBSI of the FIFO buffer 12 becomes active during the read operation. As explained above, according to the present invention, the following effects can be obtained. (1) Two-wire handshake allows data transfer, and data transfer between devices operating at different speeds can be effectively realized. (2) A device in which the present invention is realized by a DMA device
Data transfer between the FIFC and main memory can be performed every machine cycle, eliminating inefficient transfer sequences in which data must be read from an input/output device and then written to main memory. (3) The DMA device supplies memory addresses and read/write information, and the FIFC of this device sends and receives data, allowing DMA transfer to be performed simultaneously on both sides. According to this method, read/write data transfer with the main memory can be performed at almost the highest bandwidth of the bus. This means that communication with input/output devices is
This means reducing the amount of time the bus is occupied, and is a factor in improving system throughput. According to the embodiment of the present invention, only data transfer between a DMA that performs high-speed block transfer and a low-speed input/output device has been described, but the present invention can also be applied to data transfer between DMAs or between input/output devices. In the former case, the FIFO length counter described above becomes unnecessary, and in the latter case, two FIFO length counters that recognize the data transfer length of both input/output devices are required.

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

第1図は本発明が実現されるデータ転送装置の
実施例を示すブロツク図、第2図は第1図におけ
るFIFOバツフアコントロール回路の内部構成を
示す回路図である。 100…FIFOバツフアコントロール回路、2
00…フロツピーデイスクコントローラ、300
…ダイレクトメモリアクセスコントローラ、11
…書込用FIFOバツフア、12…読出し用FIFOバ
ツフア、13…双方向バスドライバ、14…
FIFOレングスカウンタ、15,16…モードフ
リツプフロツプ、171819…ゲート群。
FIG. 1 is a block diagram showing an embodiment of a data transfer device in which the present invention is implemented, and FIG. 2 is a circuit diagram showing the internal configuration of the FIFO buffer control circuit in FIG. 1. 100 ...FIFO buffer control circuit, 2
00...Floppy disk controller, 300
...Direct memory access controller, 11
...Write FIFO buffer, 12...Read FIFO buffer, 13...Bidirectional bus driver, 14...
FIFO length counter, 15, 16...Mode flip-flop, 17 , 18 , 19 ...Gate group.

Claims (1)

【特許請求の範囲】[Claims] 1 データレートの異る装置間のデータ転送をコ
ントロールする装置であつて、該装置は前記装置
間における転送データのバツフアリングのために
設けられる読出し/書込み用のそれぞれ独立した
FIFOバツフアメモリと、外部より動作モードが
設定される少くとも1個のフリツプフロツプと、
外部よりデータ転送長が設定され、以降読出し/
書込み動作が行なわれる毎に値が更新され、ある
値を示した時前記実行データ転送長を認識し得な
い一方の装置に対しデータ転送終了指示を与える
少くとも1個のFIFOレングスカウンタとを具備
し、前記フリツプフロツプの示す内容により、本
装置のデータ転送方向が定義され、前記FIFOレ
ングスカウンタがある値を示すまで転送データの
バツフアリングを行い、2線式ハンドシエイクに
より、前記装置間でデータ転送を実行することを
特徴とするデータ転送方式。
1 A device that controls data transfer between devices with different data rates, and the device has independent read/write ports provided for buffering transfer data between the devices.
a FIFO buffer memory, at least one flip-flop whose operating mode is externally set;
The data transfer length is set externally, and subsequent reading/
and at least one FIFO length counter whose value is updated every time a write operation is performed, and when it indicates a certain value, it gives an instruction to end the data transfer to one device that cannot recognize the execution data transfer length. The data transfer direction of this device is defined by the content indicated by the flip-flop, and the transfer data is buffered until the FIFO length counter indicates a certain value, and data transfer is executed between the devices by two-wire handshake. A data transfer method characterized by:
JP10650881A 1981-07-08 1981-07-08 Data transfer system Granted JPS588344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10650881A JPS588344A (en) 1981-07-08 1981-07-08 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10650881A JPS588344A (en) 1981-07-08 1981-07-08 Data transfer system

Publications (2)

Publication Number Publication Date
JPS588344A JPS588344A (en) 1983-01-18
JPH0160862B2 true JPH0160862B2 (en) 1989-12-26

Family

ID=14435362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10650881A Granted JPS588344A (en) 1981-07-08 1981-07-08 Data transfer system

Country Status (1)

Country Link
JP (1) JPS588344A (en)

Also Published As

Publication number Publication date
JPS588344A (en) 1983-01-18

Similar Documents

Publication Publication Date Title
EP0489504B1 (en) Bidirectional FIFO buffer for interfacing between two buses
US4271466A (en) Direct memory access control system with byte/word control of data bus
JP2004171209A (en) Shared memory data transfer device
US5426737A (en) Direct memory access for data transfer within an I/O device
US5062073A (en) Input output control system using a fifo to record access information of control registers by a master device
JPH0160862B2 (en)
JPS581454B2 (en) Input/output control method
JP2727514B2 (en) Transfer destination ID designating circuit
JPH0553902A (en) Memory control circuit
KR100567147B1 (en) Data transmission method and device
JPH0222748A (en) Non-volatile memory control circuit
JP2574821B2 (en) Direct memory access controller
KR0170742B1 (en) Data transmission method using Embus
JP3028998B2 (en) DMA transfer circuit
JPH0131225B2 (en)
JPH0736806A (en) Dma system
JPH02211571A (en) Information processor
JPH02301851A (en) System bus accessing system
JPH0310354A (en) Data transfer control system
JPH01259441A (en) Bus interface device
JPH01195563A (en) Bus controller
JPH01250163A (en) Bus controller
JPH0786852B2 (en) Data transfer method for I/O processor
JPH04120648A (en) Common bus connecting device
JPS61267852A (en) Data bus conversion system