JPS63231662A - Bus control circuit - Google Patents

Bus control circuit

Info

Publication number
JPS63231662A
JPS63231662A JP6594087A JP6594087A JPS63231662A JP S63231662 A JPS63231662 A JP S63231662A JP 6594087 A JP6594087 A JP 6594087A JP 6594087 A JP6594087 A JP 6594087A JP S63231662 A JPS63231662 A JP S63231662A
Authority
JP
Japan
Prior art keywords
bus
priority
timer
master
time
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
JP6594087A
Other languages
Japanese (ja)
Inventor
Satoshi Tomono
伴野 聡
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 JP6594087A priority Critical patent/JPS63231662A/en
Publication of JPS63231662A publication Critical patent/JPS63231662A/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

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 enable a port having a lower priority level of bus use right to use a bus within a prescribed time by temporarily setting a high priority level to this port if this port cannot use the bus over the prescribed time. CONSTITUTION:A bus control circuit 1 is provided with a timer 5, a timer 6, a priority control circuit 7, and a bus use permission signal generating circuit 8. A bus master 2, a bus master 3, and a bus master 4 have the highest priority level, the lower priority level, and the lowest priority level of bus use right respectively. The time of expiration of the timer 5 is set to T2 shorter than a timer T1 for the purpose of securing the maximum time T1 required for validation of a bus use permission signal (d) after the time when the bus master 3 validates a bus request signal (c). The time of expiration of the timer 6 is set to T4 shorter than T3 for the purpose of securing the maximum time T3 required for validation of a bus use permission signal (f) after the time when the bus master 4 validates a bus request signal (e).

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数のバス・マスタを有する系のバス制御手
段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to bus control means for a system having a plurality of bus masters.

〔概 要〕〔overview〕

本発明は、バスに接続された複数のポートに対しバスの
使用権を与えるバス制御回路において、バス使用権のプ
ライオリティが低いポートが所定時間の経過にもかかわ
らずバスを使用できないときに、このポートに一時的に
高いプライオリティを設定することにより、 プライオリティの低いポートが所定時間内にバスを利用
することができるようにしたものである。
The present invention provides a bus control circuit that grants bus usage rights to a plurality of ports connected to a bus, when a port with a lower priority for bus usage rights is unable to use the bus despite the passage of a predetermined time. By temporarily setting a high priority to a port, a port with a low priority can use the bus within a predetermined time.

〔従来の技術〕[Conventional technology]

従来、この種の系のバス使用権のプライオリティ制御に
は固定プライオリティ制御や回転プライオリティ制御が
あった。
Conventionally, priority control of bus usage rights in this type of system has been fixed priority control or rotating priority control.

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

まず、固定プライオリティ制御の場合には、高いプライ
オリティのバス・マスタからバスの使用要求が連続した
ときに、低いプライオリティのバス・マスタはバスを獲
得できず、このバス・マスタによる処理が停止する欠点
がある。また、回転プライオリティ制御の場合には、プ
ライオリティに高低がないので、緊急性の高いバス・マ
スタと低いバス・マスタが対等に扱われ、したがって緊
急性の高いバス・マスタの処理が遅れる欠点がある。
First, in the case of fixed priority control, when a bus master with a high priority continuously requests the use of the bus, a bus master with a low priority cannot acquire the bus, and processing by this bus master stops. There is. In addition, in the case of rotating priority control, there is no priority level, so bus masters with high urgency and bus masters with low urgency are treated equally, which has the disadvantage that the processing of bus masters with high urgency may be delayed. .

本発明は、このような欠点を除去するもので、バス使用
権について低いプライオリティのバス・マスタが緊急性
の高いバス・マスタの処理を遅らすことなく、バスの使
用権を獲得することができるバス制御回路を提供するこ
とを目的とする。
The present invention eliminates these drawbacks and provides a bus in which a bus master with a lower priority can acquire the right to use the bus without delaying the processing of a bus master with a higher priority. The purpose is to provide a control circuit.

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

