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

JPH0648815B2 - Data transmission device and method - Google Patents

Data transmission device and method

Info

Publication number
JPH0648815B2
JPH0648815B2 JP62318883A JP31888387A JPH0648815B2 JP H0648815 B2 JPH0648815 B2 JP H0648815B2 JP 62318883 A JP62318883 A JP 62318883A JP 31888387 A JP31888387 A JP 31888387A JP H0648815 B2 JPH0648815 B2 JP H0648815B2
Authority
JP
Japan
Prior art keywords
bus
access
module
data
signal
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
JP62318883A
Other languages
Japanese (ja)
Other versions
JPH01161942A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62318883A priority Critical patent/JPH0648815B2/en
Publication of JPH01161942A publication Critical patent/JPH01161942A/en
Publication of JPH0648815B2 publication Critical patent/JPH0648815B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置に使用されるデータバスの制
御装置に係り、特に高信頼性が要求されるシステムに好
適なバス制御方式に関する。
The present invention relates to a control device for a data bus used in a data processing device, and more particularly to a bus control method suitable for a system requiring high reliability.

〔従来の技術〕[Conventional technology]

従来、データ処理システムにおいて、データ伝送路とし
てデータバスが多く用いられている。その理由として
は、以下の2点が挙げられる。
Conventionally, in data processing systems, a data bus is often used as a data transmission path. The reason is as follows.

1.複数ビツトの情報を並列に伝送できるため、高速・
高スループツトのデータ転送が可能であること。
1. High-speed and multi-bit information can be transmitted in parallel.
High throughput data transfer is possible.

2.伝送路を複数のハードウエア間で共用するため、ハ
ードウエア量が小さくてすむという利点があること。
2. Since the transmission line is shared by multiple pieces of hardware, there is an advantage that the amount of hardware can be small.

その反面、データバスを複数の装置が共用するため、デ
ータ転送に関わる手順に加えて、同時に2つ以上の装置
がデータバスを使用することによるデータの衝突を回避
するための排他処理に関わる手順が必要となる。
On the other hand, since the data bus is shared by multiple devices, in addition to the procedure related to data transfer, the procedure related to exclusive processing for avoiding data collision caused by the simultaneous use of the data bus by two or more devices. Is required.

