JPH0452748A - Bus arbitration circuit - Google Patents

Bus arbitration circuit

Info

Publication number
JPH0452748A
JPH0452748A JP15615790A JP15615790A JPH0452748A JP H0452748 A JPH0452748 A JP H0452748A JP 15615790 A JP15615790 A JP 15615790A JP 15615790 A JP15615790 A JP 15615790A JP H0452748 A JPH0452748 A JP H0452748A
Authority
JP
Japan
Prior art keywords
bus
priority
register
bus use
data
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
JP15615790A
Other languages
Japanese (ja)
Inventor
Hidemasa Toda
戸田 英正
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 JP15615790A priority Critical patent/JPH0452748A/en
Publication of JPH0452748A publication Critical patent/JPH0452748A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To easily change the bus using priority among plural data transfer modules in accordance with the bus using situations by providing a priority converting register which stores previously plural priorities of bus using request signals outputted from those modules into a storage means and enables the selection of these priorities. CONSTITUTION:A priority converting register 7 is provided to store the data for conversion of the bus using priority together with a storage means 8 which stores previously the bus using grant data. The bus using requests 101 - 10n given from the data transfer modules 1.1 - 1.n are held in the corresponding bits of a bus using request register 2. The output of the register 2 and the value of the register 7 are inputted to a priority storage means 8 as address, and the data on the priority are outputted. These data are held by a bus using grant register 4 and the bus using grant signals 111 - 11n are outputted to the modules 1.1 - 1.n respectively. Thus it is possible to flexibly cope with the change of the bus using priority without increasing the hardware capacity.

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図に示す。図
において、複数のデータ転送モジュールト1〜1・nは
共通バス1に対して夫々バス使用要求(REQ) 10
1〜10nを生成する。これ等バス使用要求101〜I
onは要求レジスタ2の対応ビットに夫々セットされて
保持される。
Prior Art An example of a conventional bus arbitration circuit of this type is shown in FIG. In the figure, a plurality of data transfer modules 1 to 1.n each make a bus use request (REQ) 10 to a common bus 1.
1 to 10n. These bus use requests 101-I
on is set and held in the corresponding bits of the request register 2, respectively.

この保持出力401〜40nは優先順位決定手段3に夫
々入力され、予め定められた優先順位に従ってバス使用
要求に対するバス使用許可(ACK) 411〜4in
が生成され、バス使用許可レジスタ4の対応ビットに夫
々セットされて保持される。
These held outputs 401 to 40n are respectively input to the priority order determining means 3, and bus use permission (ACK) 411 to 4in is given to the bus use request according to a predetermined priority order.
are generated and set and held in the corresponding bits of the bus permission register 4, respectively.

優先順位決定手段3の回路例が第4図に示されており、
この回路例では、3個のデータ転送モジュールからのバ
ス使用要求401 、402 、403についての優先
順位決定回路が示されている。
A circuit example of the priority determining means 3 is shown in FIG.
In this example circuit, a circuit for determining priorities for bus use requests 401, 402, and 403 from three data transfer modules is shown.

これ等バス使用要求401〜403はアンドゲート31
〜33の各1人力となっており、またバス使用要求40
1 、402はインバータ34,35の各入力となる。
These bus use requests 401 to 403 are handled by the AND gate 31
- 33 are each staffed by one person, and there are 40 requests to use the bus.
1 and 402 are inputs of the inverters 34 and 35, respectively.

インバータ34の出力はアントゲート3’、2.33の
他人力となって自要求401以外の他の要求402 、
403を抑止するようになっている。
The output of the inverter 34 becomes the external power of the ant gate 3', 2.33, and other requests 402 other than the own request 401,
403 is suppressed.

また、インバータ35の出力はアンドゲート33の別の
入力となり、他の要求403を抑止するようになってい
る。
Further, the output of the inverter 35 becomes another input of the AND gate 33, and other requests 403 are suppressed.

これ等アンドゲート131〜33の出力がバス使用許可
411〜4inとなり、第3図のバス使用許FiJレジ
スタ4にセットされ、このレジスタ4の出力か最終的な
バス使用許可111〜llnどなるのである。
The outputs of these AND gates 131-33 become the bus usage permission 411-4in, which is set in the bus usage permission FiJ register 4 in Figure 3, and the output of this register 4 becomes the final bus usage permission 111-lln. .

