JPH0353338A - Variable priority arbitrating circuit - Google Patents
Variable priority arbitrating circuitInfo
- Publication number
- JPH0353338A JPH0353338A JP18918189A JP18918189A JPH0353338A JP H0353338 A JPH0353338 A JP H0353338A JP 18918189 A JP18918189 A JP 18918189A JP 18918189 A JP18918189 A JP 18918189A JP H0353338 A JPH0353338 A JP H0353338A
- Authority
- JP
- Japan
- Prior art keywords
- priority
- signals
- arbitration
- request
- pattern selection
- 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
Links
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 2
- 238000000034 method Methods 0.000 abstract description 5
- 101100191136 Arabidopsis thaliana PCMP-A2 gene Proteins 0.000 abstract description 2
- 101100048260 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) UBX2 gene Proteins 0.000 abstract description 2
- 102100036409 Activated CDC42 kinase 1 Human genes 0.000 abstract 3
- 101000928956 Homo sapiens Activated CDC42 kinase 1 Proteins 0.000 abstract 3
- 101100421142 Mus musculus Selenon gene Proteins 0.000 abstract 1
- 101100524346 Xenopus laevis req-a gene Proteins 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 2
- 238000007616 round robin method Methods 0.000 description 2
- 101100422768 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) SUL2 gene Proteins 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
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.
本発明は、m個の要求信号を入力し優先順位に従って調
停を行いm個の要求許可信号を出力する優先順位調停回
路において、
それぞれ異なる優先順位パターンを持つn個の固定優先
順位調停回路を含み、外部から入力されるデータにより
前記固定優先順位調停回路を任意に選択できるようにす
ることにより、
優先順位をその時点に合せて適切に変えることができる
可変優先順位調停回路を実現したものである。The present invention provides a priority arbitration circuit that inputs m request signals, performs arbitration according to the priority order, and outputs m request permission signals, including n fixed priority arbitration circuits each having a different priority pattern. By making it possible to arbitrarily select the fixed priority arbitration circuit according to data input from the outside, a variable priority arbitration circuit is realized that can appropriately change the priority order according to the time. .
従来、この種の優先順位調停回路には、固定優先順位に
よる方法を用いたものや、ラウンドロビンにより優先順
位が各調停サイクルごとに変化する方法を用いたものが
あった。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.
前述した従来の優先順位調停回路のうち、固定優先順位
による方法を用いたものは、優先順位が下位の要求者が
ある一定間隔でサービスを受ける必要がある場合でも、
それより優先順位が高い複数の要求者が交互に要求を出
し続けた場合に、定時間間隔を越えてもサービスを受け
られない場合が生じる欠点がある。また、ラウンドロビ
ンによる方法を用いたものは、各要求者に対するサービ
スが平均化される半面、特定の要求者が連続でサービス
を受けることができなくなるため、ピーク性能が低下す
る欠点がある。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.
本発明は、m個(mは自然数)の要求信号を入力し優先
順位に従って調停を行いm個の要求許可信号を出力する
調停手段を備えた優先順位調停回路において、前記調停
手段は、外部から入力されるデータに対応してn個(n
は自然数)の優先順位パターン選択信号を生成出力する
優先順位パターン選択信号生戊手段と、それぞれ異なる
優先順位パターンを持ち、それぞれm個の前記要求信号
およびn個の前記優先順位パターン選択信号を順に1個
ずつ入力し、入力された前記優先順位パターン選択信号
により調停を行いそれぞれm個の内部要求許可信号を出
力するn個の固定優先順位調停手段と、それぞれn個の
前記固定優先順位調停手段から出力される同一要求信号
に対するm個の前記内部要求許可信号を入力し、論理演
算を行いそれぞれ前記同一要求信号に対する要求信号を
生成出力するm個の論理演算手段とを備えたことを特徴
とする。The present invention provides a priority arbitration circuit equipped with an arbitration means for inputting m request signals (m is a natural number), arbitrating according to the priority order, and outputting m request permission signals, wherein the arbitration means is provided with an external signal. n pieces (n
is a natural number), and a priority pattern selection signal generating means, each having a different priority pattern, sequentially outputs the m request signals and the n priority pattern selection signals. n fixed priority arbitration means each inputting one signal at a time, performing arbitration based on the input priority pattern selection signal, and outputting m internal request permission signals; and n fixed priority arbitration means each inputting m internal request permission signals. m logical operation means for inputting the m internal request permission signals corresponding to the same request signal outputted from the apparatus, performing logical operations, and respectively generating and outputting request signals corresponding to the same request signal. do.
n個の固定優先順位調停回路は、それぞれ異なる優先順
位パターンを持ち、優先順位パターン選択信号生戒手段
から出力される優先順位パターン選択信号により選択さ
れて、それぞれの優先順位パターンに基づいて調停を行
い、入力されたm個の要求信号のうちの最上位の優先順
位の要求信号に対して内部要求許可信号を出力する。そ
して、論理演算手段は、例えば論理和回路により各固定
優先順位調停手段から出力される内部要求許可信号の論
理和をとり、要求許可信号として出力する。The n fixed priority arbitration circuits each have a different priority pattern, are selected by a priority pattern selection signal output from the priority pattern selection signal control means, and perform arbitration based on each priority pattern. and outputs an internal request permission signal to the request signal with the highest priority among the inputted m request signals. Then, the logic operation means uses, for example, an OR circuit to logically OR the internal request permission signals outputted from each fixed priority arbitration means, and outputs the result as a request permission signal.
従って、その時点に合せて適切な優先順位パターンを用
いて調停を行うことができる。Therefore, arbitration can be performed using an appropriate priority pattern at that time.
以下、本発明の実施例について図面を参照して説明する
。Embodiments of the present invention will be described below with reference to the drawings.
図は本発明の一実施例を示すブロック構或図である。The figure is a block diagram showing an embodiment of the present invention.
本実施例は、m個(mは自然数)の要求信号REQ,〜
REQ.を入力し優先順位に従って調停を行いm個の要
求許可信号ACKI〜ACKイを出力する調停手段を備
えた優先順位調停回路において、
前記調停手段は、本発明の特徴とするところの、外部か
ら入力されるデータに対応してn個(nは自然数)の優
先順位パターン選択信号SEL.〜SEL,,を生成出
力する優先順位パターン選択信号生成手段としての優先
順位パターンレジスク11および優先順位パターン選択
デコーダ12と、それぞれ異なる優先順位パターンを持
ち、それぞれm個の前記要求信号REQ,−REQ,お
よびn個の前記優先順位パターン選択信号SEL,、S
EL2、 、SEL.を順に1個ずつ入力し、入力され
た前記優先順位パターン選択信号SEL.、SEL2、
、またはS E L,,により調停を行いそれぞれm
個の内部要求許可信号ACK,’〜ACKっ′を出力す
るn個の固定rg先順位調停回路13と、それぞれn個
の固定優先順位調停回路13から出力される同一要求信
号R E Q + 、R E Q2、、またはREQ,
に対するm個の前記内部要求許可信号ACK.’ 、A
CK2’、 、またはACK.’を入力し論理演算を行
いそれぞれ前記同一要求信号R E Q + 、R E
Q2、 、またはREQIIに対する要求信号ACK
, 、ACK.、 、またはACK.を生戒出力するm
個の論理演算手段としての論理和回路14とを含んでい
る。In this embodiment, m (m is a natural number) request signals REQ, ~
REQ. In the priority arbitration circuit, the arbitration means is provided with an arbitration means that receives an input signal, performs arbitration according to the priority order, and outputs m request permission signals ACKI to ACKI. n (n is a natural number) priority pattern selection signals SEL. A priority pattern register 11 and a priority pattern selection decoder 12 as priority pattern selection signal generation means for generating and outputting ~SEL, , and m request signals REQ, -, each having a different priority pattern. REQ, and the n priority pattern selection signals SEL, , S
EL2, , SEL. are input in sequence one by one, and the input priority pattern selection signal SEL. ,SEL2,
, or S E L,, respectively.
n fixed RG priority arbitration circuits 13 that output internal request permission signals ACK,'~ACK', and identical request signals R E Q + output from each of the n fixed priority arbitration circuits 13; R E Q2, or REQ,
m internal request acknowledgment signals ACK. ',A
CK2', or ACK. ' are input and logical operations are performed to obtain the same request signals R E Q + and R E respectively.
Request signal ACK for Q2, or REQII
, ,ACK. , , or ACK. Outputs the living command m
It includes an OR circuit 14 as a logical operation means.
次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.
優先順位パターンレジスタ11は、データバスaを経由
して図外のプロセッサから書き込むことができるlog
2nビット幅のレジスタで、ここに書き込んだ値により
、n種類の優先順位パターンの中から一つを選択する。The priority pattern register 11 is a log data that can be written from a processor (not shown) via the data bus a.
This is a 2n-bit wide register, and the value written here selects one of n types of priority patterns.
コード化された優先順位パターンデータbを出力する。Output encoded priority pattern data b.
優先順位パターン選択デコーダ12は、優先順位パター
ンレジスタ11から優先順位パターンデータbを受け取
り、n個の優先順位パターン選択信号SEL,〜SEL
,,にデコードし出力する。The priority pattern selection decoder 12 receives priority pattern data b from the priority pattern register 11 and outputs n priority pattern selection signals SEL, ~SEL.
, , and output.
固定優先順位調停回路13は、それぞれm個の要求信号
REQ.〜REQ.の調停をある一定の優先順位で行い
、その結果の内部要求許可信号ACK+ ’〜ACK.
’を出力する。調停動作は、優先順位パターン選択デコ
ーダ12から入力される優先順位パターン選択信号SE
LI 〜SEL.により制御され、選択されていない場
合は内部要求許可信号ACK,’〜ACK.’を全て不
許可状態にする。n個の固定優先順位調停回路13は、
l段目には優先順位パターン選択信号SEL,が入力さ
れ、以下順にn段目には優先順位パターン選択信号SE
L.が入力され、それぞれが異なる優先順パターンに基
づき調停動作を行う。The fixed priority arbitration circuit 13 receives m request signals REQ. ~REQ. arbitration is performed in a certain priority order, and the resulting internal request permission signals ACK+' to ACK.
' is output. The arbitration operation is performed using the priority pattern selection signal SE input from the priority pattern selection decoder 12.
LI~SEL. If not selected, the internal request permission signal ACK,'~ACK. ' are all disallowed. The n fixed priority arbitration circuits 13 are
The priority pattern selection signal SEL is input to the l-th stage, and the priority pattern selection signal SE is input to the n-th stage.
L. are input, and each performs an arbitration operation based on a different priority order pattern.
論理和回路l4は、n個の固定優先順位調停回路13の
同一の要求者に対する内部要求許可信号ACK+’〜A
CK.’の論理和演算を行い、要求者へ返す要求許可信
号ACK,〜ACKヵを生戊出力する。The OR circuit 14 receives internal request permission signals ACK+' to A of the n fixed priority arbitration circuits 13 for the same requester.
C.K. ', and generates and outputs a request permission signal ACK, ACK, which is returned to the requester.
以上説明したように、本発明は、プロセッサから書き込
むことができる優先順位パターンレジスタへの設定によ
り、調停の優先順位を変化させることができるため、そ
の時点に適した調停方法を適用することができる効果が
ある。As explained above, according to the present invention, the arbitration priority can be changed by setting the priority pattern register that can be written from the processor, so that an arbitration method suitable at that time can be applied. effective.
図は本発明の一実施例を示すブロック構或図。
11・・・優先順位パターンレジスタ、12・・・優先
順位パターン選択デコーダ、l3・・・固定優先順位調
停回路、14・・・論理和回路、ACK,〜ACK.・
・・要求許可信号、ACKI ’〜ACKI,’・・・
内部要求許可信号、REQ,〜R E Q,・・・要求
信号、SEL1〜SEL,,・・・優先順位パターン選
択信号、a・・・データパス、b・・・優先順位パター
ンデータ。The figure is a block diagram showing an embodiment of the present invention. 11...Priority pattern register, 12...Priority pattern selection decoder, l3...Fixed priority arbitration circuit, 14...OR circuit, ACK, ~ACK.・
...Request permission signal, ACKI '~ACKI,'...
Internal request permission signal, REQ, ~REQ,... request signal, SEL1~SEL,... priority pattern selection signal, a... data path, b... priority pattern data.
Claims (1)
従って調停を行いm個の要求許可信号を出力する調停手
段を備えた優先順位調停回路において、 前記調停手段は、 外部から入力されるデータに対応してn個(nは自然数
)の優先順位パターン選択信号を生成出力する優先順位
パターン選択信号生成手段と、それぞれ異なる優先順位
パターンを持ち、それぞれm個の前記要求信号およびn
個の前記優先順位パターン選択信号を順に1個ずつ入力
し、入力された前記優先順位パターン選択信号により調
停を行いそれぞれm個の内部要求許可信号を出力するn
個の固定優先順位調停手段と、 それぞれn個の前記固定優先順位調停手段から出力され
る同一要求信号に対するm個の前記内部要求許可信号を
入力し、論理演算を行いそれぞれ前記同一要求信号に対
する要求信号を生成出力するm個の論理演算手段とを含
む ことを特徴とする可変優先順位調停回路。[Scope of Claims] 1. A priority arbitration circuit comprising arbitration means for inputting m request signals (m is a natural number), performing arbitration according to priorities, and outputting m request permission signals, the arbitration means comprising: has priority pattern selection signal generation means for generating and outputting n priority pattern selection signals (n is a natural number) corresponding to data input from the outside, and m priority pattern selection signals, each having a different priority pattern. the request signal and n
m input priority pattern selection signals one by one in sequence, performs arbitration based on the input priority pattern selection signals, and outputs m internal request permission signals, respectively.
and m internal request permission signals for the same request signal outputted from each of the n fixed priority arbitration means, and perform a logical operation to make a request for each of the same request signals. 1. A variable priority arbitration circuit comprising: m logical operation means for generating and outputting signals.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18918189A JPH0353338A (en) | 1989-07-21 | 1989-07-21 | Variable priority arbitrating circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18918189A JPH0353338A (en) | 1989-07-21 | 1989-07-21 | Variable priority arbitrating circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0353338A true JPH0353338A (en) | 1991-03-07 |
Family
ID=16236855
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18918189A Pending JPH0353338A (en) | 1989-07-21 | 1989-07-21 | Variable priority arbitrating circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0353338A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005243033A (en) * | 2004-02-27 | 2005-09-08 | Samsung Electronics Co Ltd | Interrupt controller |
| US7698486B1 (en) * | 2003-03-14 | 2010-04-13 | Marvell International Ltd. | Method and apparatus for bus arbitration dynamic priority based on waiting period |
-
1989
- 1989-07-21 JP JP18918189A patent/JPH0353338A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7698486B1 (en) * | 2003-03-14 | 2010-04-13 | Marvell International Ltd. | Method and apparatus for bus arbitration dynamic priority based on waiting period |
| US8041870B1 (en) | 2003-03-14 | 2011-10-18 | Marvell International Ltd. | Method and apparatus for dynamically granting access of a shared resource among a plurality of requestors |
| US8307139B1 (en) | 2003-03-14 | 2012-11-06 | Marvell International Ltd. | Method and apparatus for dynamically granting access of a shared resource among a plurality of requestors |
| US9037767B1 (en) | 2003-03-14 | 2015-05-19 | Marvell International Ltd. | Method and apparatus for dynamically granting access of a shared resource among a plurality of requestors |
| JP2005243033A (en) * | 2004-02-27 | 2005-09-08 | Samsung Electronics Co Ltd | Interrupt controller |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1403773B1 (en) | Resource management device | |
| KR100252752B1 (en) | Multilevel control bus arbitrator | |
| WO1990010907A1 (en) | Controller for direct memory access | |
| JPS62280948A (en) | Bus arbitration system | |
| JP3770203B2 (en) | Crossbar acceleration method and crossbar acceleration method | |
| JP2004038967A (en) | Method and apparatus for controlling frequency of use of bus | |
| JP2004246862A (en) | Resource management device | |
| JPH0353338A (en) | Variable priority arbitrating circuit | |
| JP2538874B2 (en) | Common bus arbitration method | |
| JP3407200B2 (en) | Arbitration apparatus and method | |
| JP2004038767A (en) | Bus arbitration equipment | |
| JPH0353339A (en) | Variable priority arbitrating circuit | |
| JPH07114496A (en) | Shared memory control circuit | |
| JP2791764B2 (en) | Arithmetic unit | |
| JP4288014B2 (en) | Bus arbitration system and method | |
| JP2000076183A (en) | Bus arbitration circuit | |
| JPH08161257A (en) | Common bus using right control system | |
| JPS58217071A (en) | Information processing system | |
| JPH01211161A (en) | Information processor | |
| JPS63271561A (en) | DMA control circuit | |
| JPH01108668A (en) | Shared memory interface circuit | |
| JPH05189368A (en) | Multiprocessor device and its data bus usage method | |
| JPS6174050A (en) | Priority rank determining system for right of using bus | |
| JPH02129751A (en) | Bus use controller | |
| JPH03152657A (en) | Multiprocessor system |