一般的なデータバスにおける排他制御は、アイ・イ−・
イ−・イ−796規格(IEEE796規格)およびアイ・
イ−・イ−・イ−・ピー1014規格(IEEEP1014
規格)で規定されている様に、データ転送を能動的に起
動する装置が、データバスを使用していることを示すバ
スビジイ信号をONし、このバスビジイ信号がONされ
ている間は、他の装置がデータバスを使用することを抑
止することにより行われていた。
Exclusive control in a general data bus is
EE-796 standard (IEEE796 standard) and eye
EE EE 1014 standard (IEEE P1014
As defined in (Standard), the device that actively activates the data transfer turns on the bus busy signal indicating that the data bus is being used, and while this bus busy signal is on, other devices are active. It was done by inhibiting the device from using the data bus.

上記排他制御を図を用いて説明する。第2図は、データ
伝送装置の構成を示している。アクセス起動モジユール
(以下マスタモジユールと称す。)とアクセス受動モジ
ユール(以下スレーブモジユールと称す。)との間でデ
ータ転送を行うものである。
The exclusive control will be described with reference to the drawings. FIG. 2 shows the configuration of the data transmission device. Data is transferred between an access activation module (hereinafter referred to as a master module) and an access passive module (hereinafter referred to as a slave module).

データ転送を行おうとするマスタモジユールは、バスを
占有するために、バス占有要求信号5をONし、バス占
有制御装置1(以下バスアービタと称す。)がバス占有
許可信号6を発行するのを待つ。バスアービタ1は、バ
スがどのマスタモジユールも占有していないことを検出
する。これは、バスビジイ信号がOFFしていることに
より確認できる。そして、バス占有要求信号5を発行し
ているマスタモジユールのうちで最も優先順位の高いモ
ジユールに対しバス占有許可信号6を発行する。
The master module, which intends to transfer data, turns on the bus occupancy request signal 5 in order to occupy the bus, and causes the bus occupancy control device 1 (hereinafter referred to as a bus arbiter) to issue a bus occupancy permission signal 6. wait. The bus arbiter 1 detects that the bus does not occupy any master module. This can be confirmed by the fact that the bus busy signal is off. Then, the bus occupancy permission signal 6 is issued to the module having the highest priority among the master modules issuing the bus occupancy request signal 5.

バス占有要求信号6を発行されたマスタモジユールは、
バスビジイ信号をONし、バスアービタ1が他のマスタ
モジユールにバス占有許可信号を発行するのを抑止す
る。
The master module that issued the bus occupation request signal 6
The bus busy signal is turned on to prevent the bus arbiter 1 from issuing a bus occupation permission signal to another master module.

上記の手順によりバスを占有することのできたマスタモ
ジユールのみ、スレーブモジユールとのデータ転送が行
える。データ転送は、アドレス10、データ9およびア
クセス要求信号8、アクセス応答信号7を使つて行われ
る。
Only the master module that can occupy the bus by the above procedure can transfer data with the slave module. Data transfer is performed using the address 10, the data 9, the access request signal 8 and the access response signal 7.

READ動作の場合、バスを占有することのできたマス
タモジユールは、アドレス10をONバスし、データ転
送を行うスレーブモジユールを指定し、アクセス要求信
号8をONする。指定されたスレーブモジユールは、読
出しデータをデータ9にONバスし、アクセス応答信号
をONする。マスタモジユールは、データ9を取込む
と、アクセス要求信号をOFFし、バスビジイ信号をO
FFして、データ転送を終結する。
In the case of the READ operation, the master module that can occupy the bus turns on the address 10 to specify the slave module for data transfer, and turns on the access request signal 8. The designated slave module turns on the read data to the data 9 and turns on the access response signal. When the master module takes in the data 9, it turns off the access request signal and turns on the bus busy signal.
The FF is performed to end the data transfer.

WRITE動作の場合は、バスを占有することのできたマス
タモジユールは、アドレス10をONし、アクセス要求
信号8をONするとともに書込みデータをデータ9にO
Nバスする。そして、スレーブモジユールが書込みデー
タを取込むと、アクセス応答信号をONし、マスタモジ
ユールは、アクセス要求信号をOFFし、バスビジイ信
号をOFFして、データ転送を終結する。
In the case of the WRITE operation, the master module that can occupy the bus turns on the address 10, turns on the access request signal 8 and outputs the write data to the data 9.
Take N bus. Then, when the slave module fetches the write data, the access response signal is turned on, the master module turns off the access request signal and turns off the bus busy signal to terminate the data transfer.

第3図は、上記過程を時間の経過に沿つて、模式的に図
示したものである。
FIG. 3 schematically illustrates the above process with the passage of time.

マスタモジユール21がバス占有要求信号5をONする
(矢印2100)と、バスアービタ1はバスがどのマス
タモジユールも占有していないことを検出した後、バス
占有許可信号6をマスタモジユール21に対し発行する
(矢印1210)。マスタモジユール21は、バスビジ
イ信号4をONする(矢印2101)とともに、スレー
ブモジユール31に対しアクセス要求信号8をONする
(矢印2102)。
When the master module 21 turns on the bus occupancy request signal 5 (arrow 2100), the bus arbiter 1 detects that the bus does not occupy any master module and then sends the bus occupancy permission signal 6 to the master module 21. It issues it (arrow 1210). The master module 21 turns on the bus busy signal 4 (arrow 2101) and turns on the access request signal 8 to the slave module 31 (arrow 2102).

もし、この時点でマスタモジユール22が、バス占有要
求信号5をONしても(矢印2200)、バスアービタ
1は、バスビジイ信号がONされているので、バス占有
許可信号6を発行しない。
If the master module 22 turns on the bus occupation request signal 5 at this point (arrow 2200), the bus arbiter 1 does not issue the bus occupation permission signal 6 because the bus busy signal is turned on.

なお、スレーブモジユール31がアクセス応答信号をO
Nし(矢印3102)、アクセスが終結してマスタモジ
ユール21がバスビジイ信号4をOFFする(矢印21
03)と、マスタモジユール22はバス占有許可信号を
受け取る(矢印1220)ことができる。
The slave module 31 sends an access response signal O
N (arrow 3102), the access is terminated, and the master module 21 turns off the bus busy signal 4 (arrow 21).
03), the master module 22 can receive the bus occupation permission signal (arrow 1220).

〔発明が解決しようとする問題点〕 上記従来技術の問題点を明確にするため、第4図の構成
で説明する。ここでスレーブモジユール31は、サブシ
ステム315に接続されており、スレーブモジユール3
1へのアクセス要求は、さらにサブシステム315への
アクセス要求信号316としてサブシステム315に送
出され、そのアクセス応答信号317がスレーブモジユ
ール31のアクセス応答となる。
[Problems to be Solved by the Invention] In order to clarify the problems of the above-described conventional technology, the configuration of FIG. 4 will be described. Here, the slave module 31 is connected to the subsystem 315, and the slave module 3 is connected.
The access request for 1 is further sent to the subsystem 315 as an access request signal 316 for the subsystem 315, and the access response signal 317 becomes the access response of the slave module 31.

第5図は、第3図と同様装置間の信号の過程を時間の経
過に沿つて示したものである。マスタモジユール21か
らスレーブモジユール31へアクセス要求信号8の発行
がなされる(矢印2102)とスレーブモジユール31
は、サブシステム315に対しアクセス要求信号316
を発行する(矢印3106)。サブシステム315から
のアクセス応答信号317を受信する(矢印3107)
と、スレーブモジユール31は、アクセス応答信号7を
発行し(矢印3102)、マスタモジユール21は、ア
クセスを終結し、バスビジイ信号4をOFFする(矢印
2103)。
FIG. 5 shows the process of signals between the devices as time passes, as in FIG. When the access request signal 8 is issued from the master module 21 to the slave module 31 (arrow 2102), the slave module 31 is issued.
Access signal 316 to subsystem 315.
Is issued (arrow 3106). The access response signal 317 from the subsystem 315 is received (arrow 3107).
Then, the slave module 31 issues the access response signal 7 (arrow 3102), the master module 21 terminates the access, and turns off the bus busy signal 4 (arrow 2103).