例えば、バス使用要求401〜403が同時に入力され
ると、バス使用要求401はアンドゲート31に人力さ
れると同時に、インバータ34により反転されてアント
ゲート32.33を閉とする。よって、バス使用詐りは
アンドケート31の出力411のろとなり、レジスタ4
に保持され、ハス使用許61111として出力される。
For example, when bus use requests 401 to 403 are input at the same time, bus use request 401 is inputted to AND gate 31 and at the same time is inverted by inverter 34 to close ant gates 32 and 33. Therefore, the bus use fraud is delayed by the output 411 of ANDKATE 31, and register 4
is held and output as a lotus usage permit 61111.

出力されたバス使用許可111は自バス使用要求を保持
しているバス使用要求レジスタ2をリセットすると同時
に、オアゲート5へ入力されてハス使用要求抑止315
を生成する。
The output bus use permission 111 resets the bus use request register 2 that holds the own bus use request, and at the same time is input to the OR gate 5 to suppress the bus use request 315.
generate.

バス使用許可111を受けた転送モジュールト1がデー
タ転送終了すると、転送終了211をオアゲート6へ出
力する。これにより、オアゲート6からバス使用許可レ
ジスタリセット信号320か発生されて、レジスタ4が
全てリセットされる。これに応答してオアゲート5から
生成されていたハス使用抑止315が解除され、他のバ
ス使用要求が受付は可能となるのである。
When the transfer module 1 that has received the bus usage permission 111 completes the data transfer, it outputs a transfer completion signal 211 to the OR gate 6. As a result, the bus use permission register reset signal 320 is generated from the OR gate 6, and all the registers 4 are reset. In response to this, the lotus use inhibition 315 generated by the OR gate 5 is canceled, and other bus use requests can be accepted.

この様な従来のバス調停回路では、バス使用要求を調停
する優先順位決定手段3が、アンドゲートやインバータ
ゲート等のハードウェアにより構成されているので、優
先順位は回路設計時点て固定化されてしまう。よって、
優先順位を変更したい場合や、データ転送モジュールを
追加する場合には、設31変更で対処するか、優先順位
決定手段を別に準備する必要かある。
In such conventional bus arbitration circuits, the priority order determining means 3 for arbitrating bus use requests is constituted by hardware such as AND gates and inverter gates, so the priorities are not fixed at the time of circuit design. Put it away. Therefore,
If you want to change the priority order or add a data transfer module, you need to either change the configuration 31 or prepare a separate priority order determination means.

また、データ転送モジュールの数が多くなると、優先順
位を決定する回路のハードウェア量もそれに伴って増大
するという欠点を有する。
Furthermore, as the number of data transfer modules increases, the amount of hardware for the circuit that determines the priority order also increases.

発明の目的 そこで、本発明は従来のもののかかる欠点を解消すべく
なされたものであって、その目的とするところは、優先
順位の変更やデータ転送モジュルの追加等に対してハー
ドウェア量の増大なく柔軟に対応することが可能なバス
調停回路を提供することである。
Purpose of the Invention Therefore, the present invention has been devised to eliminate such drawbacks of the conventional ones.The purpose of the present invention is to solve the problem of increasing the amount of hardware due to changes in priorities, addition of data transfer modules, etc. An object of the present invention is to provide a bus arbitration circuit that can be flexibly handled.

発明の構成 本発明によれば、複数のデータ転送モジュールからのバ
ス使用要求に対し7て予め定められている優先順位に従
ってバス使用許可を与えるバス調停回路であって、前記
優先順位の変換のための変換データを格納する優先順位
変換レジスタと、この優先順位変換レジスタの内容と前
記データ転送モジュールからのバス使用要求とをアドレ
ス入力とし、バス使用許可データを予め記憶した記憶手
段とを含み、この記憶手段から読出されたバス使用許可
データによりバス使用許可をなすようにしたことを特徴
とするバス調停回路が得られる。
According to the present invention, there is provided a bus arbitration circuit for granting permission to use a bus according to a predetermined priority order in response to bus use requests from a plurality of data transfer modules, the circuit comprising: a priority conversion register for storing conversion data of the data transfer module, and a storage means which uses the contents of the priority conversion register and the bus use request from the data transfer module as address inputs and stores bus use permission data in advance; A bus arbitration circuit is obtained, characterized in that bus use permission is granted based on bus use permission data read from the storage means.

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

