JP3487735B2 - Data transfer method and data transfer system - Google Patents

Data transfer method and data transfer system

Info

Publication number
JP3487735B2
JP3487735B2 JP19881297A JP19881297A JP3487735B2 JP 3487735 B2 JP3487735 B2 JP 3487735B2 JP 19881297 A JP19881297 A JP 19881297A JP 19881297 A JP19881297 A JP 19881297A JP 3487735 B2 JP3487735 B2 JP 3487735B2
Authority
JP
Japan
Prior art keywords
transfer
bus
data
synchronous
address
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 - Fee Related
Application number
JP19881297A
Other languages
Japanese (ja)
Other versions
JPH1139257A (en
Inventor
浩司 鈴木
圭吾 神原
亮 河邊
高志 松瀬
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP19881297A priority Critical patent/JP3487735B2/en
Publication of JPH1139257A publication Critical patent/JPH1139257A/en
Application granted granted Critical
Publication of JP3487735B2 publication Critical patent/JP3487735B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

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 method and a data transfer system , and is particularly suitable for use when devices having different operation clocks can coexist on the same bus.

【0002】[0002]

【従来の技術】昨今、演算処理装置の処理能力を上げる
ため、中央演算処理部(以下、CPUという。)の動作
速度はますます高速化している。
2. Description of the Related Art Recently, the operating speed of a central processing unit (hereinafter referred to as a CPU) is increasing more and more in order to increase the processing capacity of an arithmetic processing unit.

【0003】しかし、記憶媒体として使用する半導体記
憶素子や各種入出力装置等のCPU周辺装置の動作速度
をCPUと同じにすることは、回路設計技術、開発期
間、開発設計費等の面から大変難しくなってきている。
However, it is difficult in terms of circuit design technology, development period, development and design cost, etc. to make the operating speed of a CPU peripheral device such as a semiconductor memory device or various input / output devices used as a storage medium the same as that of a CPU. It's getting harder.

【0004】このため、CPUとCPU周辺装置とで動
作クロックが異なり始めている。この傾向は、CPUの
動作速度が高速になるほど大きい。
For this reason, the operation clocks of the CPU and the CPU peripheral device have begun to differ from each other. This tendency increases as the operating speed of the CPU increases.

【0005】また、既設計の演算処理装置の性能を上げ
るため、CPUといくつかのCPU周辺装置のみを高速
化し、各種入出力装置については、既設計のものをその
まま使用することが、開発期間、開発設計費等の面から
よく行われる。
In order to improve the performance of a pre-designed arithmetic processing unit, it is necessary to speed up only the CPU and some CPU peripheral devices and use the pre-designed I / O devices as they are. , Is often done in terms of development and design costs.

【0006】このため、高速で動作する「バスサイクル
を起動する装置(以下、バスマスタ装置という。)」
と、低速で動作する「起動されたバスサイクルに応答す
る装置(以下、バススレーブ装置という。)」との間で
データ転送する必要が生じている。
Therefore, a "device that activates a bus cycle (hereinafter, referred to as a bus master device)" that operates at high speed is used.
And the "device that responds to the activated bus cycle (hereinafter, referred to as a bus slave device)" that operates at a low speed.

【0007】また、演算処理装置の信頼性を上げるた
め、同一構成の装置を2つ以上接続し、n重化冗長構成
を採用することが一般的に行われている。この場合、n
重化冗長構成装置間の動作クロックは、 1.全ての装置において位相、周波数を合わせる場合
(クロック同期した装置) 2.それぞれ独立したクロックで動作する場合 の2つに分かれる。
Further, in order to improve the reliability of the arithmetic processing unit, it is general practice to connect two or more units having the same configuration and adopt an n-fold redundant configuration. In this case n
The operation clocks between the redundant redundant configuration devices are: When matching the phase and frequency in all devices (clock-synchronized devices) 1. There are two cases where they operate with independent clocks.

【0008】1.の場合は、装置間のデータ転送を高速
化できる反面、クロックの供給、選択、切り替えを行う
ため回路が必要となる。また、クロックを供給している
装置に障害が発生した場合には、クロックの切り替えが
生じ、その時に瞬間的に運用の停止が発生する。
1. In this case, although the data transfer between the devices can be speeded up, a circuit is required for supplying, selecting and switching the clock. Also, when a failure occurs in the device that supplies the clock, the clock is switched, and at that time, the operation is momentarily stopped.

【0009】一方、2.の場合は、それぞれが独立した
クロックを使用しているため、クロックの供給、選択、
切り替え等を行う回路を必要としない。また、一装置の
障害により運用の停止が発生することがない。
On the other hand, 2. In the case of, because each uses an independent clock, clock supply, selection,
No circuit for switching is required. Moreover, the operation does not stop due to the failure of one device.

【0010】そこで、一般には、動作クロックが異なる
装置同士を接続し、一方の装置に属するバスマスタ装置
からもう一方の装置に属するバスマスタ装置へアクセス
する場合、(1) 非同期転送方式を用いる手法、(2) 装置
内は同期転送方式を用いる一方、装置間の接続部には動
作クロックの乗せ変え(同期化)を行う手法、(3) 装置
内は同期転送方式を用いる一方、装置間は非同期転送方
式とする手法、のいずれかを採用している。
Therefore, generally, when devices having different operation clocks are connected to each other and a bus master device belonging to one device accesses a bus master device belonging to another device, (1) a method using an asynchronous transfer method, 2) A method of changing the operation clock (synchronization) at the connection between the devices while using the synchronous transfer method inside the device, (3) Using the synchronous transfer method inside the device, but asynchronous transfer between the devices One of the methods is adopted.

【0011】まず、非同期転送方式について説明する。
非同期転送方式とは、バスサイクルの制御信号により相
手側装置の状態を確認しながらデータを送受信する方式
である。例えば、図2に示すように、クロックf0で動
作する装置上にあるバスサイクルを起動する権利(以
下、バス権という。)を持ったバスマスタ装置M1が、
クロックf1で動作する装置上にあるバススレーブ装置
S1からデータを読み出す場合、以下の手順でデータを
送受信する方式をいう。
First, the asynchronous transfer system will be described.
The asynchronous transfer method is a method of transmitting and receiving data while confirming the state of the partner device by a bus cycle control signal. For example, as shown in FIG. 2, a bus master device M1 having a right to start a bus cycle (hereinafter referred to as a bus right) on a device operating at a clock f0 is
When reading data from the bus slave device S1 on the device that operates on the clock f1, this means a method of transmitting and receiving data in the following procedure.

【0012】(1) まず、バスマスタ装置が、読み出すべ
きデータの格納されているアドレスをアドレスバス上に
置き、アドレスバス上のアドレスが有効であることを示
すストローブ信号(アドレスストローブ:以下、ASと
いう。)を有意にする。
(1) First, the bus master device puts an address in which data to be read is stored on the address bus, and a strobe signal (address strobe: hereinafter referred to as AS) indicating that the address on the address bus is valid. .) To be significant.

【0013】(2) 次に、バススレーブ装置S1が、該ア
ドレスのデータをデータバス上に置き、応答信号(アク
ノリッジ:以下、ACKという。)を、バスマスタ装置
1に返す。
(2) Next, the bus slave device S1 places the data of the address on the data bus and returns a response signal (acknowledge: ACK) to the bus master device M1.

【0014】(3) バスマスタ装置M1は、ACKを受信
し、データバス上のデータを取り込むと共にアドレスバ
ス上のアドレスの送出をやめ、AS等の制御信号を無意
にする。
(3) The bus master device M1 receives the ACK, takes in the data on the data bus, stops sending the address on the address bus, and renders control signals such as AS useless.

【0015】(4) バススレーブ装置S1は、ASが無意
になることによりデータの送出を停止しACKを無意に
する。
(4) The bus slave device S1 stops sending data and makes ACK useless because AS becomes useless.

【0016】次に、同期転送方式を説明する。同期転送
方式とは、動作クロックが同じでこのクロックに対して
交流特性、動作タイミングが規定できる信号によって転
送を行う方式である。
Next, the synchronous transfer method will be described. The synchronous transfer system is a system in which transfer is performed by a signal having the same operation clock and having a defined AC characteristic and operation timing with respect to this clock.

【0017】この同期転送方式では、バスマスタ装置M
1から発出された信号はクロックに対してタイミングが
規定されており、バススレーブ装置で確実に受信され
る。また、バススレーブ装置S1からの応答信号も同様
にクロックに対し規定され、バスマスタ装置が確実に受
信することができる。そのため、バスサイクルのタイミ
ングを規定しておけば、相手装置側の状態に左右されず
にバスサイクルを行うこと(終了すること)ができる。
In this synchronous transfer system, the bus master device M
The timing of the signal emitted from 1 is defined with respect to the clock, and the signal is surely received by the bus slave device. Also, the response signal from the bus slave device S1 is similarly defined with respect to the clock so that the bus master device can reliably receive it. Therefore, if the timing of the bus cycle is defined, the bus cycle can be performed (ended) regardless of the state of the partner device.

【0018】例えば、図3に示すように、同一のクロッ
クf2で動作するバスマスタ装置M2がバススレーブ装
置S2からデータを読み出す場合、以下の手順でデータ
を送受信する。
For example, as shown in FIG. 3, when the bus master device M2 operating at the same clock f2 reads data from the bus slave device S2, the data is transmitted / received in the following procedure.

【0019】(1) まず、バスマスタ装置M2が同期転送
開始信号(以下、TSという。)をクロックf2に対し
て規定の長さだけ有意としバスサイクルが開始したこと
をバススレーブ装置S2に通知する。また、アドレスや
制御信号など起動系信号も発出する。このことを、クロ
ックf2に同期しているという。
(1) First, the bus master device M2 notifies the bus slave device S2 that the synchronous transfer start signal (hereinafter referred to as TS) is made significant to the clock f2 by a specified length and the bus cycle is started. . In addition, activation system signals such as addresses and control signals are also issued. This is said to be synchronized with the clock f2.

【0020】(2) バススレーブ装置S2は、データと同
時に同期転送終了信号(以下、TAという。)をクロッ
クf2に同期して発出し、バスサイクルを終了する。
(2) The bus slave device S2 issues a synchronous transfer end signal (hereinafter referred to as TA) at the same time as the data in synchronization with the clock f2 to end the bus cycle.

【0021】(3) TAを受信したバスマスタ装置M2
は、起動系信号の送出を止め、バスサイクルを終了す
る。
(3) Bus master device M2 receiving TA
Stops sending the activation system signal and ends the bus cycle.

【0022】以上のように、非同期転送方式は、動作ク
ロックの異なる装置間、又は、動作速度は同じであるが
位相のずれたクロックで動作する装置間でのデータ転送
に有効であり、同期転送方式は、同一のクロックで動作
する装置間での転送に有効であるといえる。
As described above, the asynchronous transfer method is effective for data transfer between devices having different operation clocks, or between devices having the same operation speed but operating at clocks with different phases, and synchronous transfer. It can be said that the method is effective for transfer between devices that operate with the same clock.

【0023】次に、装置内は同期転送方式を用い装置間
の接続部で動作クロックの乗せ変え(同期化)を行う場
合について説明する。図4は、異なる2つのクロックf
3及びf4で動作する装置A及びBを、バスを介して接
続する場合である。
Next, a case will be described in which the operation clocks are changed (synchronized) at the connection between the devices by using the synchronous transfer system in the device. FIG. 4 shows two different clocks f
This is a case where the devices A and B that operate at 3 and f4 are connected via a bus.

【0024】ここで、クロックf3で動作するバスマス
タ装置M3からクロックf3で動作するバススレーブ装
置S3へアクセスする場合には、前述の同期転送方式を
用いることができる。同様に、クロックf4で動作する
バスマスタ装置M4からクロックf4で動作するバスス
レーブ装置S4へのアクセスにも同期転送方式を用いる
ことができる。
Here, when the bus master device M3 operating at the clock f3 accesses the bus slave device S3 operating at the clock f3, the above-mentioned synchronous transfer method can be used. Similarly, the synchronous transfer method can be used for access from the bus master device M4 operating at the clock f4 to the bus slave device S4 operating at the clock f4.

【0025】一方、バスマスタ装置M3からバススレー
ブ装置S4にアクセスする場合、バスマスタ装置M3
は、前述の同期転送方式の要領でバスサイクルを起動す
る。このとき、TSの他、起動系信号もクロックf3に
同期している。
On the other hand, when accessing the bus slave device S4 from the bus master device M3, the bus master device M3
Starts a bus cycle in the same manner as the above-mentioned synchronous transfer method. At this time, in addition to TS, the activation system signal is also synchronized with the clock f3.

【0026】クロックf3に同期した起動系信号をバス
スレーブ装置S4が受信するには、まず、これら信号を
クロックf4に対してタイミングを規定し直す。この機
能を再同期といい、図中の再同期回路(b)にて実現す
る。
In order for the bus slave device S4 to receive the start-up signals synchronized with the clock f3, first, the timings of these signals are redefined with respect to the clock f4. This function is called resynchronization and is realized by the resynchronization circuit (b) in the figure.

【0027】クロックf4に再同期された起動系信号
は、バススレーブ装置S4に入力される。バススレーブ
装置S4は、通常の同期サイクルと同様、クロックf4
に同期したTAを送出し、バスサイクルを終了する。
The activation system signal resynchronized with the clock f4 is input to the bus slave device S4. The bus slave device S4 receives the clock f4 as in the normal synchronization cycle.
Then, TA synchronized with is sent and the bus cycle ends.

