JPH01134653A - Priority control system for common bus - Google Patents

Priority control system for common bus

Info

Publication number
JPH01134653A
JPH01134653A JP29329687A JP29329687A JPH01134653A JP H01134653 A JPH01134653 A JP H01134653A JP 29329687 A JP29329687 A JP 29329687A JP 29329687 A JP29329687 A JP 29329687A JP H01134653 A JPH01134653 A JP H01134653A
Authority
JP
Japan
Prior art keywords
bus
priority
shared
signal line
masters
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
JP29329687A
Other languages
Japanese (ja)
Inventor
Tetsuya Fukuda
哲也 福田
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 JP29329687A priority Critical patent/JPH01134653A/en
Publication of JPH01134653A publication Critical patent/JPH01134653A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To change a priority even when a system is operated by controlling the contents of the internal registers of respective bus masters freely changeably through a busmaster having the highest priority in the system in which plural bus masters are connected to a common bus. CONSTITUTION:To a common bus 10, correspondingly to respective plural microprocessors, bus masters 8-0-8-N are connected, to which internal registers 6 are also provided besides bus requesting signal selecting circuits 4, bus priority signal selecting circuits 5, and bus arbitrating circuits 7. Thereafter, for example, when the content of the register 6 of a bus master 8-0 is set correspondingly to the highest priority at the time when the system is risen with the bus master 8-0, the value is still held even when the system is operated after the power is turned on, and the bus master 8-0 freely writes the contents of the internal registers of the other bus masters 8-1-8-N according to their priorities which are respectively different through a data signal line 1 of the bus 10. As the result, the priority can be changed desirably even when the system is operated.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はマイクロプロセサから成るシステムに関し1%
に複数のマイクロプロセサから成るシステムにおける共
有バスのバス調停方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a system consisting of a microprocessor.
This paper relates to a bus arbitration method for a shared bus in a system consisting of multiple microprocessors.

(従来の技術) 従来、この株の共有バスのバス要求の優先順位は、バス
マスタのボード上でのデイツプスイッチやユニットのバ
ックボードによって固定的に決定されてお9.41E源
投入時のバス要求の優先順位は変更できなかった。
(Prior Art) Conventionally, the priority of bus requests for this type of shared bus has been fixedly determined by a deep switch on the bus master board or the backboard of the unit. Request priority could not be changed.

(発明が解決しようとする問題点) 上述した従来技術による共有バスの優先順位制御方式で
は、共有バスのバス要求の優先順位が電源投入時で決定
され、システム稼動中に優先順位を変更することができ
ないと云う欠点があつ念。
(Problems to be Solved by the Invention) In the prior art shared bus priority control method described above, the priority of bus requests for the shared bus is determined when the power is turned on, and the priority cannot be changed while the system is running. I'm afraid the drawback is that it cannot be done.

本発明の目的は、共有バスに複数のバスマスタラ接続し
たシステムにおいて、各バスマスタにお論てはバス調停
からのバス要求信号全内部レジスタ内容に対応する共有
バスのバス要求信号線に送出、し、内部レジスタの内容
に対応する共有バス優先度信号ケバス調停のバス優先度
信号として与え、システム立上げ時に内部レジスタ内容
全共有バスのバス要求が最も高い状態になるように設定
してシステム稼動中にはその値を保持しておき、他のバ
スマスタの内部レジスタの内容?共有バスのデータ信号
線を介して書換え、各バスマスタの優先順位?制御する
ことにより上記欠点を除去し、システム稼動中にも優先
順位を変更できるように構成した共有バスの優先順位制
御方式全提供することにある。
An object of the present invention is to, in a system in which a plurality of bus masters are connected to a shared bus, transmit a bus request signal from bus arbitration to the bus request signal line of the shared bus corresponding to the contents of all internal registers to each bus master; A shared bus priority signal corresponding to the contents of an internal register is given as a bus priority signal for bus arbitration, and the contents of the internal register are set at the time of system startup so that the bus request for all shared buses is in the highest state. Is the content of the other bus master's internal registers retaining that value? Rewriting via shared bus data signal line, priority of each bus master? The object of the present invention is to provide an entire shared bus priority control method that eliminates the above-mentioned drawbacks by controlling the priority order and allows the priority order to be changed even during system operation.

(問題点全解決する九めの手段) 本発明による共有バスの優先順位制御方式は複数のバス
マスタと、データ信号線、バス要求信号線、ならびにバ
ス優先度信号線より成る共有バスとを備えたものであっ
て、各バスマスタはバス要求信号選択回路と、バス優先
度信号選択回路と、内部レジスタと、バス調停回路とを
具備して構成したものである。
(Ninth Means to Solve All Problems) The shared bus priority control system according to the present invention includes a plurality of bus masters and a shared bus consisting of a data signal line, a bus request signal line, and a bus priority signal line. Each bus master includes a bus request signal selection circuit, a bus priority signal selection circuit, an internal register, and a bus arbitration circuit.

バス要求信号選択回路は、バス要求信号全共有バスのバ
ス要求信号線に入出力するためのものである。
The bus request signal selection circuit is for inputting and outputting bus request signals to and from the bus request signal line of the all-shared bus.

バス優先度信号選択回路は、優先度に対応する共有バス
優先度信号全バス優先度信号線に入出力するためのもの
である。
The bus priority signal selection circuit is for inputting/outputting a shared bus priority signal corresponding to the priority to/from all bus priority signal lines.

内部レジスタは、バス要求信号およびバス優先度信号に
対応し九内容全セットしておくためのものである。
The internal register is used to set all nine contents corresponding to the bus request signal and the bus priority signal.

バス調停回路は、システム立上げ時に内部レジスゲの内
容全共有バスのバス要求が最も高い状態になるように設
定し、システム稼動中には上記設定され之値全保持する
とともに他のバスマスタの内部レジスタの内容を共有バ
スのデータ信号線を介して書換え、優先順位を制御する
tめのものである。
The bus arbitration circuit sets the contents of the internal register register so that the bus request for all shared buses is at its highest level when the system is started up, and while the system is running, it retains all the values set above and uses the internal registers of other bus masters. This is the tth system that rewrites the contents of the data via the data signal line of the shared bus and controls the priority order.

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

第1図は、本発明による共有バスの優先順位制御方式の
一実施例を示すブーツク図である。
FIG. 1 is a boot diagram showing an embodiment of a shared bus priority control method according to the present invention.

第1図において、10は共有バス、1は共有バス10の
データ信号線、2は共有バス10のバス要求信号線% 
3は共有バス10のバス優先度信号線、4はバス要求信
号選択回路%5Uバス優先度信号選択回路、6Fi内部
レジスタ% 7はバス調停回路、8−0.8−Nはそれ
ぞれバスマスタである。
In FIG. 1, 10 is a shared bus, 1 is a data signal line of the shared bus 10, and 2 is a bus request signal line of the shared bus 10.
3 is a bus priority signal line of the shared bus 10, 4 is a bus request signal selection circuit, 5U bus priority signal selection circuit, 6Fi internal register, 7 is a bus arbitration circuit, and 8-0.8-N are bus masters, respectively. .

共有バス10はデータ信号線1と、バス要求信号線2と
、バス優先度信号線3とを具備したものである。
The shared bus 10 includes a data signal line 1, a bus request signal line 2, and a bus priority signal line 3.

バスマスタ8−0.8−Nはいずれも同様な構成であり
、−バスマスク8−0はバス要求信号選択回路4と、バ
ス優先度信号選択回路5と。
The bus masters 8-0.8-N have the same configuration, and the bus mask 8-0 includes a bus request signal selection circuit 4 and a bus priority signal selection circuit 5.

内部レジスタ6と、バス調停回路7とを具備して構成し
たものである。
It has an internal register 6 and a bus arbitration circuit 7.

例えハ、バスマスタ8−0によってシステム金立上げる
ときに、共有バス10のノくス要求が最も高い状態にな
る値に内部レジスタ6の内容を設定し、システム稼動中
にはその値を保持する。バスマスタs −o ハ共有ハ
ス10のデータ信号線1全通し、他のバスマスタの内部
レジスタに対してそれぞれ異つ之優先履位金表わす値を
書込む。バスマスタ8−0のバス要求信号選択回路5は
、内部レジスタ6の値に対応してノ(ス要求信号線2t
−バス調停回路7から共有)くス10のバス要求信号線
2に接続する。
For example, when the bus master 8-0 starts up the system, the contents of the internal register 6 are set to a value that makes the shared bus 10's bus request the highest, and this value is held while the system is running. The bus master s-o writes values representing different priority values to the internal registers of other bus masters through all the data signal lines 1 of the shared bus 10. The bus request signal selection circuit 5 of the bus master 8-0 selects the bus request signal line 2t corresponding to the value of the internal register 6.
- Connected to the bus request signal line 2 of the bus 10 (shared from the bus arbitration circuit 7).

共有バス10のバス優先度信号線3のうち、内部レジス
タに対応する共有バス10のノ(ス優先度信号線をバス
調停回路7の)々ス優先度入力信号線に接続する。バス
マスタ8−0は、システム稼動中に他のバスマスクの内
部レジスタの内容を書換えることにより、バスマスタの
共有バス10のバス要求優先順位全変更することができ
る。
Among the bus priority signal lines 3 of the shared bus 10, the bus priority signal lines of the shared bus 10 corresponding to the internal registers are connected to bus priority input signal lines of the bus arbitration circuit 7. By rewriting the contents of the internal registers of other bus masks during system operation, the bus master 8-0 can completely change the bus request priority of the shared bus 10 of the bus master.

(発明の効果) 以上説明したように本発明は、共有バスに複数のバスマ
スタを接続したシステムにおいて。
(Effects of the Invention) As described above, the present invention provides a system in which a plurality of bus masters are connected to a shared bus.

各バスマスタにおいてはバス調停からのバス要求信号を
内部レジスタ内容に対応する共有バスのバス要求信号線
に送出し、内部レジスタの内容に対応する共有バス優先
度信号をバス調停のバス優先度信号として与え、システ
ム立上げ時に内部レジスタ内容を共有バスのバス要求が
最も高い状態になるように設定してシステム稼動中には
その値を保持しておき、他のバスマスタの内部レジスタ
の内容を共有バスのデータ信号線を介して書換え、各バ
スマスタの優先順位を制御することにより、バスマスク
の共有バスのバス要求優先順位を変更できると云う効果
がある。
Each bus master sends the bus request signal from bus arbitration to the bus request signal line of the shared bus corresponding to the contents of the internal register, and uses the shared bus priority signal corresponding to the contents of the internal register as the bus priority signal for bus arbitration. Set the internal register contents at system startup so that the shared bus has the highest bus demand, hold that value while the system is running, and set the contents of the internal registers of other bus masters so that the shared bus has the highest bus demand. By controlling the priority order of each bus master by rewriting via the data signal line of the bus mask, there is an effect that the bus request priority order of the shared bus of the bus mask can be changed.

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

第1図は1本発明による共有バスの優先順位制御方式の
一実施例を示すブロック図である。 1〜3・・・信号線 4・・・バス要求信号選択回路 5・・・バス優先度信号選択回路 6・・・内部レジスタ 7・・・バス調停回路 8・・・バスマスタ 10・・・共有バス 特許出願人  日本電気株式会社
FIG. 1 is a block diagram showing an embodiment of a shared bus priority control system according to the present invention. 1 to 3... Signal line 4... Bus request signal selection circuit 5... Bus priority signal selection circuit 6... Internal register 7... Bus arbitration circuit 8... Bus master 10... Shared Bus patent applicant NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] 複数のバスマスタと、データ信号線、バス要求信号線、
ならびにバス優先度信号線より成る共有バスとを備えた
共通バスの優先順位制御方式であつて、前記各バスマス
タはバス要求信号を前記共有バスのバス要求信号線に入
出力するためのバス要求信号選択回路と、優先度に対応
する共有バス優先度信号を前記バス優先度信号線に入出
力するためのバス優先度信号選択回路と、前記バス要求
信号および前記バス優先度信号に対応した内容をセット
しておくための内部レジスタと、システム立上げ時に前
記内部レジスタの内容を前記共有バスのバス要求が最も
高い状態になるように設定し、システム稼動中には前記
設定された値を保持するとともに他のバスマスタの内部
レジスタの内容を前記共有バスの前記データ信号線を介
して書換え、優先順位を制御するためのバス調停回路と
を具備して構成したことを特徴とする共有バスの優先順
位制御方式。
Multiple bus masters, data signal lines, bus request signal lines,
and a shared bus consisting of a bus priority signal line, wherein each bus master inputs/outputs a bus request signal to/from a bus request signal line of the shared bus. a selection circuit; a bus priority signal selection circuit for inputting and outputting a shared bus priority signal corresponding to the priority to the bus priority signal line; and a bus priority signal selection circuit for inputting and outputting a shared bus priority signal corresponding to the priority to the bus priority signal line; an internal register to be set, and the contents of the internal register are set at the time of system startup so that the bus request for the shared bus is in the highest state, and the set value is maintained while the system is running. and a bus arbitration circuit for rewriting the contents of internal registers of other bus masters via the data signal line of the shared bus and controlling the priority order of the shared bus. control method.
JP29329687A 1987-11-20 1987-11-20 Priority control system for common bus Pending JPH01134653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29329687A JPH01134653A (en) 1987-11-20 1987-11-20 Priority control system for common bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29329687A JPH01134653A (en) 1987-11-20 1987-11-20 Priority control system for common bus

Publications (1)

Publication Number Publication Date
JPH01134653A true JPH01134653A (en) 1989-05-26

Family

ID=17792996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29329687A Pending JPH01134653A (en) 1987-11-20 1987-11-20 Priority control system for common bus

Country Status (1)

Country Link
JP (1) JPH01134653A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011113516A (en) * 2009-11-30 2011-06-09 National Institute Of Advanced Industrial Science & Technology Lsi chip lamination system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011113516A (en) * 2009-11-30 2011-06-09 National Institute Of Advanced Industrial Science & Technology Lsi chip lamination system

Similar Documents

Publication Publication Date Title
US5420985A (en) Bus arbiter system and method utilizing hardware and software which is capable of operation in distributed mode or central mode
EP0155443B1 (en) Microocomputer data processing systems permitting bus control by peripheral processing devices
EP1293891A3 (en) Arithmetic processor
JPH0268632A (en) Interruption controller
JPH056223B2 (en)
JPS6133225B2 (en)
JP3144842B2 (en) Microprocessor
JPH01134653A (en) Priority control system for common bus
JPH11120115A (en) Pci bus interrput steering circuit
JPH05282242A (en) Bus control system
JP3045389B1 (en) Geometry engine and parallel drawing processing device having the same
JPS63175964A (en) shared memory
JP2705955B2 (en) Parallel information processing device
KR930022207A (en) Master / Slave Memory Sharing Device and Sharing Control Method
JP2612715B2 (en) Address bus controller
JPS62127962A (en) Microcomputer
JP3211694B2 (en) Multiprocessor connection method
JPH0374751A (en) Input/output controller
JP2783866B2 (en) Bus control method
JPH05250314A (en) Information processor
JPH05159042A (en) Picture processor
JPH0488459A (en) Information processor
JPH01125150A (en) Line communication control system
JPS6097461A (en) Data bus control circuit
JPH0814815B2 (en) Processing speed setting method