第1図は本発明の一実施例を示す構成図であり、第3図
と同等部分は同一符号により示す。複数のデータ転送モ
ジュール1−・1〜1・nからのバス使用要求101〜
10nはバス使用要求レジスタ2の対応ビットに夫々保
持される。このレジスタ2の出力と優先順位変換レジス
タ7の値(変換レジスタ7の値はバスの使用状態によっ
てソフトウェア、またはその他の手段によって変更可能
なものである)はアドレスとして優先順位記憶手段8に
人力され、優先順位としてのデータが出力される。
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. Bus usage requests 101 to 1 from multiple data transfer modules 1-.1 to 1.n
10n are held in the corresponding bits of the bus use request register 2, respectively. The output of this register 2 and the value of the priority conversion register 7 (the value of the conversion register 7 can be changed by software or other means depending on the usage status of the bus) are manually entered into the priority storage means 8 as an address. , the data as a priority is output.

出力されたデータはバス使用許可レジスタ4に保持され
、バス使用許可111〜llnが夫々データ転送モジュ
ールに出力される。バス使用許可111〜llnは自ら
のバス使用要求レジスタ2をリセットすると同時に、要
求信号抑止手段であるオアゲト5によりバス使用要求抑
IL信号315を優先順位記働手段8の最上位アドレス
として入力することにより、他のバス使用要求を抑止す
る。
The output data is held in the bus permission register 4, and bus permissions 111 to lln are output to the data transfer module, respectively. The bus use permissions 111 to lln reset their own bus use request registers 2, and at the same time input the bus use request suppression IL signal 315 as the highest address of the priority notation means 8 by the OR gate 5 which is the request signal suppression means. This will suppress other bus usage requests.

バス使用許可が出力されたデータ転送モジュルがデータ
転送を終了し、転送終了信号211〜21nを終了手段
であるオアゲート6に出力すると、バス使用許可レジス
タリセット信号320がバス使用許可レジスタ4に入力
されることによりこのレジスタ4はリセットされる。よ
って、保持していたバス使用許可111〜Ilnが“0
゛クリアされる。
When the data transfer module to which the bus use permission has been output completes the data transfer and outputs the transfer end signals 211 to 21n to the OR gate 6 which is the termination means, the bus use permission register reset signal 320 is input to the bus use permission register 4. This register 4 is reset by this. Therefore, the bus usage permissions 111 to Iln held are “0”.
゛Cleared.

同時に他のバス使用要求の抑止信号315は“0”にな
り、他のバス使用要求が受付けられることになる。
At the same time, the inhibition signal 315 for other bus use requests becomes "0", and other bus use requests are accepted.

第2図は優先順位記憶手段であるRAM8のアドレスと
記憶データとの関係を示したものである。本例では、デ
ータ転送モジュールを3個とし、変換レジスタの値が“
00”のとき優先順位を上位からバス使用要求IDI(
REQI) 、バス使用要求102(R2O3)、バス
使用要求103(REQ3)とし、変換レジスタの値か
“01”のとき優先順位を上位からバス使用要求102
(R2O3) 、バス使用要求103(REQ3)、バ
ス使用要求1.01(REQI)とし、また変換レジス
タの値が“10”のとき優先順位を上位からバス使用要
求103(REQ3) 、バス使用要求101(REQ
I) 、バス使用要求102(R2O3)とした場合の
例である。
FIG. 2 shows the relationship between addresses of the RAM 8, which is a priority storage means, and stored data. In this example, there are three data transfer modules, and the value of the conversion register is “
00'', the bus use request IDI (
REQI), bus use request 102 (R2O3), and bus use request 103 (REQ3), and when the value of the conversion register is "01", the priority is set from the highest to bus use request 102.
(R2O3), bus use request 103 (REQ3), bus use request 1.01 (REQI), and when the value of the conversion register is "10", the priority is set from the highest to bus use request 103 (REQ3), bus use request 101 (REQ
I) This is an example in the case of bus use request 102 (R2O3).