【0028】クロックf4に同期したTAは、バスマス
タ装置M3に入力する前に再同期回路(a)にてクロッ
クf3に再同期される。クロックf3に同期したTAを
受信したバスマスタ装置M3は、起動系信号信号の送出
を止め、バスサイクルを終了する。
The TA synchronized with the clock f4 is resynchronized with the clock f3 in the resynchronization circuit (a) before being input to the bus master device M3. The bus master device M3, which has received TA synchronized with the clock f3, stops sending the activation system signal signal and ends the bus cycle.

【0029】最後に、装置内は同期転送方式を用い、装
置間は非同期転送方式を採用する方式について説明す
る。この方式は、前述した、装置内は同期転送方式を用
いる一方、装置間の接続部では動作クロックの乗せ換え
を手法の場合のように、クロックf3で動作するバスマ
スタ装置M3からバススレーブ装置S3へのアクセス、
クロックf4で動作するバスマスタ装置M4からバスス
レーブ装置S4へのアクセスには同期転送を用いるが、
バスマスタ装置M3からバススレーブ装置S4へのアク
セスのようにクロックの異なる装置間の接続部で、それ
ぞれの起動系信号、応答系信号を再同期するのではな
く、先に示した非同期転送の方法を用いるものである。
Finally, a method of using the synchronous transfer method in the devices and the asynchronous transfer method between the devices will be described. This method uses the synchronous transfer method in the device as described above, but in the connection portion between the devices, the bus master device M3 operating at the clock f3 changes from the bus master device M3 to the bus slave device S3. Access,
Synchronous transfer is used to access the bus slave device S4 from the bus master device M4 operating at the clock f4.
Instead of resynchronizing the start-up signal and the response-related signal at the connection between devices having different clocks, such as when the bus master device M3 accesses the bus slave device S4, the asynchronous transfer method described above is used. It is used.

【0030】以上、n重化冗長構成をとる演算処理装置
の例を示したが、図5のように、1つの装置内のバスマ
スタ装置とバススレーブ装置間でも同様である。すなわ
ち、この場合も、動作クロックの同じバスマスタ装置と
バススレーブ装置間では同期転送が使用でき、動作クロ
ックが異なるバスマスタ装置とバススレーブ装置間では
非同期転送を用いるが、接続部で同期化する方法を用い
る。
The example of the arithmetic processing device having the n-redundant redundant configuration has been described above, but the same is true between the bus master device and the bus slave device in one device as shown in FIG. That is, also in this case, the synchronous transfer can be used between the bus master device and the bus slave device having the same operation clock, and the asynchronous transfer is used between the bus master device and the bus slave device having different operation clocks. To use.

【0031】[0031]

【発明が解決しようとする課題】しかしながら、上述の
構成を有する各装置には、以下のような問題がある。
However, each device having the above-mentioned structure has the following problems.

【0032】まず、非同期転送方式の場合には、バスマ
スタ装置とバススレーブ装置間とで動作クロックの異な
る場合、又は、動作速度は同じであるが位相のずれたク
ロックで動作する装置間でのデータ転送には有効である
が、同一クロックで動作するバスマスタ装置及びバスス
レーブ装置間でのデータ転送に用いると、相手装置の状
態により次の転送手順に進むための応答信号待ち時間が
発生してしまい、バスサイクルが延び、結果として転送
効率が上がらない。
First, in the case of the asynchronous transfer method, when the operation clocks are different between the bus master device and the bus slave device, or the data is transmitted between the devices operating at the same operation speed but out of phase with each other. Although effective for transfer, if used for data transfer between a bus master device and a bus slave device operating with the same clock, a response signal waiting time for proceeding to the next transfer procedure may occur depending on the state of the partner device. The bus cycle is extended, and as a result, the transfer efficiency is not improved.

【0033】また、同期転送方式の場合には、同一クロ
ックで動作する装置間での転送有効に有効であるが、1
つのクロックに対し交流特性、動作タイミングが規定で
きる信号によって転送を行う方式であるため、バスマス
タ装置とバススレーブ装置のクロックが同一でなければ
用いることができない。これは動作速度が同じでもクロ
ックの位相がずれているだけでも用いることができない
ことを意味する。
Further, in the case of the synchronous transfer system, it is effective for effective transfer between devices operating with the same clock.
Since the transfer is performed by a signal whose AC characteristic and operation timing can be defined for one clock, it cannot be used unless the clocks of the bus master device and the bus slave device are the same. This means that it cannot be used even if the operation speed is the same or the clocks are out of phase.

【0034】動作速度の違う装置、動作速度は同じであ
るが位相のずれた装置間で同期転送を行うにはクロック
の乗せ替えのための再同期が必要であることは前に説明
したが、その再同期にかかる時間によりバスサイクルが
延びてしまう。これを同期損という。同期損は、起動系
信号と応答信号双方に(バスサイクル往復分)発生す
る。
It has been described above that resynchronization for changing the clock is required to perform synchronous transfer between devices having different operating speeds and devices having the same operating speed but having different phases. The bus cycle is extended due to the time required for the resynchronization. This is called synchronization loss. The synchronization loss occurs in both the start-up system signal and the response signal (round the bus cycle).

【0035】さらに、再同期回路には、バスマスタ装置
の動作クロックと同じ速度のクロックとバススレーブ装
置の動作クロックを必要とする。異なる動作クロックを
持つバススレーブ装置が複数有れば、それだけの数のク
ロックを入力する必要が生じ、信号線数の増加、回路規
模の増大、周波数の高いクロックの引き回しの増加など
の問題が発生する。
Furthermore, the resynchronization circuit requires a clock having the same speed as the operating clock of the bus master device and an operating clock of the bus slave device. If there are multiple bus slave devices with different operation clocks, it is necessary to input that many clocks, which causes problems such as an increase in the number of signal lines, an increase in circuit scale, and an increase in the routing of high-frequency clocks. To do.

【0036】また、n重化冗長構成をとるシステムにお
いては、バススレーブ装置の1つである主記憶媒体のア
ドレスを運用時と待機時とでダイナミックに変更するこ
とにより、装置の運用状態に関わらず、常に運用系の主
記憶媒体にアクセスする手段は一般的である。
Further, in the system having the n-redundant redundant configuration, the address of the main storage medium, which is one of the bus slave devices, is dynamically changed between the operating time and the standby time so that the operating condition of the device is not affected. Instead, a means for always accessing the main storage medium of the operating system is general.

【0037】バスマスタ装置から見ると運用系主記憶媒
体が同一クロックで動作する装置にある場合と、異なる
クロックで動作する装置に有る場合がある。
From the perspective of the bus master device, the main storage medium of the operating system may be present in a device operating with the same clock or in a device operating with a different clock.

【0038】n重化冗長構成をとるということは、同一
の装置をn台接続して1つのシステムを構成することで
あるが、その装置上にある入出力装置もそれぞれ同一で
あることを意味する。つまり、図4における装置A及び
装置Bは同一の装置であり、バススレーブ装置S3及び
S4も同一の装置である。当然ながら回路も同じであ
る。
The n-redundant redundant configuration means that n identical devices are connected to form one system, but the input / output devices on the devices are also identical. To do. That is, the device A and the device B in FIG. 4 are the same device, and the bus slave devices S3 and S4 are also the same device. Of course, the circuit is the same.

【0039】装置Aが冗長構成の運用系装置である場
合、バススレーブ装置S3及びS4もバスマスタ装置M
3の制御下にある。つまり、バスマスタ装置M3からバ
ススレーブ装置S3にもバススレーブ装置S4にも同じ
ようにアクセスが発生する。
When the device A is an operation system device having a redundant configuration, the bus slave devices S3 and S4 are also bus master devices M.
It is under control of 3. That is, the bus master device M3 similarly accesses the bus slave device S3 and the bus slave device S4.

【0040】ここで、バスマスタ装置M3とバススレー
ブ装置S3の動作クロックは同じであるため、両装置間
では、同期転送が可能であるが、バスマスタ装置M3と
バススレーブ装置S4とは動作クロックが異なる(本例
の場合は、クロックf3とクロックf4の周波数は同じ
であるが位相が違う)ため、同期転送が使えない。
Since the bus master device M3 and the bus slave device S3 have the same operation clock, synchronous transfer is possible between the two devices, but the bus master device M3 and the bus slave device S4 have different operation clocks. (In the case of this example, the frequencies of the clock f3 and the clock f4 are the same, but the phases are different.) Therefore, the synchronous transfer cannot be used.

【0041】一方、バススレーブ装置に着目すると、ク
ロックを異にする別装置のバスマスタ装置からアクセス
される可能性のあるバススレーブ装置については、非同
期転送に対応する装置としなければならないため、同一
クロックで動作しているバスマスタ装置とのアクセスは
同期送信できるにもかかわらず非同期転送となってしま
い、転送効率を上げることができない。
On the other hand, paying attention to the bus slave device, the bus slave device which may be accessed by the bus master device of another device having a different clock has to be a device corresponding to the asynchronous transfer. The access to the bus master device operating in (3) becomes asynchronous transfer although synchronous transmission can be performed, and the transfer efficiency cannot be improved.

【0042】このような理由により、異なる動作クロッ
クの装置間を同期転送で接続することは、結果として、
転送性能を向上させるとはいえない。さらに、この場合
には、再同期回路を必要とし、回路規模も大きくなって
しまう。
For this reason, connecting devices having different operating clocks by synchronous transfer results in
It cannot be said that the transfer performance is improved. Further, in this case, a resynchronization circuit is required, and the circuit scale becomes large.

【0043】また、同期転送を使用できる部分があるに
もかかわらず、全てを非同期転送で接続するのは、転送
性能を劣らせることになる。
Even if there is a portion where synchronous transfer can be used, connecting all of them by asynchronous transfer will result in poor transfer performance.

【0044】[0044]

【課題を解決するための手段】(A)かかる課題を解決
するため、第1の発明においては、動作クロックを同じ
くする装置と異なる装置とが、同一バス上に混在して存
在し得るシステム上の任意の装置間で、データ転送する
のに使用するデータ転送方法において、以下のようにす
る。
(A) In order to solve such a problem, in the first invention, a system in which a device having the same operation clock and a device having a different operation clock may coexist on the same bus. In the data transfer method used to transfer data between any of the above devices, the following is performed.

【0045】すなわち、スサイクルを起動する装置
が、データ転送時、自装置の冗長系での状態とアクセス
先メモリ空間アドレスとに基づいて、固定アドレス領域
バスサイクルに応答する装置に対して同期転送方式を
用いるか、非同期転送方式を用いるか自律的に選択
し、選択結果に応じた転送方式によりバスサイクルに応
答する装置との間でデータを転送するようにする。
[0045] That is, a device for starting the bus cycle, data transfer, in a redundant system of its own device status and access
Based on the destination memory space address , it autonomously selects whether to use the synchronous transfer method or the asynchronous transfer method for the device that responds to the bus cycle of the fixed address area, and the transfer method according to the selection result Transfer data to and from devices that respond to bus cycles.

【0046】このような転送方法を採用することによ
り、同期転送可能な装置には同期転送方式により、ま
た、非同期転送可能な装置には非同期転送方式によるデ
ータ転送が、事前の設定によらずに実現でき、常に最も
転送効率の良い状態でデータを転送することができる。
By adopting such a transfer method, data transfer by the synchronous transfer system for the device capable of the synchronous transfer and data transfer by the asynchronous transfer system for the device capable of the asynchronous transfer can be carried out without the advance setting. This can be realized, and data can be always transferred in the state of the highest transfer efficiency.

【0047】また、バスサイクルを起動する装置は、
装置の状態及びアクセス先メモリ空間アドレスに加え、
転送条件設定データに基づいて転送方式を選択するよう
にすれば、システムに変更(拡張、縮小)が生じても柔
軟に対応できる。
Further, the device which activates the bus cycle, in addition to its own status and access destination memory space address ,
If the transfer method is selected on the basis of the transfer condition setting data, it is possible to flexibly cope with a system change (expansion, reduction).

【0048】(B)また、第2の発明においては、動作
クロックを同じくする装置と異なる装置とが、同一バス
上に混在して存在し得るシステム上の任意の装置間で、
データ転送するのに使用するデータ転送方法において、
以下のようにする。
(B) In the second aspect of the invention, between any device on the system where a device having the same operating clock and a device different from each other may coexist on the same bus,
In the data transfer method used to transfer data,
Do the following:

【0049】すなわち、バスサイクルに応答する装置が
同期転送可能であるとき、バスサイクルに応答する装置
は、非同期転送方式でデータを転送してきたバスサイク
ルを起動する装置に同期転送が可能であることを示す情
報を通知し、バスサイクルを起動する装置は、その情報
が通知された際これを記憶し、以後、データ転送の必要
が生じた場合には、当該バスサイクルに応答する装置に
同期転送方式にてデータを転送するようにする。
That is, when the device that responds to the bus cycle is capable of synchronous transfer, the device that responds to the bus cycle is capable of performing synchronous transfer to the device that activates the bus cycle that has transferred data by the asynchronous transfer method. The device that notifies the information indicating that the bus cycle is activated and stores the information when the information is notified, and when data transfer becomes necessary thereafter, the device that synchronously transfers the information to the device that responds to the bus cycle. Data is transferred by the method.

