JPS63123151A - Common bus control system - Google Patents

Common bus control system

Info

Publication number
JPS63123151A
JPS63123151A JP27009586A JP27009586A JPS63123151A JP S63123151 A JPS63123151 A JP S63123151A JP 27009586 A JP27009586 A JP 27009586A JP 27009586 A JP27009586 A JP 27009586A JP S63123151 A JPS63123151 A JP S63123151A
Authority
JP
Japan
Prior art keywords
bus
module
signal
modules
value
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
JP27009586A
Other languages
Japanese (ja)
Inventor
Hajime Sato
元 佐藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27009586A priority Critical patent/JPS63123151A/en
Publication of JPS63123151A publication Critical patent/JPS63123151A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To equalize the distribution of bus exclusive right signals and to pinpoint the troubled hardware of a bus request line by counting the bus exclusive right signals outputted to modules and comparing the count value with the permissible number of bus exclusive right signals per cycle, which is preset to a bus exclusive use suppression register. CONSTITUTION:If bus request signal are repeatedly transmitted from the module with high priority (2-0, for instance), a bus exclusive signal counter 4 for the module 2-0 counts them. A comparison means compares the count value of the bus exclusive signal counter 4 with the suppressing value of modules 2-0-2-n, which is preset to a bus exclusive right suppression counter 5. When they agree, the request signal from the module concerned 2-0 is suppressed during a specified period. In that period the bus exclusive right signals are given to the other modules 2-1-2-n according to priority.

Description

【発明の詳細な説明】 〔概要〕 本発明は複数個のモジュールからのバスリクエスト信号
を受信してコモンバスの占有権信号の付与を制御するコ
モンバス制御方式において、モジュールに対して発せら
れるバス占有権信号を個々にカウントし、予めバス占有
抑止レジスタにセントされた任意サイクルあたりのバス
占有権信号許容数と比較することにより、ハス占有信号
の付与を均等化するとともにバスリクエストラインのハ
ード障害を発見することを可能にしたものである。
[Detailed Description of the Invention] [Summary] The present invention relates to a common bus control method that receives bus request signals from a plurality of modules and controls the granting of a common bus occupancy signal. By counting the signals individually and comparing them with the permissible number of bus occupancy signals per arbitrary cycle, which has been written to the bus occupancy suppression register in advance, it is possible to equalize the application of bus occupancy signals and discover hard failures in the bus request line. It made it possible to do so.

〔産業上の利用分野〕[Industrial application field]

本発明は、複数のハードウェアとしてのモジュールが接
続されたコモンバスと、この各モジュールからのバスリ
クエスト信号の管理等を行なうバス占有制御回路を有す
るデータ処理システムに採用されるコモンバス制御方式
に関する。更に詳言すると、各モジュールのバスリクエ
スト信号を制御および監視して、コモンバスを使用する
権利を均等に与え、各モジュールのデータ処理を確実に
行なえるようにしたコモンバス制御方式に関するもので
ある。
The present invention relates to a common bus control method employed in a data processing system having a common bus to which a plurality of hardware modules are connected, and a bus occupancy control circuit that manages bus request signals from each module. More specifically, the present invention relates to a common bus control system that controls and monitors the bus request signals of each module, gives equal rights to use the common bus, and ensures data processing of each module.

〔従来技術〕[Prior art]

