JPS635788B2 - - Google Patents
Info
- Publication number
- JPS635788B2 JPS635788B2 JP2950583A JP2950583A JPS635788B2 JP S635788 B2 JPS635788 B2 JP S635788B2 JP 2950583 A JP2950583 A JP 2950583A JP 2950583 A JP2950583 A JP 2950583A JP S635788 B2 JPS635788 B2 JP S635788B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- module
- line
- priority
- modules
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
- G06F13/368—Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control
- G06F13/374—Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control using a self-select method with individual priority code comparator
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】
本発明は優先順位の低いモジユールのバス使用
要求が極端に後回しにされることを防止した複合
計算機システムの完全分散方式共通バス制御方式
に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a completely distributed common bus control system for a multi-purpose computer system that prevents bus use requests of modules with low priority from being extremely postponed.
従来共通バスに複合システムを接続した場合の
制御装置の方式には種々のものがあつた。複合シ
ステム全体に対して別に優先使用順位を判定して
制御を行なう制御部を設ける方式は、完全分散制
御方式と異なり、制御系の障害が局部に発生して
も全システムに影響が及ぶ。また完全分散制御方
式であつても、従来のものは、複数モジユールの
バス使用要求が競合した場合、常に各モジユール
個有の優先順位に従つて使用順序が決定されるの
で、優先順位の低いモジユールの要求は、時とし
て非常に長く待たされる場合が生ずるという他の
問題が生じていた。この問題を解決するためにバ
ス使用予約登録方式が従来も行われていたが、従
来のものはモジユール間をマスク線によつて直列
的に接続し、優先順位が一層低い他モジユールの
アクセスを禁止する方式なので、完全分散制御で
はなく、1モジユール中の障害が他モジユールに
影響する恐れが非常に多い。また完全な分散制御
方式で、バスが空くとバス使用要求が生じていた
モジユールは他モジユールを意識せずに、直ちに
伝送を開始し、他モジユールと衝突するとデータ
のエラー検出機能で検出し、乱数により決定され
る時間後に再送する方式も公知であるが、ハー
ド、ソフトとも複雑となり、しかもバス使用効率
が低いなどの欠点があつた。 Conventionally, there have been various types of control devices when a complex system is connected to a common bus. A method in which a control section is provided that separately determines and controls the priority order of use for the entire complex system is different from a completely distributed control method, in that even if a failure in the control system occurs locally, the entire system is affected. Furthermore, even with a completely distributed control method, in conventional methods, when bus usage requests from multiple modules conflict, the usage order is always determined according to the priority unique to each module. Other problems have arisen in that requests for such services sometimes have to wait for a very long time. In order to solve this problem, a bus usage reservation registration system has been used in the past, but in the conventional method, modules are connected in series by mask lines, and access by other modules with lower priority is prohibited. Because it is a system that uses a multi-module system, it is not completely distributed control, and there is a high possibility that a failure in one module will affect other modules. In addition, with a completely distributed control method, when the bus becomes free, the module that has requested to use the bus immediately starts transmitting without being aware of other modules, and if it collides with another module, it is detected by the data error detection function and a random number is sent. A method of retransmitting after a time determined by is also known, but it has drawbacks such as complicated hardware and software and low bus usage efficiency.
本発明は前記従来の方式のような問題のない、
完全分散制御で、かつ優先順位の低いモジユール
も極端に長く待たされる恐れのない複合計算機シ
ステムの共通バス制御方式を提供することを目的
とする。 The present invention does not have the problems of the conventional method,
The purpose of the present invention is to provide a common bus control method for a compound computer system that is completely distributed and does not require modules with low priority to wait for an extremely long time.
上記目的を達成するために本発明においては、
共通バスとしてバス登録線を備え、バス使用要求
の発生したモジユールは、バス登録線に既に他モ
ジユールからの信号が存在していない場合に限
り、バス使用予約を示す信号をバス登録線に送出
し、その間他のモジユールがバス使用予約を新規
に登録することを禁止するようにした。バスが使
用されている期間中に複数のモジユールにバス使
用要求が発生しても、前記の如く、これら複数モ
ジユールのバス使用予約登録は禁止されるが、バ
スが空くと同時に前記バス使用予約登録を禁止さ
れ待機していた複数モジユールはいつせいにバス
登録線に信号を送出し、いずれもバス使用予約状
態にはいる。これらのバス使用予約状態となつた
複数モジユールの間では各モジユール個有の優先
順位に従つて順次バスを使用することとした。こ
の様にすれば、いつたんバス使用予約状態になつ
たモジユールは、そのモジユールがバス使用を終
了するまでは、該モジユールよりも優先順位の高
いモジユールにバス使用要求が発生しても、バス
登録線への信号送出継続によつて新規なモジユー
ルのバス使用予約登録を禁止しているので、妨害
を受けずにバスを使用できる。従つて、固定優先
順位方式の場合の様に、優先順位の低いモジユー
ルが極端に長期間待たされることはない。 In order to achieve the above object, in the present invention,
A module that is equipped with a bus registration line as a common bus will send a signal indicating bus usage reservation to the bus registration line only if there is no signal from another module on the bus registration line. During this time, other modules were prohibited from registering new bus reservations. Even if a bus usage request occurs to multiple modules while the bus is in use, the registration of bus usage reservations for these multiple modules is prohibited as described above, but as soon as the bus becomes vacant, the bus usage reservation registration is At some point, the multiple modules that were waiting and prohibited from using the bus sent signals to the bus registration line, and all of them entered the bus reservation state. It was decided that the buses would be used sequentially among the plurality of modules that were in the bus use reservation state according to the priority order unique to each module. In this way, a module that enters the bus reservation state will not be able to register for the bus even if a module with a higher priority than that module receives a request to use the bus, until that module finishes using the bus. By continuing to send signals to the line, registering new modules to use the bus is prohibited, so the bus can be used without interference. Therefore, unlike in the case of the fixed priority system, modules with low priority are not forced to wait for an extremely long time.
第1図は本発明の作動説明図である。上部にバ
ス使用要求発生時刻を矢印で示し、数字はモジユ
ールの番号ならびに優先順位を示し、大きい数の
モジユールほど優先順位が高いものとする。その
下に各モジユールの共通バス使用の時間的経過を
示し、Aは本発明方式の場合、Bは固定優先順位
方式の場合である。モジユール#4に対してはバ
ス使用要求が空き状態の時に生じたからA,Bい
ずれでも同じで直ちにバス使用を割当てられてい
るが、モジユール#3の要求に対してはA,Bの
場合に大きな差が生じている。本発明の場合Aで
は、モジユール#4のバス使用中に生じたモジユ
ール#3,#5のバス使用要求は、モジユール
#4のバス使用終了時に双方とも登録され、優先
順位に従い、モジユール#5,#3の順に使用
し、モジユール#5,#3のバス使用中に生じた
モジユール#8,#1,#6のバス使用要求はモ
ジユール#3のバス使用終了時にいずれも登録さ
れて、モジユール#8,#6,#1の順にバスを
使用している。これに対し固定優先順位のBの場
合には、あるモジユールがバス使用を終つた際、
毎回、バス使用を待つているモジユール中の最高
順位のモジユールがバスを使用している。 FIG. 1 is an explanatory diagram of the operation of the present invention. At the top, the time when a bus use request is generated is indicated by an arrow, and the numbers indicate the module number and priority, and the larger the number of modules, the higher the priority. Below that, the time course of the common bus use of each module is shown, where A is for the method of the present invention and B is for the fixed priority method. Since the bus usage request for module #4 occurred when it was in an empty state, the bus usage was immediately assigned to both A and B. There is a difference. In case A of the present invention, bus usage requests for modules #3 and #5 that occur while module #4 is using the bus are both registered when module #4 ends using the bus, and are sent to modules #5, #5 according to priority. Bus usage requests for modules #8, #1, and #6 that occur while modules #5 and #3 are using the bus are registered when module #3 ends using the bus, and module #3 is used in this order. The buses are used in the order of 8, #6, and #1. On the other hand, in the case of fixed priority B, when a module finishes using the bus,
Each time, the module with the highest rank among the modules waiting to use the bus uses the bus.
第2図は本発明の一実施例のモジユールを示す
図で、バス17はプロセシングユニツト1同士の
データ転送に関係するすべてのバスすなわちアド
レス線、データ線、制御線よりなるシステムバ
ス、バス18はシステムバス使用中か否かを示す
バスビジー線、バス19はバス登録線で、この3
者が共通バスを構成し、共通バス以外の図示部分
が一つのモジユールを構成している。制御部5の
出力6,8と、nを2nに変換するデコーダ16の
出力とは他のモジユールとそれぞれワイアドオア
されている。制御部5は第3図は示すように6個
のステータスS0,S1……S5を持つている。なお第
3図には省略してあるが、制御部5にリセツト信
号21が加えられると、その時の状態に関係なく
イニシヤル状態S0へ戻る。プロセシングユニツト
1が他のモジユール(プロセシングユニツトとか
共有メモリなど)とデータ授受を行なうため共通
バスの使用を要求してバス要求線2をオンにする
と、ステータスはS1に移る。制御部5では、バス
登録線7を調べて、これがオフならばステータス
S2に移る。この時バス登録線6がオンになる。次
にバスビジー線9を調べて、これがオフならばス
テータスはS3に移り、バスビジー線8をオンにす
る。またこの時、このモジユール個有の優先順位
をプライオリテイ線12に出力する。この値はn
を2nに変換するデコーダ16によつてデコードさ
れる。例えば優先順位n=3で、デコードされた
優先順位での値が2進数で1000の場合、負論理で
11110111が出力線15に出力される。なお優先順
位数はモジユールを示す番号を兼用するものと
し、数値が大きい程優先順位が高いものとする。
出力線15は独立に設ける必要はなく、プロセシ
ングユニツトがデータの授受に用いるバスと共用
できる。この時、同時に、例えば優先順位n=2
(2nの値が2進数で100)のモジユールが動作(優
先順位送出)していた場合、プライオリテイエン
コーダ14の入力は11110111と11111011が負論理
でワイアドオアされて11110011となる。エンコー
ダ14の入力は反転されて00001100となり、その
最上位桁が2nからnに変換されてエンコーダの出
力線11にはn=3が出力される。すなわち出力
線11には競合しているモジユールのプライオリ
テイの最高値が出力される。コンパレータ10
は、出力線11と12の出力値が一致している時
には、プライオリテイー致線13をオンにする。
一致しない時は制御部のステータスはS2に戻り、
プライオリテイ出力は終了する。一致したときは
ステータスS5に移り、やはりプライオリテイ出力
は終了し、バス使用許可線3をオンにする。プロ
セシングユニツトは線20経由バス17を使用
し、それが終了するとバス使用終了線4をオンに
する。これによつて制御部5のステータスはS0に
戻る。なお第3図左側に、制御部5の出力線の出
力期間もあわせて示してある、ただしプライオリ
テイを出力してバス使用を許可されず、ステータ
スS2に戻つたモジユールでは、プライオリテイ出
力期間終了時点でバスビジーオンの期間も終る
が、既述の如くバス登録オンの状態だけは、その
モジユールがバス使用終了オンとなるまで継続す
る。バスビジーオンの出力期間はステータスS5の
みにしてもよい。2つ以上のモジユールが同時に
ステータスS2に移つた場合、プライオリテイの高
いものから順次バス使用を許可され、その間新規
要求が発生した場合、たとえプライオリテイの高
いモジユールのものであつても、それらはステー
タスS1にとどまつて待機しなければならないのは
既述の通りである。なおモジユール数が2nよりも
多い時には、プライオリテイを2つ以上に分割出
力することよつて対処できる。この時は、ステー
タスS3,S4が2つ以上の組からなり、それぞれの
段階で最高のプライオリテイをもつもののみが、
次のステークスS5に進み、それ以外のものはステ
ータスS2へ戻る。 FIG. 2 is a diagram showing a module according to an embodiment of the present invention, in which bus 17 is a system bus consisting of all buses related to data transfer between processing units 1, namely address lines, data lines, and control lines, and bus 18 is a system bus consisting of address lines, data lines, and control lines. The bus busy line that indicates whether the system bus is in use or not, bus 19, is the bus registration line.
The two components constitute a common bus, and the illustrated portions other than the common bus constitute one module. The outputs 6 and 8 of the control unit 5 and the output of the decoder 16 for converting n into 2 n are wired-ORed with other modules, respectively. As shown in FIG. 3, the control unit 5 has six statuses S 0 , S 1 . . . S 5 . Although not shown in FIG. 3, when a reset signal 21 is applied to the control section 5, the control section 5 returns to the initial state S0 regardless of the state at that time. When processing unit 1 requests the use of a common bus to exchange data with other modules (processing units, shared memory, etc.) and turns on bus request line 2, the status shifts to S1 . The control unit 5 checks the bus registration line 7, and if it is off, the status
Move on to S2 . At this time, the bus registration line 6 is turned on. Next, the bus busy line 9 is checked, and if it is off, the status moves to S3 and the bus busy line 8 is turned on. Also, at this time, the priority unique to this module is output to the priority line 12. This value is n
is decoded by a decoder 16 that converts For example, if priority n=3 and the decoded priority value is 1000 in binary, negative logic
11110111 is output to the output line 15. Note that the priority number also serves as a number indicating a module, and the larger the number, the higher the priority.
The output line 15 does not need to be provided independently, and can be shared with the bus used by the processing unit to send and receive data. At this time, at the same time, for example, priority level n=2
When the module ( 2n value is 100 in binary) is operating (priority transmission), the input of the priority encoder 14 becomes 11110011 by wire-ORing 11110111 and 11111011 with negative logic. The input to the encoder 14 is inverted to become 00001100, the most significant digit of which is converted from 2 n to n, and n=3 is output to the output line 11 of the encoder. That is, the highest priority value of the competing modules is output to the output line 11. Comparator 10
turns on the priority matching line 13 when the output values of the output lines 11 and 12 match.
If they do not match, the control unit status returns to S2 ,
Priority output ends. If they match, the process moves to status S5 , the priority output ends, and the bus use permission line 3 is turned on. The processing unit uses the bus 17 via line 20 and turns on the bus end line 4 when it is finished. As a result, the status of the control section 5 returns to S0 . The output period of the output line of the control unit 5 is also shown on the left side of FIG. At the end, the bus busy-on period also ends, but as described above, the bus registration on state continues until the module is turned on at the end of bus use. The bus busy-on output period may be limited to status S5 . If two or more modules move to status S 2 at the same time, they are allowed to use the bus in order from the one with the highest priority, and if new requests occur during that time, even if they are from the module with the highest priority, they are As mentioned above, the terminal must remain in status S1 and wait. Note that when the number of modules is greater than 2 n , this can be handled by dividing and outputting the priority into two or more. At this time, statuses S 3 and S 4 consist of two or more pairs, and only the one with the highest priority at each stage is
Proceed to the next stake S 5 , all others return to status S 2 .
以上説明したように本発明によれば、優先順位
の低いモジユールが極端に長く待たされる恐れが
なくなり、またたとえどこかに故障が生じてもそ
の影響は局部にとどまり障害がシステムの広範囲
に及ばない、などの効果が得られる。 As explained above, according to the present invention, there is no need for modules with low priority to wait for an extremely long time, and even if a failure occurs somewhere, the effect remains local and the failure does not spread over a wide area of the system. , and other effects can be obtained.
第1図は本発明の作動説明図、第2図は本発明
一実施例のモジユールを示す図、第3図は本発明
に係るモジユール制御部のステータス及びその出
力期間を示す図である。
1……プロセシングユニツト、5……制御部、
10……コンパレータ、14……プライオリテイ
エンコーダ、16……デコーダ、17……システ
ムバス、18……バスビジー線、19……バス登
録線。
FIG. 1 is an explanatory diagram of the operation of the present invention, FIG. 2 is a diagram showing a module according to an embodiment of the present invention, and FIG. 3 is a diagram showing the status of the module control section and its output period according to the present invention. 1...processing unit, 5...control unit,
10... Comparator, 14... Priority encoder, 16... Decoder, 17... System bus, 18... Bus busy line, 19... Bus registration line.
Claims (1)
らなる複合計算機システムにおいて、上記共通バ
スがシステムバス、ビジー線およびバス登録線か
らなり、各モジユールは、バス使用要求が生じた
時、上記バス登録線に他のモジユールからのバス
使用要求信号が無いことを条件として該バス登録
線にバス使用要求信号を出力し、もし上記ビジー
線がオン状態の場合はこれがオフ状態となるのを
待ち、オフ状態の場合は該ビジー線にオン信号を
出力すると共に自モジユールに固有の優先順位信
号を上記システムバスに送出し、該システムバス
に現われている信号の状態から自モジユールより
高位の優先順位をもつ競合モジユールの有無を判
定し、最高位にあると判断したモジユールは上記
共通バスを使用して処理を実行すると共に処理終
了時に上記バス使用要求信号およびビジー信号の
出力を止めるようにし、最高位にないと判断した
各モジユールは上記ビジー線が再度オフ状態とな
るのを待つて上記優先順位判定のための動作を繰
り返すようにしたことを特徴とする複合計算機シ
ステムの共通バス制御方式。1. In a compound computer system consisting of a plurality of modules connected to a common bus, the common bus consists of a system bus, a busy line, and a bus registration line, and each module connects the bus registration line to the bus registration line when a request to use the bus occurs. On condition that there is no bus use request signal from another module, a bus use request signal is output to the corresponding bus registration line, and if the busy line is on, it waits until it becomes off, and then the bus is turned off. In this case, an on signal is output to the busy line, and a priority signal unique to the own module is sent to the system bus, and based on the state of the signal appearing on the system bus, the competing module has a higher priority than the own module. The presence or absence of a module is determined, and the module determined to be at the highest level executes processing using the above-mentioned common bus and stops outputting the above-mentioned bus use request signal and busy signal at the end of processing. A common bus control method for a compound computer system, characterized in that each module that has been determined to have the same status waits until the busy line is turned off again and then repeats the operation for determining the priority order.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2950583A JPS58155436A (en) | 1983-02-25 | 1983-02-25 | Common bus controlling system of composite computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2950583A JPS58155436A (en) | 1983-02-25 | 1983-02-25 | Common bus controlling system of composite computer system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58155436A JPS58155436A (en) | 1983-09-16 |
| JPS635788B2 true JPS635788B2 (en) | 1988-02-05 |
Family
ID=12277944
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2950583A Granted JPS58155436A (en) | 1983-02-25 | 1983-02-25 | Common bus controlling system of composite computer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58155436A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02118535U (en) * | 1989-03-11 | 1990-09-25 | ||
| JPH02251278A (en) * | 1989-06-07 | 1990-10-09 | Ono Sokki Co Ltd | Unbalanced weight rotation type vibration generator and vibration stimulation apparatus using the same |
-
1983
- 1983-02-25 JP JP2950583A patent/JPS58155436A/en active Granted
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02118535U (en) * | 1989-03-11 | 1990-09-25 | ||
| JPH02251278A (en) * | 1989-06-07 | 1990-10-09 | Ono Sokki Co Ltd | Unbalanced weight rotation type vibration generator and vibration stimulation apparatus using the same |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58155436A (en) | 1983-09-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5237567A (en) | Processor communication bus | |
| KR0153538B1 (en) | Bus arbitration architecture incorporating deadlock detection and masking | |
| CA1104226A (en) | Computer useful as a data network communications processor unit | |
| US5257356A (en) | Method of reducing wasted bus bandwidth due to slow responding slaves in a multiprocessor computer system | |
| US6718422B1 (en) | Enhanced bus arbiter utilizing variable priority and fairness | |
| US4417303A (en) | Multi-processor data communication bus structure | |
| US4363096A (en) | Arbitration controller providing for access of a common resource by a duplex plurality of central processing units | |
| JPS635788B2 (en) | ||
| US5423053A (en) | Device managing accessing priority to common resources, of functional modules divided over a plurality of local units in each of which they form of local daisy chain | |
| EP0577431B1 (en) | Method of resetting coupled modules and a system using the method | |
| JPH0562384B2 (en) | ||
| JP3278793B2 (en) | Bus arbitration method for redundant system and redundant system | |
| JPH039497B2 (en) | ||
| JPS6155704B2 (en) | ||
| JPH07319829A (en) | Method for transferring data | |
| JPS6126104B2 (en) | ||
| JPS61248153A (en) | Memory access controlling system in multiprocessor system | |
| JPH06301643A (en) | Bus arbitration circuit | |
| JPH0465417B2 (en) | ||
| JP2666782B2 (en) | Multiple bus control system | |
| JP2836591B2 (en) | Inter-processor bus transmission method and inter-processor bus transmission system | |
| JP2976358B2 (en) | Bus acquisition control method | |
| JPH0572619B2 (en) | ||
| JPH08297629A (en) | Bus repeater | |
| JPH04362761A (en) | Bus configuration system |