【0050】このような転送方法を採用することによ
り、ハードウェア的に、最も転送効率の良い状態を常に
自律的に選択できる。
By adopting such a transfer method, it is possible to always autonomously select the state with the best transfer efficiency in terms of hardware.

【0051】第3及び第4の発明はそれぞれ、第1及び
第2の発明の方法の発明に対応する物の発明である。
The third and fourth inventions are the first and the fourth, respectively.
It is an invention of a product corresponding to the method invention of the second invention.

【0052】[0052]

【発明の実施の形態】(A)第1の実施形態 以下、本発明に係るデータ転送方式及びデータ転送シス
テムの第1の実施形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION (A) First Embodiment Hereinafter, a data transfer system and a data transfer system according to the present invention will be described.
Illustrating a first embodiment systems out.

【0053】この実施形態では、演算処理装置の記憶装
置、入出力装置等のアドレスが固定されているシステム
であって、バスマスタ装置とバススレーブ装置とを、
(1) バスサイクルの起動信号と、(2) 応答信号と、(3)
同期/非同期信号の選択信号とで接続する場合における
データ転送方式及びデータ転送システムについて説明す
る。
In this embodiment, the addresses of the storage device, the input / output device, etc. of the arithmetic processing device are fixed, and the bus master device and the bus slave device are
(1) Bus cycle start signal, (2) Response signal, (3)
A data transfer method and a data transfer system in the case of connecting with a selection signal of a synchronous / asynchronous signal will be described.

【0054】(A−1)演算処理装置の構成 図6に、本実施形態に係るシステムの概念構成図を示
す。図6は、2つの演算処理装置(シングルボードコン
ピュータ)#0及び#1(以下、SBC#0及びSBC
#1という。)を、非同期転送方式のバスで接続した二
重化冗長構成システムを表している。
(A-1) Arrangement of Arithmetic Processor FIG. 6 shows a conceptual arrangement of the system according to this embodiment. FIG. 6 shows two arithmetic processing units (single board computers) # 0 and # 1 (hereinafter, SBC # 0 and SBC).
It is called # 1. ) Represents a redundant redundant configuration system that is connected by an asynchronous transfer bus.

【0055】このうち、SBC#0は、2つのクロック
発生装置f01、f02と、1つのバスマスタ装置M0
1と、2つののバススレーブ装置S01、S02と、1
つの主記憶装置(以下、MMという。)MM0とで構成
されている。なお、主記憶装置MM0もバススレーブ装
置として機能する。
Among them, the SBC # 0 has two clock generators f01 and f02 and one bus master device M0.
1 and 2 bus slave devices S01, S02 and 1
It is composed of one main memory (hereinafter referred to as MM) MM0. The main memory device MM0 also functions as a bus slave device.

【0056】クロック発生装置f01は、バスマスタ装
置M01とバススレーブ装置S01、主記憶装置MM0
に動作クロックを供給するものであり、クロック発生装
置f02は、バススレーブ装置S02に動作クロックを
供給している。なお、両クロック発生装置f01及びf
02の動作クロックf01及びf02は相互に異なる。
The clock generator f01 includes a bus master device M01, a bus slave device S01, and a main memory device MM0.
The clock generator f02 supplies the operation clock to the bus slave device S02. Both clock generators f01 and f
02 operation clocks f01 and f02 are different from each other.

【0057】SBC#0及びSBC#1は、共に、運用
系/待機系の2つの状態をとり、一方が運用系であると
き、他方は待機系をとる。本形態では、SBC#0が運
用系、SBC#1が待機系とする。
Both SBC # 0 and SBC # 1 have two states of an active system / standby system, and when one is an active system, the other takes a standby system. In this embodiment, the SBC # 0 is the active system and the SBC # 1 is the standby system.

【0058】SBC#1は、SBC#0と同じく、シン
グルボートコンピュータであり、その構成は全て同じ物
である。すなわち、M01、S01、S02、MM0
は、それぞれ、M11、S11、S12、MM1に対応
する装置である。
Like the SBC # 0, the SBC # 1 is a single-boat computer and has the same configuration. That is, M01, S01, S02, MM0
Are devices corresponding to M11, S11, S12, and MM1, respectively.

【0059】なお、SBC#0とSBC#1とは、互い
にクロック同期していないため、同じクロック発生装置
が搭載されていても位相はずれている。従って、図6で
は、SBC#0のクロック発生装置をf01、f02と
表すが、SBC#1のクロック発生装置をf11、f1
2と表している。
Since SBC # 0 and SBC # 1 are not clock-synchronized with each other, they are out of phase even if the same clock generator is mounted. Therefore, in FIG. 6, the clock generators of SBC # 0 are represented by f01 and f02, but the clock generators of SBC # 1 are represented by f11 and f1.
It is expressed as 2.

【0060】(A−2)アドレス配置 図7に、本システムの前提となるメモリ空間上のアドレ
ス配置を示す。
(A-2) Address Arrangement FIG. 7 shows the address arrangement in the memory space which is the premise of this system.

【0061】バススレーブ装置S01、S02、S11
及びS12は、それぞれメモリ空間上、個別に独立した
アドレスを持っている。
Bus slave devices S01, S02, S11
And S12 each have an independent address in the memory space.

【0062】ここで、バススレーブ装置S01とS11
とは同一装置であるが、SBC#0に属するか、SBC
#1に属するかに応じて異なるアドレスが当てられてい
る。ただし、属するSBCが運用系であるか待機系であ
るかによってアドレスが変わることはない。バススレー
ブ装置S02及びS12についても同様である。
Here, the bus slave devices S01 and S11
Is the same device, but belongs to SBC # 0 or SBC # 0
Different addresses are assigned depending on whether they belong to # 1. However, the address does not change depending on whether the belonging SBC is the active system or the standby system. The same applies to the bus slave devices S02 and S12.

【0063】また、バススレーブ装置S01、S11の
アドレス、バススレーブ装置S02、S12のアドレス
分けるため、0系と1系とを定義する。本実施形態で
は、SBC#0装置を0系、SBC#1を1系として説
明する。
Addresses of the bus slave devices S01 and S11, addresses of the bus slave devices S02 and S12.
The 0 system and the 1 system are defined in order to divide. In the present embodiment, the SBC # 0 device is described as a 0 system and the SBC # 1 is described as a 1 system.

【0064】これに対し、主記憶装置MM0及びMM1
のアドレスは、属するSBCが運用系であるか待機系で
あるかにより、アドレスが決定されるバススレーブ装置
である。これは、二重化されたシステムのどちらのSB
Cが運用系であっても、そのSBCに属する主記憶装置
を運用系MMのアドレスとするためである。
On the other hand, the main memories MM0 and MM1
Is a bus slave device whose address is determined depending on whether the SBC to which it belongs is an active system or a standby system. This is the SB of the duplicated system.
This is because even if C is the active system, the main storage device belonging to the SBC is used as the address of the active MM.

【0065】すなわち、SBC#0が運用系であれば、
MM0が運用系のMMアドレスとなり、MM1が待機系
MMアドレスとなる。逆に、SBC#1が運用系であれ
ば、反対にMM0は待機系MMアドレス、MM1が運用
系MMアドレスとなる。
That is, if SBC # 0 is the active system,
MM0 becomes the active MM address, and MM1 becomes the standby MM address. Conversely, if SBC # 1 is the active system, MM0 is the standby MM address and MM1 is the active MM address.

【0066】(A−3)バスインタフェースの構成 (A−3−1)バスマスタ装置側の構成 図1は、バスマスタ装置に用意されているバスインタフ
ェース回路の構成例である。図6では、M01、M11
に設けられている。
(A-3) Configuration of Bus Interface (A-3-1) Configuration of Bus Master Device Side FIG. 1 shows an example of the configuration of a bus interface circuit prepared in the bus master device. In FIG. 6, M01 and M11
It is provided in.

【0067】本回路は、同期/非同期の判断部a、同期
バスインタフェース部b、及び非同期バスインタフェー
ス部cからなる。
This circuit comprises a synchronous / asynchronous judging section a, a synchronous bus interface section b, and an asynchronous bus interface section c.

【0068】同期/非同期判断部aは、アクセスアドレ
スと装置の状態などを入力し、同期/非同期選択信号
(sync)を出力する回路である。本例の場合、sy
ncの論理値は、同期転送を選択した場合には「1」を
とり、非同期転送を選択した場合には「0」をとる。
The synchronous / asynchronous judging section a is a circuit which inputs an access address and the state of the device and outputs a synchronous / asynchronous selection signal (sync). In this example, sy
The logical value of nc is "1" when the synchronous transfer is selected and "0" when the asynchronous transfer is selected.

【0069】このsyncは、バスマスタ装置M01及
びM11内の回路である同期バスインタフェース部b及
び非同期バスインタフェース部cに通知されると共に、
バスマスタ装置M01及びM11外の回路であるバスス
レーブ装置S01、S02、MM0、S11、S12及
びMM1にも通知される。
This sync is notified to the synchronous bus interface section b and the asynchronous bus interface section c which are circuits in the bus master devices M01 and M11, and at the same time,
It is also notified to the bus slave devices S01, S02, MM0, S11, S12 and MM1 which are circuits outside the bus master devices M01 and M11.

【0070】同期バスインタフェース部bは、sync
が「1」のとき、同期転送開始信号(TS)を出力し、
同期転送終了(TA)を受信する回路である。
The synchronous bus interface section b has a sync
Is 1, the synchronous transfer start signal (TS) is output,
This is a circuit for receiving a synchronous transfer end (TA).

【0071】非同期バスインタフェース部cは、syn
cが「0」のとき、ストローブ信号(AS)を出力し、
応答信号(ACK)を受信する回路である。
The asynchronous bus interface section c has a function of syn.
When c is "0", strobe signal (AS) is output,
It is a circuit that receives a response signal (ACK).

【0072】なお、本構成においては、TSとAS、T
AとACKとは別線にする必要はなく、論理和とするこ
とができる。
In this configuration, TS, AS, T
A and ACK do not have to be on separate lines, and can be a logical sum.

【0073】図8は、このバスインタフェースの主要回
路である同期/非同期判断部aの詳細構成を表してい
る。この同期/非同期判断部aは、同期転送を成し得る
バススレーブ装置のアドレスを認識するデコード回路
(a−1)、(a−2)、(a−3)、(a−4)と、
これらの出力のうちどれが有効であるかを装置の状態に
よって選択するセレクタ回路(a−5)とからなる。
FIG. 8 shows a detailed structure of the synchronous / asynchronous judging section a which is a main circuit of this bus interface. The synchronous / asynchronous judging unit a includes decoding circuits (a-1), (a-2), (a-3), (a-4) for recognizing addresses of bus slave devices capable of performing synchronous transfer.
And a selector circuit (a-5) for selecting which of these outputs is valid according to the state of the device.

【0074】このうち、セレクタ回路(a−5)には、
セレクト信号として運用系/待機系を示すact信号
と、0系/1系を示すindc信号が入力されている。
act信号は、運用系のSBCでは「1」、待機系では
「0」である。また、indc信号は、0系SBCでは
「0」、1系装置では「1」である。
Of these, the selector circuit (a-5) has
As the select signal, the act signal indicating the active system / standby system and the indc signal indicating the 0 system / 1 system are input.
The act signal is "1" in the active SBC and "0" in the standby system. The indc signal is "0" in the 0-system SBC and "1" in the 1-system device.

【0075】SBC#0は、運用系0系であるのでac
t=1、indc=0、SBC#1は、待機系1系であ
るのでact=0、indc=1である。
Since SBC # 0 is the active system 0, ac
Since t = 1, indc = 0, and SBC # 1 are the standby system 1, the system has act = 0 and indc = 1.

【0076】デコード回路(a−1)は、アドレス信号
の値が運用系MMのアドレスを示すとき有意となる。同
様に、デコード回路(a−2)、(a−3)、(a−
4)は、アドレス信号がそれぞれ待機系MM、S01、
S11、を示すとき有意となる。
The decode circuit (a-1) becomes significant when the value of the address signal indicates the address of the active MM. Similarly, the decoding circuits (a-2), (a-3), (a-
4) shows that the address signals are the standby system MM, S01,
It becomes significant when S11 is indicated.

【0077】ところで、セレクタ回路(a−5)は、以
下のように動作する。
By the way, the selector circuit (a-5) operates as follows.

【0078】(1) バスマスタ装置が属するSBCが運用
系であるとき、デコード回路(a−1)が有効となる。
(1) When the SBC to which the bus master device belongs is the active system, the decoding circuit (a-1) is valid.

【0079】(2) バスマスタ装置が属するSBCが待機
系であるとき、デコード回路(a−2)が有効となる。
(2) When the SBC to which the bus master device belongs is in the standby system, the decoding circuit (a-2) is valid.

【0080】(3) バスマスタ装置が属するSBCが0系
であるとき、デコード回路(a−3)が有効となる。
(3) When the SBC to which the bus master device belongs is the 0 system, the decoding circuit (a-3) is valid.

【0081】(4) バスマスタ装置が属するSBCが1系
であるとき、デコード回路(a−4)が有効となる。
(4) When the SBC to which the bus master device belongs is the 1-system, the decoding circuit (a-4) becomes effective.