さて、ここでマスタモジユール21が電源断、誤動作そ
の他の要因によりデータ転送途中でアクセスを終結し、
バイビシイ信号4をOFFした場合を考えてみる。
Now, the master module 21 terminates access during data transfer due to power failure, malfunction, and other factors.
Consider the case where the Bivisi signal 4 is turned off.

第6図において、マスタモジユール21は、スレーブモ
ジユール31からのアクセス応答信号7を受信する(矢
印3102)前に、バイビジイ信号4をOFFしてしま
う(矢印2103)場合を考える。
In FIG. 6, consider a case where the master module 21 turns off the bi-busy signal 4 (arrow 2103) before receiving the access response signal 7 from the slave module 31 (arrow 3102).

バスアービタ1は、バス占有要求信号をONしているマ
スタモジユール22に対し、バス占有許可信号6を発行
する(矢印1220)。これにより、マスタモジユール
22はスレーブモジユール32に対し、アクセス要求信
号8を発行した(矢印2202)とする。一方、スレー
ブモジユール31は、サブシステム315からの応答信
号の受信する(矢印3107)と、アクセス応答信号7
を発行する(矢印3102)。この時、マスタモジユー
ル22はアクセス要求信号8を発行(矢印2202)し
たおり、スレーブモジユール32からのアクセス応答信
号7の受信(矢印3202)を待つている状態となつて
いる。ところが、スレーブモジユール31が先行してア
クセス応答信号7を発行する(矢印3102)ため、マ
スタモジユール22は、誤つてこれを受信し、アクセス
を終了し、バスビジイ信号4をOFFする(矢印220
3)。これにより、スレーブモジユール32のアクセス
応答(矢印3202)もまた、他のマスタモジユールに
より誤つて受信される可能性がある。
The bus arbiter 1 issues the bus occupancy permission signal 6 to the master module 22 which has turned on the bus occupancy request signal (arrow 1220). As a result, the master module 22 issues the access request signal 8 to the slave module 32 (arrow 2202). On the other hand, when the slave module 31 receives the response signal from the subsystem 315 (arrow 3107), the access response signal 7
Is issued (arrow 3102). At this time, the master module 22 has issued the access request signal 8 (arrow 2202) and is waiting for the reception of the access response signal 7 from the slave module 32 (arrow 3202). However, since the slave module 31 precedes and issues the access response signal 7 (arrow 3102), the master module 22 erroneously receives this, terminates the access, and turns off the bus busy signal 4 (arrow 220).
3). As a result, the access response (arrow 3202) of the slave module 32 may also be erroneously received by another master module.

以上述べたように、従来方式においては、マスタモジユ
ールがデータ転送途中でアクセスを中断すると、後続の
バスのデータ転送が正常に行われなくなつてしまう問題
があつた。
As described above, in the conventional method, if the master module interrupts the access during the data transfer, there is a problem that the data transfer of the subsequent bus is not normally performed.

本発明の目的は、マスタモジユールがデータ転送途中で
アクセスを中断しても、後続のバス動作が正常の行える
様にし、システムの信頼性を向上させることのできるバ
ス制御装置を提供することにある。
It is an object of the present invention to provide a bus control device capable of allowing a subsequent bus operation to be normally performed even if an access is interrupted by a master module during data transfer and improving system reliability. is there.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、バス占有許可信号を受けたマスタモジユー
ルがアクセスされたスレーブモジユールからの応答信号
を取り込むまで、データバスを占有を示す手段に対しバ
スビジイをONすることに加え、アクセスされたスレー
ブモジユールからもデータ転送動作中は、バスビジイ信
号をONすることにより、他のマスタモジユールに対
し、バス占有許可信号が発行されないようにすることに
よつて達成される。
The above-mentioned purpose is to turn on the bus busy for the means indicating the data bus until the master module receiving the bus occupancy permission signal fetches the response signal from the accessed slave module. This is achieved by turning on the bus busy signal during the data transfer operation from the module as well so that the bus occupation permission signal is not issued to other master modules.

〔作用〕[Action]