従来のコモンバス制御方式に使用されるバス占有制御回
路は第5図に示す通り、各モジュールからのバスリクエ
スト信号を所定のタイミングで保持するスナップショッ
ト回路101と、所定のモジュールに対してコモンバス
を占有する権利を付与するバス占有権信号送出回路10
2とを有している。この様な構成において、各モジュー
ルからのバスリクエスト信号(REQO−n)は、スナ
ップショット回路101を介してバス占有権信号送出回
路102に入力される。各モジュールには優先順位(プ
ライオリティ−)が割付けられており、これら優先順位
はバス占有権信号送出回路102で判定される。従って
、複数のモジュールからバスリクエスト信号(REQO
〜n)が送出された場合には、優先順位の高いモジュー
ルに対してバス占有権信号送出回路102からバス占有
権信号(GNTO−n)が送出され、この優先順位の高
いモジュールがコモンバスを占有するコモンバス制御方
式となっていた。
The bus occupancy control circuit used in the conventional common bus control method, as shown in FIG. Bus exclusive right signal sending circuit 10 that grants the right to
2. In such a configuration, a bus request signal (REQO-n) from each module is input to the bus occupancy signal sending circuit 102 via the snapshot circuit 101. Each module is assigned a priority, and these priorities are determined by the bus occupancy signal transmission circuit 102. Therefore, a bus request signal (REQO) is sent from multiple modules.
~ n) is sent, the bus occupancy signal sending circuit 102 sends the bus occupancy signal (GNTO-n) to the module with the higher priority, and this module with the higher priority occupies the common bus. It was a common bus control system.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のコモンバス制御方式では、各モジュールから送出
されたバスリクエスト信号に対してスナップショット回
路101にてスナップショットを行ない、バス占有権信
号送出回路102からその時点での優先順位の高いモジ
ュールに対してバス占有権信号を送出するので、優先順
位が高いモジュールからバスリクエスト信号が頻繁に送
出されている場合には、この優先順位が高いモジュール
が常時、コモンバスを占有する虞れがある。即ち、この
様な場合には、優先順位の低いモジュールはコモンバス
を使用することが出来ず、このモジュールのデータの処
理を行なうことが不可能となってしまう。また、従来の
コモンバス制御方式では、各モジュールからのバスリク
エスト信号をチェックする機能がないため、優先順位の
高いモジュールに不具合が生じバスリクエスト信号が継
続して送出されている場合には、このモジュールがコモ
ンバスを常に占有してしまうという欠点も含んでいた。
In the conventional common bus control method, the snapshot circuit 101 takes a snapshot of the bus request signal sent from each module, and the bus occupancy signal transmission circuit 102 sends a snapshot to the module with the highest priority at that time. Since a bus occupancy signal is sent out, if a bus request signal is frequently sent out from a module with a higher priority, there is a possibility that this module with a higher priority will always occupy the common bus. That is, in such a case, a module with a low priority cannot use the common bus, and it becomes impossible to process data of this module. In addition, in the conventional common bus control method, there is no function to check the bus request signal from each module, so if a problem occurs in a module with a higher priority and the bus request signal is continuously being sent, this module It also had the disadvantage that it always occupied the common bus.

本発明の目的は、コモンバスに接続された複数のモジュ
ールに対して、このコモンバスを占有する権利を均等に
与えることが可能なコモンバス制御方式を提供すること
である。
An object of the present invention is to provide a common bus control method that can equally give the right to occupy the common bus to a plurality of modules connected to the common bus.

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

第1図は本発明の原理説明用のブロック図である。 FIG. 1 is a block diagram for explaining the principle of the present invention.

上記目的を達成するため、本発明のコモンバス制御方式
は、コモンバス1に接続された複数のモジュール2−0
〜2−nからのバスリクエスト信号を管理して一つの前
記モジュール2−0〜2−nに前記コモンバス1のバス
占有権信号を付与するデータ処理システムにおいて、前
記各モジュール2−0〜”1.−n毎に前記バス占有権
信号をカウントするバス占有信号カウンタ4と、予め抑
止値を記憶するバス占有信号抑止レジスタ5と、前記バ
ス占有信号カウンタ4のカウント値と前記バス占有抑止
レジスタ5の抑止値との比較を行なう比較手段8とを備
え、前記カウンタ値と前記抑止値が一致すると対応する
前記モジュール2−0〜2−nのバスリクエスト信号を
所定期間抑止し、その他の前記モジュール2−0〜2−
nに対して前記コモンバス1の占有権信号を付与するこ
とを特徴とするコモンバス制御方式としたものである。
In order to achieve the above object, the common bus control method of the present invention includes a plurality of modules 2-0 connected to the common bus 1.
In a data processing system that manages bus request signals from the modules 2-0 to 2-n and gives a bus occupancy signal for the common bus 1 to one of the modules 2-0 to 2-n, each of the modules 2-0 to 2-n A bus occupancy signal counter 4 that counts the bus occupancy right signal every .-n, a bus occupancy signal inhibition register 5 that stores an inhibition value in advance, and a count value of the bus occupancy signal counter 4 and the bus occupancy inhibition register 5. and a comparison means 8 for comparing the counter value and the inhibit value, and when the counter value and the inhibit value match, the bus request signal of the corresponding module 2-0 to 2-n is inhibited for a predetermined period, and the bus request signal of the other module is 2-0~2-
This common bus control system is characterized in that an exclusive right signal for the common bus 1 is given to n.

比較手段の実施態様として、比較手段は前記カウント値
と前記抑止値との比較を行なうとともに、所定の前記モ
ジュール2−0〜2−nにコモンバス1の占有権信号を
付与した場合そのモジュール2−0〜2−nがバスリク
エスト信号を落したことを監視するのが好適である。
As an embodiment of the comparing means, the comparing means compares the count value and the inhibiting value, and when a common bus 1 exclusive right signal is given to a predetermined module 2-0 to 2-n, that module 2- It is preferable to monitor that 0 to 2-n have dropped the bus request signal.

〔作用〕[Effect]

上記構成によって、優先順位の高いモジュール(例えば
2−0)から繰返してバスリクエスト信号が送出された
場合には、モジュール2−0用のバス占有信号カウンタ
4によってこの優先順位の高いモジュール2−0に対し
て発せられたバス占有信号がカウントされる。このバス
占有信号カウンタ4のカウンタ値は、バス占有信号抑止
カウンタ5に予め記憶されているこのモジュール2−0
〜2−nに対する抑止値と比較手段によって比較され、
両者が一致した時には所定期間まで該モジュール2−0
からのリクエスト信号が抑止(マスク)される。即ち、
抑止中は該モジュール2−0からのバスリクエスト信号
が送出されて来た場合でも、このモジュール2−0には
コモンバス1の占有権信号は付与されず、他のモジュー
ル2−1〜2−nが優先順位に応じてバス占有権信号が
付与される。これらモジュール2−1〜2−nに対して
も、さらに各々任意の抑止値によって同様にバスリクエ
スト信号のマスクが行なわれ、優先順位の下位のモジュ
ールに対してバス占有権信号が付与される機会を与える
With the above configuration, when a bus request signal is repeatedly sent from a module with a high priority level (for example, 2-0), the bus occupancy signal counter 4 for the module 2-0 The bus occupancy signals issued to the bus are counted. The counter value of this bus occupancy signal counter 4 is stored in advance in the bus occupancy signal suppression counter 5 of this module 2-0.
~2-n is compared with the deterrent value for n by a comparison means,
When the two match, the corresponding module 2-0 is used for a predetermined period.
The request signal from is suppressed (masked). That is,
During suppression, even if a bus request signal is sent from the module 2-0, the module 2-0 is not given the exclusive right signal for the common bus 1, and the other modules 2-1 to 2-n A bus occupancy signal is given according to the priority order. For these modules 2-1 to 2-n, bus request signals are similarly masked using arbitrary suppression values, giving an opportunity for a bus occupancy signal to be given to a lower priority module. give.

なお、上記作用によってバス占有権信号を付与されたモ
ジュールがハード障害のためにバスリクエスト信号を落
さない場合にも、優先順位の下位のモジュールに付与さ
れる機会を与えるようにできるが、バス占有権信号に対
しバスリクエスト信号を落したかを比較すれば直ちにハ
ード障害を検出でき好適である。
Note that even if a module that has been given a bus occupancy signal by the above action does not drop the bus request signal due to a hardware failure, it is possible to give a lower priority module a chance to be given the bus occupancy signal. It is preferable to compare whether or not the bus request signal has been dropped with respect to the exclusive right signal so that a hardware failure can be immediately detected.

〔実施例〕〔Example〕

以下本発明の一実施例を図面に基づき詳細に説明する。 An embodiment of the present invention will be described in detail below based on the drawings.

先ず、本発明のコモンバス制御方式が採用されるバス占
有制御回路の構成を説明する。第2図にそのブロック図
を示す。バス占有制御回路3はモジュールからのバスリ
クエスト信号の入力制御を行なうバスリクエスト信号抑
止回路9と、スナップショット回路6とプライオリティ
−機能を有するバス占有権信号送出回路7とを有してい
る。また、このバス占有制御回路3は、モジュールから
のバスリクエスト信号のカウントを行なうバス占有信号
カウンタ4と、各モジュールに対する任意の抑止値を記
憶するバス占有信号抑止レジスタ5と、前記バス占有信
号カウンタ4のカウント値と前記抑止値との比較を行な
う比較手段である比較器8 (以下CMPと記載する)
と、各モジュールのバスリクエストラインに不具合が生
じた場合に該当するモジュールを記憶するフリップフロ
ンプラッチ部10 (以下FFラッチ部と記載する)と
を有している。バスリクエスト信号抑止回路9は、各モ
ジュールからのバスリクエスト信号RIEQO〜nの入
力部を構成しており、前記CMP8及びFFラッチ部1
0からの出力によって対応するモジュールからのバスリ
クエスト信号REQO〜nに対して抑止(マスク)をか
ける機能を有している。即ち、所定のモジュールに対し
てマスクがかけられた場合には、このモジュールからバ
スリクエスト信号RE Q O−nが送出されても、該
バスリクエスト信号REQO〜nはバス占有制御回路3
内部には入力されない。スナップショット回路6は前記
バスリクエスト信号抑止回路9を介して送出されて来た
モジュールからのバスリクエスト信号REQO〜nに対
してスナップショットをかける機能を有している。バス
占有権信号送出回路7は前記スナップショット回路6か
ら送出されるスナップショットされたバスリクエスト信
号を基に、対応するモジュールに対してバス占有権信号
GNTO〜nを送出する機能を有している。更に、この
バス占有権信号送出回路7はプライオリティ−機能を有
しており、複数のモジコ、−ルからバスリクエスト信号
が送出されて来た場合、その中で最も優先順位の高いモ
ジュールに対してのみバス占有権信号0NTO〜nを送
出する。また、このバス占有信号GNTO〜nはバス占
有信号カウンタ4とFFラッチ部10にも送出され、バ
ス占有信号カウンタ4は各モジュールに対し送出される
バス占有権信号GNTO〜nを、モジュール毎にカウン
トする機能を有している。即ち、バス占有信号カウンタ
4内のカウンタ数は少な(ともモジュールの数は必要で
あり、バスリクエスト信号抑止回路9.スナップショッ
ト回路6及びバス占有権信号送出回路7を介して入力さ
れたバスリクエスト信号REQO〜nをモジュール毎に
カウントして、CMP8に送出する構成となっている。
First, the configuration of a bus occupancy control circuit to which the common bus control method of the present invention is adopted will be explained. FIG. 2 shows its block diagram. The bus occupancy control circuit 3 includes a bus request signal suppression circuit 9 for controlling the input of bus request signals from modules, a snapshot circuit 6, and a bus occupancy signal transmission circuit 7 having a priority function. The bus occupancy control circuit 3 also includes a bus occupancy signal counter 4 that counts bus request signals from modules, a bus occupancy signal suppression register 5 that stores arbitrary suppression values for each module, and a bus occupancy signal counter 4 that counts bus request signals from modules. a comparator 8 (hereinafter referred to as CMP), which is a comparison means for comparing the count value of No. 4 and the suppression value;
and a flip-flop latch section 10 (hereinafter referred to as FF latch section) that stores the corresponding module when a problem occurs in the bus request line of each module. The bus request signal suppression circuit 9 constitutes an input section for the bus request signals RIEQO to RIEQOn from each module.
It has a function of suppressing (masking) the bus request signals REQO to n from the corresponding modules by the output from 0. That is, when a predetermined module is masked, even if the bus request signal REQO-n is sent from this module, the bus request signal REQO~n is not transmitted to the bus occupancy control circuit 3.
It is not entered internally. The snapshot circuit 6 has a function of applying a snapshot to the bus request signals REQO to n sent from the modules via the bus request signal suppression circuit 9. The bus occupancy signal sending circuit 7 has a function of transmitting bus occupancy signals GNTO to n to the corresponding modules based on the snapshotted bus request signal sent from the snapshot circuit 6. . Furthermore, this bus occupancy signal sending circuit 7 has a priority function, and when a bus request signal is sent from multiple modules, it sends a bus request signal to the module with the highest priority among them. Only the bus occupancy signals 0NTO to n are sent out. The bus occupancy signal GNTO~n is also sent to the bus occupancy signal counter 4 and the FF latch unit 10, and the bus occupancy signal counter 4 receives the bus occupancy signal GNTO~n sent to each module for each module. It has a counting function. In other words, the number of counters in the bus occupancy signal counter 4 is small (both the number of modules is necessary, and the number of counters in the bus occupancy signal counter 4 is small). The configuration is such that the signals REQO to n are counted for each module and sent to the CMP 8.

バス占有信号抑止レジスタ5は一つの所定期間、即ち任
意サイクルあたりにおける、コモンバスに対する各モジ
ュールの抑止値、即ち、コモンバスを占有出来る回数値
を各モジュール毎に記憶する機能を有しており、その抑
止値をCMP8に送出する。CMP8は、前記バス占有
信号カウンタ4のカウンタ値とバス占有信号抑止レジス
タ5の抑止値の比較をモジュール毎に行ない、カウンタ
値が抑止値と一致すると、最低一サイクル間は一致した
ことを示すデータ(一致信号)を保持する機能を有する
もので、この一致信号を前記バスリクエスト信号抑止回
路9に送出するようになっている。
The bus occupancy signal inhibition register 5 has a function of storing the inhibition value of each module for the common bus in one predetermined period, that is, per arbitrary cycle, that is, the number of times the common bus can be occupied, for each module, Send the value to CMP8. The CMP 8 compares the counter value of the bus occupancy signal counter 4 and the inhibition value of the bus occupancy signal inhibition register 5 for each module, and when the counter value matches the inhibition value, it outputs data indicating that they matched for at least one cycle. (match signal), and sends this match signal to the bus request signal suppression circuit 9.

カウンタ値と抑止値が一致したモジュールからのバスリ
クエスト信号RBQO−nは、このバスリクエスト信号
抑止回路9にてマスクがかけられ、任意サイクルが終了
するまでは該当するモジュールのバス占有権が抑止され
る。FFラッ千郡部10各モジュールの不具合検出を行
なう機能を有しており、バス占有権信号送出回路7より
所定のモジュールに対してバス占有権信号GNTO〜n
を送出したにもかかわらず該モジュールからのバスリク
エスト信号REQO−nが無くならない場合には、この
不具合状態がFFラッチ部10にラッチされ、バスリク
エスト信号抑止回路9に送出されて、該当するモジュー
ルからのバスリクエスト信号REQO−Hにマスクがか
けられる構成となっている。
The bus request signal RBQO-n from the module whose counter value and inhibition value match is masked by this bus request signal inhibition circuit 9, and the bus occupancy right of the corresponding module is inhibited until the arbitrary cycle ends. Ru. The FF rack unit 10 has a function of detecting a malfunction in each module, and the bus occupancy signal transmission circuit 7 sends the bus occupancy signal GNTO~n to a predetermined module.
If the bus request signal REQO-n from the module does not disappear even though the bus request signal REQO-n has been sent out, this malfunction state is latched in the FF latch section 10 and sent to the bus request signal suppression circuit 9, and the corresponding module The configuration is such that a mask is applied to the bus request signal REQO-H from the bus request signal REQO-H.

次に、本バス占有制御回路の更に詳細な回路構成例を第
3図及び第4図のタイムチャートを基に説明する。但し
、本回路は二つのモジュールを制御 御する場合を例として説明するもので、各回路は対称形
となっているので、1つのモジュールに対する回路のみ
を説明する。バスリクエスト信号抑止回路9はCMP8
−1.8−2の出力及びFFラッチ10−1.10−2
の出力によって制御され、各モジュールからのバスリク
エスト信号REQ0,1の制御を行なう3人力ANDゲ
ート14−1.14−2と、各モジュールの不具合検出
回路を構成する2人力ANDゲート1)−1.1)−2
、JKフリップフロップ12−1.12−2および2人
力NORゲート13−1.1)−2によって構成されて
いる。本実施例の場合、バス占有信号カウンタ4はモジ
ュール数に対応して2個のカウンタ4−1.4−2によ
って構成されるとともに、同様にバス占有信号抑止レジ
スタ5も2個のレジスタ5−1.5−2によって構成さ
れる。
Next, a more detailed circuit configuration example of the present bus occupancy control circuit will be explained based on the time charts of FIGS. 3 and 4. However, this circuit will be explained using an example in which two modules are controlled, and since each circuit is symmetrical, only the circuit for one module will be explained. Bus request signal suppression circuit 9 is CMP8
-1.8-2 output and FF latch 10-1.10-2
A three-man power AND gate 14-1, which controls the bus request signals REQ0 and REQ1 from each module, and a two-man power AND gate 1)-1 which constitutes a fault detection circuit for each module. .1)-2
, JK flip-flop 12-1.12-2 and two-man power NOR gate 13-1.1)-2. In the case of this embodiment, the bus occupancy signal counter 4 is composed of two counters 4-1 and 4-2 corresponding to the number of modules, and the bus occupancy signal suppression register 5 is also composed of two registers 5-1 and 4-2. 1.5-2.

またカウンタ4−1.4−2のカウンタ値とレジスタ5
−1.5−2の抑止値との比較を行なうCMP8もモジ
ュールに対応して2個のCMP 8−1.8−2によっ
て構成されるとともに、FFうソチ部10も各モジュー
ルに対応して2個OFFラッチ10−1.10−2およ
び2個のJKフリップフロップ12−1.12−2によ
って構成される。
Also, the counter values of counter 4-1, 4-2 and register 5
The CMP 8 that performs the comparison with the inhibition value of -1.5-2 is also composed of two CMPs 8-1.8-2 corresponding to the modules, and the FF lie section 10 is also composed of two CMPs 8-1.8-2 corresponding to each module. It is composed of two OFF latches 10-1.10-2 and two JK flip-flops 12-1.12-2.

ここで、優先順位が上位のモジュールよりバスリクエス
ト信号REQOが送出されると、3人力ANDゲート1
4−1に入力される。この時、FFラッチ10−1の初
期状態での出力はL(ローレベル)であり、このFFラ
ッチ10−1の出力及びバスリクエスト信号REQOが
入力されているANDゲート1)−1の出力もLとなる
。このANDゲート1)−1の出力をクロック等でディ
レーをかけるためのJKフリップフロップ12−1の出
力もLとなりNORゲート13−1の出力はH(ハイレ
ベル)にて保持される。一方CMP8−1の出力もカウ
ンタ4−1とレジスタ5−1が不一致の間はHとなるの
で、バスリクエスト信号REQOは3人力ANDゲート
14−1を通過し、スナップショット回路6及びバス占
有権信号送出回路7を介してカウンタ4−1に入力され
、カウンタ値をインクリメントする。バス占有権信号送
出回路7は第4図に示すように、バスリクエスト信号R
EQOが入力されるとバス占有権信号GNTOをバスリ
クエスト信号REQOを発したモジュールに送出する。
Here, when the bus request signal REQO is sent from the module with the higher priority, the three-man power AND gate 1
4-1. At this time, the output of the FF latch 10-1 in the initial state is L (low level), and the output of the FF latch 10-1 and the output of the AND gate 1)-1 to which the bus request signal REQO is input are also It becomes L. The output of the JK flip-flop 12-1 for delaying the output of the AND gate 1)-1 by a clock or the like also becomes L, and the output of the NOR gate 13-1 is held at H (high level). On the other hand, since the output of CMP 8-1 also becomes H while the counter 4-1 and register 5-1 do not match, the bus request signal REQO passes through the three-man AND gate 14-1, and the bus request signal REQO passes through the three-man power AND gate 14-1, and the bus request signal REQO passes through the three-way AND gate 14-1, The signal is input to the counter 4-1 via the signal sending circuit 7, and the counter value is incremented. As shown in FIG. 4, the bus exclusive right signal sending circuit 7 receives a bus request signal R
When EQO is input, the bus occupancy signal GNTO is sent to the module that issued the bus request signal REQO.

従って、該モジュールはバスを占有出来るようになり、
バスリクエスト信号REQOを落す。ここで、レジスタ
5−1の抑止値が例えば2にセットされていた場合、プ
ライオリティ−にしたがって2回バス占有権信号が発せ
られると、カウンタ4−1のカウント値と抑止値とは一
致するので、CMP8−1の出力をLとされ、3人力A
NDゲート14−1は閉じられこのモジュールからのバ
スリクエスト信号REQOにマスクがかかる。これ以後
、バスリクエスト信号REQOが送出された場合でも内
部入力されず、優先順位の低い他のモジュールのパスリ
フニス信号REQIの受は付けが可能となり、バス占有
の均等化が図れる。
Therefore, the module can now occupy the bus,
Drops bus request signal REQO. Here, if the inhibit value of the register 5-1 is set to 2, for example, and the bus occupancy signal is issued twice according to the priority, the count value of the counter 4-1 and the inhibit value will match. , the output of CMP8-1 is set to L, and three-man power A
ND gate 14-1 is closed and the bus request signal REQO from this module is masked. After this, even if the bus request signal REQO is sent out, it is not input internally, and the pass request signal REQI of another module with a lower priority can be accepted, thereby making it possible to equalize the bus occupancy.

次に、バス占有権信号送出回路7よりバス占有権信号G
NTIが出力されている間、FFラッチ10−2に入力
されるとラッチされ、このFFラッチ10−2の出力が
Hとなる。第4図の示すように、バスリクエスト信号R
EQIがバス占有権信号GNT1によって落ちないと、
こOFFランチ10−2の出力との論理積がANDゲー
ト1)−2にてとられてJKフリップフロップ12−2
およびNORゲート13−2を介して3人力ANDゲー
)14−2を閉じる。この場合にも以後バスリクエスト
信号REQIは受は付けられず、他のモジュールからの
バスリクエスト信号が、受は付は可能となり、無効なバ
ス占有が避けられる。
Next, the bus occupancy signal G is sent from the bus occupancy signal sending circuit 7.
While NTI is being output, if it is input to the FF latch 10-2, it is latched, and the output of this FF latch 10-2 becomes H. As shown in FIG. 4, the bus request signal R
If EQI does not fall due to bus occupancy signal GNT1,
The logical product of this and the output of the OFF lunch 10-2 is taken by the AND gate 1)-2, and the result is the JK flip-flop 12-2.
and closes the three-person AND game) 14-2 via the NOR gate 13-2. In this case as well, the bus request signal REQI will no longer be accepted, but bus request signals from other modules can be accepted, and invalid bus occupancy can be avoided.

なお、本発明は上記実施例に限るものではなく本発明の
主旨に沿った種々の変形、適用が可能であることはもち
ろんである。
It should be noted that the present invention is not limited to the above-mentioned embodiments, and it goes without saying that various modifications and applications can be made in accordance with the gist of the present invention.

〔発明の効果〕〔Effect of the invention〕

以上の説明より明らかなように本発明のコモンバス制御
方式によれば、モジュールに対するバス占有権信号の送
出の割合を、バス占有権信号獲得許容数である抑止値を
バス占有抑止レジスタにセソトすることによって、任意
に変化させることが可能であり、同時にバス占有権信号
とリクエスト信号を監視してリクエストラインの障害を
検出することが可能である。これらによりモジュールに
対するバス占有権信号の送出の割合が、モジュール優先
度あるいはリクエストライン障害によってかたよること
を防いで均等化を図ることができる。
As is clear from the above explanation, according to the common bus control method of the present invention, the ratio of bus occupancy signals sent to modules can be set by setting the inhibition value, which is the permissible number of bus occupancy signals to be acquired, in the bus occupancy inhibition register. Therefore, it is possible to arbitrarily change the bus occupancy signal and the request signal, and at the same time, it is possible to detect a fault in the request line by monitoring the bus occupancy signal and the request signal. As a result, it is possible to equalize the ratio of bus occupancy signals sent to modules by preventing them from being uneven due to module priorities or request line failures.

このため、データ処理システムを安全、確実に作動させ
ることが出来る効果を有する。
Therefore, there is an effect that the data processing system can be operated safely and reliably.

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

第1図は本発明の原理を示すブロック図、第2図は本発
明に採用されるバス占有制御回路のブロック図、 第3図はその回路構成例を示す回路図、第4図はそのタ
イムチャート、 第5図は従来技術の原理を示すブロック図である。 図中、 ■・・・コモンバス 2−0〜2−n・・・モジュール 3・・・バス占有制御回路 4・・・バス占有信号カウンタ 5・・・バス占有信号抑止レジスタ 8・・・比較手段 である。
Figure 1 is a block diagram showing the principle of the present invention, Figure 2 is a block diagram of a bus occupancy control circuit adopted in the present invention, Figure 3 is a circuit diagram showing an example of its circuit configuration, and Figure 4 is its timing diagram. FIG. 5 is a block diagram showing the principle of the prior art. In the figure, ■... Common buses 2-0 to 2-n... Module 3... Bus occupancy control circuit 4... Bus occupancy signal counter 5... Bus occupancy signal suppression register 8... Comparison means It is.

Claims (2)

【特許請求の範囲】[Claims] (1)コモンバス(1)に接続された複数のモジュール
(2−0〜2−n)からのバスリクエスト信号を管理し
て一つの前記モジュール(2−0〜2−n)に前記コモ
ンバス(1)のバス占有権信号を付与するデータ処理シ
ステムにおいて、 前記各モジュール(2−0〜2−n)毎に前記バス占有
権信号をカウントするバス占有信号カウンタ(4)と、
予め抑止値を記憶するバス占有信号抑止レジスタ(5)
と、 前記バス占有信号カウンタ(4)のカウント値と前記バ
ス占有抑止レジスタ(5)の抑止値との比較を行なう比
較手段(8)とを備え、 前記カウンタ値と前記抑止値が一致すると対応する前記
モジュール(2−0〜2−n)のバスリクエスト信号を
所定期間抑止し、その他の前記モジュール(2−0〜2
−n)に対して前記コモンバス(1)の占有権信号を付
与することを特徴とするコモンバス制御方式。
(1) Bus request signals from a plurality of modules (2-0 to 2-n) connected to the common bus (1) are managed and one module (2-0 to 2-n) is sent to the common bus (1). ), a data processing system that provides a bus occupancy signal for each of the modules (2-0 to 2-n), comprising: a bus occupancy signal counter (4) that counts the bus occupancy signal for each module (2-0 to 2-n);
Bus occupancy signal suppression register (5) that stores a suppression value in advance
and a comparison means (8) for comparing the count value of the bus occupancy signal counter (4) and the inhibition value of the bus occupancy inhibition register (5), and when the counter value and the inhibition value match, a response is made. The bus request signals of the modules (2-0 to 2-n) that are
A common bus control system characterized in that an exclusive right signal for the common bus (1) is given to the common bus (1).
(2)比較手段は前記カウント値と前記抑止値との比較
を行なうとともに、所定の前記モジュール(2−0〜2
−n)にコモンバス(1)の占有権信号を付与した場合
そのモジュール(2−0〜2−n)がバスリクエスト信
号を落したことを監視することを特徴とする特許請求の
範囲第1項記載のコモンバス制御方式。
(2) The comparison means compares the count value and the inhibition value, and also compares the count value with the inhibition value, and
Claim 1, characterized in that when an exclusive right signal of the common bus (1) is given to the module (2-0 to 2-n), the module (2-0 to 2-n) monitors whether the bus request signal is dropped. Common bus control method described.
JP27009586A 1986-11-13 1986-11-13 Common bus control system Pending JPS63123151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27009586A JPS63123151A (en) 1986-11-13 1986-11-13 Common bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27009586A JPS63123151A (en) 1986-11-13 1986-11-13 Common bus control system

Publications (1)

Publication Number Publication Date
JPS63123151A true JPS63123151A (en) 1988-05-26

Family

ID=17481462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27009586A Pending JPS63123151A (en) 1986-11-13 1986-11-13 Common bus control system

Country Status (1)

Country Link
JP (1) JPS63123151A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006133948A (en) * 2004-11-04 2006-05-25 Mitsubishi Electric Corp Arbitration device and arbitration method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006133948A (en) * 2004-11-04 2006-05-25 Mitsubishi Electric Corp Arbitration device and arbitration method

Similar Documents

Publication Publication Date Title
US4633394A (en) Distributed arbitration for multiple processors
US4630193A (en) Time multiplexed processor bus
KR100201819B1 (en) Recovering apparatus and method for multi-master bus system
US7890686B2 (en) Dynamic priority conflict resolution in a multi-processor computer system having shared resources
US5388228A (en) Computer system having dynamically programmable linear/fairness priority arbitration scheme
US4789926A (en) Digital data processing arbitration system
JPH02293959A (en) Interface apparatus
US4249093A (en) Multiple request arbitration circuit
US5051946A (en) Integrated scannable rotational priority network apparatus
JPS63123151A (en) Common bus control system
EP3945427A1 (en) Deadlock condition avoidance in a data processing system with a shared slave
CA1295751C (en) Increased bandwidth for multi-processor access of a common resource
EP0226053A1 (en) Bus arbitration controller
JPH10334042A (en) Bus arbitration control device method therefor, and recording medium recorded with bus arbitration control program
EP0211119B1 (en) Digital data processing arbitration system
JP2507807B2 (en) Distributed arbitration method
JPH0258149A (en) Access permission controller
SU864288A1 (en) Device for servicing requests
Cioffi et al. A fully distributed arbiter for multiprocessor systems
JP2000187639A (en) Bus arbitrating device
KR100374335B1 (en) Circuit for isolating board of bus system
JP2844656B2 (en) Interrupt control circuit
JPH06131307A (en) Load distributing system for multi cpu system
JPH10326253A (en) Bus arbitration circuit
JPH04277812A (en) Multiport access control circuit