JPH0442342A - Bus arbitration circuit - Google Patents

Bus arbitration circuit

Info

Publication number
JPH0442342A
JPH0442342A JP14912790A JP14912790A JPH0442342A JP H0442342 A JPH0442342 A JP H0442342A JP 14912790 A JP14912790 A JP 14912790A JP 14912790 A JP14912790 A JP 14912790A JP H0442342 A JPH0442342 A JP H0442342A
Authority
JP
Japan
Prior art keywords
bus
bus use
priority
circuit
data transfer
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
JP14912790A
Other languages
Japanese (ja)
Inventor
Tadaharu Kawaguchi
忠春 川口
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 Computertechno Ltd
Original Assignee
NEC Computertechno Ltd
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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP14912790A priority Critical patent/JPH0442342A/en
Publication of JPH0442342A publication Critical patent/JPH0442342A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To easily change the priority when the bus using request signals received from plural data transfer modules are arbitrated by using a switch circuit and a preference circuit consisting of a memory storing plural priority patterns. CONSTITUTION:A request register 2 holds the bus using request signals REQ1 - REQn received from the data transfer modules M1 - Mn. A switch circuit 7 changes a priority pattern. A priority pattern store ROM 8 decides the priority of the bus using requests given from the modules M1 - Mn and uses the output of the circuit 7, an output ACK 112 received from a circuit 9 which shows either one of modules M1 - Mn can use a bus, and the output of the register 2 as addresses respectively. Then a bus use grant register 4 holds the bus use grant signals ACK1' - ACKn' received from the ROM 8. Thus a preference circuit 8 does not consist of hardware and the priority is easily changed.

Description

【発明の詳細な説明】 技術分野 本発明はバス調停回路に関し、特に複数のデータ転送モ
ジュールからのバス使用要求に対して予め定められてい
る優先順位に従ってバス使用許可を与えるバス調停回路
に関するものである。
TECHNICAL FIELD The present invention relates to a bus arbitration circuit, and more particularly to a bus arbitration circuit that grants bus usage permission to bus usage requests from a plurality of data transfer modules according to predetermined priorities. be.

従来技術 従来のこの種のバス調停回路の一例を第3図に示す。図
において、複数のデータ転送モジュールM1〜Mnから
のバス1に対するバス使用要求信号1?EQl〜RBQ
nはバス使用要求レジスタ2の各対応ビットに夫々保持
され、優先回路3に入力される。
Prior Art An example of a conventional bus arbitration circuit of this type is shown in FIG. In the figure, a bus use request signal 1? for bus 1 from a plurality of data transfer modules M1 to Mn? EQl~RBQ
n is held in each corresponding bit of the bus use request register 2 and input to the priority circuit 3.

第4図が優先回路3の一例を詳細に示した図である。本
例では、バス使用要求レジスタ2からのバス使用要求信
号RIEQI’ 、 REQ2°、 R1シQ3’  
 ・・・がこの順に優先して選択されるよう構成した優
先回路である。
FIG. 4 is a diagram showing an example of the priority circuit 3 in detail. In this example, the bus use request signals RIEQI', REQ2°, R1SQ3' from the bus use request register 2 are
. . . is a priority circuit configured to be selected preferentially in this order.

例えば、この優先回路3にバス使用要求信号RIEQl
’ 、 REQ2’ 、 REQ3°が同時に入力され
たとすると、バス使用要求信号REQFはアントゲ−1
・41に入力されると同時に、インバータ31により反
転され、アントゲ−1・42〜4nに入力される。
For example, this priority circuit 3 receives a bus use request signal RIEQl.
', REQ2', and REQ3° are input at the same time, the bus use request signal REQF is
- At the same time as being input to 41, it is inverted by the inverter 31 and is input to anime game-1 42 to 4n.