第7図を用いて説明する。スレーブモジユール31は、
マスタモジユール21からのアクセス要求信号8を受信
する(矢印2102)と、さらにサブシステム315に
送出(矢印3106)されるとともに、データ転送動作
中であることを示す手段がデータバスの占有を示す手段
に対し、バスビジイ信号をONする(矢印3101)。
そして、データ転送が終了する(矢印3102)と、バ
スビジイ信号をOFFする(矢印3103)。それによ
つて、マスタモジユール21が、途中でアクセスを中断
しバスビジイ信号をOFF(矢印2103)した場合
も、バスビジイ信号はON状態にあるので、マスタモジ
ユール22のバス占有要求信号(矢印2200)に対し
てのバス占有許可信号(矢印1220)は、スレーブモ
ジユール31からのデータ転送が終了するまで抑止され
る。この時、スレーブモジユール31が発行した応答信
号(矢印3102)は、受信予定のマスタモジユール2
1がアクセスを終結しているので受信されないが、誤つ
て別のモジユールに受信されることがなく、また後続の
バス動作に影響を与えることがない。
This will be described with reference to FIG. Slave module 31
When the access request signal 8 from the master module 21 is received (arrow 2102), it is further sent to the subsystem 315 (arrow 3106), and the means for indicating that the data transfer operation is in progress indicates the occupation of the data bus. The bus busy signal is turned on to the means (arrow 3101).
When the data transfer is completed (arrow 3102), the bus busy signal is turned off (arrow 3103). Accordingly, even if the master module 21 interrupts access midway and turns off the bus busy signal (arrow 2103), the bus busy signal is still in the ON state, so the bus occupation request signal (arrow 2200) of the master module 22. The bus occupancy permitting signal (arrow 1220) is suppressed until the data transfer from the slave module 31 is completed. At this time, the response signal (arrow 3102) issued by the slave module 31 is the master module 2 to be received.
1 is not received because it terminates access, but it is not accidentally received by another module and does not affect the subsequent bus operation.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図により説明する。マス
タモジユール21,22,23は、バスアービタ1に対
しバス占有要求信号5を発信する。バスアービタ1は、
バスビジイ信号がOFFしていることを検出した後、優
先順位の最も高いマスタモジユールに対し、バス占有許
可信号6を発信する。すなわち、バスアービタ1は、バ
スビジイ信号がONしている間は、新たに他のマスタモ
ジユールに共用ベースの占有を許可しないのである。
An embodiment of the present invention will be described below with reference to FIG. The master modules 21, 22, 23 send a bus occupation request signal 5 to the bus arbiter 1. Bus arbiter 1
After detecting that the bus busy signal is off, the bus occupation permission signal 6 is transmitted to the master module having the highest priority. That is, the bus arbiter 1 does not newly allow another master module to occupy the shared base while the bus busy signal is ON.

ここでは、マスタモジユール21が共用バスの占有を許
可されたものとする。マスタモジユール21は、占有許
可を受け取ると、データバスの占有を示す手段に対しバ
スビジイ信号4をONし、アクセスを行おうとするスレ
ーブモジユール31に対しデータ転送信号8を発行す
る。スレーブモジユール31は、サブシステム315に
対しデータ転送要求316を送ると、スレーブモジユー
ル31がデータ転送動作中であることを示すフラグ31
1が、バスビジイ信号4をONする。スレーブモジユー
ル31は、サブシステム315からの応答信号317を
受取ると、マスタモジユール21に対し応答信号7を返
すとともに、フラグ31がバスビジイ信号4をOFFす
る。マスタモジユールは、応答信号を受け取ると、バス
ビジイ信号4をOFFし、データバスを開放する。
Here, it is assumed that the master module 21 is permitted to occupy the shared bus. When the master module 21 receives the occupancy permission, the master module 21 turns on the bus busy signal 4 for the means indicating the occupancy of the data bus, and issues the data transfer signal 8 to the slave module 31 trying to access. When the slave module 31 sends a data transfer request 316 to the subsystem 315, a flag 31 indicating that the slave module 31 is in a data transfer operation.
1 turns on the bus busy signal 4. When the slave module 31 receives the response signal 317 from the subsystem 315, the slave module 31 returns the response signal 7 to the master module 21, and the flag 31 turns off the bus busy signal 4. Upon receiving the response signal, the master module turns off the bus busy signal 4 and opens the data bus.

次に、各装置の構成および動作について説明する。Next, the configuration and operation of each device will be described.

第9図にバスアービタ1の構成を示す。マスタモジユー
ル21,22,23からのバス占有要求信号521,5
22,523は、優先判定回路100に接続され、優先
判定回路100の出力1001,1002,1003は
レジスタ101の入力に接続され、レジスタ101の出
力は、バス占有許可信号621,622,623に接続
されている。レジスタ101のクロツク入力1011は
ANDゲート102により、バスビジイ信号4がオフし
た時のみ、内部クロツク生成回路103出力のクロツク
1031がオンしたタイミングでオンする。
FIG. 9 shows the configuration of the bus arbiter 1. Bus occupancy request signals 521, 5 from the master modules 21, 22, 23
22, 523 are connected to the priority determination circuit 100, outputs 1001, 1002, 1003 of the priority determination circuit 100 are connected to inputs of the register 101, and outputs of the register 101 are connected to the bus occupation permission signals 621, 622, 623. Has been done. The clock input 1011 of the register 101 is turned on by the AND gate 102 at the timing when the clock 1031 of the output of the internal clock generation circuit 103 is turned on only when the bus busy signal 4 is turned off.