優先順位記憶手段7には書換え可能なRAMを用い、そ
のアドレスにデータ転送モジュールト1〜1・nからの
バス使用要求(REQI°〜REQ n’)を対応させ
、バス使用許可411〜41n  (ACK l”〜A
CK n’)をデータとして予め書込んでおくことによ
り優先順位を決定する。
A rewritable RAM is used as the priority storage means 7, and bus use requests (REQI° to REQ n') from the data transfer modules 1 to 1 and n are made to correspond to the addresses thereof, and bus use permissions 411 to 41n ( ACK l”〜A
Priority order is determined by writing CK n') as data in advance.

また、アドレスの最上位ビットを抑止手段であるオアゲ
ート5からの入力信号とし、“1”がたった場合にRA
M8の出力を“0”、すなわち抑止状態となるパターン
を書込んでおくことにより、他のバス使用要求を抑止す
ることができるようにしている、例えば、変換レジスタ
7の値か“00′でバス使用要求(REQ3)がRAM
8に入力されると、アドレスは“000001”となり
許可信号として“001”か出力される。
In addition, the most significant bit of the address is an input signal from the OR gate 5 which is the inhibiting means, and when "1" is reached, the RA
By writing a pattern that sets the output of M8 to "0", that is, a inhibited state, it is possible to inhibit other bus usage requests.For example, if the value of conversion register 7 is set to "00", Bus use request (REQ3) is in RAM
8, the address becomes "000001" and "001" is output as the permission signal.

次に、本実施例の動作について第1図、第2図に従って
説明する。例えば、変換レジスタ7の値を“00”とし
て優先順位を上位からバス使用要求101(REQI)
 、バス使用要求102(R2O3) 、バス使用要求
103(REQ3)とした場合に、これ等3つのバス使
用要求が同時に入力されたとする。これらのバス使用要
求はバス使用要求レジスタ2にRAM8のアドレス入力
として保持される。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2. For example, the value of conversion register 7 is set to “00” and the priority order is set to bus use request 101 (REQI).
, bus use request 102 (R2O3), and bus use request 103 (REQ3), it is assumed that these three bus use requests are input at the same time. These bus use requests are held in the bus use request register 2 as address inputs of the RAM 8.

次に、予め書込まれた優先順位パターンデータ、つまり
アドレスが“000111”であるので出力信号“1.
00 ”がRAM8によりバス使用許可として出力され
、バス使用許可レジスタ4に保持される。
Next, since the priority pattern data written in advance, that is, the address is "000111", the output signal "1.
00'' is outputted by the RAM 8 as bus use permission and held in the bus use permission register 4.

このレジスタ4はバス使用要求信号REQIを送ったデ
ータ転送モジュールト1に対し、バス使用許可111を
出力する。またバス使用許可111は抑止手段であるオ
アゲート5に人力されて抑止信号315となり、RAM
8の最上位ビットとして与えられることにより、データ
転送中の他のバス使用要求に対して抑止かなされる。
This register 4 outputs a bus use permission 111 to the data transfer module 1 that sent the bus use request signal REQI. In addition, the bus use permission 111 is manually inputted to the OR gate 5, which is a deterrent means, and becomes a deterrent signal 315, and the RAM
By being given as the most significant bit of 8, other bus usage requests during data transfer are suppressed.

バス使用許可を受取ったデータ転送モジュール、すなわ
ちバス使用要求101(REQI)を発生したデータ転
送モジュールト1がデータ転送を終了すると、終了信号
211か終了手段であるオアゲート6に人力され、バス
使用許可レジスタリセット信号320が出力されてレジ
スタ4かリセットされることにより、オアゲート5の抑
止信号315が解除されて他のバス使用要求信号が受付
けられる状態となる。
When the data transfer module that has received permission to use the bus, that is, the data transfer module 1 that has generated the bus use request 101 (REQI), completes the data transfer, a termination signal 211 or the OR gate 6, which is the termination means, manually outputs a termination signal 211, and permission to use the bus is issued. By outputting the register reset signal 320 and resetting the register 4, the inhibit signal 315 of the OR gate 5 is canceled and other bus use request signals are accepted.

尚、優先順位記憶回路8の例としてRAMを用いている
がROMを用いても実現可能であることは勿論である。
Although a RAM is used as an example of the priority storage circuit 8, it is of course possible to use a ROM.

発明の詳細 な説明したように、本発明によれば、複数のデータ転送
モジュールから出力されるバス使用要求信号を優先順位
手段を設は調停する際、複数の優先順位を予め記憶手段
に記憶し、かつ複数の優先順位を選択可能とする変換レ
ジスタを設けることにより、バスの使用状況に応じて容
易に優先順位を変更することが可能となる。また、優先
順位記憶手段の記憶データを変更することにより、デ夕
転送モジュールを追加した場合への対処が容易になると
いう効果もある。
As described in detail, according to the present invention, when setting the priority means to arbitrate bus use request signals output from a plurality of data transfer modules, a plurality of priority orders are stored in advance in the storage means. , and by providing a conversion register that allows selection of a plurality of priority orders, it becomes possible to easily change the priority order according to the usage status of the bus. Furthermore, by changing the data stored in the priority storage means, it is possible to easily deal with the case where a data transfer module is added.

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

第1図は本発明の実施例の構成を示すブロック図、第2
図は第1図のRAM8のアドレスと記憶デー主要部分の
符号の説明 1・・・・・・バス ト1〜1・n・・・・・・データ転送モジュール7・・
・・・・変換レジスタ 8・・・・・・優先順位記憶用I?AM出願人 甲府E
j本電気林式会社
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG.
The figure shows the addresses of the RAM 8 in FIG. 1 and the symbols of the main parts of the stored data.
...Conversion register 8...Priority storage I? AM applicant Kofu E
J Denkirin Shiki Company

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 a predetermined priority order, which has priority for storing converted data for converting the priority order. a priority conversion register, the contents of this priority conversion register, and a bus use request from the data transfer module as address inputs;
a storage means in which bus use permission data is stored in advance;
A bus arbitration circuit characterized in that bus use permission is granted based on bus use permission data read from the storage means.
JP15615790A 1990-06-14 1990-06-14 Bus arbitration circuit Pending JPH0452748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15615790A JPH0452748A (en) 1990-06-14 1990-06-14 Bus arbitration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15615790A JPH0452748A (en) 1990-06-14 1990-06-14 Bus arbitration circuit

Publications (1)

Publication Number Publication Date
JPH0452748A true JPH0452748A (en) 1992-02-20

Family

ID=15621596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15615790A Pending JPH0452748A (en) 1990-06-14 1990-06-14 Bus arbitration circuit

Country Status (1)

Country Link
JP (1) JPH0452748A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06243090A (en) * 1993-02-15 1994-09-02 Asia Electron Inc Priority order arbitration processor
JPH06332841A (en) * 1993-05-17 1994-12-02 American Teleph & Telegr Co <Att> System for adjusting assignment requirement and its method
US8692029B2 (en) 2009-07-01 2014-04-08 Hitachi, Ltd. Method and device for synthesizing acrolein

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06243090A (en) * 1993-02-15 1994-09-02 Asia Electron Inc Priority order arbitration processor
JPH06332841A (en) * 1993-05-17 1994-12-02 American Teleph & Telegr Co <Att> System for adjusting assignment requirement and its method
US8692029B2 (en) 2009-07-01 2014-04-08 Hitachi, Ltd. Method and device for synthesizing acrolein

Similar Documents

Publication Publication Date Title
US6246256B1 (en) Quantized queue length arbiter
US5079693A (en) Bidirectional FIFO buffer having reread and rewrite means
US5412788A (en) Memory bank management and arbitration in multiprocessor computer system
US5301283A (en) Dynamic arbitration for system bus control in multiprocessor data processing system
JP2574967B2 (en) Arbitration apparatus and method for multiprocessor system
GB1392231A (en) Switching system
US5371893A (en) Look-ahead priority arbitration system and method
US20040068625A1 (en) Multiple-Grant Controller with Parallel Arbitration Mechanism and Related Method
KR0144022B1 (en) Arbiter by lru
JPS62107363A (en) Processor selector
US7127540B2 (en) Apparatus and method for controlling frequency of bus use
US6279066B1 (en) System for negotiating access to a shared resource by arbitration logic in a shared resource negotiator
US5307466A (en) Distributed programmable priority arbitration
JPH0452748A (en) Bus arbitration circuit
JPS594733B2 (en) Kyoutsuba Seigiyo Cairo
JPH0442342A (en) Bus arbitration circuit
US5535396A (en) Modulator data/control equipment
JPH0452749A (en) Bus arbitrating circuit
JPH05143526A (en) Bus arbitration circuit
JPH0330175B2 (en)
JP2538874B2 (en) Common bus arbitration method
EP0192209A1 (en) Address contention arbitrator for multi-port memories
KR101013769B1 (en) Method and apparatus for arbitrating a bus
EP0087266B1 (en) Priority resolver circuit
JP3415474B2 (en) Bus bridge arbitration method