本発明は、バス・マスタ手段を有し、バスに接続された
ポートに結合され、このバス・マスタ手段のそれぞれに
異なるレベルのプライオリティの付されたバス使用権を
設定する手段を備えたバス制御回路において、低位のレ
ベルのプライオリティの付されたバス使用権が設定され
たバス・マスタ手段の上記バスに対する使用要求が所定
時間内に満足されなかったことを確認するタイマ手段と
、このタイマ手段の出力に基づき、上記低位のレベルの
プライオリティの付されたバス使用権が設定されたバス
・マスタ手段に対して一時的に高位のレベルのプライオ
リティの付されたバス使用権を設定する手段とを備えた
ことを特徴とする。
The present invention provides a bus control system having bus master means, coupled to a port connected to a bus, and comprising means for setting bus usage rights assigned different levels of priority to each of the bus master means. The circuit includes timer means for ascertaining that a request for use of the bus by the bus master means to which the right to use the bus with a lower level of priority has been set has not been satisfied within a predetermined time; and means for temporarily setting a bus use right assigned a higher level priority to the bus master means to which the bus use right assigned a lower level priority is set based on the output. It is characterized by:

〔作 用〕[For production]

プライオリティの低いバス・マスタがバスを要求してか
らこのバス・マスタが一定時間経てもバスを獲得できな
かったときに、タイマからタイム・アウト信号が出力さ
れる。タイム・アウトになったバス・マスタのプライオ
リティは一時的に一番高いプライオリティに設定され、
バスの使用権を獲得する。
A timeout signal is output from the timer when a lower priority bus master requests the bus and the bus master fails to acquire the bus within a certain period of time. The priority of the bus master that times out is temporarily set to the highest priority.
Obtain the right to use the bus.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例の構成を示すブロック構成図
である。この実施例は、バス制御回路1と、システム・
バス10と、このシステム・バス10に接続されたバス
・マスタ2.3および4とを備える。第2図は本発明の
バス制御回路1の構成図である。このバス制御回路1は
、タイマ5と、タイマ6と、プライオリティ制御回路7
と、バス使用許可信号発生回路8とを備える。ここで、
バス使用権のプライオリティはバス・マスタ2が一番高
<、次にバス・マスタ3が高く、バス・マスタ4が一番
低く設定されている。また、タイマ5のタイム・アウト
時間をバス・マスタ3がバス要求信号Cを有効にしてか
らバス使用許可信号dが有効になるまでの最大時間T1
を保証するためにT1より短いT2とし、また、タイマ
6のタイム・アウト時間を、バス・マスタ4がバス要求
信号eを有効にしてからバス使用許可信号fが有効にな
るまでの最大時間T、を保証するために、T、より短い
T4とする。
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. This embodiment includes a bus control circuit 1 and a system
It comprises a bus 10 and bus masters 2.3 and 4 connected to the system bus 10. FIG. 2 is a configuration diagram of the bus control circuit 1 of the present invention. This bus control circuit 1 includes a timer 5, a timer 6, and a priority control circuit 7.
and a bus use permission signal generation circuit 8. here,
Bus master 2 has the highest priority for bus usage rights, bus master 3 has the next highest priority, and bus master 4 has the lowest priority. Also, the timeout time of the timer 5 is the maximum time T1 from when the bus master 3 validates the bus request signal C until when the bus permission signal d becomes valid.
In addition, the timeout time of timer 6 is set to T2, which is shorter than T1, in order to guarantee that , let T be shorter than T4.

さて、・バス・マスタ2がバス要求信号aを有効にする
と、バス制御回路lでは、タイマ5のタイム・アウト信
号mおよびタイマ6のタイム・アウト信号nが有効でな
ければプライオリティ回路出力信号jが有効になり、バ
ス使用許可信号発生回路8でバス状態信号りを監視し、
使用されてなければバス使用許可信号すを有効にし、バ
ス・マスタ2にシステム・バス10の使用権を与える。
Now, when the bus master 2 makes the bus request signal a valid, the bus control circuit l outputs the priority circuit output signal j unless the time-out signal m of the timer 5 and the time-out signal n of the timer 6 are valid. is enabled, the bus use permission signal generation circuit 8 monitors the bus status signal, and
If the system bus 10 is not in use, the bus use permission signal is enabled to give the bus master 2 the right to use the system bus 10.

ここでタイマ5のタイム・アウト信号mまたはタイマ6
のタイム・アウト信号nが有効であればバス・マスタ3
またはバス・マスタ4のプライオリティが高くなり、バ
ス・マスタ3またはバス・マスタ4に使用権が与えられ
、タイム・アウト信号mおよびnが無効になるまで待た
される。次に、バス・マスタ3がバス要求信号Cを有効
にすると、バス制御回路lではバス・マスタ2からのバ
ス要求信号aおよびタイマ6のタイム・アウト信号nが
有効でなければプライオリティ回路出力信号kが有効に
なり、バス使用許可信号発生回路8でバス状態信号りを
監視し、使用されてなければバス使用許可信号dを有効
にし、バス・マスタ3にシステム・バス10の使用権を
与える。ここでタイム・アウト信号nが有効であればバ
ス・マスタのプライオリティが高くなり、バス・マスタ
4に使用権が与えられ、タイム・アウト信号nが無効に
なるまで待たされる。また、バス・マスタ2のバス要求
信号aが有効であればバス・マスタ2の方がプライオリ
ティが高いので、バス要求信号aが無効になるまで待た
されるが、バス・マスタ2からの要求が連続すれば、バ
ス・マスタ3は使用権がいつ与えられるか保証できない
。しかし、タイマ5はバス要求信号Cが有効になってか
ら時間T2後にタイム・アウトし、タイム・アウト信号
mを有効にする。タイム・アウト信号mが有効になると
、プライオリティ制御回路7はバス・マスタ2のバス要
求信号aが有効であっても信号jを無効にし、信号kを
有効にし、バス・マスタ3の方のプライオリティを高く
する。
Here, the timeout signal m of timer 5 or timer 6
bus master 3 if timeout signal n is valid.
Alternatively, the priority of bus master 4 becomes higher, bus master 3 or bus master 4 is given the right to use the bus, and is forced to wait until timeout signals m and n become invalid. Next, when the bus master 3 makes the bus request signal C valid, the bus control circuit 1 outputs a priority circuit output signal unless the bus request signal a from the bus master 2 and the time-out signal n of the timer 6 are valid. k becomes valid, the bus status signal is monitored by the bus use permission signal generation circuit 8, and if it is not being used, the bus use permission signal d is made valid, giving the bus master 3 the right to use the system bus 10. . If the time-out signal n is valid, the priority of the bus master becomes high, the bus master 4 is given the right to use the bus, and is made to wait until the time-out signal n becomes invalid. In addition, if bus master 2's bus request signal a is valid, bus master 2 has a higher priority, so it is forced to wait until bus request signal a becomes invalid, but if bus master 2's request continues Then, bus master 3 cannot guarantee when the right to use will be granted. However, the timer 5 times out after a time T2 after the bus request signal C becomes valid, and makes the time-out signal m valid. When the time-out signal m becomes valid, the priority control circuit 7 disables the signal j even if the bus request signal a of the bus master 2 is valid, enables the signal k, and sets the priority of the bus master 3. make it higher.

ハス・マスタ4のバス要求信号eが有効になった場合も
バス・マスタ3の場合と同様に動作する。
When the bus request signal e of the bus master 4 becomes valid, it operates in the same way as the bus master 3.

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

本発明は、以上説明したように、プライオリティの低い
バス・マスタからのバス要求が有効になってからこのバ
ス・マスタが一定時間経てもバスを獲得できなかったと
きにタイム・アウトするタイマと、そのタイマがタイム
・アウトになったときにこのバス・マスタのプライオリ
ティを一時的に一番高(するよう制御するプライオリテ
ィ制御回路とでバス制御回路が構成されているので、プ
ライオリティの低いバス・マスタが必要とする時間内に
バスの使用権を得ることができる効果がある。
As explained above, the present invention includes a timer that times out when a bus master with a lower priority has not been able to acquire the bus for a certain period of time after the bus request from the bus master becomes valid; The bus control circuit consists of a priority control circuit that temporarily sets the priority of this bus master to the highest when the timer times out, so the bus master with a lower priority This has the effect of allowing the user to obtain the right to use the bus within the required time.

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

第1図は、本発明実施例の全体構成図。 第2図は、本発明のバス制御回路の構成図。 1・・・バス制御1回!、2〜4・・・バス・マスタ、
5.6・・・タイマ、7・・・プライオリティ制御回路
、8・・・バス使用許可信号発生回路、10・・・シス
テム・バス。 lυ 実施例の構成 第1図 バス制御回路の構成 第2図
FIG. 1 is an overall configuration diagram of an embodiment of the present invention. FIG. 2 is a configuration diagram of the bus control circuit of the present invention. 1... Bus control once! , 2-4...bus master,
5.6...Timer, 7...Priority control circuit, 8...Bus use permission signal generation circuit, 10...System bus. lυ Example configuration Figure 1 Bus control circuit configuration Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)バス・マスタ手段を有し、バスに接続されたポー
トに結合され、このバス・マスタ手段のそれぞれに異な
るレベルのプライオリティの付されたバス使用権を設定
する手段を備えたバス制御回路において、 低位のレベルのプライオリティの付されたバス使用権が
設定されたバス・マスタ手段の上記バスに対する使用要
求が所定時間内に満足されなかったことを確認するタイ
マ手段と、 このタイマ手段の出力に基づき、上記低位のレベルのプ
ライオリティの付されたバス使用権が設定されたバス・
マスタ手段に対して一時的に高位のレベルのプライオリ
ティの付されたバス使用権を設定する手段と を備えたことを特徴とするバス制御回路。
(1) A bus control circuit having bus master means, coupled to a port connected to the bus, and having means for setting bus usage rights assigned different levels of priority to each of the bus master means. a timer means for confirming that a request for use of the bus by the bus master means to which the right to use the bus with a lower level of priority has been set has not been satisfied within a predetermined time; and an output of the timer means. Based on the above-mentioned rules, bus usage rights with lower priority levels are set.
1. A bus control circuit comprising means for temporarily assigning bus usage rights to a master means at a higher level of priority.
JP6594087A 1987-03-20 1987-03-20 Bus control circuit Pending JPS63231662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6594087A JPS63231662A (en) 1987-03-20 1987-03-20 Bus control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6594087A JPS63231662A (en) 1987-03-20 1987-03-20 Bus control circuit

Publications (1)

Publication Number Publication Date
JPS63231662A true JPS63231662A (en) 1988-09-27

Family

ID=13301465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6594087A Pending JPS63231662A (en) 1987-03-20 1987-03-20 Bus control circuit

Country Status (1)

Country Link
JP (1) JPS63231662A (en)

Similar Documents

Publication Publication Date Title
JPS5836381B2 (en) shared memory controller
JPS63231662A (en) Bus control circuit
JPH0210459A (en) Bus use right determining system
JPH03263158A (en) Common bus arbitration control system
CA2145553A1 (en) Multi-Processor System Including Priority Arbitrator for Arbitrating Request Issued from Processors
JPS6019819B2 (en) Bus right control method
JPH0433065B2 (en)
JPH0310355A (en) Common bus priority control method
JPH03240859A (en) Multiprocessor shared resource control system
JPS62145411A (en) System reset control system
JP2837698B2 (en) Direct memory access controller
JPH05242021A (en) Bus arbitrating circuit
JPH04308955A (en) Multiprocessor device
JPS62264349A (en) Bus priority deciding system
JPS58165164A (en) Managing system of information source
JPS58217071A (en) Information processing system
JPS63255755A (en) Input/output device control system for information processor
JPS61264463A (en) Bus controlling system
JPS6267653A (en) Bus control system
JPS61235970A (en) Bus connection system
JPH0338761A (en) Bus conflict arrangement system
JPS6388666A (en) Bus arbitration controller
JPH0293751A (en) Priority order determining system for right to use bus
JPH025162A (en) Bus control system
JPS62221733A (en) Priority circuit