【0082】さて、本実施形態の場合には、SBC#0
が運用系/0系であるので、バスマスタ装置M01で
は、デコード回路(a−1)及び(a−3)が有効とな
る。一方、SBC#1については待機系/1系であるの
で、バスマスタ装置M11は、デコード回路(a−2)
及び(a−4)が有効となる。
Now, in the case of the present embodiment, SBC # 0
Is the active system / 0 system, the decode circuits (a-1) and (a-3) are valid in the bus master device M01. On the other hand, since the SBC # 1 is a standby system / 1 system, the bus master device M11 includes the decoding circuit (a-2).
And (a-4) are effective.

【0083】なお、バススレーブ装置S02及びS12
は、バスマスタ装置M01及びM02のいずれとも動作
クロックが異なっており、同期転送が行われ得ないの
で、本回路は必要ない。
The bus slave devices S02 and S12
In this case, since the operating clocks of the bus master devices M01 and M02 are different from each other and synchronous transfer cannot be performed, this circuit is not necessary.

【0084】ただし、バススレーブ装置S02と同じク
ロックで動作するバスマスタ装置があれば、その装置上
に本回路が必要となる。
However, if there is a bus master device that operates with the same clock as the bus slave device S02, this circuit is required on that device.

【0085】(A−3−1)バススレーブ装置側の構成
図9は、バススレーブ装置に用意されているバスインタ
フェース回路の構成例であり、図6のMM0、MM1及
びS01、S11に設けられている。
(A-3-1) Configuration of Bus Slave Device Side FIG. 9 shows an example of the configuration of a bus interface circuit prepared in the bus slave device, which is provided in MM0, MM1 and S01, S11 of FIG. ing.

【0086】ただし、本実施形態におけるバススレーブ
装置S02、S12については、同期転送を選択するこ
とがないため必要ない。
However, the bus slave devices S02 and S12 in this embodiment are not necessary because the synchronous transfer is not selected.

【0087】本回路は、同期バスインタフェース部d及
び非同期バスインタフェース部eよりなる。
This circuit comprises a synchronous bus interface section d and an asynchronous bus interface section e.

【0088】同期バスインタフェース部dは、バスマス
タ装置より通知されたsyncが有意のとき、動作可能
となり、同期転送開始信号(TS)を受信し同期転送終
了(TA)を出力する。
The synchronous bus interface section d becomes operable when the sync notified from the bus master device is significant, receives the synchronous transfer start signal (TS), and outputs the synchronous transfer end (TA).

【0089】非同期バスインタフェース部eは、syn
cが有意でないとき、動作可能となり、ストローブ(A
S)を受信し、応答信号(ACK)を出力する。
The asynchronous bus interface section e is a syn
When c is not significant, it becomes operational and strobe (A
S) is received and a response signal (ACK) is output.

【0090】(A−4)転送動作 本実施形態では、図7に示すように、メモリ空間はアド
レス16ビット(0000(hex)番地〜FFFF
(hex)番地)で構成されている。
(A-4) Transfer Operation In this embodiment, as shown in FIG. 7, the memory space has an address of 16 bits (0000 (hex) to FFFF.
(Hex) address).

【0091】このうち、主記憶装置MM0のアドレス空
間は、0000(hex)〜3FFF(hex)であ
る。MM0の空間を指すには、アドレスの上位2ビット
が「00(bin)」であれば良い。
Of these, the address space of the main memory device MM0 is 0000 (hex) to 3FFF (hex). In order to indicate the space of MM0, the upper 2 bits of the address may be "00 (bin)".

【0092】その他、バススレーブ装置S01のアドレ
ス空間は、8000(hex)〜8FFF(hex)、
バススレーブ装置S11のアドレス空間は、C000
(hex)〜CFFF(hex)であるので、バススレ
ーブ装置S01及びS11の空間を指すにはアドレスの
上位4ビットは「1000(bin)」、「1100
(bin)」となる。
In addition, the address space of the bus slave device S01 is 8000 (hex) to 8FFF (hex),
The address space of the bus slave device S11 is C000.
Since (hex) to CFFF (hex), the upper 4 bits of the address are "1000 (bin)" and "1100" to indicate the space of the bus slave devices S01 and S11.
(Bin) ”.

【0093】図10は、本例の動作を示すタイムチャー
トである。
FIG. 10 is a time chart showing the operation of this example.

【0094】バスマスタ装置の同期/非同期判断部a
は、発出するアクセス先のアドレスと装置状態から、転
送先が自装置と同一クロックで動作しているスレーブ装
置であるかないか、また、同じSBC上にあるか別のS
BC上にあるかを判断する。そして、バスアクセスルー
ト及び二重化システムの装置状態より同期転送をできる
かできないを判断し、syncを生成する。
Synchronous / asynchronous judging section a of the bus master device
Indicates whether the transfer destination is a slave device operating at the same clock as its own device, based on the address of the access destination to be issued and the device state, and whether it is on the same SBC or another SBC.
Determine if it is on BC. Then, it is determined whether or not the synchronous transfer can be performed based on the bus access route and the device state of the duplex system, and the sync is generated.

【0095】例えば、同期/非同期判断部aに入るアド
レスが、MM0を指すアドレスである上位2ビットが
「00(bin)」であれば、デコード回路(a−1)
の出力が有意となる。M01は、運用系のバスマスタ装
置であるのでセレクタ回路(a−5)は、デコード回路
(a−1)の出力を有効とし、syncが有意となる。
For example, if the address entering the synchronous / asynchronous judging section a is "00 (bin)" in the upper 2 bits which is the address indicating MM0, the decoding circuit (a-1)
The output of becomes significant. Since M01 is an active bus master device, the selector circuit (a-5) enables the output of the decode circuit (a-1), and the sync becomes significant.

【0096】同様に、同期/非同期判断部aに入るアド
レスが、バススレーブ装置S01のアドレスを指す上位
4ビットが「1000(bin)」であれば、デコード
回路(a−3)の出力が有意となる。このとき、M01
は0系のバスマスタ装置であるので、セレクタ回路(a
−5)は、デコード回路(a−3)の出力を有効とし、
syncが有効となる。
Similarly, if the upper 4 bits indicating the address of the bus slave device S01 are "1000 (bin)", the output of the decode circuit (a-3) is significant. Becomes At this time, M01
Is a 0-system bus master device, the selector circuit (a
-5) enables the output of the decoding circuit (a-3),
sync becomes valid.

【0097】しかし、同期/非同期判断部aに入るアド
レスが、バススレーブ回路S02のアドレスを指す上位
4ビットが「1001(bin)」であれば、有意とな
るデコード回路ない。また、アドレスがMM1、S11
の場合、デコード回路(a−2)又は(a−4)が有意
となるが、M01は、運用系のバスマスタ装置であるの
で、セレクタ回路(a−5)がこれらの出力を有効とせ
ず、syncは有意とならない。
However, if the address entering the synchronous / asynchronous judging section a is “1001 (bin)” in the upper 4 bits indicating the address of the bus slave circuit S02, there is no significant decoding circuit. The addresses are MM1 and S11.
In the case of, the decoding circuit (a-2) or (a-4) is significant, but since M01 is the bus master device of the operation system, the selector circuit (a-5) does not validate these outputs, sync is not significant.

【0098】このように、バスマスタ装置M01の同期
/非同期判断部aは、S01、MM0に対してはsyn
cを有意にするが、MM1、S02、S11、S12に
対してはsyncを有意にしない。
In this way, the synchronous / asynchronous judging section a of the bus master device M01 makes the syn for S01 and MM0.
c is significant, but sync is not significant for MM1, S02, S11, S12.

【0099】同様に、バスマスタ装置M11の同期/非
同期判断部aは、S11、MM1に対してsyncを有
意にするが、MM0、S01、S02、S12に対して
はsyncを有意にしない。
Similarly, the synchronous / asynchronous judging section a of the bus master device M11 makes sync significant to S11 and MM1, but does not make sync significant to MM0, S01, S02 and S12.

【0100】結果として、本回路により、アクセスルー
トに応じた同期/非同期転送の選択が可能となる。
As a result, this circuit enables selection of synchronous / asynchronous transfer according to the access route.

【0101】なお、syncは、スレーブ装置に通知さ
れると共に、自装置の同期バスインタフェース部b、非
同期バスインタフェース部cにも通知される。ここで、
sync信号が有意であれば、同期バスインタフェース
が選択され、同期バスインタフェース部bより同期バス
サイクルが発行される。一方、sync信号が有意でな
ければ、非同期バスインタフェースが選択され、非同期
バスインタフェース部cより非同期バスサイクルが発行
される。
The sync is notified to the slave device, and also to the synchronous bus interface part b and the asynchronous bus interface part c of its own device. here,
If the sync signal is significant, the synchronous bus interface is selected and the synchronous bus interface section b issues a synchronous bus cycle. On the other hand, if the sync signal is not significant, the asynchronous bus interface is selected and the asynchronous bus interface section c issues an asynchronous bus cycle.

【0102】バススレーブ装置は、バスマスタ装置によ
り発出されるsyncによりバスインタフェースを選択
する。sync信号が有意であれば、同期バスインタフ
ェースdが選択され、同期転送開始信号(TS)を受信
し、同期転送終了(TA)を出力する。sync信号が
有意でなければ、非同期バスインタフェースeが選択さ
れ、ストローブ(AS)を受信し、応答信号(ACK)
を出力する。
The bus slave device selects the bus interface by the sync issued by the bus master device. If the sync signal is significant, the synchronous bus interface d is selected, the synchronous transfer start signal (TS) is received, and the synchronous transfer end (TA) is output. If the sync signal is not significant, the asynchronous bus interface e is selected, the strobe (AS) is received, and the response signal (ACK) is received.
Is output.

【0103】(A−5)第1の実施形態の効果 以上のように、第1の実施形態によれば、アドレスとa
ct信号(運用系/待機系を識別する信号)又はアドレ
スとindc信号(0系/1系を識別する信号)とを用
いて、該当バススレーブ装置へのアクセスが、同期転送
によるバスサイクルが可能かを示すsync信号を生成
して転送を制御するようにしたことにより、何らの設定
をしなくても、動作クロックがバスマスタ装置と同じス
レーブ装置については同期転送を行い、動作クロックが
バスマスタ装置と異なるスレーブ装置については非同期
転送を用いてデータ転送を行うことを可能とできる。
(A-5) Effects of First Embodiment As described above, according to the first embodiment, the address and a
Using the ct signal (signal for identifying the active system / standby system) or address and the indc signal (signal for identifying the 0 system / 1 system), access to the corresponding bus slave device can be performed in a bus cycle by synchronous transfer. By controlling the transfer by generating a sync signal indicating that, a slave device whose operating clock is the same as the bus master device performs a synchronous transfer and the operating clock is the same as that of the bus master device without any setting. Data transfer can be performed using asynchronous transfer for different slave devices.

【0104】これにより、常に、データ転送効率の最も
良いバスアクセスを選択でき、結果的にデータ転送能力
を上げることができる。
As a result, the bus access with the highest data transfer efficiency can always be selected, and as a result, the data transfer capability can be improved.

【0105】なお、この第1の実施形態は、後述する第
2及び第3の実施形態と比べて小規模の回路で実現でき
るため、装置構成を固定してあるシステムに向いてい
る。
Since the first embodiment can be realized by a small-scale circuit as compared with the second and third embodiments described later, it is suitable for a system in which the device configuration is fixed.

【0106】(B)第2の実施形態 以下、本発明に係るデータ転送方式及びデータ転送シス
テムの第2の実施形態を説明する。
(B) Second Embodiment Hereinafter, the data transfer system and the data transfer system according to the present invention will be described.
Illustrating a second embodiment systems out.

【0107】なお、本形態は、演算処理装置の拡張性や
柔軟性を高めるため、同期アクセス領域と非同期アクセ
ス領域の設定を可変できるようにしたものである。
In this embodiment, in order to enhance the expandability and flexibility of the arithmetic processing unit, the settings of the synchronous access area and the asynchronous access area can be changed.

【0108】(B−1)演算処理装置の構成 図11に、本実施形態に係るシステムの概念構成図を示
す。図11は、第1の実施形態におけるバススレーブ装
置S02を、装置交換や装置の拡張のためにバススレー
ブS021及びS022に置き換えたものである。な
お、このバススレーブ装置S021は、バススレーブ装
置S02の場合と同じく、バスマスタ装置M01と異な
るクロックf02で動作するものである。また、バスス
レーブ装置S022は、バスマスタ装置M01と同じク
ロックf01で動作するものである。
(B-1) Arrangement of Arithmetic Processor FIG. 11 shows a conceptual arrangement of the system according to this embodiment. In FIG. 11, the bus slave device S02 in the first embodiment is replaced with bus slaves S021 and S022 for device replacement or device expansion. The bus slave device S021 operates at the clock f02 different from that of the bus master device M01, as in the case of the bus slave device S02. The bus slave device S022 operates at the same clock f01 as the bus master device M01.

【0109】(B−2)バスインタフェースの構成 (B−2−1)バスマスタ装置側の構成 さて、この第2の実施形態では、バスマスタ装置に持つ
同期/非同期判断部の構成が、第1の実施形態と異なっ
ている。
(B-2) Configuration of Bus Interface (B-2-1) Configuration of Bus Master Device Side In the second embodiment, the configuration of the synchronous / asynchronous determination unit of the bus master device is the first. Different from the embodiment.

