JPH0353339A - Variable priority arbitrating circuit - Google Patents

Variable priority arbitrating circuit

Info

Publication number
JPH0353339A
JPH0353339A JP18918289A JP18918289A JPH0353339A JP H0353339 A JPH0353339 A JP H0353339A JP 18918289 A JP18918289 A JP 18918289A JP 18918289 A JP18918289 A JP 18918289A JP H0353339 A JPH0353339 A JP H0353339A
Authority
JP
Japan
Prior art keywords
priority
request
signals
signal
req
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
JP18918289A
Other languages
Japanese (ja)
Inventor
Takashi Watanabe
貴志 渡邊
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 JP18918289A priority Critical patent/JPH0353339A/en
Publication of JPH0353339A publication Critical patent/JPH0353339A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To enable even a requester of the lowest priority to obtain the grant of requests at a fixed time interval at the lowest by changing the priority at a fixed time interval. CONSTITUTION:The priority change request means 11 and 12 produce the prior ity change request signals a and b at a fixed time interval to the request signals REQ1 - REQn and output continuously the signals a and b until they are granted. A priority deciding means 13 sets the priority as REQ1>REQ2>...>REQn if both signals a and b are not inputted and then decides the priority as REQn> REQ1>...>REQn-1 with input of both signals a and b respectively. Then the means 13 outputs continuously the internal request grant signals ACK1' - ACKn' in accordance with the request time of a continuous request signal BUSY. Then a request grant signal production means 14 samples the signals ACK1' - ACKn' via an arbitration clock signal CLK and produces and outputs the request grant signals ACK1 - ACKn. As a result, even a requester of the lowest priority can obtain the grant of requests at a fixed time interval at the lowest.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置に利用され、特に、多数の要求
者が同時に一つの対象の使用要求をする場合の調停を行
う可変優先順位調停回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is applied to a data processing device, and in particular, a variable priority arbitration circuit that arbitrates when a large number of requesters request the use of one object at the same time. Regarding.

〔概要〕〔overview〕

本発明は、n個の要求信号を人力し優先順位に従って調
停を行いn個の要求許可信号を出力する優先順位調停回
路において、 一定時間間隔で最下位の優先順位から最上位の優先順位
に前記要求信号の優先順位を変更するようにすることに
より、 最下位の優先順位の要求者でも、最低一定時間間隔で要
求が許可される可変優先順位調停回路を実現したもので
ある。
The present invention provides a priority arbitration circuit that manually arbitrates n request signals according to their priorities and outputs n request permission signals. By changing the priority of request signals, a variable priority arbitration circuit is realized in which requests are granted at least at fixed time intervals even for the requester with the lowest priority.

〔従来の技術〕[Conventional technology]

従来、この種の優先順位調停回路には、固定優先順位に
よる方法を用いたものや、ラウンドロビンにより優先順
位が各調停サイクルごとに変化する方法を用いたものが
あった。
Conventionally, this type of priority arbitration circuit includes one that uses a fixed priority method and one that uses a round robin method in which the priority order changes every arbitration cycle.

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

前述した従来の優先順位調停回路のうち、固定優先順位
による方法を用いたものは、優先順位が下位の要求者が
ある一定間隔でサービスを受ける必要がある場合でも、
それより優先順位が高い複数の要求者が交互に要求を出
し続けた場合に、定時間間隔を越えてもサービスを受け
られない場合が生じる欠点がある。また、ラウンドロビ
ンによる方法を用いたものは、各要求者に対するサービ
スが平均化される半面、特定の要求者が連続でサービス
を受けることができなくなるため、ピーク性能が低下す
る欠点がある。
Among the conventional priority arbitration circuits mentioned above, those that use a fixed priority method can
If a plurality of requesters with higher priority continue to issue requests alternately, there is a drawback that service may not be available even after a fixed time interval has elapsed. Further, in the method using the round robin method, although the service to each requester is averaged, a particular requester cannot receive the service continuously, so there is a drawback that peak performance is reduced.

本発明の目的は、前記の欠点を除去することにより、最
下位の優先順位の要求者でも、最低一定時間間隔で要求
が許可される可変優先順位調停回路を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a variable priority arbitration circuit that eliminates the above-mentioned drawbacks and allows requests to be granted at least at fixed time intervals even for the lowest priority requester.

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