バス使用要求信号REQ2°、 REQ8’はアンドゲ
ト42.43により抑止され、優先回路3からはバス使
用許可信号ACKI°のみが出力される。このバス使用
許可信号はバス使用許可レジスタ4に保持され、バス使
用許可信号A(、Klとして出力されると同時に、自ら
のバス使用要求信号を保持するバス使用要求レジスタ2
をリセットする。
The bus use request signals REQ2° and REQ8' are suppressed by AND gates 42 and 43, and the priority circuit 3 outputs only the bus use permission signal ACKI°. This bus use permission signal is held in the bus use permission register 4, and is output as the bus use permission signal A (, Kl).At the same time, the bus use request register 2 holds its own bus use request signal.
Reset.

また、バス使用許可信号ACKIはノアゲート5に入力
され、抑止信号111として優先回路3に入力されて他
のバス使用要求信号を抑止する。バス使用許可信号AC
KIを受取ったデータ転送モジュールM1は、データ転
送終了後、データ転送終了信号EN旧を出力する。この
信号はオアゲート6にてオアされ、バス使用終了信号E
NDとして許可レジスタ4をリセットする。
Further, the bus use permission signal ACKI is inputted to the NOR gate 5, and inputted to the priority circuit 3 as a suppression signal 111 to suppress other bus use request signals. Bus use permission signal AC
After receiving the KI, the data transfer module M1 outputs a data transfer end signal ENold after completing the data transfer. This signal is ORed by the OR gate 6, and the bus use end signal E
The permission register 4 is reset as ND.

以下、バス使用要求信号REQ2°、 REQ3’ も
前記と同様に優先順位に従って受付けられるようになっ
ている。
Thereafter, the bus use request signals REQ2° and REQ3' are also accepted according to the priority order as described above.

上述した従来のバス調停回路は、優先順位がハードウェ
アにより構成されているので、優先順位の変更が困難で
あり、又データ転送モジュールの数が大きくなると、優
先回路のハード量が極端に大きくなるという欠点がある
In the conventional bus arbitration circuit described above, the priority order is configured by hardware, so it is difficult to change the priority order, and as the number of data transfer modules increases, the amount of hardware for the priority circuit becomes extremely large. There is a drawback.

発明の目的 本発明の目的は優先順位の変更やデータ転送モジュール
の追加に対してハードウェア量の増大なく柔軟に対応す
ることが可能なバス調停回路を提供することである。
OBJECTS OF THE INVENTION An object of the present invention is to provide a bus arbitration circuit that can flexibly respond to changes in priorities and addition of data transfer modules without increasing the amount of hardware.

発明の構成 本発明によれば、複数のデータ転送モジュールからのバ
ス使用要求に対して予め定められている優先順位に従っ
てバス使用許可を与えるバス調停回路であって、前記優
先順位の変換のための変換データを設定自在な優先順位
変換設定スイッチと、この優先順位変換設定スイッチの
設定データと前記データ転送モジュールがらのバス使用
要求とをアドレス入力とし、バス使用許可データを予め
記憶した記憶手段とを含み、この記憶手段から続出され
たバス使用許可データによりバス使用許可をなすように
したことを特徴とするバス調停回路が得られる。
SUMMARY OF THE INVENTION According to the present invention, there is provided a bus arbitration circuit that grants bus use permission to bus use requests from a plurality of data transfer modules according to a predetermined priority order, the bus arbitration circuit comprising: A priority conversion setting switch that can freely set conversion data, and a storage means that uses the setting data of the priority conversion setting switch and a bus use request from the data transfer module as address inputs and stores bus use permission data in advance. There is obtained a bus arbitration circuit characterized in that bus use permission is granted based on the bus use permission data successively outputted from the storage means.

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

第1図は本発明の一実施例を示すすブロック構成図でり
、第3図と同等部分は同一符号により示す。このバス調
停回路は、複数のデータ転送モジュールM1〜Mnから
のバス使用要求信号REQI〜REQnを保持する要求
レジスタ2と、優先順位バタンを変更するスイッチ回路
7と、複数のデータ転送モジュールM1〜Mnからのバ
ス使用要求の優先度を決定し、スイッチ回路7の出力と
、複数のデータ転送モジュールのいずれか1つがバス使
用状態であることを示す回路9からの出力A CK11
2と、バス使用要求レジスタ2の出力とをアドレスとし
た優先パターン格納ROM8と、ROM8より出力され
たバス使用許可信号ACKI ’〜ACKn′を保持す
るバス使用許可レジスタ4とを備えている。
FIG. 1 is a block diagram showing an embodiment of the present invention, and parts equivalent to those in FIG. 3 are designated by the same reference numerals. This bus arbitration circuit includes a request register 2 that holds bus use request signals REQI-REQn from a plurality of data transfer modules M1-Mn, a switch circuit 7 that changes a priority button, and a switch circuit 7 that holds bus use request signals REQI-REQn from a plurality of data transfer modules M1-Mn. A CK11 determines the priority of the bus use request from the switch circuit 7 and outputs the output from the circuit 9 indicating that any one of the plurality of data transfer modules is in the bus use state.
2, a priority pattern storage ROM 8 whose address is the output of the bus use request register 2, and a bus use permission register 4 that holds the bus use permission signals ACKI' to ACKn' outputted from the ROM 8.

さらに、バス使用許可レジスタ4より出力されたバス使
用許可信号ACK l〜ACKnは、各転送モジュール
M1〜Mnに送出されると同時に、自分自身のバス使用
要求レジスタ2をリセツー・シ、複数のデータ転送モジ
ュールのいずれが1つがバス使用状態であることを示す
オアゲートからなる回路9と、データ転送終了時にバス
使用許可信号ACK 1〜ACKnを不活性化するため
のオアゲートで構成されるリセット回路6とを備えてい
る。
Further, the bus use permission signals ACKl to ACKn outputted from the bus use permission register 4 are sent to each transfer module M1 to Mn, and at the same time reset their own bus use request register 2 and transfer multiple data. A circuit 9 consisting of an OR gate indicating which one of the transfer modules is in a bus use state, and a reset circuit 6 consisting of an OR gate for inactivating the bus use permission signals ACK1 to ACKn at the end of data transfer. It is equipped with

第2図は、データ転送モジュールを3個とし、優先順位
を、スイッチ回路7の出力が“oo”の場合、バス使用
要求信号REQ1.. ReO2,I?lシQ3とし、
スイッチ回路の出力が“ol”の場合、バス使用要求信
号REQ2. ReO3,REQIとし、スイッチ回路
の出力が“10”の場合、バス使用要求信号REQ3゜
REQI、 ReO2とした、3種類の優先順位を有し
た例である。
In FIG. 2, there are three data transfer modules, and the priorities are as follows: when the output of the switch circuit 7 is "oo", the bus use request signal REQ1. .. ReO2,I? 1 Q3,
When the output of the switch circuit is "ol", the bus use request signal REQ2. In this example, there are three types of priorities: ReO3 and REQI, and when the output of the switch circuit is "10", the bus use request signals REQ3°REQI and ReO2 are given.

次に、本実施例の動作について第1図、第2図に従って
説明する。ここでは、優先順位をバス使用要求信号RE
Ql、 ReO2,ReO3とした場合、つまりスイッ
チ回路7の出力が“oo″ (第2図のsw−〇〇)の
場合について説明する。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2. Here, the priority is assigned to the bus use request signal RE.
The case where Ql, ReO2, and ReO3, that is, the output of the switch circuit 7 is "oo" (sw-○○ in FIG. 2) will be explained.

バス使用要求信号REQI、 ReO2,ReO3が同
時に本調停回路に入力されたとする。バス使用要求信号
REQ1. REQ2. REQ3は夫々バス使用要求
レジスタ2にセットされてROM8に入力される。この
ROM8のアドレスは“000111”となり、ROM
データ“100”が読出され、バス使用許可信号ACK
I ’として出力される。
Assume that bus use request signals REQI, ReO2, and ReO3 are simultaneously input to this arbitration circuit. Bus use request signal REQ1. REQ2. REQ3 is set in the bus use request register 2 and input to the ROM 8. The address of this ROM8 is “000111”, and the ROM
Data “100” is read and bus use permission signal ACK
It is output as I'.

このバス使用許可信号ACKI”は許可レジスタ4にセ
ットされ、バス使用許可信号ACKIとして、バス使用
要求信号を出力した転送モジュールM1に送出される。
This bus use permission signal ACKI'' is set in the permission register 4, and sent as the bus use permission signal ACKI to the transfer module M1 that has output the bus use request signal.

更に、バス使用π′1可信号ACKIはバス使用許可レ
ジスタ4により出力されると同時に、自らのバス使用許
可信号を保持するバス使用要求レジスタ2をリセットし
、更にバス使用許可信号ACKIを受取った転送モジュ
ールM1がバス使用状態であることを示すオアゲートか
らなる回路9に入力され、バス使用状態表示信号112
として、他の要求信号を抑止するためにROM8の最上
位アドレスとして入力される。
Further, the bus use π'1 enable signal ACKI is outputted by the bus use permission register 4, and at the same time, the bus use request register 2 which holds its own bus use permission signal is reset, and furthermore, the bus use permission signal ACKI is received. The bus usage status display signal 112 is inputted to the circuit 9 consisting of an OR gate indicating that the transfer module M1 is in the bus usage status.
is input as the highest address of the ROM 8 to suppress other request signals.

ここで、ROMアドレスは”100011”となり、R
OMデータは“000”が読出され、バス使用要求信号
REQ2. REQ’3は抑止される。
Here, the ROM address is "100011" and R
OM data is read as "000", and bus use request signal REQ2. REQ'3 is suppressed.

バス使用許可信号ACKIを受取ったデータ転送モジュ
ールM1は、データ転送終了後、データ転送終了信号E
NDIをオアゲー1−6に送出する。このオアゲート1
06はデータ転送終了信号ENDを出力し、バス使用許
可レジスタ4をリセットする。このレジスタ4がリセッ
トされると、バス要求抑止信号もリセットされ、他のバ
ス要求を受付は可能となる。
After receiving the bus use permission signal ACKI, the data transfer module M1 sends a data transfer end signal E after the data transfer is completed.
Send NDI to or games 1-6. This or gate 1
06 outputs a data transfer end signal END and resets the bus use permission register 4. When this register 4 is reset, the bus request inhibition signal is also reset, making it possible to accept other bus requests.

以下、バス使用要求信号REQ2.旧EQ8も前記と同
様に第2図の優先順位に従って受付けられる。本実施例
では、データ転送モジュール3個とした場合であるが、
本発明はこれに限定されるものではなく、データ転送モ
ジュールが増加してもROMのデータをそれに対応して
増大しておけば良いことは明らかである。
Hereinafter, bus use request signal REQ2. The old EQ8 is also accepted according to the priority order shown in FIG. 2 in the same manner as above. In this embodiment, there are three data transfer modules, but
The present invention is not limited to this, and it is clear that even if the number of data transfer modules increases, the data in the ROM may be increased accordingly.

尚、優先回路8の例としてROMを用いているが、デー
タ書換え自在なRAMを用いても良いことは勿論である
Although a ROM is used as an example of the priority circuit 8, it goes without saying that a RAM in which data can be freely rewritten may also be used.

発明の詳細 な説明したように、本発明によれば、複数のデータ転送
モジュールからのバス使用要求信号を調停する際に、ス
イッチ回路と複数の優先順位パターンを格納したメモリ
で構成した優先回路とを用いることにより、優先順位の
変更がスイッチ回路のみにより容易にてき、また、従来
では優先回路がアンドゲートやオアゲートで構成されて
いたため、データ転送モジュールの数が大きくなければ
なるほど優先回路のハード量も極端に大きくなってしま
うものが、メモリの内容のみにより容易にデータ転送モ
ジュールの増加に対応できるという効果がある。
As described in detail, according to the present invention, when arbitrating bus use request signals from a plurality of data transfer modules, a priority circuit comprising a switch circuit and a memory storing a plurality of priority patterns is used. By using , priority changes can be easily changed using only switch circuits. Also, conventionally, priority circuits were composed of AND gates and OR gates, so the larger the number of data transfer modules, the more hardware the priority circuit requires. Although the size of the data transfer module becomes extremely large, it is possible to easily accommodate an increase in the number of data transfer modules by simply changing the contents of the memory.

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

第1図は本発明の実施例のブロック図、第2図はROM
gのアドレスと記憶データとの関係を示す図、第3図は
従来のバス調停回路のブロック図、第4図は第3図の優
先回路3の具体例を示す回路図である。 主要部分の符号の説明 1・・・・・・バス 7・・・・・スイッチ回路 8・・・・・・ROM M1〜Mn・・・・・・データ転送モジュル
Figure 1 is a block diagram of an embodiment of the present invention, Figure 2 is a ROM
3 is a block diagram of a conventional bus arbitration circuit, and FIG. 4 is a circuit diagram showing a specific example of the priority circuit 3 of FIG. 3. Explanation of symbols of main parts 1... Bus 7... Switch circuit 8... ROM M1 to Mn... Data transfer module

Claims (1)

【特許請求の範囲】[Claims] (1)複数のデータ転送モジュールからのバス使用要求
に対して予め定められている優先順位に従ってバス使用
許可を与えるバス調停回路であって、前記優先順位の変
換のための変換データを設定自在な優先順位変換設定ス
イッチと、この優先順位変換設定スイッチの設定データ
と前記データ転送モジュールからのバス使用要求とをア
ドレス入力とし、バス使用許可データを予め記憶した記
憶手段とを含み、この記憶手段から読出されたバス使用
許可データによりバス使用許可をなすようにしたことを
特徴とするバス調停回路。
(1) A bus arbitration circuit that grants bus usage permission to bus usage requests from a plurality of data transfer modules according to predetermined priorities, and that can freely set conversion data for converting the priorities. It includes a priority conversion setting switch, and storage means in which the setting data of the priority conversion setting switch and the bus use request from the data transfer module are input as addresses, and bus use permission data is stored in advance, and the data is stored in the storage means. A bus arbitration circuit characterized in that bus use is permitted based on read bus use permission data.
JP14912790A 1990-06-07 1990-06-07 Bus arbitration circuit Pending JPH0442342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14912790A JPH0442342A (en) 1990-06-07 1990-06-07 Bus arbitration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14912790A JPH0442342A (en) 1990-06-07 1990-06-07 Bus arbitration circuit

Publications (1)

Publication Number Publication Date
JPH0442342A true JPH0442342A (en) 1992-02-12

Family

ID=15468320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14912790A Pending JPH0442342A (en) 1990-06-07 1990-06-07 Bus arbitration circuit

Country Status (1)

Country Link
JP (1) JPH0442342A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269418B1 (en) * 1997-07-14 2001-07-31 Nec Corporation Priority-based shared bus request signal mediating circuit
US7774591B2 (en) 2006-01-05 2010-08-10 Nec Corporation Data processing device and data processing method
US7822945B2 (en) 2006-02-06 2010-10-26 Nec Corporation Configuration managing device for a reconfigurable circuit
US9322172B2 (en) 2010-07-16 2016-04-26 Southeast University Concrete structure member strengthened with prestressed FRP elements

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269418B1 (en) * 1997-07-14 2001-07-31 Nec Corporation Priority-based shared bus request signal mediating circuit
US7774591B2 (en) 2006-01-05 2010-08-10 Nec Corporation Data processing device and data processing method
US7822945B2 (en) 2006-02-06 2010-10-26 Nec Corporation Configuration managing device for a reconfigurable circuit
US9322172B2 (en) 2010-07-16 2016-04-26 Southeast University Concrete structure member strengthened with prestressed FRP elements

Similar Documents

Publication Publication Date Title
US6718422B1 (en) Enhanced bus arbiter utilizing variable priority and fairness
MY103859A (en) Communication processor for a packet-switched network.
EP0428330A2 (en) Computer interface circuit
US5640519A (en) Method and apparatus to improve latency experienced by an agent under a round robin arbitration scheme
US9697118B1 (en) Memory controller with interleaving and arbitration scheme
JPH0442342A (en) Bus arbitration circuit
JPS6242306B2 (en)
JPH10262272A (en) Simple interface for time division multiplex communication medium
JPH05143526A (en) Bus arbitration circuit
US6868457B2 (en) Direct memory access controller, direct memory access device, and request device
JP3042744B2 (en) Access arbitration method
JPS63245743A (en) Memory access system
JPS63175964A (en) Shared memory
JPH0235551A (en) Address conversion system for channel device
JP2913702B2 (en) Access reception control method of multiprocessor system
JP2000029777A (en) Data transfer device
JP3201439B2 (en) Direct memory access control circuit
JP2972557B2 (en) Data transfer control device and control method
JPH0452749A (en) Bus arbitrating circuit
JPH04346140A (en) Access controller for shared memory
JPH03137754A (en) Access control system for shared memory
JPH04369753A (en) Direct memory access controller
KR20080084083A (en) Micro computer system capable of using memory port effectively
JPH04178869A (en) Interruption control device for multiprocessor system and its interruption communication method
JPH02181855A (en) Bus priority decision circuit