JPS63104163A - Bus sharing system - Google Patents

Bus sharing system

Info

Publication number
JPS63104163A
JPS63104163A JP25104986A JP25104986A JPS63104163A JP S63104163 A JPS63104163 A JP S63104163A JP 25104986 A JP25104986 A JP 25104986A JP 25104986 A JP25104986 A JP 25104986A JP S63104163 A JPS63104163 A JP S63104163A
Authority
JP
Japan
Prior art keywords
bus
signal
circuit block
request
circuit
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
JP25104986A
Other languages
Japanese (ja)
Inventor
Kazuhiro Kusuda
和弘 楠田
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 JP25104986A priority Critical patent/JPS63104163A/en
Publication of JPS63104163A publication Critical patent/JPS63104163A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/368Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control
    • G06F13/374Handling 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)
  • Bus Control (AREA)

Abstract

PURPOSE:To turn on the bus using request signal of a circuit block having high priority by using a wired OR where the priority is decided previously with the bus using request signal of each circuit block having longer ON time set with higher priority defined as an input and the bus busy display signal defined as an output respectively and checking the bus busy display signal through an OFF state secured for a fixed time after the ON state of a prescribed period. CONSTITUTION:The higher priorities are successively set to circuit blocks 1-4 in case of the conflict mode of bus using requests. The On times of bus using request signals 6-9 are set longer as T1<T2<T3<T4 with the circuit blocks of higher priorities. The circuit blocks 1 and 3 confirms OFf of a bus busy display signal 10 and turns on signals 6 and 8. The signal 8 has a longer ON time than the signal 6 and therefore an ON state is maintained for circuit blocks even though the signal 10 is checked after the signal 6 is turned off. The circuit 3 is turned on again and uses a bus 5 since the signal 10 is turned off and it is known that no bus request is received from the circuit blocks of higher priorities.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数の回路ブロックがバスを共有するバス共有
システムに間し、特にバスの使用権の制御方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus sharing system in which a plurality of circuit blocks share a bus, and particularly to a control system for bus usage rights.

〔従来の技術〕[Conventional technology]

従来、この種のバス共有システムでは、バス使用権を獲
得する方法として、バス使用要求元ごとに、バス使用要
求信号とそれに対するアクノリッジ信号を備えでおり、
バス制御部が複数の要求信号を管理してアクノリッジ信
号をかえすことによりバス使用権の制御を行なっていた
Conventionally, in this type of bus sharing system, as a method of acquiring bus usage rights, each bus usage request source is provided with a bus usage request signal and an acknowledge signal for the bus usage request signal.
The bus control unit controls the right to use the bus by managing a plurality of request signals and returning an acknowledge signal.

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

上述した従来のバス共有システムでは、バス使用要求信
号とアクノリッジ信号の対がバス使用要求元の数たけ必
要となるために、バス使用要求元が増大するにつれで信
号線がふえてしまったり、バス要求元ごとに、パッケー
ジ化したシステムにおいでは通常実装スロットによって
バス使用要求の優先度が一意に決まってしまうという欠
点がある。
In the conventional bus sharing system described above, as many pairs of bus request signals and acknowledge signals as there are bus request sources are required, so as the number of bus request sources increases, the number of signal lines increases and the number of bus request signals increases. In a packaged system, the priority of bus usage requests is usually uniquely determined by the mounting slot for each request source.

(問題点を解決するための手段) 本発明のバス共有システムは、各回路ブロックのバス使
用要求が競合したときの優先順位が予め決められ、各回
路ブロックはバス使用中表示信号を入力するとともに、
バス使用要求時、バス使用要求信号を一定時間オンとし
て出力する手段を有し、バス使用要求信号のオン時間は
回路ブロック毎に異なり、かつ優先順位の高い回路ブロ
ック稈長く設定され、各回路ブロックのバス使用要求信
号を入力とし、バス使用中表示信号を出力とするワイヤ
ードORが設けられ、各回路ブロックはバス使用要求時
、バス使用中表示信号のオフを確認後、バス使用要求信
号を所定の時間オンとし、その後一定時間オフとしてバ
ス使用中表示信号をチェックし、オフであれば自回路ブ
ロックよりイi先度の高い他の回路からのバス使用要求
がないと判断して、再度バス使用要求信号をオンしてバ
スを使用し、バス使用中表示信号がオンであれば、自回
路ブロックよりも優先度の高い回路ブロックがバス使用
要求を行なっていると判断し、バスの使用を行なわない
手段を有する。
(Means for Solving the Problems) In the bus sharing system of the present invention, priority is determined in advance when bus use requests of each circuit block compete, and each circuit block inputs a bus use indication signal and ,
When a bus use request is made, the bus use request signal is turned on for a certain period of time and outputted. A wired OR is provided that inputs the bus use request signal and outputs the bus use indication signal.When requesting bus use, each circuit block outputs the bus use request signal after confirming that the bus use indication signal is off. The bus is turned on for a certain period of time, and then turned off for a certain period of time to check the bus in-use display signal. If it is off, it is determined that there is no request to use the bus from another circuit with a higher priority than its own circuit block, and the bus is turned off again. If the use request signal is turned on to use the bus, and the bus-in-use display signal is turned on, it is determined that a circuit block with a higher priority than its own circuit block is requesting the use of the bus, and the bus is not used. have the means not to do so.

〔実施例〕〔Example〕

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

第1図は本発明のバス共有システムの一実施例のブロッ
ク図、第2図、第3図は本実施例におけるバス5の使用
を行なうまでの手順を示すタイムチャートである。
FIG. 1 is a block diagram of an embodiment of the bus sharing system of the present invention, and FIGS. 2 and 3 are time charts showing the procedure up to the use of the bus 5 in this embodiment.

本実施例は4つの回路1.2,3.4とバス5で構成さ
れている。各回路ブロック1〜4のバス使用要求が競合
したときの優先順位は回路ブロック1,2,3.4の順
に高く設定されている。各回路ブロック1〜4はバス使
用中表示信号10を入力するとともに、バス使用要求時
、バス使用要求信号6.7,8.9をそれぞれ一定時間
T1゜T2.T3.T4オンとして出力するようになっ
ている。このバス使用要求信号6,7,8.9のオン時
間T+ 、T2.T3.T4はT宜くT、〈TjくT4
となるように、つまり優先順位が高い回路ブロック稈長
くなるように設定されている。
This embodiment is composed of four circuits 1.2, 3.4 and a bus 5. When bus usage requests of circuit blocks 1 to 4 compete, the priority order is set in the order of circuit blocks 1, 2, 3, 4, and 4. Each of the circuit blocks 1 to 4 inputs the bus use indication signal 10, and also sends the bus use request signals 6.7, 8.9 for a certain period of time T1 to T2, respectively, when requesting the use of the bus. T3. It is designed to output as T4 on. The on-times of the bus use request signals 6, 7, 8.9 are T+, T2 . T3. T4 is T, 〈TjkuT4
In other words, the circuit blocks with higher priority are set to be longer.

また、各回路ブロック1〜4の出力にオーブンコレクタ
が設けられてワイヤードORの構成がとられ、バス使用
中表示信号10はバス使用要求信号6〜9の論理和によ
り得られる。
Further, an oven collector is provided at the output of each circuit block 1 to 4 to form a wired OR configuration, and the bus use indication signal 10 is obtained by the logical sum of the bus use request signals 6 to 9.

次に、本実施例の動作を第2図、第3図により説明する
Next, the operation of this embodiment will be explained with reference to FIGS. 2 and 3.

(1)回路ブロック1のみがバス使用要求を出した場合
(第2図)0回路ブロック1はまず、バス使用中表示信
号100オフを確認後、バス使用要求信号6を時間TI
オンとする。その後、バス使用要求信号6を時間T0オ
フとしながらバス使用要中表示信号10をチェックする
。この場合、バス使用中表示信号10がオフであるので
自分より優先度の高い他の回路ブロックからのバス使用
要求がないと判断し、バス使用要求信号6再度をオンと
しながらバス5の使用を行なう、この間、バス使用中表
示信号10がオンとなるため他の回路ブロック2〜4は
バス51Fr使用することができない。
(1) When only circuit block 1 issues a bus use request (Figure 2) Circuit block 0 first confirms that the bus use indication signal 100 is OFF, and then transmits the bus use request signal 6 to the time TI.
Turn on. Thereafter, while the bus use request signal 6 is turned off for a time T0, the bus use indication signal 10 is checked. In this case, since the bus in-use display signal 10 is off, it is determined that there is no bus use request from another circuit block with a higher priority than itself, and the bus 5 is used while the bus use request signal 6 is turned on again. During this time, the other circuit blocks 2 to 4 cannot use the bus 51Fr because the bus in use display signal 10 is on.

(2)回路ブロック1と3のバス使用要求が競合した場
合(第3図)0回路ブロック1と3はバス使用中表示信
号10のオフを確認後、バス使用要求信号6と8をそれ
ぞれオンとする。この時、回路ブロック3のバス使用要
求信号8のオン時間T3は回路ブロック3のバス使用要
求信号6のオン時間より長くなっている。したがって、
回路ブロック1はバス使用要求信号6をオフとしてバス
使用中表示信号10をチェックしてもオン状態であるた
め、優先度の高い他のブロック2〜4がバス使用要求を
行なっていることがわかりバス5の使用は行なわない、
一方、回路ブロック3はバス使用要求信号8をオフとす
るとバス使用中表示信号10がオフ状態となり、自分よ
り優先度の高い他のブロックからのバス要求がないこと
がわかり、バス使用要求信号8を再度オンとしながらバ
ス5の使用を行なう。
(2) When the bus use requests of circuit blocks 1 and 3 conflict (Figure 3) 0 circuit blocks 1 and 3 turn on the bus use request signals 6 and 8, respectively, after confirming that the bus use indication signal 10 is off. shall be. At this time, the on time T3 of the bus use request signal 8 of the circuit block 3 is longer than the on time of the bus use request signal 6 of the circuit block 3. therefore,
Since circuit block 1 remains on even if the bus use request signal 6 is turned off and the bus use indication signal 10 is checked, it can be seen that other blocks 2 to 4 with higher priority are making bus use requests. Bus 5 will not be used.
On the other hand, when the circuit block 3 turns off the bus use request signal 8, the bus use indication signal 10 turns off, indicating that there is no bus request from another block with a higher priority than the circuit block 3, and the bus use request signal 8 turns off. Use bus 5 while turning on again.

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

以上説明したように本発明は、バス使用権の制御を回路
ブロックそれぞれの出力信号(バス使用要求信号)と金
回路ブロック共通の入力信号(バス使用中表示信号)の
みて実現することにより、パッケージ等の実装位ゴに制
約がないだけでなく、バス要求の優先度も平滑化される
効果がある。
As explained above, the present invention realizes bus usage right control using only the output signal of each circuit block (bus usage request signal) and the input signal common to the circuit blocks (bus usage indication signal). Not only is there no restriction on the implementation location, but the priority of bus requests is also smoothed.

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

第1図は本発明のバス共有システムの一実施例のブロッ
ク図、第2図、第3図は本実施例におけるバス5の使用
を行なうまでの手順を示すタイムチャートである。 1.2,3.4・・・・・・回路ブロック、 5・・・
・・・バス、6.7,8.9・・・・・・バス使用要求
信号、10・・・・・・・・・・・・・・・バス使用中
表示信号。 第1図
FIG. 1 is a block diagram of an embodiment of the bus sharing system of the present invention, and FIGS. 2 and 3 are time charts showing the procedure up to the use of the bus 5 in this embodiment. 1.2, 3.4...Circuit block, 5...
... Bus, 6.7, 8.9 ... Bus use request signal, 10 ... Bus use display signal. Figure 1

Claims (1)

【特許請求の範囲】 複数の回路ブロックがバスを共有するバス共有システム
において、 各回路ブロックのバス使用要求が競合したときの優先順
位が予め決められ、 各回路ブロックはバス使用中表示信号を入力するととも
に、バス使用要求時、バス使用要求信号を一定時間オン
として出力する手段を有し、バス使用要求信号のオン時
間は回路ブロック毎に異なり、かつ優先順位の高い回路
ブロック程長く設定され、 各回路ブロックのバス使用要求信号を入力とし、バス使
用中表示信号を出力とするワイヤードORが設けられ、 各回路ブロックはバス使用要求時、バス使用中表示信号
のオフを確認後、バス使用要求信号を所定の時間オンと
し、その後一定時間オフとしてバス使用中表示信号をチ
ェックし、オフであれば自回路ブロックより優先度の高
い他の回路からのバス使用要求がないと判断して、再度
バス使用要求信号をオンしてバスを使用し、バス使用中
表示信号がオンであれば、自回路ブロックよりも優先度
の高い回路ブロックがバス使用要求を行なっていると判
断し、バスの使用を行なわない手段を有することを特徴
とするバス共有システム。
[Claims] In a bus sharing system in which a plurality of circuit blocks share a bus, priority is determined in advance when bus use requests of each circuit block compete, and each circuit block receives a bus use indication signal. In addition, when a bus use request is made, the bus use request signal is output as being on for a certain period of time, and the on time of the bus use request signal is different for each circuit block, and is set longer for a circuit block with a higher priority. A wired OR is provided that inputs the bus use request signal of each circuit block and outputs the bus use indication signal.When each circuit block requests bus use, after confirming that the bus use indication signal is off, it requests bus use. The signal is turned on for a predetermined period of time, then turned off for a certain period of time, and the bus in-use display signal is checked. If it is turned off, it is determined that there is no request to use the bus from another circuit with a higher priority than the own circuit block, and the circuit is turned off again. If the bus is used by turning on the bus use request signal, and the bus in use display signal is on, it is determined that a circuit block with a higher priority than its own circuit block is making a bus use request, and the bus is used. A bus sharing system characterized by having means for not performing.
JP25104986A 1986-10-21 1986-10-21 Bus sharing system Pending JPS63104163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25104986A JPS63104163A (en) 1986-10-21 1986-10-21 Bus sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25104986A JPS63104163A (en) 1986-10-21 1986-10-21 Bus sharing system

Publications (1)

Publication Number Publication Date
JPS63104163A true JPS63104163A (en) 1988-05-09

Family

ID=17216854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25104986A Pending JPS63104163A (en) 1986-10-21 1986-10-21 Bus sharing system

Country Status (1)

Country Link
JP (1) JPS63104163A (en)

Similar Documents

Publication Publication Date Title
JP2986176B2 (en) Bus right control system and bus system
JPS63104163A (en) Bus sharing system
JPS5836381B2 (en) shared memory controller
JPH0310355A (en) Common bus priority control method
JPS6019819B2 (en) Bus right control method
JP2742135B2 (en) Bus arbitration equipment
JPH0433065B2 (en)
JPH0227461A (en) Data transfer controller
JPS61264463A (en) Bus controlling system
JP2677657B2 (en) Bus control method
JP2714163B2 (en) Bus control method
JPH04308955A (en) Multiprocessor device
JPS63231662A (en) Bus control circuit
JPH0434187B2 (en)
JPH043239A (en) Bus controller
JPH06161951A (en) Bus control system
JPH01205365A (en) Bus acquisition control system
JPH0587647U (en) Bus arbitration circuit
JPH03137754A (en) Access control system for shared memory
JPS61210463A (en) Data transfer control system
JPH04106651A (en) Controller for system bus
JPS62226258A (en) Bus control system
JPS6133560A (en) Data transfer circuit
JPH03252847A (en) System bus arbitrating system
JPS58203563A (en) System for controlling assignment of priority of right