本発明は、n個の要求信号REQ, 、REQ2、、R
EQ.を入力し優先順位に従って調停を行いn個の要求
許可信号を出力する調停手段を備えた優先順位調停回路
において、前記調停手段は、調停クロック信号を入力し
一定時間間隔で最下位の優先順位から最上位の優先順位
に優先順位を変更する侵先順位変更要求信号を生成し当
該要求信号が許可されるまで継続して出力する優先順位
変更手段と、n個の前記要求信号と、n個の前期要求許
可信号と、許可状態の継続を要求する継続要求信号と、
前記優先順位変更要求信号とを人力し、優先順位変更要
求がない場合には優先順位がREQ +  > R E
 Q2 >−− > R E Qnであり、優先順位要
求がある場合には優先順位がREQ,>REQ,>−−
 > R E Qn − +で調停を行い、その結果要
求が行われている前記要求信号のうちで最も優先度の高
い要求信号に対応する内部許可信号を前記継続要求信号
が出されている時間許可状態にして出力する優先順位判
定手段と、この優先順位判定手段から出力されるn個の
内部許可信号を前記調停クロック信号によりサンプルし
n個の前記要求許可信号を生成出力する要求許可信号生
成手段とを含むことを特徴とする。
The present invention provides n request signals REQ, , REQ2, , R
EQ. In the priority arbitration circuit, the arbitration means inputs an arbitration clock signal, performs arbitration according to the priority order, and outputs n request permission signals. a priority change means for generating a priority order change request signal for changing the priority order to the highest priority order and continuously outputting the request signal until the request signal is granted; a previous request permission signal; a continuation request signal requesting continuation of the permission state;
The priority order change request signal is input manually, and if there is no priority order change request, the priority order is REQ + > R E
Q2 >-- > R E Qn, and if there is a priority request, the priority is REQ, >REQ, >--
> R E Qn − + performs arbitration, and as a result, an internal permission signal corresponding to the request signal with the highest priority among the request signals being requested is granted during the period in which the continuation request signal is issued. priority determining means for outputting the state and request permission signal generating means for generating and outputting the n request permission signals by sampling the n internal permission signals outputted from the priority determining means using the arbitration clock signal. It is characterized by including.

〔作用〕[Effect]

優先順位変更要求手段は、要求信号について一定時間間
隔で最下位の優先順位から最上位の侵先順位に優先順位
を変更する優先順位変更要求信号を生成し当該要求信号
が許可されるまで継続して出力する。優先順位判定手段
は、前記優先順位変更要求信号の人力がなければ、優先
順位をREQ+ >REQ2 〉 〉REQl,として
判定し、前記優先順位変更要求信号の入力があれば、優
先順位を REQ,,>REQ,  〉−>REQ,,−として判
定し、内部要求許可信号を、継続要求信号の要求時間に
わたり継続して出力する。そして、要求許可信号生成手
段は前記内部要求許可信号を調停クロック信号によりサ
ンプルして要求許可信号を生成出力する。
The priority change requesting means generates a priority change request signal for changing the priority of the request signal from the lowest priority to the highest priority at fixed time intervals, and continues until the request signal is granted. and output it. The priority determining means determines the priority as REQ+ > REQ2 >> REQl, if there is no human power for the priority change request signal, and determines the priority as REQ, , if the priority change request signal is input. >REQ, >->REQ, , - is determined, and the internal request permission signal is continuously output for the required time of the continuation request signal. Then, the request permission signal generating means samples the internal request permission signal using the arbitration clock signal and generates and outputs a request permission signal.

従って、優先順位が最下位の要求者でも、最低一定時間
間隔で要求が許可されることになる。
Therefore, even the requester with the lowest priority will be allowed to make a request at least at certain time intervals.

〔実施例〕 以下、本発明の実施例について図面を参照して説明する
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings.

図は本発明の一実施例を示すブロック構或図である。The figure is a block diagram showing an embodiment of the present invention.

本実施例は、n個の要求信号REQ,〜R E Q,を
入力し優先順位に従って調停を行いn個の要求許可信号
ACK.−ACK.を出力する調停手段を備えた優先順
位調停回路において、 前記調停手段は、本発明の特徴とするところの、調停ク
ロック信号CLKを入力し一定時間間隔で最下位の優先
順位から最上位の優先順位に優先順位を変更する優先順
位変更要求信号aおよびbを生成し当該要求信号が許可
されるまで継続して出力する優先順位変更要求手段とし
てのタイマー11およびフリップフロツプ(FF)12
と、n個の要求信号REQ, 〜REQ,と、n個の要
求許可信号ACK,〜ACK,,と、許可状態の継続を
要求する継続要求信号BUSYと、優先順位変更要求信
号aとを人力し、優先順位変更要求がない場合には優先
順位が REQ+ >REQ2〉−>REQ, であり、優先順位要求がある場合には優先順位がREQ
.>REQ, 〉−>REQl,−で調停を行い、その
結果要求が行われている前記要求信号REQ.−REQ
,,のうちで最も優先度の高い要求信号REQ,〜R 
E Q.に対応する内部許可信号ACK,  〜ACK
n’を継続要求信号BUSYが出されている時間許可状
態にして出力する優先順位判定手段としての侵先順位判
定回路■3と、 この優先順位判定回路l3から出力されるn個の内部許
可信号ACK,’〜ACKh′を調停クロック信号CL
Kによりサンプルしn個の要求許可信号ACK,〜AC
K.を生成出力する要求許可信号生成手段としてのn個
のフリップフロップFF1 〜FF,,からなる調停フ
リップフロップ14とを含んでいる。
In this embodiment, n request signals REQ, . -ACK. In the priority arbitration circuit, the arbitration means is characterized in that the arbitration means inputs an arbitration clock signal CLK and selects priority levels from the lowest priority to the highest priority at regular time intervals. A timer 11 and a flip-flop (FF) 12 serve as priority change request means for generating priority change request signals a and b for changing the priority order and outputting them continuously until the request signals are granted.
, n request signals REQ, ~REQ, n request permission signals ACK, ~ACK, , a continuation request signal BUSY requesting continuation of the permission state, and a priority change request signal a. However, if there is no priority change request, the priority is REQ+ >REQ2>->REQ, and if there is a priority request, the priority is REQ.
.. >REQ, >->REQl, -, and as a result, the request signal REQ. -REQ
, , the request signal REQ, ~R with the highest priority
E Q. Internal permission signal ACK, ~ACK corresponding to
An encroachment order judgment circuit 3 as a priority order judgment means which outputs n' in a permission state during the time when the continuation request signal BUSY is issued, and n internal permission signals outputted from this priority order judgment circuit l3. ACK,'~ACKh' as arbitration clock signal CL
n request acknowledgment signals ACK, ~AC sampled by K
K. The arbitration flip-flop 14 includes n flip-flops FF1 to FF, and serves as a request permission signal generating means for generating and outputting a request permission signal.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

タイマー11は、一定時間間隔で優先順位の変更を要求
するためのもので、調停クロック信号CLKを分周しそ
の結果を優先順位変更要求信号aとしてフリップフロッ
プ12のクロック端子に人力する。
The timer 11 is for requesting a priority change at regular time intervals, and divides the arbitration clock signal CLK and inputs the result to the clock terminal of the flip-flop 12 as a priority change request signal a.

フリップフロップ12は、タイマー11からの優先順位
変更要求信号aを最下位の優先順位から最上位の優先順
位に変更となった要求者の要求が許可されるまで保持す
る。そして、タイマー11からの優先順位変更要求信号
aにより優先順位判定回路13への優先順位変更要求信
号bを要求状態に保持する。この状態は要求許可信号A
CK,が許可状態となるとリセットされる。
The flip-flop 12 holds the priority change request signal a from the timer 11 until the requester's request whose priority is changed from the lowest priority to the highest priority is granted. Then, the priority change request signal b sent to the priority determination circuit 13 is maintained in a request state by the priority change request signal a from the timer 11. This state is the request permission signal A.
It is reset when CK is in the permitted state.

優先順位判定回路13は、n個の要求者からの要求信号
REQ, 、REQ2、− 、REQ,と、要求を許可
された要求者が許可状態の継続を要求するビジー信号で
ある継続要求信号BUSYと、各要求者に調停結果を伝
えるn個の要求許可信号AC K+ 、A C K2、
 、ACKhと、優先順位変更要求信号aとを人力とし
、内部許可信号ACK.’ACK2’ 、 一、ACK
.’ を調停フリツブフロップ14に出力する。i=1
〜nとすると内部許可信号ACKI ’ は次式で表わ
される。なお、調停は要求許可信号ACK,,ACK2
、 、ACK,,がすべて不許可の状態時に行われる。
The priority determination circuit 13 receives request signals REQ, , REQ2, - , REQ, from n requesters, and a continuation request signal BUSY, which is a busy signal for requesting that the requester whose request has been granted request continuation of the permitted state. and n request permission signals ACK+, ACK2, which convey the arbitration result to each requester.
, ACKh and the priority change request signal a are manually generated, and the internal permission signal ACK. 'ACK2', one, ACK
.. ' is output to the arbitration flip-flop 14. i=1
.about.n, the internal permission signal ACKI' is expressed by the following equation. Note that arbitration is performed using request permission signals ACK,,ACK2
, ,ACK, , are all performed when the permission is not granted.

REQn+b)  ・REQ.+ACK+ ・BUSY
調停フリップフロップ14は優先順位判定回路13から
出力されるn個の内部許可信号ACK.’ 、AC K
2 ’   、A C K. ’を調停クロックCLK
でサンプルし各要求者に対する要求許可信号ACK, 
、ACK2、 、ACK.を作或する。
REQn+b) ・REQ. +ACK+ ・BUSY
The arbitration flip-flop 14 receives n internal permission signals ACK. ' , ACK
2', A C K. ' to arbitrate clock CLK
ACK, a request permission signal for each requester.
,ACK2, ,ACK. Create.

要求者iは、要求がある場合、要求信号REQ.により
要求を行い要求許可信号A C K lが許可状態にな
るまで待つ。要求許可信号ACKiが許可状態になった
ら、要求信号REQIを非要求状態にし、同時に継続要
求信号BUSYを許可状態の継続をしたい期間だけ継続
要求状態にする。
When requester i has a request, requester i sends a request signal REQ. makes a request and waits until the request permission signal A C K l goes into the permission state. When the request permission signal ACKi enters the permission state, the request signal REQI is set to the non-request state, and at the same time, the continuation request signal BUSY is set to the continuation request state for a period during which the permission state is desired to continue.

要求者nは通常は優先順位が最下位なので、要求者1−
n−1の要求が交互にあると、要求信号ACK.は不許
可状態であるが、タイマー11から出力される優先順位
変更要求信号aの周期ごとに優先順位が最高になり、要
求が待たされていた場合、耶要求信号ACK,,が許可
状態になる。
Requester n usually has the lowest priority, so requester 1-
When there are n-1 requests alternately, the request signal ACK. is in a disallowed state, but if the priority becomes the highest every cycle of the priority change request signal a output from the timer 11 and the request is kept waiting, then the request signal ACK, , becomes a permitted state. .

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

以上説明したように、本発明は、一定時間間隔で優先順
位を変更することにより、最下位の優先順位の要求者も
最低一定時間間隔では要求が許可される効果がある。
As described above, the present invention has the effect that by changing the priority order at fixed time intervals, even the lowest priority requester is allowed to make a request at least at fixed time intervals.

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

図は本発明の一実施例を示すブロック構戊図。 l1・・・タイマー、12・・・フリップフロップ(F
F)、13・・・優先順位判定回路、14・・・調停フ
リップフロップ、a, b・・・優先順位変更要求信号
、A C K I〜ACK.−・・要求許可信号、AC
K,’〜ΔCK,’・・・内部許可信号、BUSY・・
・継続要求信号、CLK・・・調停クロック信号、RE
(L−REQ,・・・要求信号。
The figure is a block diagram showing one embodiment of the present invention. l1...Timer, 12...Flip-flop (F
F), 13...Priority determination circuit, 14...Arbitration flip-flop, a, b...Priority change request signal, ACK. ---Request permission signal, AC
K,'~ΔCK,'...Internal enable signal, BUSY...
・Continuation request signal, CLK...Arbitration clock signal, RE
(L-REQ,...request signal.

Claims (1)

【特許請求の範囲】 1、n個の要求信号REQ_1、REQ_2、・・・、
REQ_nを入力し優先順位に従って調停を行いn個の
要求許可信号を出力する調停手段を備えた優先順位調停
回路において、 前記調停手段は、 調停クロック信号を入力し一定時間間隔で最下位の優先
順位から最上位の優先順位に優先順位を変更する優先順
位変更要求信号を生成し当該要求信号が許可されるまで
継続して出力する優先順位変更要求手段と、 n個の前記要求信号と、n個の前期要求許可信号と、許
可状態の継続を要求する継続要求信号と、前記優先順位
変更要求信号とを入力し、優先順位変更要求がない場合
には優先順位が REQ_1>REQ_2>・・・>REQ_nであり、
優先順位要求がある場合には優先順位がREQ_n>R
EQ_1>・・・>REQ_n_−_1で調停を行い、
その結果要求が行われている前記要求信号のうちで最も
優先度の高い要求信号に対応する内部許可信号を前記継
続要求信号が出されている時間許可状態にして出力する
優先順位判定手段と、 この優先順位判定手段から出力されるn個の内部許可信
号を前記調停クロック信号によりサンプルしn個の前記
要求許可信号を生成出力する要求許可信号生成手段とを
含む ことを特徴とする可変優先順位調停回路。
[Claims] 1, n request signals REQ_1, REQ_2, . . .
In a priority arbitration circuit, the arbitration means inputs REQ_n, performs arbitration according to the priority order, and outputs n request permission signals. priority change request means for generating a priority change request signal for changing the priority from the highest priority to the highest priority and continuously outputting the request signal until the request signal is granted; The initial request permission signal, the continuation request signal requesting continuation of the permission state, and the priority change request signal are input, and if there is no priority change request, the priority is REQ_1>REQ_2>...> REQ_n,
If there is a priority request, the priority is REQ_n>R
Arbitrate with EQ_1>...>REQ_n_-_1,
As a result, priority determining means outputs an internal permission signal corresponding to the request signal with the highest priority among the request signals for which a request is made, in a permission state for the time when the continuation request signal is issued; and request permission signal generation means for sampling the n internal permission signals outputted from the priority determination means using the arbitration clock signal and generating and outputting the n request permission signals. arbitration circuit.
JP18918289A 1989-07-21 1989-07-21 Variable priority arbitrating circuit Pending JPH0353339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18918289A JPH0353339A (en) 1989-07-21 1989-07-21 Variable priority arbitrating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18918289A JPH0353339A (en) 1989-07-21 1989-07-21 Variable priority arbitrating circuit

Publications (1)

Publication Number Publication Date
JPH0353339A true JPH0353339A (en) 1991-03-07

Family

ID=16236872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18918289A Pending JPH0353339A (en) 1989-07-21 1989-07-21 Variable priority arbitrating circuit

Country Status (1)

Country Link
JP (1) JPH0353339A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997007948A1 (en) * 1995-08-26 1997-03-06 Toto Ltd. Method of slip casting of powders, casting mold used in said method, and process for producing open-cell porous body used in said mold
US6029219A (en) * 1997-08-29 2000-02-22 Fujitsu Limited Arbitration circuit for arbitrating requests from multiple processors
KR100424977B1 (en) * 2001-08-14 2004-03-27 현대자동차주식회사 A cargo fixing equipment in truck

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997007948A1 (en) * 1995-08-26 1997-03-06 Toto Ltd. Method of slip casting of powders, casting mold used in said method, and process for producing open-cell porous body used in said mold
US6165398A (en) * 1995-08-26 2000-12-26 Toto Ltd. Method of slip casting powdery material, using a water resistant mold with self-water absorbent ability
US6866803B1 (en) 1995-08-26 2005-03-15 Toto Ltd. Mold for use in slip casting method, and method of manufacturing open porous body for use in mold
US6029219A (en) * 1997-08-29 2000-02-22 Fujitsu Limited Arbitration circuit for arbitrating requests from multiple processors
KR100424977B1 (en) * 2001-08-14 2004-03-27 현대자동차주식회사 A cargo fixing equipment in truck

Similar Documents

Publication Publication Date Title
US5623672A (en) Arrangement and method of arbitration for a resource with shared user request signals and dynamic priority assignment
EP1403773B1 (en) Resource management device
JPS62280948A (en) Bus arbitration system
JPH0353339A (en) Variable priority arbitrating circuit
JP2004246862A (en) Resource management device
JP3485464B2 (en) Method and apparatus for bus arbitration in a multiprocessor system
JPH0210459A (en) Bus use right determining system
JP2004078508A (en) Bus arbitration circuit, bus arbitration method, and its program
JP5677007B2 (en) Bus arbitration device and bus arbitration method
JP4182246B2 (en) Bus sharing system and bus sharing method
JP2000132505A (en) Bus access method and device, and its use device and system
JP4344163B2 (en) Resource request arbitration device, resource request arbitration method, and computer program
JPH081632B2 (en) Data processing system having shared bus and its priority determining circuit
JP3407200B2 (en) Arbitration apparatus and method
JP4288014B2 (en) Bus arbitration system and method
JP2000066995A (en) Bus arbitration method and device, and its use device and system
JPH0353338A (en) Variable priority arbitrating circuit
JP2006251875A (en) Bus arbitration device and bus arbitration method
JP2003030134A (en) Bus arbiter and bus arbitration method
JP4822429B2 (en) Bus access arbitration method and semiconductor integrated circuit
JPH1125035A (en) Bus arbiter device
JPS63168759A (en) Arbitration system
JPS63310054A (en) Bus arbitrating circuit
JPH0462639A (en) Priority determination circuit
JPH02129751A (en) Bus use controller