【0110】なお、バスマスタ装置に持つバスインタフ
ェース回路のうち、同期バスインタフェース部b及び非
同期バスインタフェース部cの構成及び動作と、バスス
レーブ装置に持つバスインタフェース回路(図9)の構
成及び動作は、第1の実施形態と同じであるため説明は
省略する。
Among the bus interface circuits of the bus master device, the configuration and operation of the synchronous bus interface part b and the asynchronous bus interface part c and the configuration and operation of the bus interface circuit of the bus slave device (FIG. 9) are as follows. The description is omitted because it is the same as the first embodiment.

【0111】図12は、本実施形態に係るバスマスタ装
置に持つ同期/非同期判断部aの詳細構成である。な
お、本システムにおけるメモリ空間上のアドレス配置を
図13に、設定データの例を図14に示す。
FIG. 12 is a detailed configuration of the synchronous / asynchronous judging section a included in the bus master device according to this embodiment. Note that FIG. 13 shows an address arrangement in the memory space in this system, and FIG. 14 shows an example of setting data.

【0112】バスマスタ装置に持つ同期/非同期判断部
aは、同期転送を行う領域を設定する一時的な記憶装置
fと、入力アドレスと設定データ(アドレス領域)の一
致を検出するアドレス検出部gと、sync信号生成回
路hとで構成されている。
The synchronous / asynchronous judging section a included in the bus master apparatus includes a temporary storage device f for setting an area for synchronous transfer, and an address detecting section g for detecting a match between an input address and setting data (address area). , Sync signal generation circuit h.

【0113】ここで、sync信号生成回路hには、生
成条件として運用系/待機系を示すact信号と、0系
/1系を示すindc信号と、記憶装置fに保持されて
いる生成条件信号が入力される。
Here, the sync signal generation circuit h has an act signal indicating a working / standby system as a generation condition, an indc signal indicating a 0 system / 1 system, and a generation condition signal held in the storage device f. Is entered.

【0114】記憶装置fは、同期転送し得るバススレー
ブ装置の数だけ用意する。この記憶装置fには、主記憶
装置、入出力装置等の同期転送し得るバススレーブ装置
の領域を示すアドレス及びそれぞれのsync生成条件
を設定するものが記憶されている。ただし、アドレスに
よって連続した複数のバススレーブ装置のアドレス領域
を1つの記憶装置で処理することもできる。
The memory device f is prepared by the number of bus slave devices that can be synchronously transferred. The storage device f stores an address indicating an area of a bus slave device capable of synchronous transfer such as a main storage device and an input / output device, and a device for setting respective sync generation conditions. However, it is also possible to process the address areas of a plurality of bus slave devices that are consecutive according to the address by one storage device.

【0115】設定データ(図14)は、16ビットから
なり、設定アドレス6ビット、アドレスマスク6ビッ
ト、生成条件データ3ビットからなる。これらのデータ
は、例えば、ソフトウェアからの設定等の何らかの手段
により設定される。
The setting data (FIG. 14) consists of 16 bits, including a setting address of 6 bits, an address mask of 6 bits, and generation condition data of 3 bits. These data are set by some means such as setting from software.

【0116】このうち、sync信号生成回路に通知さ
れ、生成条件を決定するのに用いられるデータ(生成条
件データ)には、次の3種類がある。
Of these, there are the following three types of data (generation condition data) notified to the sync signal generation circuit and used to determine the generation condition.

【0117】(1) セレクタ回路動作可能(ENA) 設定データ及び信号xが「1」で動作可能、「0」で動
作不可。これは、設定はするが同期転送を行わないと
き、又は、M01以外の装置が同期転送を抑止するとき
などに用いる。
(1) Selector circuit operable (ENA) Operation is possible when the setting data and signal x are "1", operation is not possible when "0". This is used when the setting is made but the synchronous transfer is not performed, or when a device other than M01 suppresses the synchronous transfer.

【0118】(2) 同期転送/非同期転送の選択(SE
L) 運用系/待機系で選択するか、0系/1系で選択する
か。「1」で運用系/待機系、「0」で0系/1系を表
す。
(2) Selection of synchronous transfer / asynchronous transfer (SE
L) Whether to select the active system / standby system or the 0 system / 1 system. "1" represents an active system / standby system, and "0" represents a 0 system / 1 system.