マスタモジユール21,22,23からのバス占有要求
信号521,522,523のうちで最も優先度の高い
モジユールに対応した信号1001,1002,100
3が唯一だけバスビジイ信号の状態に関わらず出力され
ている。その時バスビジイ信号4がオフするとレジスタ
101のクロツク入力1011がオンしレジスタ101
がセツトされる。すなわち、信号1001,1002,
1003の状態がバス占有許可信号621,622,6
23に反映されることになる。バス占有許可信号62
1,622,623を受信したマスタモジユール21,
22,23は、バスビジイ信号4をオンするため、バス
占有中にレジスタ101が再びセツトされ、別なモジユ
ールバス占有許可信号621,622,623が発行さ
れることはない。
Of the bus occupation request signals 521, 522, 523 from the master modules 21, 22, 23, the signals 1001, 1002, 100 corresponding to the module with the highest priority.
Only 3 is output regardless of the state of the bus busy signal. At that time, when the bus busy signal 4 turns off, the clock input 1011 of the register 101 turns on and the register 101
Is set. That is, the signals 1001, 1002
The state of 1003 is bus occupation permission signals 621, 622, 6
It will be reflected in 23. Bus occupation permission signal 62
Master module 21, which received 1,622,623
Since the bus busy signal 4 is turned on in Nos. 22 and 23, the register 101 is not reset while the bus is occupied and the other module bus occupancy permission signals 621, 622 and 623 are not issued.

第10図は、マスタモジユール21,22,23の構成
を表わしている。本図においては、マスタモジユール2
1の構成のみを示している。
FIG. 10 shows the configuration of the master modules 21, 22, 23. In this figure, master module 2
Only one configuration is shown.

マスタモジユール21の制御部210は、バス転送の必
要が生じると、バスオペレーシヨン起動信号2115を
オンする。フリツプフロツプ2110は、次のクロツク
2114で信号2115をラツチし、バス占有要求信号
521をオンする。然る後に、バス占有許可信号621
がオンし、フリツプフロツプ2112がANDゲート2
111によりセツトされる。フリツプフロツプ2112
の出力は、フリツプフロツプ2113の入力、およびバ
スビジイ信号ドライバ2117入力に接続されている。
フリツプフロツプ2113の出力は、アクセス起動信号
821に接続され、バスからのアクセス応答信号721
は、フリツプフロツプ2110,2112,2113の
クリア入力、および制御部210に接続されている。
The control unit 210 of the master module 21 turns on the bus operation activation signal 2115 when the need for bus transfer arises. The flip-flop 2110 latches the signal 2115 at the next clock 2114 and turns on the bus occupation request signal 521. After that, the bus occupation permission signal 621
Turns on, and flip-flop 2112 turns on AND gate 2
Set by 111. Flip Flop 2112
Is connected to the input of the flip-flop 2113 and the input of the bus busy signal driver 2117.
The output of the flip-flop 2113 is connected to the access activation signal 821 and the access response signal 721 from the bus.
Is connected to the clear inputs of the flip-flops 2110, 2112, and 2113, and the control unit 210.

マスタモジユール21は、バス占有許可信号621を受
信すると、直ちにバスビジイ信号421をオンし、正常
動作中においてはアクセス応答信号721を受信するま
でバスビジイ信号4をオープンコレクタゲート2117
によりオンしつづける。
Upon receiving the bus occupation permission signal 621, the master module 21 immediately turns on the bus busy signal 421, and during normal operation, outputs the bus busy signal 4 to the open collector gate 2117 until the access response signal 721 is received.
Keeps on.

第11図は、スレーブモジユール31,32,33の構
成を示し、ここでは、スレーブモジユール31の構成の
みを表わしている。
FIG. 11 shows the configuration of the slave modules 31, 32, 33, and here, only the configuration of the slave module 31 is shown.

アドレスデコーダ3110は、アドレスバス10上のア
ドレスをデコードし、自モジユールに割付られたアドレ
スを検出し信号31101をオンする。ANDゲート3
1,11は、アクセス要求信号831が自モジユールへ
のアクセスであることを、信号31101と信号831
の論理積により検出し、フリツプフロツプ3112を内
部クロツク生成回路3117の出力31171のタイミ
ングでセツトする。フリツプフロツプ3112,311
3,3115,3116はシフトレジスタ構成になつて
おり、クロツク31171およびサブシステム315か
らの応答信号317により順次セツトされる。フリツプ
フロツプ3112がセツトされると、次のクロツク31
171でフリツプフロツプ3113がセツトされ、サブ
システム315へのアクセス要求信号316が発行され
る。フリツプフロツプ3115は、アクセス応答信号3
17がオンするとセツトされ、次のクロツク31171
にて、フリツプフロツプ3116がセツトされる。フリ
ツプフロツプ3116の出力は、アクセス応答信号73
1に接続されており、フリツプフロツプ3116がセツ
トされると、アクセス応答信号731がオンする。
The address decoder 3110 decodes the address on the address bus 10, detects the address assigned to its own module, and turns on the signal 31101. AND gate 3
1, 11 and 11 indicate that the access request signal 831 is an access to the own module.
And the flip-flop 3112 is set at the timing of the output 31171 of the internal clock generation circuit 3117. Flip Flop 3112, 311
3, 3115 and 3116 have a shift register structure and are sequentially set by the response signal 317 from the clock 31171 and the subsystem 315. When the flip-flop 3112 is set, the next clock 31
At 171, the flip-flop 3113 is set, and the access request signal 316 to the subsystem 315 is issued. The flip-flop 3115 has an access response signal 3
When 17 turns on, it is set and the next clock 31171
At this point, flip-flop 3116 is set. The output of the flip-flop 3116 is the access response signal 73.
If the flip-flop 3116 is set to 1, the access response signal 731 is turned on.

各フリツプフロツプ3112,3113,3115,3
116の出力は、ORゲート3118に接続され、OR
ゲート3118の出力はオープンコレクタゲート311
9に接続され、ゲート3119はバスビジイ信号431
に接続されている。
Each flip flop 3112, 3113, 3115, 3
The output of 116 is connected to the OR gate 3118, and the OR
The output of the gate 3118 is the open collector gate 311.
9 and the gate 3119 has a bus busy signal 431.
It is connected to the.

スレーブモジユール31内のフリツプフロツプ311
2,3113,3115,3116の何れかがセツト状
態にある、すなわちスレーブモジユール31がアクセス
要求を受付けて動作中の場合には、バスビジイ信号43
1がオンされている。
Flip-flop 311 in slave module 31
When any of 2, 3113, 3115, and 3116 is in the set state, that is, when the slave module 31 accepts an access request and is operating, the bus busy signal 43
1 is turned on.

また、次の様なケースも考えられる。マスタモジユール
がバスビジイ信号のOFFを確認したとき、バスビジイ
線をONするとともに、バスアービタ1に対しバス占有
要求信号5を発信する。バスアービタ1は、バス占有要
求信号が複数あつた場合には、優先順位の最も高いマス
タモジユールに対しバス占有許可信号6を発信する。バ
ス占有要求信号が1つの場合は、バス占有要求信号を発
信したマスタモジユールに対し、バス占有許可信号6を
発信する。
The following cases are also possible. When the master module confirms that the bus busy signal is off, it turns on the bus busy line and sends a bus occupation request signal 5 to the bus arbiter 1. When a plurality of bus occupancy request signals are received, the bus arbiter 1 transmits the bus occupancy permission signal 6 to the master module having the highest priority. When there is one bus occupation request signal, the bus occupation permission signal 6 is transmitted to the master module which has transmitted the bus occupation request signal.

ここでは、マスタモジユール21が共用バスの占有を許
可されたものとする。マスタモジユール21は、アクセ
スを行おうとするスレーブモジユール31に対しデータ
転送信号8を発行すると、前記実施例と同様の動作を行
う。アクセスをしていないマスタモジユールは、バスビ
ジイ信号がONしているときは、バスアービタ1に対し
アクセス要求信号を発信しないのである。
Here, it is assumed that the master module 21 is permitted to occupy the shared bus. When the master module 21 issues the data transfer signal 8 to the slave module 31 that intends to access, the master module 21 performs the same operation as that of the above-described embodiment. The master module which is not accessing does not send the access request signal to the bus arbiter 1 when the bus busy signal is ON.

このケースにおける各装置の構成および動作について説
明する。
The configuration and operation of each device in this case will be described.

第11図にバスアービタ1の構成を示す。マスタモジユ
ール21,22,23からバス占有要求信号521,5
22,523のうちで、最も優先順位の高いモジユール
に対応した信号1001,1002,1003が唯1つ
だけ、バスビジイ信号がOFFの場合に出力されてい
る。
FIG. 11 shows the configuration of the bus arbiter 1. Bus occupancy request signals 521, 5 from master modules 21, 22, 23
Of the 22 and 523, only one signal 1001, 1002, 1003 corresponding to the module with the highest priority is output, and when the bus busy signal is OFF.

第12図は、マスタモジユール21,22,23の構成
を示している。本図においては、マスタモジユール21
の構成のみを示している。
FIG. 12 shows the configuration of the master modules 21, 22, 23. In this figure, the master module 21
Only the configuration of is shown.

マスタモジユール21の制御部210は、バス転送の必
要が生じると、バスビジイ信号がOFFのときだけバス
オペレーシヨン起動信号2115−aをONする。以下
の動作は、前記実施例と同様となる。
The control unit 210 of the master module 21 turns on the bus operation activation signal 2115-a only when the bus busy signal is OFF when the need for bus transfer arises. The subsequent operation is the same as that of the above embodiment.

また、スレーブモジユールの構成および動作は前記実施
例と同様である。
The configuration and operation of the slave module are the same as those in the above embodiment.

〔発明の効果〕〔The invention's effect〕

本発明によれば、マスタモジユールとアクセスされたス
レーブモジユール間でのデータ転送中、マスタモジユー
ルがアクセスを中断しても、スレーブモジユールがバス
開放を抑止しているので、アクセス途中で、別のマスタ
モジユールがアクセスを開始することを防止でき、デー
タ転送が、意図しないモジユール間で行うことを抑止で
きるので、システムの信頼性向上を図れる効果がある。
According to the present invention, during the data transfer between the master module and the accessed slave module, even if the master module interrupts the access, the slave module prevents the bus from being released. Since another master module can be prevented from starting access and data transfer can be prevented from being performed between unintended modules, the system reliability can be improved.

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

第1図は、本発明のポイントを示す図、第2図は、従来
の構成図、第3図は、通常のバス動作を表す図、第4図
は、従来の問題点を説明するのに用いる構成図、第5,
6図は、第4図の動作を示す図、第7図は、問題を解決
するための動作を表わしている。第8図は、バスアービ
タの構成図、第9図は、マスタモジユールの構成図、第
10図は、スレーブモジユールの構成図である。第11
図は、バスアービタの構成図、第12図は、マスタモジ
ユールの構成図である。 1……バスアービタ、4……バスビジイ信号、5……バ
ス占有要求信号、6……バス占有許可信号、21〜23
……マスタモジユール、31〜33……スレーブモジユ
ール、311……フラグ、315……サブシス
FIG. 1 is a diagram showing the points of the present invention, FIG. 2 is a conventional configuration diagram, FIG. 3 is a diagram showing a normal bus operation, and FIG. 4 is a diagram showing conventional problems. Configuration diagram used, No. 5,
6 shows the operation of FIG. 4, and FIG. 7 shows the operation for solving the problem. FIG. 8 is a block diagram of the bus arbiter, FIG. 9 is a block diagram of the master module, and FIG. 10 is a block diagram of the slave module. 11th
FIG. 12 is a block diagram of the bus arbiter, and FIG. 12 is a block diagram of the master module. 1 ... Bus arbiter, 4 ... Bus busy signal, 5 ... Bus occupation request signal, 6 ... Bus occupation permission signal, 21-23
…… Master module, 31-33 …… Slave module, 311 …… Flag, 315 …… Sub system

───────────────────────────────────────────────────── フロントページの続き (72)発明者 井手 寿之 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (56)参考文献 特開 昭60−97457(JP,A) 特開 昭62−187955(JP,A) 特開 昭57−73436(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshiyuki Ide 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Inside the Omika Plant, Hitachi, Ltd. (56) Reference JP-A-60-97457 (JP, A) JP 62-187955 (JP, A) JP 57-73436 (JP, A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】データバス、アドレスバス及びバスビジイ
線とを含む共用バスと、該共用バスに接続された複数個
の、アクセス起動モジュール及びアクセス受動モジュー
ルと、該共用バスに接続され、該共用バスの占有を制御
するためのバス占有制御装置を設けたデータ伝送装置に
おいて、 前記アクセス起動モジュールは、データをアクセスして
いる間、前記バスビジイ線をONする手段を有し、 前記アクセス起動モジュールからアクセスされた前記ア
クセス受動モジュールは、データがアクセスされている
間、前記バスビジイ線をONする手段を有し、 前記バスビジイ線がONされているときは、前記バス占
有制御装置は、他のアクセス起動モジュールに対し、新
たに前記共用バスの使用を許可しないことを特徴とする
データ伝送装置。
1. A shared bus including a data bus, an address bus and a bus busy line, a plurality of access activation modules and access passive modules connected to the shared bus, and a shared bus connected to the shared bus. In a data transmission device provided with a bus occupancy control device for controlling the occupancy of the bus, the access activation module has means for turning on the bus busy line while accessing data, and the access activation module accesses the bus busy line. The access passive module has means for turning on the bus busy line while data is being accessed, and when the bus busy line is turned on, the bus occupation control device is However, the data transmission device is characterized in that the use of the shared bus is not newly permitted.
【請求項2】データバス、アドレスバス及びバスビジイ
線とを含む共用バスと、該共用バスに接続された複数個
の、アクセス起動モジュール及びアクセス受動モジュー
ルと、該共用バスに接続されたバス占有制御装置により
該共用バスの占有を制御するデータ伝送方法において、 前記アクセス起動モジュールは、前記アクセス受動モジ
ュールに対しデータをアクセスしている間、前記バスビ
ジイ線をONし、かつ前記アクセス起動モジュールから
アクセスされた前記アクセス受動モジュールも、データ
がアクセスされている間、前記バスビジイ線をONし、 前記バスビジイ線がONであるときは、前記バス占有制
御装置は、新たに他のアクセス起動モジュールに対し前
記共用バスの使用を許可しないことを特徴とするデータ
伝送方法。
2. A shared bus including a data bus, an address bus and a bus busy line, a plurality of access activation modules and access passive modules connected to the shared bus, and bus occupancy control connected to the shared bus. In a data transmission method for controlling occupancy of the shared bus by a device, the access activation module turns on the bus busy line while accessing data to the access passive module, and is accessed from the access activation module. The access passive module also turns on the bus busy line while data is being accessed, and when the bus busy line is on, the bus occupancy control device newly shares the bus with other access activation modules. A data transmission method characterized by not allowing the use of the bus.
【請求項3】データバス、アドレスバス及びバスビジイ
線とを含む共用バスと、該共用バスに接続された複数個
の、アクセス起動モジュール及びアクセス受動モジュー
ルと、該共用バスに接続されたバス占有制御装置により
該共用バスの占有を制御するデータ伝送方法において、 前記アクセス起動モジュールは、該バスビジイ線をON
し、該共用バスを介して前記バス占有制御装置へアクセ
ス要求信号を発信し、前記バス占有制御装置は一のアク
セス起動モジュールに該共用バスの占有を許可し、占有
を許可されたアクセス起動モジュールは、アクセス受動
モジュールとのアクセスを終了するまで該バスビジイ線
をONし続け、該アクセス受動モジュールも、データが
アクセスされている間、前記バスビジイ線をONし、 他のアクセス起動モジュールは、前記バスビジイ線がO
Nしているときは、前記バス占有制御装置に対しアクセ
ス要求信号を発信しないことを特徴とするデータ伝送方
法。
3. A shared bus including a data bus, an address bus and a bus busy line, a plurality of access activation modules and access passive modules connected to the shared bus, and bus occupancy control connected to the shared bus. In a data transmission method for controlling occupancy of the shared bus by a device, the access activation module turns on the bus busy line.
Then, an access request signal is transmitted to the bus occupancy control device via the shared bus, the bus occupancy control device permits one access activation module to occupy the shared bus, and the access activation module permitted to occupy the shared bus. Continues to turn on the bus busy line until the access with the access passive module is completed, the access passive module also turns on the bus busy line while the data is being accessed, and the other access activation module uses the bus busy line. The line is O
When N, the data transmission method is characterized in that an access request signal is not transmitted to the bus occupation control device.
JP62318883A 1987-12-18 1987-12-18 Data transmission device and method Expired - Fee Related JPH0648815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62318883A JPH0648815B2 (en) 1987-12-18 1987-12-18 Data transmission device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62318883A JPH0648815B2 (en) 1987-12-18 1987-12-18 Data transmission device and method

Publications (2)

Publication Number Publication Date
JPH01161942A JPH01161942A (en) 1989-06-26
JPH0648815B2 true JPH0648815B2 (en) 1994-06-22

Family

ID=18104027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62318883A Expired - Fee Related JPH0648815B2 (en) 1987-12-18 1987-12-18 Data transmission device and method

Country Status (1)

Country Link
JP (1) JPH0648815B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250632A (en) * 2007-03-30 2008-10-16 Matsushita Electric Ind Co Ltd Data processing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5773436A (en) * 1980-10-23 1982-05-08 Nec Corp Bus selecting device
JPS6097457A (en) * 1983-10-31 1985-05-31 Fujitsu Ltd Bus control system
JPS62187955A (en) * 1986-02-14 1987-08-17 Mitsubishi Electric Corp Controller for bus using right

Also Published As

Publication number Publication date
JPH01161942A (en) 1989-06-26

Similar Documents

Publication Publication Date Title
US3993981A (en) Apparatus for processing data transfer requests in a data processing system
US4000485A (en) Data processing system providing locked operation of shared resources
US4030075A (en) Data processing system having distributed priority network
US3995258A (en) Data processing system having a data integrity technique
US4050097A (en) Synchronization technique for data transfers over an asynchronous common bus network coupling data processing apparatus
KR900005453B1 (en) Lockout operation method and device for shared resources
JP2510799B2 (en) Data processing device and memory controller
JPH11513158A (en) Parallel packetized inter-module arbitration high-speed control and data bus
JPH02500784A (en) Node that handles interrupt request messages on the pending bus
EP0346398B1 (en) Apparatus and method for a node to obtain access to a bus
JPH0635850A (en) Computer-system and system extension device
WO1988008575A1 (en) Interrupting node for providing interrupt requests to a pended bus
US4559595A (en) Distributed priority network logic for allowing a low priority unit to reside in a high priority position
JPH0677248B2 (en) High-performance bus interface with few pins
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
JPH0648815B2 (en) Data transmission device and method
JP2972491B2 (en) Bus control mechanism and computer system
JPH0343804A (en) Sequence controller
JP3240863B2 (en) Arbitration circuit
JP2860733B2 (en) Bus connection device
JPS6336543B2 (en)
JPH0991246A (en) Bus control device and method thereof
JPH0635840A (en) Multiprocessor system
JP2001125880A (en) Real-time multiprocessor system
JPH0514362A (en) Bus control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees