JPH05324547A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH05324547A
JPH05324547A JP12595092A JP12595092A JPH05324547A JP H05324547 A JPH05324547 A JP H05324547A JP 12595092 A JP12595092 A JP 12595092A JP 12595092 A JP12595092 A JP 12595092A JP H05324547 A JPH05324547 A JP H05324547A
Authority
JP
Japan
Prior art keywords
data
data transfer
processor
transfer device
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.)
Pending
Application number
JP12595092A
Other languages
Japanese (ja)
Inventor
Shingo Kano
信吾 狩野
Junji Nishikawa
順二 西川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP12595092A priority Critical patent/JPH05324547A/en
Publication of JPH05324547A publication Critical patent/JPH05324547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To specify a data transfer device which should transfer data by discriminating the priority level of data transfer to a processor. CONSTITUTION:A processor 10 is connected to plural data transfer devices 11 by one data bus 16, and each data transfer device 11 is internally provided with a right transfer circuit 12 which transfers the right of access to the processor to the adjacent data transfer device 11, and this circuit 12 is connected to the right transfer circuit in the adjacent data transfer device by a signal line. The data transfer device 11 monitors whether a data buffer 15 has transferrable data or not by a data flag. When receiving the right of access to the processor, the data transfer device transfers data to the processor if the data buffer 15 has data. If the data buffer does not have data, the right is transferred to the right transfer circuit 12 of the adjacent data transfer device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は複数のデータ転送装置が
単一プロセッサに対してデータ転送を行うデータ転送シ
ステムにおいて、データ転送装置間のハンドシェイクに
よって転送を行うデータ転送装置を特定する方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer system in which a plurality of data transfer devices transfer data to a single processor, and to a method for specifying a data transfer device to perform transfer by handshaking between the data transfer devices. It is a thing.

【0002】[0002]

【従来の技術】近年、複数のデータ転送装置が同一のプ
ロセッサに対してデータ転送を行う場合には、転送デー
タにタグを付加して転送先を明記する方法、アドレスバ
スで転送先を特定する方法など色々な方式が考案されて
いるが、プロセッサが複数のデータ転送装置とハンドシ
ェイクし、データ転送先を特定する決定する方法があ
る。このような制御の一例として特開平2ー16655
1号公報がある。この従来例では、マスタ・コンピュー
タが複数のスレーブ・コンピュータの何れかがデータ転
送可能状態であるか否かをチェックした上で、転送優先
度の高いスレーブ・コンピュータと優先度の低いスレー
ブ・コンピュータに分け、最も優先度の高いスレーブ・
プロセッサとデータ転送を行う一方で、他の優先度のス
レーブ・プロセッサの何れかがデータ転送可能な状態か
否かを判断し、優先度の高いスレーブ・プロセッサと優
先的にデータ転送を行うようにしている。
2. Description of the Related Art In recent years, when a plurality of data transfer devices transfer data to the same processor, a method of adding a tag to transfer data to specify the transfer destination, and specifying the transfer destination by an address bus. Although various methods such as a method have been devised, there is a method in which a processor performs a handshake with a plurality of data transfer devices to determine a data transfer destination. As an example of such control, Japanese Patent Application Laid-Open No. 2-16655
There is publication No. 1. In this conventional example, the master computer checks whether or not any of the plurality of slave computers is in a data transferable state, and then the slave computer having a high transfer priority and the slave computer having a low priority are transferred. The highest priority slave
While performing data transfer with the processor, determine whether any of the slave processors with other priorities is in a data transfer enabled state, and prioritize data transfer with the slave processor with the higher priority. ing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、マスタ・コンピュータは、あるスレーブ
・プロセッサとのデータ転送を行う一方、他のスレーブ
・プロセッサとハンドシェイクによる通信を行い、デー
タ転送の優先度を常に計算していなければならず、マス
タ・コンピュータのデータ転送に対する制御が頻繁に発
生し、転送制御が複雑であるという問題点を有してい
た。
However, in the above configuration, the master computer performs data transfer with a certain slave processor while communicating with another slave processor by handshake to transfer the data. Since the priority must be calculated all the time, control of data transfer by the master computer frequently occurs, and transfer control is complicated.

【0004】また、スレーブ・プロセッサの数はマスタ
・コンピュータのハンドシェイクの手段により限定され
ており、スレーブ・プロセッサの増設が容易に行うこと
ができないという問題点も有していた。
Further, the number of slave processors is limited by the handshake means of the master computer, and there is a problem in that the number of slave processors cannot be easily increased.

【0005】本発明は上記問題点に鑑み、プロセッサと
複数のデータ転送装置のデータ転送において、データ転
送装置同士がハンドシェイクして転送するデータ転送装
置を特定し、プロセッサはデータ転送の制御から免除さ
れるデータ転送方式を提供するものである。また本発明
はプロセッサと複数のデータ転送装置のデータ転送であ
るにもかかわらず、プロセッサはデータ転送装置の数を
意識することなく、データ転送装置の増設に対して柔軟
に対処できるデータ転送方式を提供するものである。
In view of the above problems, the present invention specifies a data transfer device to be handshaked between the data transfer devices and transfers the data between the processor and the plurality of data transfer devices, and the processor is exempt from the control of the data transfer. The present invention provides a data transfer method. Further, the present invention provides a data transfer method capable of flexibly coping with the expansion of the data transfer devices without being aware of the number of the data transfer devices, even though the present invention is the data transfer between the processor and the plurality of data transfer devices. Is provided.

【0006】[0006]

【課題を解決するための手段】上記問題点を解決するた
めに本発明のデータ転送方式では、第1の手段として、
プロセッサと、前記プロセッサと同一の第1のデータバ
スで接続しており、前記プロセッサに対してアクセスす
る権利を委譲する権利委譲回路を有する複数のデータ転
送装置と、各々の前記データ転送装置と各々同一の第2
のデータバスで接続する複数のデータバッファとを備
え、前記データ転送装置内の前記権利委譲回路は隣接す
る前記データ転送装置の前記権利委譲回路と信号線を介
してリング状に接続しており、前記複数のデータバッフ
ァは前記第2のデータバスで接続している前記データ転
送装置にデータフラグを介してデータの有無を通知して
おり、前記データ転送装置は前記データバッファに転送
すべきデータがある場合には前記プロセッサにデータを
転送し、データがない場合には隣接した前記データ転送
装置に前記プロセッサに対してアクセスする権利を委譲
するという制御を行う。
In order to solve the above problems, in the data transfer system of the present invention, the first means is as follows.
A processor, a plurality of data transfer devices connected to each other through the same first data bus as the processor and having a right transfer circuit for transferring the right to access the processor, and each of the data transfer devices. Same second
A plurality of data buffers connected by the data bus, the right transfer circuit in the data transfer device is connected to the right transfer circuit of the adjacent data transfer device in a ring shape via a signal line, The plurality of data buffers notify the data transfer device connected via the second data bus of the presence or absence of data via a data flag, and the data transfer device determines that the data to be transferred to the data buffer. Control is performed such that data is transferred to the processor if there is any data, and if there is no data, the right to access the processor is transferred to the adjacent data transfer device.

【0007】また第2の手段として、プロセッサと、複
数のデータ転送装置とを備え、前記データ転送装置は内
部にレジスタと、転送ワード数を数えるカウンタと、前
記レジスタと前記カウンタの値を比較するコンパレータ
と、前記プロセッサに対してアクセスする権利を隣接し
た前記データ転送装置に委譲する権利委譲回路を有し、
前記プロセッサと前記複数のデータ転送装置は同一のデ
ータバスで接続しており、前記権利委譲回路は隣接する
前記データ転送装置の前記権利委譲回路と信号線を介し
てリング状に接続しており、前記データ転送装置は前記
プロセッサと予め設定されたワード数転送した後に、隣
接するデータ転送装置に前記プロセッサに対してアクセ
スする権利を委譲するという制御を行う。
As a second means, a processor and a plurality of data transfer devices are provided, and the data transfer device internally compares a register, a counter for counting the number of transfer words, and the values of the register and the counter. A comparator, and a right transfer circuit for transferring the right to access the processor to the adjacent data transfer device,
The processor and the plurality of data transfer devices are connected by the same data bus, the right transfer circuit is connected to the right transfer circuit of the adjacent data transfer device in a ring shape via a signal line, The data transfer device performs control such that after transferring a preset number of words to the processor, the right to access the processor is transferred to an adjacent data transfer device.

【0008】[0008]

【作用】本発明は上記した構成によって、データ転送の
優先度をデータ転送同士がハンドシェイクして判断する
ため、プロセッサはデータ転送の制御が軽減される。ま
た本発明によるデータ転送方式はデータ転送装置の数に
依存しないので、データ転送装置の増設に対して柔軟に
対処でき、本方式を用いたデータ転送システムの拡張性
が大きい。
According to the present invention, because of the above-described structure, the data transfer priority is determined by handshaking between the data transfers, so that the processor can reduce the control of the data transfer. Further, since the data transfer system according to the present invention does not depend on the number of data transfer devices, it is possible to flexibly deal with the expansion of the data transfer devices, and the data transfer system using this system is highly expandable.

【0009】[0009]

【実施例】以下本発明の一実施例のデータ転送方式につ
いて、図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A data transfer system according to an embodiment of the present invention will be described below with reference to the drawings.

【0010】(実施例1)図1は本発明の第1の実施例
におけるデータ転送方式の構成図である。
(Embodiment 1) FIG. 1 is a configuration diagram of a data transfer system in a first embodiment of the present invention.

【0011】図1において、プロセッサ10は複数のデ
ータ転送装置11と同一のデータバス(第1のデータバ
ス)16を介して接続しており、各々のデータ転送装置
11は内部にプロセッサに対してアクセスする権利を隣
接するデータ転送装置に委譲する権利委譲回路12を有
し、権利委譲回路12は隣接したデータ転送装置内部の
権利委譲回路12と信号線13を介して接続している。
また各々のデータ転送装置はデータフラグ14によりデ
ータバッファ15にデータが存在するか否かを監視して
いる。また各々のデータ転送装置11は複数のデータバ
ッファ15と同一のデータバス(第2のデータバス)1
7を介して接続している。
In FIG. 1, the processor 10 is connected to a plurality of data transfer devices 11 via the same data bus (first data bus) 16, and each data transfer device 11 is internally connected to the processor. It has a right transfer circuit 12 for transferring the right of access to an adjacent data transfer device, and the right transfer circuit 12 is connected to the right transfer circuit 12 inside the adjacent data transfer device via a signal line 13.
Further, each data transfer device monitors whether or not data exists in the data buffer 15 by the data flag 14. Further, each data transfer device 11 has the same data bus (second data bus) 1 as the plurality of data buffers 15.
It is connected via 7.

【0012】以上のように構成されたデータ転送方式に
ついて、以下図1を用いてその動作を説明する。
The operation of the data transfer system configured as described above will be described below with reference to FIG.

【0013】データ転送装置11はデータバッファ15
に転送可能なデータが存在するか否かをデータフラグ1
4によって監視している。データ転送装置11はプロセ
ッサ10に対しアクセスする権利を受け取ると、データ
バッファ15にデータがある場合にはプロセッサ10に
対してデータ転送を行う。データバッファ15にデータ
がない場合には権利を隣接するデータ転送装置11の権
利委譲回路12に渡す。
The data transfer device 11 includes a data buffer 15
Data flag 1 indicating whether or not there is data that can be transferred to
Are monitored by 4. When the data transfer device 11 receives the right to access the processor 10, if there is data in the data buffer 15, the data transfer device 11 transfers the data to the processor 10. When there is no data in the data buffer 15, the right is transferred to the right transfer circuit 12 of the adjacent data transfer device 11.

【0014】以上のように本実施例によれば、プロセッ
サに対してアクセスする権利をデータ転送装置11同志
がハンドシェイクして委譲しあい、優先度の高いデータ
転送装置11がプロセッサ10とデータ転送することが
できる。さらに本実施例によれば、データ転送の要求が
低い場合にはデータ転送装置は常時権利を委譲し合い、
データ転送要求が生じるのを待機していることになり、
データ転送の要求が生じると直ちにデータ転送が可能な
状態になる。
As described above, according to the present embodiment, the right to access the processor is handshaked by the data transfer apparatuses 11 to transfer the right, and the data transfer apparatus 11 having a high priority transfers the data to the processor 10. be able to. Further, according to the present embodiment, when the request for data transfer is low, the data transfer devices always transfer rights to each other,
Waiting for a data transfer request,
As soon as a data transfer request is made, the data transfer is ready.

【0015】なお、本実施例ではデータ転送装置間のハ
ンドシェイクは隣接するデータ転送装置間で行うが、接
続形態は直線的でもリング状でもよく、また権利を委譲
する方向は権利を受け取った方向でも権利を受け取った
方向の逆方向でもよい。
In the present embodiment, the handshake between the data transfer devices is performed between the adjacent data transfer devices, but the connection form may be linear or ring-shaped, and the right is transferred in the direction in which the right is received. However, it may be in the opposite direction to the direction in which the right was received.

【0016】(実施例2)図2は本発明の第2の実施例
におけるデータ転送方式の構成図である。本実施例が実
施例1と異なるのは権利を委譲する制御を予め設定され
たワード数を転送した後に行う点である。
(Embodiment 2) FIG. 2 is a block diagram of a data transfer system in a second embodiment of the present invention. The present embodiment differs from the first embodiment in that the control for transferring the right is performed after the preset number of words is transferred.

【0017】図2において、プロセッサ20は複数のデ
ータ転送装置21と同一のデータバス27を介して接続
しており、各々のデータ転送装置21は内部にプロセッ
サ20に対してアクセスする権利を隣接するデータ転送
装置に委譲する権利委譲回路と22、レジスタ23と、
転送ワード数を数えるカウンタ24と、前記レジスタ2
3と前記カウンタ24の値を比較するコンパレータ25
を有しており、権利委譲回路22は隣接したデータ転送
装置内部の権利委譲回路22と信号線26を介して接続
している。
In FIG. 2, the processor 20 is connected to the plurality of data transfer devices 21 via the same data bus 27, and each data transfer device 21 internally has the right to access the processor 20. A right delegation circuit for delegating to the data transfer device 22, a register 23,
A counter 24 for counting the number of transfer words and the register 2
Comparator 25 for comparing the value of counter 3 with the value of 3
The right transfer circuit 22 is connected to the right transfer circuit 22 inside the adjacent data transfer device via the signal line 26.

【0018】以上のように構成されたデータ転送方式に
ついて、以下図2を用いてその動作を説明する。
The operation of the data transfer system configured as described above will be described below with reference to FIG.

【0019】まずデータ転送装置21内のレジスタ23
には予め、転送ワード数を設定しておく。権利を受け取
ったデータ転送装置21はプロセッサ20に対してデー
タを転送するとともに、アクセスしたワード数をカウン
トする。転送はカウンタ24の値がレジスタ23の値よ
り小さい間行い、カウンタとレジスタの値が等しくなる
とコンパレータ25が作用し、権利委譲回路22が隣接
したデータ転送装置へ権利を委譲する。
First, the register 23 in the data transfer device 21
In advance, the number of transfer words is set. Upon receiving the right, the data transfer device 21 transfers the data to the processor 20 and counts the number of accessed words. The transfer is performed while the value of the counter 24 is smaller than the value of the register 23. When the values of the counter and the register are equal, the comparator 25 operates and the right transfer circuit 22 transfers the right to the adjacent data transfer device.

【0020】[0020]

【発明の効果】以上のように本発明においては、データ
転送装置はデータバッファに転送すべきデータがある場
合には前記プロセッサにデータを転送し、データがない
場合には隣接した前記データ転送装置に前記プロセッサ
に対してアクセスする権利を委譲することにより、常に
優先度の高いデータ転送装置がプロセッサとアクセスす
る権利を保持することができる。また、アクセスするデ
ータ転送装置を特定するのはデータ転送装置間のハンド
シェイクによるため、プロセッサはデータ転送について
の制御から免除される。また、本発明によるデータ転送
方式はデータ転送装置の数に依存しないので、データ転
送装置の増設に対して柔軟に対処でき、システムの拡張
性が大きい。
As described above, in the present invention, the data transfer device transfers the data to the processor when there is data to be transferred in the data buffer, and the adjacent data transfer device when there is no data. By delegating the right to access the processor to the processor, the data transfer device having a high priority can always hold the right to access the processor. Further, since the data transfer device to be accessed is specified by the handshake between the data transfer devices, the processor is exempted from the control of the data transfer. In addition, since the data transfer method according to the present invention does not depend on the number of data transfer devices, it is possible to flexibly deal with the addition of data transfer devices and the system expandability is large.

【0021】さらに第1の実施例によれば、データ転送
の要求が低い場合にはデータ転送装置は常時権利を委譲
し合い、データ転送要求が生じるのを待機していること
になり、データ転送の要求を高速に走査することができ
る。
Further, according to the first embodiment, when the data transfer request is low, the data transfer devices always transfer the right and wait for the data transfer request to occur. Can be scanned at high speed.

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

【図1】本発明の第1の実施例におけるデータ転送方式
の構成図
FIG. 1 is a configuration diagram of a data transfer system according to a first embodiment of the present invention.

【図2】本発明の第2の実施例におけるデータ転送方式
の構成図
FIG. 2 is a configuration diagram of a data transfer system according to a second embodiment of the present invention.

【符号の説明】 10 プロセッサ 11 データ転送装置 12 権利委譲回路 14 データフラグ 15 データバッファ[Description of Reference Signs] 10 processor 11 data transfer device 12 right delegation circuit 14 data flag 15 data buffer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】プロセッサと、前記プロセッサと同一の第
1のデータバスで接続しており、前記プロセッサに対し
てアクセスする権利を委譲する権利委譲回路を有する複
数のデータ転送装置と、各々の前記データ転送装置と各
々同一の第2のデータバスで接続する複数のデータバッ
ファとを備え、 前記データ転送装置内の前記権利委譲回路は隣接する前
記データ転送装置の前記権利委譲回路と信号線を介して
リング状に接続しており、前記複数のデータバッファは
前記第2のデータバスで接続している前記データ転送装
置にデータフラグを介してデータの有無を通知してお
り、前記データ転送装置は前記データバッファに転送す
べきデータがある場合には前記プロセッサにデータを転
送し、データがない場合には隣接した前記データ転送装
置に前記プロセッサに対してアクセスする権利を委譲す
ることを特徴とするデータ転送方式。
1. A processor, a plurality of data transfer devices connected to each other through the same first data bus as the processor and having a right transfer circuit for transferring the right to access the processor, and each of the plurality of data transfer devices. A data transfer device and a plurality of data buffers each connected to the same second data bus, wherein the right transfer circuit in the data transfer device is connected to the right transfer circuit of the adjacent data transfer device via a signal line. Are connected in a ring shape, and the plurality of data buffers notify the data transfer device connected by the second data bus of the presence / absence of data via a data flag. When there is data to be transferred in the data buffer, the data is transferred to the processor, and when there is no data, the data is transferred to the adjacent data transfer device. A data transfer method, wherein the right to access the processor is transferred.
【請求項2】プロセッサと、複数のデータ転送装置とを
備え、前記データ転送装置は内部にレジスタと、転送ワ
ード数を数えるカウンタと、前記レジスタと前記カウン
タの値を比較するコンパレータと、前記プロセッサに対
してアクセスする権利を隣接した前記データ転送装置に
委譲する権利委譲回路を有し、前記プロセッサと前記複
数のデータ転送装置は同一のデータバスで接続してお
り、前記権利委譲回路は隣接する前記データ転送装置の
前記権利委譲回路と信号線を介してリング状に接続して
おり、前記データ転送装置は前記プロセッサと予め設定
されたワード数転送した後に、隣接するデータ転送装置
に前記プロセッサに対してアクセスする権利を委譲する
ことを特徴とするデータ転送方式。
2. A processor and a plurality of data transfer devices, wherein the data transfer device internally has a register, a counter for counting the number of transfer words, a comparator for comparing the values of the register and the counter, and the processor. To the adjacent data transfer device, the processor and the plurality of data transfer devices are connected by the same data bus, and the right transfer circuit is adjacent to the data transfer device. The data transfer device is connected to the right transfer circuit in a ring shape via a signal line, and the data transfer device transfers a preset number of words to the processor, and then the adjacent data transfer device is connected to the processor. A data transfer method characterized by delegating the right to access the data.
JP12595092A 1992-05-19 1992-05-19 Data transfer system Pending JPH05324547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12595092A JPH05324547A (en) 1992-05-19 1992-05-19 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12595092A JPH05324547A (en) 1992-05-19 1992-05-19 Data transfer system

Publications (1)

Publication Number Publication Date
JPH05324547A true JPH05324547A (en) 1993-12-07

Family

ID=14922987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12595092A Pending JPH05324547A (en) 1992-05-19 1992-05-19 Data transfer system

Country Status (1)

Country Link
JP (1) JPH05324547A (en)

Similar Documents

Publication Publication Date Title
US4887075A (en) Local area network system with a multi-computer system coupled thereto and method for controlling the same
JPH04318654A (en) Redirection system for interruption to microprocessor
WO2011053038A2 (en) Method and system for processing data for preventing deadlock
US5481681A (en) Data transfer operations between two asynchronous buses
JPH05324547A (en) Data transfer system
JPH08171528A (en) Data processor
JPH01305461A (en) Right of using bus control system
JP2000155738A (en) Data processor
JPH02166548A (en) Common bus control system
JP3050131B2 (en) Arbitration method
WO2014181924A1 (en) Processing apparatus and method
JPH07219887A (en) Dma transfer controller
JPH06337838A (en) Unit mounting/non-mounting detection
JP2964153B2 (en) Data access method
JP2573790B2 (en) Transfer control device
JPH10105488A (en) Communication controller
JP2860733B2 (en) Bus connection device
JPH06161951A (en) Bus control system
JPH0773136A (en) Operation method for computer system
JPH0651910A (en) Duplex bus device
JPH0327945B2 (en)
JPH0512219A (en) Process transferring system
JPH1091569A (en) Dma transfer controller, capture board, capture card and information processor
JP2003186666A (en) Microcomputer and dma control circuit
JPS63296156A (en) Input/output port control system