【0119】(3) A1/S0(運用系(ACT)・1系
/((待機系)SBY・0系) SELが「1」の場合であって、「1」のとき、運用系
で同期転送、「0」のとき、待機系で同期転送。SEL
が「0」の場合であって、「1」のとき、1系で同期転
送、「0」のとき、0系で同期転送。
(3) A1 / S0 (active system (ACT) / 1 system / ((standby system) SBY.0 system) When SEL is "1", when it is "1", it is synchronized with the active system. Transfer, when it is "0", synchronous transfer in standby system SEL
When the value is "0", when the value is "1", the synchronous transfer is performed by the 1 system, and when the value is "0", the synchronous transfer is performed by the 0 system.

【0120】図15に、記憶装置fとアドレス検出部
g、sync生成部hとの接続を示す。
FIG. 15 shows the connection between the storage device f and the address detection unit g and the sync generation unit h.

【0121】アドレス検出部gは、入力アドレスの上位
6ビットと設定アドレスを比較する。ここで、比較した
値が一致すると、一致検出回路の出力i5、i4、i
3、i2、i1、i0、はいずれも「1」となる。
The address detector g compares the upper 6 bits of the input address with the set address. Here, if the compared values match, the outputs i5, i4, i of the match detection circuit
3, i2, i1, i0 are all "1".

【0122】なお、アドレスマスクと設定アドレスとは
応対しており、マスク設定してある場合には、各ビット
の一致不一致に拘わらず、マスク回路により比較結果が
「1」となるよう接続されている。
The address mask and the set address correspond to each other. When the mask is set, the mask circuit is connected so that the comparison result becomes "1" regardless of whether the bits match or not. There is.

【0123】従って、アドレス検出部gは、マスク設定
していないアドレスビットが設定値と一致するかを検出
する回路と同値である。ここで、一致を検出したという
ことは、入力アドレスは、設定アドレス領域を指してい
ることになる。
Therefore, the address detection unit g has the same value as that of the circuit for detecting whether the address bit for which the mask is not set matches the set value. Here, the fact that the match is detected means that the input address points to the set address area.

【0124】sync生成回路は、アドレス検出信号
と、入力アドレスに一致した設定アドレスの付加情報で
ある生成条件とに基づいてsync信号を生成する。s
ync生成部の詳細を図16に示す。sync生成以降
の動作は、第1の実施形態と同様であるため説明は省略
する。
The sync generation circuit generates the sync signal based on the address detection signal and the generation condition which is the additional information of the set address that matches the input address. s
The details of the ync generation unit are shown in FIG. The operation after the generation of sync is the same as that of the first embodiment, and therefore its explanation is omitted.

【0125】(B−3)転送動作 本実施形態におけるメモリ空間は、図13に示すよう
に、アドレス16ビット(000(hex)番地〜F
FFF(hex)番地)で構成されている。
[0125] (B-3) Memory space in the transfer operation this embodiment, as shown in FIG. 13, address 16 bits (000 0 (hex) address ~F
FFF (hex address).

【0126】なお、バススレーブ装置の領域は最低2K
バイトとする。換言すれば、1つのバススレーブ装置の
アドレス領域は、アドレス信号の上位6ビットで決定す
る。
The area of the bus slave device is at least 2K.
I will be a part-time job. In other words, the address area of one bus slave device is determined by the upper 6 bits of the address signal.

【0127】このうち、主記憶装置MM0のアドレス空
間は、0000(hex)〜3FFF(hex)であ
る。MM0の空間を指すには、アドレスの上位2ビット
が「00(bin)」あれば良い。同様に、主記憶装置
MM1を指すには、アドレスの上位2ビットが「01
(bin)”」あれば良い。
Of these, the address space of the main memory MM0 is 0000 (hex) to 3FFF (hex). In order to indicate the space of MM0, the upper 2 bits of the address may be “00 (bin)”. Similarly, the upper 2 bits of the address are "01" to indicate the main memory MM1.
(Bin) "" is good.

【0128】その他、バススレーブ装置S01のアドレ
ス空間は、8000(hex)〜8FFF(hex)、
バススレーブ装置S02のアドレス空間は、9000
(hex)〜9FFF(hex)であるので、バススレ
ーブ装置S01及びS02の空間を指すにはアドレスの
上位4ビットは「1000(bin)」、「1001
(bin)」となる。
In addition, the address space of the bus slave device S01 is 8000 (hex) to 8FFF (hex),
The address space of the bus slave device S02 is 9000.
Since (hex) to 9FFF (hex), the upper 4 bits of the address are "1000 (bin)" and "1001" to indicate the space of the bus slave devices S01 and S02.
(Bin) ”.

【0129】また、バススレーブ装置S021のアドレ
ス空間は、9000(hex)〜97FF(hex)、
バススレーブ装置S022のアドレス空間は、9800
(hex)〜9FFFであるので、バススレーブ装置S
021及びS022の空間を指すには、アドレスの上位
5ビットは「10010(bin)」、「10011
(bin)」となる。
The address space of the bus slave device S021 is 9000 (hex) to 97FF (hex),
The address space of the bus slave device S022 is 9800.
(Hex) to 9 FFF, the bus slave device S
In order to indicate the space of 021 and S022, the upper 5 bits of the address are “10010 (bin)” and “10011.
(Bin) ”.

【0130】ここで、記憶装置f−1(図15)に、主
記憶装置MM0にアクセスするためのデータを設定す
る。この場合、必要なアドレスは、上位2ビットの「0
0(hex)」であるので、設定アドレスは「0000
00」、アドレスマスクは「001111」となる。ま
た、運用系装置に有る場合、同期転送を実施するので、
ENAは「1」(動作可)、SELはMM0が運用系/
待機系で切り替えるので「1」、A1/S0は「1」
(運用系で同期転送)とする。
Here, data for accessing the main memory MM0 is set in the memory f-1 (FIG. 15). In this case, the required address is "0" of the upper 2 bits.
Since it is 0 (hex), the set address is "0000."
00 "and the address mask is" 001111 ". In addition, if it is in the active device, synchronous transfer will be performed, so
ENA is "1" (operation is possible), SEL is MM0 active /
"1" because it switches in the standby system, "1" for A1 / S0
(Synchronous transfer in active system).

【0131】また、バススレーブ装置S01をアクセス
するためのデータを、記憶装置f−2(図15)に設定
する。必要なアドレスは上位4桁が「1000(he
x)」であるので設定アドレスは「100000」、ア
ドレスマスクは「000011」となる。また、0系装
置に有る場合、同期転送を実施するので、ENAは
「1」(動作可)、SELは「0」(0系/1系で切り
替え)、A1/S0は「0」(0系で同期転送)とす
る。
Further, the data for accessing the bus slave device S01 is set in the storage device f-2 (FIG. 15). The upper 4 digits of the required address are "1000 (he
x) ”, the set address is“ 100000 ”and the address mask is“ 000011 ”. If the device is in the 0 system, synchronous transfer is performed, so ENA is "1" (operation is possible), SEL is "0" (switched between 0 system / 1 system), and A1 / S0 is "0" (0 Synchronous transfer in the system).

【0132】ここで、入力アドレスの上位6ビットと設
定アドレスが、アドレス検出回路g(図15)におい
て、ビット単位で比較される。
Here, the upper 6 bits of the input address and the set address are compared bit by bit in the address detection circuit g (FIG. 15).

【0133】アドレス検出回路gは、アドレスマスクの
対応するビット(M0〜M5)により無視できるビット
を除いて、残りのビットが一致した場合、そのアドレス
は記憶装置に設定されたアドレス領域に対するアクセス
であると判定し、アドレス検出回路gの出力を有意とす
る。
The address detection circuit g, except for the bits that can be ignored by the corresponding bits (M0 to M5) of the address mask, if the remaining bits match, the address can be accessed to the address area set in the memory device. It is determined that there is, and the output of the address detection circuit g is made significant.

【0134】これを具体的に表したのが、図17であ
る。なお、図17は、主記憶装置MM0にアクセスする
ときの同期/非同期判断部の状態を示している。
FIG. 17 specifically shows this. Note that FIG. 17 shows the state of the synchronous / asynchronous judgment unit when accessing the main memory MM0.

【0135】入力アドレスが「3FFF(hex)」で
あるとすると、入力アドレスの上位6ビットは「001
111(bin)」となる。このアドレスを記憶装置f
−1の設定アドレス「000000(bin)」とビッ
ト単位で比較すると、上位2ビットは一致しており、比
較結果i5、i4は有意となる。
If the input address is "3FFF (hex)", the upper 6 bits of the input address are "001".
111 (bin) ”. This address is stored in the storage device f
When compared with the setting address “000000 (bin)” of −1 in bit units, the upper 2 bits match and the comparison results i5 and i4 are significant.

【0136】しかしその下の4ビットは不一致であるた
めi3、i2、i1、i0は有意とならない。ところ
が、これら比較結果i3、i2、i1、i0について
は、マスク回路によりそれぞれのビットが一致したもの
とみなされるので、結果として、入力されたアドレス
「3FFF(hex)」は、主記憶装置MM0の領域を
指すアドレスであると認識され、出力agreeは有意
となる。
However, since the lower 4 bits do not match, i3, i2, i1 and i0 are not significant. However, with respect to these comparison results i3, i2, i1, and i0, the mask circuit considers that the respective bits match, and as a result, the input address "3FFF (hex)" is stored in the main memory MM0. The output agree is significant because it is recognized as an address that points to a region.

【0137】なお、同じ入力アドレスを記憶装置f−2
の設定アドレス「100000(bin)」と比較して
も、比較結果i5、i3、i2、i1、i0が不一致と
なるだけでなく、マスクビットが有意になっているのは
比較結果i1に対応するビットだけであるので、比較結
果g−2は有意とならない。従って、このアドレスはバ
ススレーブ装置S01のアドレス領域を指しているもの
とは認識されない。
It should be noted that the same input address is stored in the storage device f-2.
The comparison result i5, i3, i2, i1, i0 not only does not match even when compared with the set address “100000 (bin)” of No. 1, but the mask bit is significant corresponding to the comparison result i1. Since there are only bits, the comparison result g-2 is not significant. Therefore, this address is not recognized as pointing to the address area of the bus slave device S01.

【0138】また、入力アドレスがどの記憶装置にも設
定していないアドレス領域の場合は、どのアドレス検出
回路も一致せず、sync信号発出動作は開始されな
い。
If the input address is in an address area which is not set in any storage device, no address detection circuit matches and the sync signal issuing operation is not started.

【0139】さて、アドレス検出をしたアドレス検出部
g−1は出力を有意とすると共に、記憶装置f−1に設
定された生成条件の出力ゲートを開き、その生成条件
(A1/S0、SEL、ENA)をsync生成回路に
通知する。
The address detecting unit g-1 which has detected the address makes the output significant and opens the output gate of the generation condition set in the storage device f-1 to generate the generation condition (A1 / S0, SEL, ENA) is notified to the sync generation circuit.

【0140】選択条件は、記憶装置に設定した「SE
L」及び「A1/S0」である。
The selection condition is "SE" set in the storage device.
L ”and“ A1 / S0 ”.

【0141】バスマスタ装置M01は、運用系/0系の
装置であるので、indcは「0」、actは「1」で
ある。
Since the bus master device M01 is a working / 0 system device, indc is "0" and act is "1".

【0142】今、入力アドレスが「3FFF(he
x)」で、主記憶装置MM0の領域がアクセスされてい
ると、設定した選択条件「ENA」は「1」(動作
可)、「SEL」は運用系/待機系で切り替えるので
「1」、A1/S0は「1」(運用系で同期転送)であ
る。
Now, the input address is "3FFF (he
x) ”, if the area of the main memory MM0 is accessed, the set selection condition“ ENA ”is“ 1 ”(operation is possible), and“ SEL ”is switched between the active system and the standby system, so“ 1 ”, A1 / S0 is "1" (synchronous transfer in the active system).

【0143】まず、sync生成回路では、SEL情報
により、act信号とindc信号が選択される。ここ
では、SEL=「1」であるので、act信号が選択さ
れる。次に、A1/S0は「1」であり、act信号と
一致するので、同期転送を行うことができる条件であ
る。また、ENAは「1」であるので、sync生成回
路の動作は可能であり、sync信号を発出する。
First, in the sync generation circuit, the act signal and the indc signal are selected according to the SEL information. Here, since SEL = “1”, the act signal is selected. Next, A1 / S0 is "1", which coincides with the act signal, which is a condition under which synchronous transfer can be performed. Further, since ENA is “1”, the sync generation circuit can operate and issues the sync signal.

【0144】これに対して、入力アドレスが「8000
(hex)」であり、バススレーブ装置S0の領域がア
クセスされる場合は、設定した選択条件はENAが
「1」(動作可)、SELは0系/1系で切り替えるの
で「0」、A1/S0は「0」(0系で同期転送)であ
る。
On the other hand, if the input address is "8000
(Hex) ”, and when the area of the bus slave device S0 is accessed, the set selection condition is“ 0 ”, A1 because ENA is“ 1 ”(operation is possible) and SEL is switched between 0 system and 1 system. / S0 is "0" (synchronous transfer in 0 system).

【0145】この場合も、sync生成回路は、まず、
SEL情報によりact信号とindc信号を選択す
る。ここで、SELは「0」であるのでindc信号が
選ばれる。次に、A1/S0は「0」であるので、in
dc信号と比較された結果が一致し、同期転送を行うこ
とができる条件である。ここで、ENAは「1」である
ので、sync生成回路の動作は可能であり、sync
信号を発出する。
Also in this case, the sync generation circuit first
The act signal and the indc signal are selected according to the SEL information. Here, since SEL is "0", the indc signal is selected. Next, since A1 / S0 is “0”, in
This is a condition under which the result of comparison with the dc signal matches and synchronous transfer can be performed. Here, since ENA is "1", the operation of the sync generation circuit is possible, and the sync
Emit a signal.

【0146】続いて、演算処理装置の一部装置を他の装
置で置換した場合を説明する。ここでは、バススレーブ
装置S02をバススレーブ装置S021及びS022の
2装置に置き換えた場合について説明する。
Next, a case where a part of the arithmetic processing unit is replaced with another unit will be described. Here, a case where the bus slave device S02 is replaced with two devices of the bus slave devices S021 and S022 will be described.

【0147】バススレーブ装置S02は、もともと同期
バスサイクルを起こさないバススレーブ装置であるので
設定はしていない。バススレーブ装置S021も、同期
バスサイクルを起こさないバススレーブ装置であるので
設定は必要ないが、バススレーブ装置S022はクロッ
クf01で動作しているため同期バスサイクルが行え
る。
Since the bus slave device S02 is originally a bus slave device which does not cause a synchronous bus cycle, it is not set. The bus slave device S021 is also a bus slave device that does not cause a synchronous bus cycle, and thus no setting is necessary, but the bus slave device S022 operates at the clock f01, and therefore a synchronous bus cycle can be performed.

【0148】本実施形態では、何らかの方法で設定アド
レス「100110」、アドレスマスク「00000
1」、ENA「1」、SEL「0」、A1/S0「0」
を設定すれば、バススレーブ装置S022も同期転送を
行うようになる。
In this embodiment, the set address "100110" and the address mask "00000" are set by some method.
1 ”, ENA“ 1 ”, SEL“ 0 ”, A1 / S0“ 0 ”
If is set, the bus slave device S022 also performs the synchronous transfer.

【0149】今までは、運用系/0系のバスマスタ装置
であるM01について説明をしたが、待機系/1系のバ
スマスタ装置であるバスマスタ装置M11の場合は、生
成条件のA1/S0の値における「1」、「0」を反対
にすれば同じ動作が可能である。
Up to now, the M01 which is the active / 0 system bus master device has been described, but in the case of the bus master device M11 which is the standby / 1 system bus master device, the value of A1 / S0 of the generation condition is set. The same operation can be performed by reversing "1" and "0".

【0150】(B−3)第2の実施形態の効果 以上のように、第2の実施形態によれば、同期転送を行
う領域を何らかの設定により変更できるようにしたこと
により、常に、データ転送効果の最も良いバスアクセス
を選択でき、結果的にデータ転送能力を上げる効果に加
え、バススレーブ装置を追加拡張した場合でも柔軟に対
応できる効果が得られる。
(B-3) Effect of the Second Embodiment As described above, according to the second embodiment, the area for performing the synchronous transfer can be changed by some setting, so that the data transfer is always performed. In addition to the effect that the bus access with the best effect can be selected and the data transfer capability will be improved as a result, the effect that the bus slave device can be added and expanded flexibly can be obtained.

【0151】なお、この第2の実施形態は、特に、ソフ
トウェアにより装置を管理しながら運用するシステムに
向いている。
The second embodiment is particularly suitable for a system that operates while managing the apparatus by software.

【0152】(C)第3の実施形態 以下、本発明に係るデータ転送方式及びデータ転送シス
テムの第3の実施形態を説明する。
(C) Third Embodiment Hereinafter, the data transfer system and the data transfer system according to the present invention will be described.
Illustrating a third embodiment systems out.

【0153】なお、本形態は、同期転送し得るバスマス
タ装置とバススレーブ装置間を予め専用線を介して接続
しておき、ハードウェア的に、同期転送可能なアクセス
をバスマスタ装置に自動登録できる機能を備えるものに
ついての実施形態である。
In the present embodiment, the bus master device and the bus slave device capable of synchronous transfer are connected in advance via a dedicated line, and the function capable of automatically registering the synchronously transferable access to the bus master device in terms of hardware. It is an embodiment of what comprises.

【0154】(C−1)演算処理装置の構成 図18に、本実施形態に係るシステムの概念構成図を示
す。この実施形態におけるシステム構成も、基本的に
は、第1の実施形態と同じ構成をとる。ただし、クロッ
クf02で動作するバスマスタ装置M02を、説明の都
合上追加する。また、バスマスタ装置M01と主記憶装
置MM0及びバススレーブ装置S01の間、バスマスタ
装置M02とバススレーブ装置S02の間は、TAとA
CK双方を必要とする。
(C-1) Arrangement of Arithmetic Processing Device FIG. 18 shows a conceptual arrangement of the system according to this embodiment. The system configuration of this embodiment basically has the same configuration as that of the first embodiment. However, a bus master device M02 which operates at the clock f02 is added for convenience of description. Further, TA and A are provided between the bus master device M01 and the main memory device MM0 and the bus slave device S01, and between the bus master device M02 and the bus slave device S02.
Requires both CK.

【0155】ただし、バスマスタ装置M01とバススレ
ーブ装置S02、バスマスタ装置02とバススレーブ
装置S01、MM0、バスマスタ装置M11とバススレ
ーブ装置S12、バスマスタ装置12とススレーブ
装置S11、MM1およびSSBC#0とSBC#
1の間では同期転送を行わないためACKのみの接続で
良い。
[0155] However, and bus master device M01 and the bus slave device S02, master device M 02 and the bus slave device S01, MM0, the bus master device M11 and the bus slave device S12, master device M 12 and bar Susurebu device S11, MM1,, SSBC # 0 and SBC #
Since synchronous transfer is not performed between 1 and 2, only ACK connection is required.

【0156】(C−2)バスインタフェースの構成 (C−2−1)バスマスタ装置側の構成 図19は、バスマスタ装置に持つバスインタフェース回
路の構成を表すものであり、これらは、バスマスタ装置
M01、M02及びM11、M12に設けられている。
(C-2) Configuration of Bus Interface (C-2-1) Configuration of Bus Master Device Side FIG. 19 shows the configuration of the bus interface circuit of the bus master device. These are the bus master device M01, It is provided in M02, M11, and M12.

【0157】本回路は、同期/非同期判断部j、同期バ
スインタフェース部k及び非同期バスインタフェース部
lよりになる。このうち、同期バスインタフェース部k
及び非同期バスインタフェース部lの構成は、第1の実
施形態と同じである。従って、これらについての説明は
省略する。
This circuit comprises a synchronous / asynchronous judging section j, a synchronous bus interface section k and an asynchronous bus interface section l. Of these, the synchronous bus interface section k
The configuration of the asynchronous bus interface unit 1 is the same as that of the first embodiment. Therefore, description of these is omitted.

【0158】本実施形態と第1の実施形態とが異なる点
は、TAとACKとが別線を介して入力される点と、T
Aが同期/非同期判断部jにも通知される点である。
The difference between this embodiment and the first embodiment is that TA and ACK are input via separate lines, and T
A is also notified to the synchronous / asynchronous judging unit j.

【0159】図20に、同期/非同期判断部jの詳細構
成を示す。
FIG. 20 shows the detailed construction of the synchronous / asynchronous judging section j.

【0160】同期/非同期判断部jは、128×1ビッ
トのメモリm、OE生成部n、sync保持回路oから
構成されている。
The synchronous / asynchronous judging section j is composed of a 128 × 1 bit memory m, an OE generating section n, and a sync holding circuit o.

【0161】ここで、メモリmのアドレスには、入力ア
ドレスのうち上位6ビットが入力されるようになってい
る。また、メモリmの入力データ端子には、固定値
「1」が常に接続されている。なお、メモリmの出力デ
ータをsync信号とする。
Here, the upper 6 bits of the input address are input to the address of the memory m. A fixed value "1" is always connected to the input data terminal of the memory m. Note that the output data of the memory m is the sync signal.

【0162】このsync信号は、バススレーブ装置か
ら与えられるTAと共に論理ゲートに入力され、その論
理出力が、メモリmの書き込み制御信号(WE)とな
る。
This sync signal is input to the logic gate together with TA given from the bus slave device, and its logic output becomes the write control signal (WE) of the memory m.

【0163】ここで、メモリmの読み出し信号(OE)
は、バスサイクル起動信号に基づき、使用するメモリm
のタイミングに合わせてOE生成部nにおいて作成され
る。
Here, the read signal (OE) of the memory m
Is the memory m to be used based on the bus cycle activation signal.
It is created in the OE generation unit n at the timing of.

【0164】sync信号は、sync保持回路oにお
いて、バスサイクル中保持されており、その値は、バス
サイクルの終了時点でクリアされるようなっている。な
お、sync保持回路oの出力をsync1とする。
The sync signal is held in the sync holding circuit o during the bus cycle, and its value is cleared at the end of the bus cycle. Note that the output of the sync holding circuit o is sync1.

【0165】同期バスインタフェース部k、非同期バス
インタフェース部l及びバススレーブ装置に出力される
sync信号は、ここでいうsync1である。
The sync signal output to the synchronous bus interface unit k, the asynchronous bus interface unit 1 and the bus slave device is the sync1 here.

【0166】(C−2−2)バススレーブ装置側の構成 図21は、バススレーブ装置に持つバスインタフェース
回路の構成であり、主記憶装置MM0、MM1及びバス
スレーブ装置S01、S02、S11、S12に設けら
れている。
(C-2-2) Configuration of Bus Slave Device Side FIG. 21 shows the configuration of the bus interface circuit of the bus slave device. The main memory devices MM0 and MM1 and the bus slave devices S01, S02, S11 and S12 are shown. It is provided in.

【0167】本回路は、同期バスインタフェース部p及
び非同期バスインタフェース部qよりなる。このうち、
非同期バスインタフェース部qについては、第1の実施
形態と同じであるので説明は省略する。
This circuit comprises a synchronous bus interface section p and an asynchronous bus interface section q. this house,
The asynchronous bus interface section q is the same as that in the first embodiment, and therefore its explanation is omitted.

【0168】同期バスインタフェース部pは、同期転送
時に応答信号TAを送出する他に、非同期転送時もTA
を送出する。これは、バスマスタ装置のメモリmに対し
同期転送が可能であることを通知するためである。その
ため、TAは、図19で示したように、同期転送が行わ
れるバスマスタ装置とバススレーブ装置のみを接続す
る。そして、バスマスタ装置M01とバススレーブ装置
S02、バスマスタ装置M02とバススレーブ装置S0
1との間は接続しないようにする。また、SBC#0と
SBC#1との間も接続しない。
The synchronous bus interface section p sends the response signal TA at the time of synchronous transfer and also TA at the time of asynchronous transfer.
Is sent. This is to notify the memory m of the bus master device that synchronous transfer is possible. Therefore, as shown in FIG. 19, TA connects only the bus master device and the bus slave device to which the synchronous transfer is performed. Then, the bus master device M01 and the bus slave device S02, and the bus master device M02 and the bus slave device S0.
Do not connect to 1 and. Also, no connection is made between SBC # 0 and SBC # 1.

【0169】ただし、バススレーブ装置の仕様により、
同期転送それ自体が行われない場合には、以上の仕組み
は必要ない。
However, depending on the specifications of the bus slave device,
The above mechanism is not necessary when the synchronous transfer itself is not performed.

【0170】(C−3)転送動作 本実施形態の場合も、図7に示すように、メモリ空間は
アドレス16ビット(0000(hex)番地〜FFF
F(hex)番地)で構成されている。なお、バススレ
ーブ装置の領域は最低2Kバイトとする。また、1つの
バススレーブ装置のアドレス領域は、アドレス信号の上
位6ビットで決定される。
(C-3) Transfer Operation Also in this embodiment, as shown in FIG. 7, the memory space has an address of 16 bits (0000 (hex) address to FFF.
F (hex) address). The area of the bus slave device is at least 2 Kbytes. The address area of one bus slave device is determined by the upper 6 bits of the address signal.

【0171】図2に、本実施形態の動作タイムチャー
トを示す。なおここでは、バスマスタ装置M01より、
主記憶装置MM0に対してアクセスが行われた場合を考
える。入力アドレスは「0000(hex)」である。
[0171] Figure 2 2 shows an operation time chart of the present embodiment. In addition, here, from the bus master device M01,
Consider a case where the main memory MM0 is accessed. The input address is “0000 (hex)”.

【0172】入力アドレスの上位6ビットが、メモリm
のアドレスにつながっており、バスサイクル起動に合わ
せてOE生成部より読み出し信号(OE)がメモリmに
入力される。
The upper 6 bits of the input address are stored in the memory m
, And the read signal (OE) is input to the memory m from the OE generator in synchronization with the bus cycle activation.

【0173】結果として、メモリmの0番地がアクセス
され、データが出力される。
As a result, the address 0 of the memory m is accessed and the data is output.

【0174】最初は、メモリmの中にデータが書き込ま
れていないので、syncは有意でなく、非同期転送が
開始される。バススレーブ装置は、非同期転送のACK
と同時にTAも発出する。
Initially, since no data has been written into the memory m, sync is not significant and asynchronous transfer is started. The bus slave device uses ACK for asynchronous transfer
At the same time, TA is issued.

【0175】本実施形態の場合、主記憶装置MM0のT
Aとバスマスタ装置M01のTAは別線を介してバスマ
スタ装置M01に接続されているので、TAは当該別線
を介して同期/非同期判断部jに入力される。
In the case of this embodiment, T of the main memory MM0 is used.
Since A and TA of the bus master device M01 are connected to the bus master device M01 via a separate line, TA is input to the synchronous / asynchronous determination section j via the separate line.

【0176】syncが有意でない場合に、TAの入力
があると、同期/非同期判断部jは、メモリmに対する
書き込み信号(WE)を生成し、これをメモリmに入力
する。この書き込み信号(WE)の発生により、メモリ
mの0番地に固定値「1」が記憶される。
When sync is not significant and TA is input, the synchronous / asynchronous judging section j generates a write signal (WE) for the memory m, and inputs this to the memory m. The generation of the write signal (WE) causes the fixed value "1" to be stored in the address 0 of the memory m.

【0177】次に、入力アドレスの上位6ビットが「0
00000」となるアクセスが発生したとする。今度
は、メモリmの0番地に「1」が記憶されているため、
有意のsyncが発生し、同期転送となる。
Next, the upper 6 bits of the input address are "0".
It is assumed that an access of "00000" occurs. This time, since "1" is stored in address 0 of memory m,
A significant sync occurs, and the transfer becomes synchronous.

【0178】なお、読み出し信号(OE)は、バスサイ
クルの後半で書き込み信号(WE)が発生することを考
慮し、書き込み信号(WE)と同時に発生しないタイミ
ングで出力を停止しなければならない。
The output of the read signal (OE) must be stopped at a timing when it does not occur at the same time as the write signal (WE), considering that the write signal (WE) is generated in the latter half of the bus cycle.

【0179】また、sync信号は、サイクル中は発出
し続ける必要があるので、sync保持回路oにおいて
保持している。ただし、バススレーブ装置の作りによっ
ては、バスサイクルの最初だけ出力させておけば良い場
合もある。その場合、sync保持回路oは必要ない。
The sync signal is held in the sync holding circuit o because it needs to be continuously output during the cycle. However, depending on the construction of the bus slave device, it may be sufficient to output only at the beginning of the bus cycle. In that case, the sync holding circuit o is not necessary.

【0180】また、本実施形態では、メモリmを使用し
た例であったが、スレーブ装置毎に記憶装置を用意し、
ハードウェアの規模を抑える回路でも同様の効果が得ら
れる。
In the present embodiment, the memory m is used as an example. However, a storage device is prepared for each slave device,
A similar effect can be obtained with a circuit that reduces the scale of hardware.

【0181】(C−4)第3の実施形態の効果 以上のように、第3の実施形態によれば、ハードウェア
により自立的に同期転送を行う領域を設定し得るように
したので、常にデータ転送効率の最も良いバスアクセス
を選択でき、結果的にデータ転送能力を上げる効果に加
え、バススレーブ装置を追加拡張した場合でも柔軟に対
応できる効果がある。
(C-4) Effects of the Third Embodiment As described above, according to the third embodiment, the area for performing the synchronous transfer can be set independently by hardware, so that it is always possible. In addition to the effect that the bus access with the highest data transfer efficiency can be selected and the data transfer capability will be improved as a result, there is the effect that even if a bus slave device is additionally expanded, it can be flexibly supported.

【0182】なお、この第3の実施形態は、第2の実施
形態とは逆に、ソフトウェアではハードウェアの構成を
意識しないような作りのシステムに向いている。
In contrast to the second embodiment, the third embodiment is suitable for a system which is constructed so that the software does not consider the hardware configuration.

【0183】(D)他の実施形態 上述の第1〜第3の実施形態においては、バスマスタ装
置からバススレーブ装置への同期転送/非同期転送の通
知をsyncという個別線を用いて実現していたが、T
S、ASをバススレーブ装置に直接入力し、バススレー
ブ装置の同期バスインタフェース部又は非同期バスイン
タフェース部を直接起動しても同じ効果が得られる。
(D) Other Embodiments In the above-described first to third embodiments, the notification of synchronous transfer / asynchronous transfer from the bus master device to the bus slave device is realized using the individual line called sync. But T
The same effect can be obtained by directly inputting S and AS to the bus slave device and directly activating the synchronous bus interface unit or the asynchronous bus interface unit of the bus slave device.

【0184】[0184]

【発明の効果】以上のように、発明によれば、動作ク
ロックを同じくする装置と異なる装置とが、同一バス上
に混在して存在し得るシステム上の任意の装置間で、デ
ータ転送するのに使用するデータ転送方法において、デ
ータ転送時、転送元となる装置が、自装置の冗長系での
状態とアクセス先メモリ空間アドレスとに基づいて、固
定アドレス領域の装置に対して同期転送方式を用いる
か、非同期転送方式を用いるか自律的に選択し、選択結
果に応じた転送方式により転送先となる装置にデータを
転送するようにしたことにより、事前に何らの設定をし
なくても、同期転送可能な装置には同期転送方式によ
り、また、非同期転送可能な装置には非同期転送方式に
より、データを転送することができる。
As described above, according to the present invention, data transfer is performed between arbitrary devices on the system in which a device having the same operation clock and a device having different operation clocks may coexist on the same bus. In the data transfer method used for the data transfer method, the device that is the transfer source at the time of data transfer, based on the state of the redundant system of the own device and the access destination memory space address , By setting whether to use the synchronous transfer method or the asynchronous transfer method autonomously and transfer the data to the transfer destination device by the transfer method according to the selection result, no setting is required in advance. Even without doing so, data can be transferred to a device capable of synchronous transfer by the synchronous transfer method and to a device capable of asynchronous transfer by the asynchronous transfer method.

【0185】また、以上のようにの発明によれば、動
作クロックを同じくする装置と異なる装置とが、同一バ
ス上に混在して存在し得るシステム上の任意の装置間
で、データ転送するのに使用するデータ転送方法におい
て、転送先となる装置が同期転送可能であるとき、転送
先となる装置は、非同期転送方式でデータを転送してき
た転送元となる装置にこの情報を通知し、転送元となる
装置は、その情報が通知された際これを記憶し、以後、
データ転送の必要が生じた場合には、当該転送先となる
装置に同期転送方式にてデータを転送するようにしたこ
とにより、ハードウェア的に、最も転送効率の良い状態
を常に自律的に選択できる。
Further, as described above, according to another invention, data is transferred between arbitrary devices on the system, which may exist on the same bus as a device having the same operation clock and a device having a different operation clock. In the data transfer method used for, when the transfer destination device is capable of synchronous transfer, the transfer destination device notifies this information to the transfer source device that has transferred the data by the asynchronous transfer method, The transfer source device stores the information when notified, and thereafter,
When the need for data transfer arises, the data is transferred to the transfer destination device by the synchronous transfer method, so that the most efficient transfer state is always selected autonomously in terms of hardware. it can.

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

【図1】第1の実施形態で用いるバスマスタ装置のバス
インタフェース回路を示すブロック図である。
FIG. 1 is a block diagram showing a bus interface circuit of a bus master device used in a first embodiment.

【図2】非同期転送システムの従来例を示す図である。FIG. 2 is a diagram showing a conventional example of an asynchronous transfer system.

【図3】同期転送システムの従来例を示す図である。FIG. 3 is a diagram showing a conventional example of a synchronous transfer system.

【図4】再同期回路を有する同期回路の例を示す図であ
る。
FIG. 4 is a diagram showing an example of a synchronization circuit having a resynchronization circuit.

【図5】同一装置内にクロックが混在するシステムの構
成例を示す図である。
FIG. 5 is a diagram showing a configuration example of a system in which clocks are mixed in the same device.

【図6】第1の実施形態に係るシステム構成を示す図で
ある。
FIG. 6 is a diagram showing a system configuration according to the first embodiment.

【図7】メモリ空間配列を表した図である。FIG. 7 is a diagram showing a memory space array.

【図8】第1の実施形態で用いる同期/非同期判断部の
構成を表したブロック図である。
FIG. 8 is a block diagram showing a configuration of a synchronous / asynchronous determination unit used in the first embodiment.

【図9】第1の実施形態で用いるバススレーブ装置のバ
スインタフェース回路を示すブロック図である。
FIG. 9 is a block diagram showing a bus interface circuit of a bus slave device used in the first embodiment.

【図10】第1の実施形態における転送動作を表したタ
イムチャートである。
FIG. 10 is a time chart showing a transfer operation in the first embodiment.

【図11】第2の実施形態に係るシステム構成を示す図
である。
FIG. 11 is a diagram showing a system configuration according to a second embodiment.

【図12】第2の実施形態で用いる同期/非同期判断部
の構成を表したブロック図である。
FIG. 12 is a block diagram showing a configuration of a synchronous / asynchronous determination unit used in the second embodiment.

【図13】メモリ空間配列を表した図である。FIG. 13 is a diagram showing a memory space array.

【図14】領域設定データを示す図である。FIG. 14 is a diagram showing area setting data.

【図15】第2の実施形態で用いる同期/非同期判断部
の詳細構成を示すブロック図である。
FIG. 15 is a block diagram showing a detailed configuration of a synchronous / asynchronous determination unit used in the second embodiment.

【図16】sync生成回路の詳細構成を示す図であ
る。
FIG. 16 is a diagram showing a detailed configuration of a sync generation circuit.

【図17】同期/非同期判断部の具体的な動作説明に供
する図である。
FIG. 17 is a diagram for explaining a specific operation of a synchronous / asynchronous determination unit.

【図18】第3の実施形態に係るシステム構成を示す図
である。
FIG. 18 is a diagram showing a system configuration according to a third embodiment.

【図19】第3の実施形態で用いるバスマスタ装置のバ
スインタフェース回路を示すブロック図である。
FIG. 19 is a block diagram showing a bus interface circuit of a bus master device used in the third embodiment.

【図20】第3の実施形態で用いる同期/非同期判断部
の詳細構成を示すブロック図である。
FIG. 20 is a block diagram showing a detailed configuration of a synchronous / asynchronous determination unit used in the third embodiment.

【図21】第3の実施形態で用いるバススレーブ装置の
バスインタフェース回路を示すブロック図である。
FIG. 21 is a block diagram showing a bus interface circuit of a bus slave device used in the third embodiment.

【図22】第3の実施形態における転送動作を表したタ
イムチャートである。
FIG. 22 is a time chart showing a transfer operation in the third embodiment.

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

SBC…演算処理装置(シングルボードコンピュー
タ)、f0〜f6、f01、f02、f11、f12…
クロック発生装置、M1〜M6、M01、M02、M1
1、M12…バスマスタ装置、S1〜S6、S01、S
02、S11、S12、S021、S022、S12
1、S122…バススレーブ装置、MM0、MM1…主
記憶装置、a、j…同期/非同期判断部、a−1〜a−
4…デコード回路、a−5…セレクタ回路、b、d、p
…同期バスインタフェース部、c、e、q…非同期バス
インタフェース部、f…記憶回路、g…アドレス検出回
路、h…sync信号生成部、i…一致検出回路の出
力、k…同期転送インタフェース、l…非同期転送イン
タフェース、m…メモリ、n…OE生成部、o…syn
c保持回路。
SBC ... Arithmetic processing device (single board computer), f0 to f6, f01, f02, f11, f12 ...
Clock generator, M1 to M6, M01, M02, M1
1, M12 ... Bus master device, S1 to S6, S01, S
02, S11, S12, S021, S022, S12
1, S122 ... Bus slave device, MM0, MM1 ... Main storage device, a, j ... Synchronous / asynchronous judging unit, a-1 to a-
4 ... Decode circuit, a-5 ... Selector circuit, b, d, p
... Synchronous bus interface section, c, e, q ... Asynchronous bus interface section, f ... Storage circuit, g ... Address detection circuit, h ... Sync signal generation section, i ... Output of match detection circuit, k ... Synchronous transfer interface, l ... Asynchronous transfer interface, m ... Memory, n ... OE generator, o ... syn
c holding circuit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松瀬 高志 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (56)参考文献 特開 平7−281984(JP,A) 特開 平9−121225(JP,A) 特開 平9−51517(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/42 340 WPI(DIALOG)─────────────────────────────────────────────────── ─── Continuation of the front page (72) Takashi Matsuse 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (56) Reference JP-A-7-281984 (JP, A) JP 9-121225 (JP, A) JP-A-9-51517 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 13/42 340 WPI (DIALOG)

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 動作クロックを同じくする装置と異なる
装置とが、同一バス上に混在して存在し得るシステム上
の任意の装置間で、データ転送するのに使用するデータ
転送方法において、 スサイクルを起動する装置が、データ転送時、自装置
の冗長系での状態とアクセス先メモリ空間アドレスとに
基づいて、固定アドレス領域のバスサイクルに応答する
装置に対して同期転送方式を用いるか、非同期転送方式
を用いるか自律的に選択し、選択結果に応じた転送方
式によりバスサイクルに応答する装置との間でデータを
転送することを特徴とするデータ転送方法。
And 1. A different from the similarly apparatus operation clock device, between any devices on the system that may be present in a mixed manner on the same bus, the data transfer method to be used for data transfer, bus The device that starts the cycle is its own device during data transfer.
Based on the the state of the redundant system and the access destination memory space address, or using synchronous transfer method relative <br/> device responsive to the bus cycle of the fixed address region, autonomously whether to use an asynchronous transfer method And a data transfer method for transferring data to and from a device that responds to a bus cycle by a transfer method according to the selection result.
【請求項2】 請求項1に記載のデータ転送方法におい
て、 上記バスサイクルを起動する装置は、装置の状態及び
アクセス先メモリ空間アドレスに加え、転送条件設定デ
ータに基づいて任意のアドレス領域のバスサイクルに応
答する装置に対し転送方式を選択することを特徴とする
データ転送方法。
2. The data transfer method according to claim 1, wherein the device that activates the bus cycle has a status of itself and
Based on the transfer condition setting data in addition to the access destination memory space address , the bus cycle of any address area
A data transfer method, characterized in that a transfer method is selected for an answering device.
【請求項3】 動作クロックを同じくする装置と異なる
装置とが、同一バス上に混在して存在し得るシステム上
の任意の装置間で、データ転送するのに使用するデータ
転送方法において、 バスサイクルに応答する装置が同期転送可能であると
き、バスサイクルに応答する装置は、非同期転送方式で
データを転送してきたバスサイクルを起動する装置に同
期転送が可能であることを示す情報を通知し、バスサイ
クルを起動する装置は、その情報が通知された際これを
記憶し、以後、データ転送の必要が生じた場合には、当
該バスサイクルに応答する装置に同期転送方式にてデー
タを転送することを特徴とするデータ転送方法。
3. A data transfer method used to transfer data between arbitrary devices in a system, wherein devices having the same operating clock and devices having different operating clocks may coexist on the same bus. When the device that responds to is capable of synchronous transfer, the device that responds to the bus cycle notifies the device that activates the bus cycle that has transferred the data by the asynchronous transfer method of information indicating that the synchronous transfer is possible, The device that activates the bus cycle stores the information when it is notified, and when data transfer becomes necessary thereafter, transfers the data to the device that responds to the bus cycle by the synchronous transfer method. A data transfer method characterized by the above.
【請求項4】 動作クロックを同じくする装置と異なる
装置とが、同一バス上に混在して存在し、任意の装置間
で、データ転送するデータ転送システムにおいて、 バスサイクルを起動する装置が、 同期転送用インタフェース回路と、 非同期転送用インタフェース回路と、自装置の冗長系での状態とアクセス先メモリ空間アドレ
とに基づいて、固定アドレス領域のバスサイクルに応
答する装置に対して上記インタフェース回路のいずれを
用いてデータを転送するか自律的に選択する選択回路と
を備え、 バスサイクルに応答する装置が、 同期転送用インタフェース回路と、 非同期転送用インタフェース回路とを備えることを特徴
とするデータ転送システム
4. A data transfer system in which a device having the same operation clock and a device having different operation clocks coexist on the same bus, and in a data transfer system for transferring data between arbitrary devices , a device which activates a bus cycle is synchronous. Transfer interface circuit, asynchronous transfer interface circuit, status of the redundant system of the device and access destination memory space address
Based on the scan, respond to the bus cycle of the fixed address area
The device that responds to the bus cycle includes a synchronous transfer interface circuit and an asynchronous transfer interface circuit, and a selection circuit that autonomously selects which of the above interface circuits is used to transfer data to the responding device. A data transfer system comprising:
【請求項5】 請求項4に記載のデータ転送システム
おいて、 上記バスサイクルを起動する装置の選択回路は、転送条
件設定データを記憶保持する記憶手段を有し、装置の
状態、アクセス先メモリ空間アドレス及び転送条件設定
データに基づいて任意のアドレス領域のバスサイクルに
応答する装置に対する転送方式を選択することを特徴と
するデータ転送システム
5. A method according to claim 4 <br/> Oite the data transfer system according to the selection circuit of the device for activating the bus cycle has a storage means for storing and holding transfer condition setting data, self-device The bus cycle of an arbitrary address area based on the status of the memory , access destination memory space address and transfer condition setting data.
A data transfer system characterized by selecting a transfer method for a device which responds .
【請求項6】 動作クロックを同じくする装置と異なる
装置とが、同一バス上に混在して存在し、任意の装置間
で、データ転送するデータ転送システムにおいて、 バスサイクルを起動する装置が、 同期転送用インタフェース回路と、 非同期転送用インタフェース回路と、 バスサイクルに応答する装置が同期転送可能であること
を示す情報が、バスサイクルに応答する装置から通知さ
れた際これを記憶する記憶手段を有し、以後、当該バス
サイクルに応答する装置に対するデータ転送の必要が生
じた場合には、当該バスサイクルに応答する装置との間
で同期転送方式によるデータ転送を自律的に選択する選
択回路とを備え、 バスサイクルに応答する装置が、 自装置が同期転送可能な装置の場合に、バスサイクルを
起動する装置から非同期転送方式でデータの転送があっ
たとき、同期転送可能なことをバスサイクルを起動する
装置側に通知する通知機能を有する同期転送用インタフ
ェース回路と、非同期転送用インタフェース回路とを備
えることを特徴とするデータ転送システム
6. A data transfer system in which a device having the same operation clock and a device having different operation clocks coexist on the same bus, and in a data transfer system for transferring data between arbitrary devices , a device which activates a bus cycle is synchronous. A transfer interface circuit, an asynchronous transfer interface circuit, and a storage unit that stores information indicating that a device that responds to a bus cycle can perform synchronous transfer when notified by the device that responds to the bus cycle. And then the bus
When it becomes necessary to transfer data to a device that responds to a cycle, the device that responds to the bus cycle is equipped with a selection circuit that autonomously selects data transfer by the synchronous transfer method with the device that responds to the bus cycle. When the device to be synchronized is a device capable of synchronous transfer, when the device that activates the bus cycle transfers data by the asynchronous transfer method, the device that activates the bus cycle is notified that synchronous transfer is possible. A data transfer system, comprising: a synchronous transfer interface circuit having a notification function for enabling and a asynchronous transfer interface circuit.
JP19881297A 1997-07-24 1997-07-24 Data transfer method and data transfer system Expired - Fee Related JP3487735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19881297A JP3487735B2 (en) 1997-07-24 1997-07-24 Data transfer method and data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19881297A JP3487735B2 (en) 1997-07-24 1997-07-24 Data transfer method and data transfer system

Publications (2)

Publication Number Publication Date
JPH1139257A JPH1139257A (en) 1999-02-12
JP3487735B2 true JP3487735B2 (en) 2004-01-19

Family

ID=16397330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19881297A Expired - Fee Related JP3487735B2 (en) 1997-07-24 1997-07-24 Data transfer method and data transfer system

Country Status (1)

Country Link
JP (1) JP3487735B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1073501C (en) * 1998-09-28 2001-10-24 山西省农业科学院农业资源综合考察研究所 Water-permeable polyethylene film for blanketing farm field and its production technique
KR100531729B1 (en) * 2003-12-26 2005-11-29 한국전자통신연구원 Apparatus for interface pheriperal device with PC using parallel port and method thereof
JP5173751B2 (en) 2008-11-10 2013-04-03 パナソニック株式会社 Computer system having synchronous / asynchronous control unit
JP5784991B2 (en) * 2011-06-02 2015-09-24 株式会社ソシオネクスト Electronics

Also Published As

Publication number Publication date
JPH1139257A (en) 1999-02-12

Similar Documents

Publication Publication Date Title
US9935897B2 (en) Network switching device
US5125081A (en) Inter-configuration changing controller based upon the connection and configuration information among plurality of clusters and the global storage
US6098123A (en) Method and apparatus for dynamic allocation of bandwidth to/from network adapter memory amongst active input/output ports
JP3487735B2 (en) Data transfer method and data transfer system
KR100195065B1 (en) Data network matching device
JP4188446B2 (en) Data exchange apparatus and method
JP4465824B2 (en) Controller system
JP3169856B2 (en) Multi-node information processing system
US7336657B2 (en) Inter-nodal data transfer system and data transfer apparatus
JPH07200420A (en) Resetting controller
JP3635573B2 (en) Network equipment and network system
US6216194B1 (en) Information processing unit for separately controlling a plurality of shared buses
JP3956361B2 (en) Network device and network system
KR100228306B1 (en) Hot-standby multiplexer and implementation method
JPS63263555A (en) Processor module automatic decision system for multiplex processor system
JPH08234929A (en) Disk array device
JPH08221289A (en) Control system for duplex system
JPH07160448A (en) Printing system
JPH10260867A (en) Data comparison device
JPH1165867A (en) System doubling method for load decentralized type system
JP3537576B2 (en) Switching hub
JP2001166889A (en) Printer and data communication method in printer
JPH0834510B2 (en) Redundant system of electronic exchange
JP2000148671A (en) Bus control system and bus controller
KR20030054740A (en) Frame Synchronous Signal Output Apparatus And Method In Multi System

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees