JPS6285364A - Bus control system - Google Patents

Bus control system

Info

Publication number
JPS6285364A
JPS6285364A JP60226143A JP22614385A JPS6285364A JP S6285364 A JPS6285364 A JP S6285364A JP 60226143 A JP60226143 A JP 60226143A JP 22614385 A JP22614385 A JP 22614385A JP S6285364 A JPS6285364 A JP S6285364A
Authority
JP
Japan
Prior art keywords
bus
unit
request
circuit
timeout
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60226143A
Other languages
Japanese (ja)
Inventor
Koji Iguchi
井口 香二
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60226143A priority Critical patent/JPS6285364A/en
Publication of JPS6285364A publication Critical patent/JPS6285364A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はバス制御方式、特に、複数個のユニットに共有
されるバスの使用権がユニットからの要求に対する使用
許可の判定によって与えられるようなバス制御方式にお
けるタイムアウトエラー処理に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a bus control system, particularly a bus control system in which the right to use a bus shared by a plurality of units is granted by determining permission to use a bus in response to a request from a unit. Related to timeout error handling in bus control systems.

(従来の技術) バスの使用許可を獲得したユニットがデータ転送のよう
なバスを使用した動作(以下バス動作と記す)を行なっ
ているときに、そのユニットがバス動作を終了できない
ような障害が発生することがある。たとえば、バス使用
要求をしていないユニットに対して使用許可が出された
シ、また、バス使用許可がされているのにユニット側で
は許可を持ち続けるような障害である。
(Prior art) When a unit that has obtained permission to use the bus is performing an operation using the bus such as data transfer (hereinafter referred to as bus operation), a failure occurs that prevents the unit from completing the bus operation. This may occur. For example, there is a failure in which permission to use the bus is issued to a unit that has not made a request to use the bus, or a failure in which the unit continues to have permission to use the bus even though it has been granted permission to use the bus.

このような障害が発生すると、その他のユニットはバス
を使用できなくなり、本来は当該ユニットのみのバス動
作が停止するだけで済むべきであるのに全ユニットのバ
ス動作ができなくなる。
When such a failure occurs, other units are unable to use the bus, and although originally it would have been sufficient to stop the bus operation of only the unit concerned, the bus operation of all units becomes disabled.

このような不具合を排除するために、従来のバス制御方
式は、バス動作が予め定められた時間以内に終了しなか
った場合にタイムアウトエラーを検出して、このタイム
アウトエラー信号を上位装置に報告し、上位装置からの
回復動作を待つようにしている。
In order to eliminate such problems, conventional bus control methods detect a timeout error when a bus operation is not completed within a predetermined time, and report this timeout error signal to a higher-level device. , the system waits for a recovery operation from the host device.

(発明が解決しようとする問題点) このような従来方式においては、上位装置における回復
動作は、たとえば、マイクロプログラムによって行なわ
れるために、データ転送等のようなバス動作と比較して
長時間を要することになシ、実質的にはバス系全体が一
時的にダウンすることになるという第1の問題点があり
、また、特定ユニットの単なる内部障害ではなく、バス
使用許可の判定を行なう回路へのバス使用要求入力線の
断線や、同回路からのバス使用許可出力線の短絡による
故障に対しては、上位装置による回復動作は困難である
という第2の問題点がある。
(Problems to be Solved by the Invention) In such conventional systems, the recovery operation in the host device is performed by, for example, a microprogram, so it takes a long time compared to bus operations such as data transfer. In short, the first problem is that essentially the entire bus system goes down temporarily, and it is not just an internal failure of a specific unit, but a circuit that determines permission to use the bus. A second problem is that it is difficult for the host device to recover from failures due to disconnection of the bus use request input line to the circuit or short circuit of the bus use permission output line from the same circuit.

(問題点を解決するだめの手段) 本発明の方式は、複数個のユニットに共有されるバスの
使用権がユニットからの要求に対する使用許可の判定に
よって与えられるようなバス制御方式において、 バス使用権を獲得したユニットによるバス動作が予め定
められた時間以内に終了しなかった場合にタイムアウト
エラーを検出するタイムアウト検出手段と、 タイムアウトエラーを発生したバス動作の要求元ユニッ
トを識別するバス使用者識別手段と、タイムアクトエラ
ーの検出時点で当該バス使用権を放棄してバスを解放す
るバス強制解放手段と、バス解放時点以降はバス使用許
可の判定を行なうに当り前記タイムアウトエラー発生時
にバスを使用していたバス動作の要求元ユニットからの
バス使用要求を無視するバス要求無視手段、と金設けた
ことを%微とする。
(Means for Solving the Problem) The system of the present invention is a bus control system in which the right to use a bus shared by a plurality of units is granted by determining permission to use the bus in response to a request from a unit. a timeout detection means for detecting a timeout error when a bus operation by a unit that has acquired the right has not been completed within a predetermined time; and a bus user identification device for identifying the unit that requested the bus operation that caused the timeout error. a bus forced release means for relinquishing the right to use the bus and releasing the bus when a time-out error is detected; It is assumed that a bus request ignoring means is provided to ignore a bus use request from a request source unit for a bus operation that is currently being performed.

(実施例) 次に本発明の実施例について図面を参照して説明する。(Example) Next, embodiments of the present invention will be described with reference to the drawings.

第1図と第2図とは本発明の一実施例を示すブロック図
である。
1 and 2 are block diagrams showing one embodiment of the present invention.

先ず、本実施例の全体像を示す第2図を参照すると、本
実施例は、それぞれがバス強制解放回路Fl、F2.F
3・・・FNを有しかつバスBUSを共有するN個のユ
ニツ)Ul、U2.U3・・・UNと、第1図にその詳
細を示すバス制御ユニットBCUとから構成されている
First, referring to FIG. 2 showing the overall picture of this embodiment, this embodiment has bus forced release circuits Fl, F2 . F
3...N units having FN and sharing bus BUS) Ul, U2. It consists of U3...UN and a bus control unit BCU whose details are shown in FIG.

ユニツ)Ul〜UNのそれぞれは、データ転送のように
バスBUSを使用する動作(バス動作)を行なおうとす
るときには、非同期にバス使用要求几X(X=x〜N)
をバス制御ユニツ)BCUに出力する。バス制御ユニッ
トBCUはこれらのバス使用要求RXに対して、予め定
められた優先順位に基づきバス使用許可AY(Y−1〜
N)を出力して応答する。そして、バス使用許可AYを
もらったユニットUYのみがバスBUSを使用すること
か許され、バス動作を行なう。バス制御ユニットBCU
は、バスBtJS中の読出信号線や書込信号線等をモニ
タしてバス動作の開始と終了を検出し、それぞれ後述の
計時の開始と計時の停止に使用する。
When attempting to perform an operation (bus operation) that uses the bus BUS, such as data transfer, each of Ul to UN asynchronously sends a bus usage request X (X = x to N).
is output to the bus control unit (BCU). In response to these bus use requests RX, the bus control unit BCU grants bus use permission AY (Y-1 to
N) to respond. Only the unit UY that has received permission to use the bus AY is allowed to use the bus BUS and performs bus operations. Bus control unit BCU
monitors the read signal line, write signal line, etc. in the bus BtJS to detect the start and end of the bus operation, and is used to start and stop timing, respectively, which will be described later.

次にバス制御ユニットECUの詳細を示す第1図を参照
すると、本バス制御ユニットECUは、バス要求無視回
路RNGと、バス使用権判定回路ACKと、バス使用者
保持回路BUMと、タイムアウト検出回路TEDと、バ
スシーケンス制御回路B8Qとを有している。
Next, referring to FIG. 1 showing details of the bus control unit ECU, this bus control unit ECU includes a bus request ignore circuit RNG, a bus right determination circuit ACK, a bus user retention circuit BUM, and a timeout detection circuit. It has a TED and a bus sequence control circuit B8Q.

バス使用要求几1〜RNは、正常動作時にはパス要求無
視回路几NGをスルーしてバス使用権判定回路A CK
に入力し、バス使用権判定回路ACKは予め定められた
優先順位に基づいて1つのバス使用許可AYを出力する
。バス使用許可AYを獲得したユニットUYはバス使用
者保持回路BUMに記憶される。
During normal operation, bus use request circuits 1 to RN pass through the path request ignore circuit NG and pass to the bus right determination circuit A CK.
The bus right determination circuit ACK outputs one bus use permission AY based on a predetermined priority order. The unit UY that has obtained the bus use permission AY is stored in the bus user holding circuit BUM.

一方、パスシーケンス制御回路BSQは、前述のように
、バスBUS中の特定の信号線をモニタしておシ、ユニ
ットUYがバス動作を開始するとタイムアウト検出回路
TEDを起動して計時を開始させる。そして、バス動作
が予め定められた時間以内に終了したことを検知すると
、タイムアウト検出回路TEDの計時を停止させ、それ
までの計時時間をクリアする。この場合には、バス使用
者保持回路BUMに記憶されているユニツ)UYは無用
である。
On the other hand, as described above, the path sequence control circuit BSQ monitors a specific signal line in the bus BUS, and when the unit UY starts bus operation, it activates the timeout detection circuit TED to start timing. When it is detected that the bus operation has ended within a predetermined time, the timeout detection circuit TED stops measuring time and clears the time measured up to that point. In this case, the unit UY stored in the bus user holding circuit BUM is of no use.

ところで、前述したような障害のために、バス動作が予
め定めた時間以内に終了しないと、タイムアウト検出回
路TEDはタイムアクトエラー信号TER,を全ユニッ
トUl〜UNK出力すると共にバス使用者無視回路RN
Gを活性化する。
By the way, if the bus operation does not end within a predetermined time due to the above-mentioned failure, the timeout detection circuit TED outputs the time act error signal TER, to all units Ul to UNK, and also outputs the bus user ignore circuit RN.
Activate G.

タイムアウトエラー信号TERが入力した全ユニットU
1〜UNのバス強制解放回路F1〜FNのうち、バス強
制解放回路FYはユニットUYによるバスBUSの使用
を強制的に打切る。タイムアウトエラー信号TERは、
また、バスシーケンス制御回路BSQによるモニタ結果
をもクリアする。
All units U to which the timeout error signal TER was input
Among the bus forced release circuits F1 to FN of 1 to UN, the bus forced release circuit FY forcibly terminates the use of the bus BUS by the unit UY. The timeout error signal TER is
It also clears the results monitored by the bus sequence control circuit BSQ.

上述のようにして活性化されたバス要求無視回路RNG
は、バス使用者保持回路BUMにそのとき記憶されてい
るユニットUYを記憶し、このユニットUYからのバス
使用要求RYがあっても以後はこれを無視して、バス使
用権利判定回路ACKに出力しないように動作する。こ
の結果によシ、タイムアクトエラーを発生したユニット
UYは、バス使用許可の判定対象からはずされてしまう
ことになる。
Bus request ignore circuit RNG activated as described above
stores the unit UY stored at that time in the bus user holding circuit BUM, and if there is a bus use request RY from this unit UY, it will be ignored from now on and output to the bus use right determination circuit ACK. Doesn't work like that. As a result, the unit UY that has generated the time act error is excluded from the determination of permission to use the bus.

(発明の効果) 本発明によれば、以上に説明したように、予め定められ
た時間以内にバス動作を終了しないようなユニットに対
しては、強制的にバスを解放させると共にそれ以後はバ
ス使用許可の判定対象からはずすような手段を設けるこ
とによって、特定のユニットに不当にバスが専有され続
くことを速急に排除することができるようになシ、バス
を有効利用できることKなるという効果がある。
(Effects of the Invention) According to the present invention, as explained above, a unit that does not complete its bus operation within a predetermined time is forcibly released from the bus, and the bus is no longer available after that. By providing a means to exclude the bus from being subject to determination of usage permission, it is possible to promptly eliminate the continued unjust monopolization of the bus to a specific unit, and the effect is that the bus can be used more effectively. There is.

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

第1図と第2図とは本発明の一実施例を示す。 RNG・・・・・・バス要求無視回路、ACK・・・用
バス使用権判定回路、BUM・・曲バス使用者保持回路
、TED・・・・・・タイムアウト検出回路、B8Q・
・−+−+ハスジータンス制御回路、Ul、U2.U3
〜UN・・・・・・ユニット、Fl、F2.F3〜FN
・・・・・・バス強制解放回路、ECU・・・・・・バ
ス制御ユニット、BUS・・曲バス。
1 and 2 show one embodiment of the invention. RNG: bus request ignoring circuit, ACK: bus usage right determination circuit, BUM: music bus user retention circuit, TED: timeout detection circuit, B8Q:
・−+−+Hasjitance control circuit, Ul, U2. U3
~UN...Unit, Fl, F2. F3~FN
...Bus forced release circuit, ECU...Bus control unit, BUS...Song bus.

Claims (1)

【特許請求の範囲】 複数個のユニットに共有されるバスの使用権が前記ユニ
ットからの要求に対する使用許可の判定によって与えら
れるようなバス制御方式において、前記使用権を獲得し
たユニットによるバス動作が予め定められた時間以内に
終了しなかった場合にタイムアウトエラーを検出するタ
イムアウト検出手段と、 前記タイムアウトエラーを発生した前記バス動作の要求
元ユニットを識別し保持するバス使用者識別保持手段と
、 前記タイムアウトエラーの検出時点で当該バス使用権を
放棄して前記バスを解放するバス強制解放手段と、 該バス解放時点以降は前記判定を行なうに当り前記要求
元ユニットからの前記要求を無視するバス要求無視手段
とを設けたことを特徴とするバス制御方式。
[Scope of Claims] In a bus control system in which the right to use a bus shared by a plurality of units is granted by determining permission to use a bus in response to a request from the unit, the bus operation by the unit that has acquired the right to use is provided. timeout detection means for detecting a timeout error if the bus operation is not completed within a predetermined time; bus user identification holding means for identifying and holding the requesting unit of the bus operation that has generated the timeout error; A bus forced release means that releases the bus by relinquishing the right to use the bus upon detection of a timeout error, and a bus request that ignores the request from the requesting unit when making the determination after the time the bus is released. A bus control method characterized by providing an ignoring means.
JP60226143A 1985-10-09 1985-10-09 Bus control system Pending JPS6285364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60226143A JPS6285364A (en) 1985-10-09 1985-10-09 Bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60226143A JPS6285364A (en) 1985-10-09 1985-10-09 Bus control system

Publications (1)

Publication Number Publication Date
JPS6285364A true JPS6285364A (en) 1987-04-18

Family

ID=16840528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60226143A Pending JPS6285364A (en) 1985-10-09 1985-10-09 Bus control system

Country Status (1)

Country Link
JP (1) JPS6285364A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6419460A (en) * 1987-07-15 1989-01-23 Nec Corp System controller
JPH0449461A (en) * 1990-06-19 1992-02-18 Fujitsu Ltd Bus lock releasing system
JPH06195272A (en) * 1992-12-22 1994-07-15 Nec Corp Bus arbitration circuit
JP2013097420A (en) * 2011-10-28 2013-05-20 Kyocera Document Solutions Inc Information processing apparatus, and image forming apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6419460A (en) * 1987-07-15 1989-01-23 Nec Corp System controller
JPH0449461A (en) * 1990-06-19 1992-02-18 Fujitsu Ltd Bus lock releasing system
JPH06195272A (en) * 1992-12-22 1994-07-15 Nec Corp Bus arbitration circuit
JP2013097420A (en) * 2011-10-28 2013-05-20 Kyocera Document Solutions Inc Information processing apparatus, and image forming apparatus

Similar Documents

Publication Publication Date Title
US4864496A (en) Bus adapter module for interconnecting busses in a multibus computer system
US4979097A (en) Method and apparatus for interconnecting busses in a multibus computer system
US5640508A (en) Fault detecting apparatus for a microprocessor system
US5699510A (en) Failure detection system for a mirrored memory dual controller disk storage system
US4858234A (en) Method and apparatus for error recovery in a multibus computer system
JPS6285364A (en) Bus control system
EP3321814B1 (en) Method and apparatus for handling outstanding interconnect transactions
JPS60183657A (en) Common bus failure detection method
JP3236459B2 (en) Error handling device in common bus data transfer
JPS63101948A (en) Data processor
JP3381756B2 (en) Parallel processor system
JP2992621B2 (en) Lock transfer method
JPH01140360A (en) Time out detecting system
JP2825589B2 (en) Bus control method
JPH07152497A (en) Disk control device
JPH02118873A (en) Processor monitoring device
JPS62114047A (en) Storage device
JPH04233041A (en) error recovery device
JPS5911927B2 (en) Address failure handling method
JPS6134654A (en) bus master controller
JPH0564941U (en) SCSI-2 host adapter circuit
JPH10143444A (en) Failure handling method
JPS6341968A (en) Buffer overrun detecting system
JPH0351936A (en) Input/output control system
JPH0644201A (en) Monitor device for computer system using shared memory