JPH0452749A - Bus arbitrating circuit - Google Patents

Bus arbitrating circuit

Info

Publication number
JPH0452749A
JPH0452749A JP15615890A JP15615890A JPH0452749A JP H0452749 A JPH0452749 A JP H0452749A JP 15615890 A JP15615890 A JP 15615890A JP 15615890 A JP15615890 A JP 15615890A JP H0452749 A JPH0452749 A JP H0452749A
Authority
JP
Japan
Prior art keywords
bus
signal
bus use
register
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
JP15615890A
Other languages
Japanese (ja)
Inventor
Takeo Fukuda
福田 岳男
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 JP15615890A priority Critical patent/JPH0452749A/en
Publication of JPH0452749A publication Critical patent/JPH0452749A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To easily change the bus using priority among the data transfer modules by issuing the bus using grant with use of a memory where a priority pattern is previously stored when plural bus using requests are arbitrated and then rewriting a data pattern stored in the memory as necessary. CONSTITUTION:The bus using request signals 101 - 103 outputted from the data transfer modules 1.1 - 1.3 are held in the corresponding bits of a bus using request register 2. A selector 7 selects a bus using request signal 313 that arranges the outputs given from the register 2 and then outputs the signal 313 to a RAM 8, i.e., a priority deciding means as an address signal. Then the RAM 8 outputs the bus using grant signals 411 - 413 to the corresponding bits of a bus using grant register 4 as the priority decision data. Then a bus using grant data pattern, i.e., the priority is previously written into the rewritable RAM 8 as the data. Thus it is possible to flexibly cope with the change of the priority without increasing the hardware quantity.

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〜Innを生成する。これ等バス使用要求101〜1
0nは要求・レジスタ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 Inn. These bus use requests 101-1
0n is set and held in the corresponding bit of 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の各入力となる
。インバータ34の出力はアンドゲート32.33の他
入力となって自要求401以外の他の要求402 、4
03を抑止するようになっている。
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; 402 are the respective inputs of the inverters 34 and 35. The output of the inverter 34 becomes the other input of the AND gate 32, 33, and other requests 402, 4 other than the own request 401
03 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.

これ等アンドゲート31〜33の出力がバス使用許可4
11〜41nとなり、第3図のバス使用許可レジスタ4
にセットされ、このレジスタ4の出力が最終的なバス使
用許可]、 11〜llnとなるのである。
The output of these AND gates 31 to 33 is bus use permission 4
11 to 41n, and bus use permission register 4 in FIG.
The output of this register 4 becomes the final bus use permission], 11 to lln.

例えば、バス使用要求401〜403が同時に入力され
ると、バス使用要求401はアンドゲート3]に入力さ
れると同時に、インバータ34により反転されてアント
ゲ−)32.33を閉とする。よって、バス使用許可は
アンドゲート31の出力411のみとなり、レジスタ4
に保持さね、ハス使用許可illとして出力される。
For example, when bus use requests 401 to 403 are input at the same time, bus use request 401 is input to AND gate 3 and at the same time is inverted by inverter 34 to close AND gates 32 and 33. Therefore, only the output 411 of the AND gate 31 is permitted to use the bus, and the register 4
If you hold it, it will be output as permission to use the lotus.

出力されたバス使用許可111は自ハス使用要求を保持
しているバス使用要求レジスタ2をリセットすると同時
に、オアゲー1−5へ入力されてバス使用要求抑止31
5を生成する。
The outputted 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 game 1-5 to suppress the bus use request 31.
Generate 5.

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

この様な従来のバス調停回路では、バス使用要求を調停
する優先順位決定手段3か、アンドゲートやインバータ
ゲーh等のハードウェアにより構成されているので、優
先順位は回路設計IIS点で固定化さねてしまう。Jっ
て、イク・先順位を変更したし・場合や、データ転送モ
ジコールを追加する場合には、設計変更で対処するか、
優先順位決定手段を別に準備する必要がある。
In such conventional bus arbitration circuits, the priorities are fixed at the IIS point of the circuit design because they are configured with a priority determining means 3 that arbitrates bus use requests or with hardware such as AND gates and inverter games. I'm going to pinch it. If you change the priority order of J, or if you add a data transfer module, should you deal with it by changing the design?
It is necessary to prepare a separate means for determining priorities.

また、データ転送モジフールの数が多くなると、優先順
位を決定する回路の/%−ドウエア量もそれに伴って増
大するという欠点を有する。
Another disadvantage is that as the number of data transfer modules increases, the amount of hardware in the circuit for determining priorities also increases accordingly.

発明の目的 そこで、本発明は従来のもののかかる欠点を解消すべく
なされたものであって、その目的とするところは、優先
順位の変更やデータ転送モジュールの追加等に対してハ
ードウェア量の増大なく柔軟に対応することが可能なバ
ス調停回路を提供することである。
Purpose of the Invention Therefore, the present invention has been made to eliminate such drawbacks of the conventional ones, and its purpose 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.

発明の構成 本発明によれば、複数のデータ転送モジュールか1しの
バス使用要求に対して予め定められている優先順位に従
ってバス使用許可を与えるバス調停回路であって、前記
データ転送モジュールからのバス使用要求信号と外部か
らのアドレス信号とを択一的に導出するセレクタと、こ
のセレクタの出力をアドレス人力と12、バス使用rF
可データを予め記憶した記憶手段と、前記セレクタにJ
り外部からのアドレス信号がアト1ノスとして供給され
ているときに前記記憶手段に対l、て列部からバス使用
許可データを書替える書込み手段とを含み、この記憶手
段から読出されたバス使用許可データによりバス使用許
可を八すようにしたことを特徴とするバス調停回路が得
られる。
According to the present invention, there is provided a bus arbitration circuit which grants permission to use a bus according to a predetermined priority order in response to a bus use request from one of a plurality of data transfer modules. A selector that selectively derives a bus use request signal and an address signal from the outside;
A storage means in which available data is stored in advance, and a J
write means for rewriting bus use permission data from the column section in the storage means when an address signal from the outside is supplied as an address signal; A bus arbitration circuit is obtained which is characterized in that bus use permission is determined based on permission data.

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

第1図は本発明の一実施例を示す構成図であり、第3図
と同等部分は同一符号により示す。本例では転送モジコ
ールが3個の場合を示すが、これに限定されない。3個
の転送モジュールト1〜1・3から出力されるバス使用
要求信号101〜103はバス使用要求レジスタ2の対
応ビットに夫々保持される。
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. Although this example shows a case where there are three transfer module calls, the present invention is not limited to this. Bus use request signals 101 to 103 output from the three transfer modules 1 to 1 and 3 are held in corresponding bits of the bus use request register 2, respectively.

制御信号311が論理“0゛のときセ1/クク7はレジ
スタ2からの3本の出力を1つにまとめたバス使用要求
信号(T?P、Q”)313及び抑止信号315を選択
し、アドレス信号として優先順位決定決定手段であるR
AM8に出力する。RAM8はセレクタ7の出力をアド
レスとし指定されたアドレスの内容を優先順位決定デー
タとしてのバス使用許可信号(^CK’) 411〜4
13をバス使用許可レジスタ4の対応ビットに夫々出力
する。
When the control signal 311 is logic “0”, the SE1/Q7 selects the bus use request signal (T?P, Q”) 313, which is a combination of three outputs from the register 2, and the inhibition signal 315. , R which is a priority determining means as an address signal.
Output to AM8. The RAM 8 uses the output of the selector 7 as an address and uses the contents of the specified address as priority determining data as a bus use permission signal (^CK') 411-4
13 to the corresponding bits of the bus permission register 4, respectively.

このレジスタ4はデータを一旦保持し、バス使用許可信
号(ACK) Ill〜113として対応データ転送モ
ジュール101〜103に出力する。このバス使用許可
信号IN〜113は同時に自らの要求信号を保持してい
るバス使用要求レジスタ2をリセットすると共に、抑止
手段であるオアゲート5によりオアされ、抑止信号31
5としてセレクタ7の最上位アドレスに入力することに
より、他要求信号を抑止する。その詳細は後述する。
This register 4 temporarily holds the data and outputs it to the corresponding data transfer modules 101-103 as bus use permission signals (ACK) Ill-113. This bus use permission signal IN~113 simultaneously resets the bus use request register 2 that holds its own request signal, and is ORed by the OR gate 5 which is the inhibiting means, and the inhibiting signal 31
By inputting the signal as 5 to the highest address of the selector 7, other request signals are suppressed. The details will be described later.

バス使用許可信号が出力されたデータ転送モジュールか
らデータ転送終了信号211〜213か出力されると、
終了手段であるオアゲート6にてオアされ、終了信号3
20がバス使用許可レジスタ4をリセットすることによ
り、保持されていたバス使用許可信号は全て論理“0”
になる。他のバス使用要求信号の抑止信号315は論理
“0”になり、他のバス使用要求信号が受付は可能とな
る。
When one of the data transfer end signals 211 to 213 is output from the data transfer module to which the bus use permission signal has been output,
It is ORed by the OR gate 6 which is the termination means, and the termination signal 3 is output.
20 resets the bus use permission register 4, all the held bus use permission signals become logic "0".
become. The inhibition signal 315 for other bus use request signals becomes logic "0", and other bus use request signals can be accepted.

第2図はデータ転送モジュールを3個としたときのRA
MB内の記憶データの一例である。バス使用要求信号1
01〜103に相当するRAM 8のアドレス入力を夫
々REQI’ 、 REQ2’ 、 REQ3’ とす
る。
Figure 2 shows the RA when there are three data transfer modules.
This is an example of stored data in an MB. Bus use request signal 1
Address inputs of RAM 8 corresponding to 01 to 103 are assumed to be REQI', REQ2', and REQ3', respectively.

RAM8は書替え可能なRAMを用い、アドレスにデー
タ転送モジュールからの要求信号を対応させ優先順位で
あるバス使用許可データパターンをデータとして予め書
込んでおくことにより、読出されたデータがバス使用許
可信号となるのである。
The RAM 8 is a rewritable RAM, and the address corresponds to the request signal from the data transfer module, and the priority bus use permission data pattern is written in advance as data, so that the read data becomes the bus use permission signal. It becomes.

また、アドレスの最上位ビットは抑止信号315(第2
図ではACKに対応)に相当する信号を入力し、それに
“]”がたった場合RAM8の出力が“0”となるパタ
ーンを書込んでおくことにより他要求信号を抑止するよ
うにしている。
Furthermore, the most significant bit of the address is the inhibition signal 315 (second
By inputting a signal corresponding to ACK (in the figure) and writing a pattern in which the output of the RAM 8 becomes "0" when "]" appears thereon, other request signals are suppressed.

第1図、第2図に従って例をあげて説明する。An example will be explained according to FIGS. 1 and 2.

例えば、バス使用要求信号(REQ3’に相当)のみが
要求レジスタ2に入力され、た場合、バス使用要求信号
は要求レジスタ2の対応ビットに一旦保持され、レジス
タ2からセレクタ7に入力される。
For example, if only the bus use request signal (corresponding to REQ3') is input to the request register 2, the bus use request signal is temporarily held in the corresponding bit of the request register 2, and then input from the register 2 to the selector 7.

セレクタ7を制御する制御信号311は論理“0″とな
っているため、セレクタ7はレジスタ2からのバス使用
要求信号313及び抑止信号315を選択し、アドレス
信号としてRAM8に出力する。出力されたアドレスは
“0001”となり、第2図に示すとうり優先順位決定
データ“001”がバス使用許可信号411〜413と
して読出され、バス使用許可レジスタ4の各対応ビット
に夫々に一旦保持される。
Since the control signal 311 that controls the selector 7 is at logic "0", the selector 7 selects the bus use request signal 313 and the inhibition signal 315 from the register 2 and outputs them to the RAM 8 as address signals. The output address becomes "0001" and as shown in FIG. be done.

このレジスタ4の内容はバス使用許可信号111〜11
3として出力される。そのうち論理″1”であるバス使
用許可信号113は対応するデータ転送モジュールト3
に出力されると共に、自らのバス使用要求103を保持
しているレジスタ2をリセットする。
The contents of this register 4 are bus use permission signals 111 to 11.
Output as 3. Among them, the bus use permission signal 113 which is logic "1" is transmitted to the corresponding data transfer module 3.
At the same time, the register 2 holding its own bus use request 103 is reset.

また、バス使用転送許可信号113は抑止手段5でオア
され、抑止信号315をセレクタ7を通してRAM8に
出力する。このRAM8ては、抑止信号315に相当す
る入力アドレスACKに論理“1°が入力されると、他
の要求信号REQI’〜REQ3’に無関係に第2図に
示すとうり優先順位決定データ“000゜が出力され、
他のバス使用要求信号が抑止される。
Further, the bus use transfer permission signal 113 is ORed by the inhibiting means 5, and the inhibiting signal 315 is outputted to the RAM 8 through the selector 7. When the logic "1" is input to the input address ACK corresponding to the inhibit signal 315, this RAM 8 outputs the priority determining data "000" as shown in FIG. 2, regardless of the other request signals REQI' to REQ3'.゜ is output,
Other bus use request signals are suppressed.

バス使用許可信号113を受取った転送モジュールト3
からデータ転送終了信号213が出力されると、終了手
段6でオアされた終了信号320がバス使用許可レジス
タ4をリセットする。レジスタ4がリセットされたこと
により、バス使用許可信号Ill〜1】3は論理“0″
になり、抑止手段5でオアされた抑止信号315は0”
となる。
Transfer module 3 that received the bus use permission signal 113
When the data transfer end signal 213 is output from the terminating means 6, the end signal 320 which is ORed by the terminating means 6 resets the bus use permission register 4. Since register 4 has been reset, bus use permission signals Ill to 1]3 are set to logic “0”.
, and the inhibition signal 315 ORed by the inhibition means 5 becomes 0"
becomes.

この時点では、制御信号allは論理“0″であり、セ
レクタ7はバス使用要求レジスタ2の出力信号313お
よび抑止信号315を選択し、アドレス信号としてRA
M8へ出力している。
At this point, the control signal all is logic "0", the selector 7 selects the output signal 313 of the bus use request register 2 and the inhibition signal 315, and selects the RA as the address signal.
Outputting to M8.

RAM8は抑止信号315が論理″1″から“0“にな
ることにより、第2図で示されるように、例えばアドレ
スが“0010″であれば、優先順位決定データ”01
0”  (“000”以外の値)を出力し、他のバス使
用要求信号が受付けられる。
As shown in FIG. 2, when the inhibit signal 315 changes from logic "1" to "0", the RAM 8 stores priority determining data "01" if the address is "0010".
0" (a value other than "000"), and other bus use request signals are accepted.

次に、バス使用要求信号101(REQI’ に相当)
と要求信号103(REQ3’ に相当)とがそれぞれ
要求レジスタ2に入力された場合について説明する。こ
れ等バス使用要求信号はバス使用要求レジスタ2の各対
応ビットに一旦保持されてバス使用要求信号313とし
てセレクタ7に入力される。このセレクタ7を制御する
制御信号311は論理“0″になっているため、セレク
タ7はこのバス使用要求信号313及び抑止信号315
を選択し、アドレス信号としてRAM8へ供給する。
Next, bus use request signal 101 (corresponding to REQI')
A case will be explained in which the request signal 103 and the request signal 103 (corresponding to REQ3') are respectively input to the request register 2. These bus use request signals are temporarily held in the corresponding bits of the bus use request register 2 and inputted to the selector 7 as the bus use request signal 313. Since the control signal 311 that controls the selector 7 is at logic "0", the selector 7 controls the bus use request signal 313 and the inhibition signal 315.
is selected and supplied to the RAM 8 as an address signal.

このアドレスは“0101”となり、第2図に示すとう
り、優先順位決定データ“100“がバス使用許可信号
411〜413として読出され、バス使用許可レジスタ
4に一旦保持される。このレジスタ4の内容はバス使用
許可信号111〜113のうち論理“1”である許可信
号111は、対応するデータ転送モジュールト1に出力
されると共に、自らのバス使用要求信号101を保持し
ている要求レジスタ2をリセットする。
This address becomes "0101", and as shown in FIG. 2, priority determining data "100" is read out as bus permission signals 411 to 413 and temporarily held in bus permission register 4. The content of this register 4 is that among the bus use permission signals 111 to 113, the permission signal 111 which is logic "1" is output to the corresponding data transfer module 1 and holds its own bus use request signal 101. Reset request register 2.

また、バス使用許可信号111は抑止手段5でオアされ
、抑止信号315をセレクタ7を通[7てアドレス信号
と17てRAM8へ供給される。l?AM8では、抑止
信号315に相当する入力アトレス八〇Kに論理゛1′
が入力されると、他のバス使用要求信号REQl’ 〜
RE Q 3 ’ に無関係に、第2図に示すとうりに
優先順位決定データ“000”をバス使用許可信号41
1〜413として出力する。このとき、バス使用許可レ
ジスタ4の内容は変化しない。
Further, the bus use permission signal 111 is ORed by the inhibiting means 5, and the inhibiting signal 315 is supplied to the RAM 8 through the selector 7 as an address signal. l? In AM8, the input address 80K corresponding to the inhibit signal 315 is set to logic ``1''.
is input, other bus use request signals REQl' ~
Irrespective of RE Q3', the priority determination data "000" is sent to the bus use permission signal 41 as shown in FIG.
Output as 1 to 413. At this time, the contents of the bus use permission register 4 do not change.

バス使用許可信号411〜413はレジスタ4によって
保持されているか、バス転送許可信号111を受取った
転送モジュールト1からデータ転送終了信号211が出
力されると、終了手段6でオアされて終了信号320が
バス使用許可レジスタ4をリセットする。このレジスタ
4がリセットされたことにより、ハス使用許可信号11
1〜目3は論理“0“になる。よって、抑止手段5でオ
アされた抑止信号315は“0”となる。
The bus use permission signals 411 to 413 are held by the register 4, or when the data transfer end signal 211 is output from the transfer module 1 that has received the bus transfer permission signal 111, they are ORed by the ending means 6 and the end signal 320 is output. resets the bus permission register 4. By resetting this register 4, the lotus use permission signal 11
1 to 3 become logic "0". Therefore, the inhibiting signal 315 ORed by the inhibiting means 5 becomes "0".

この時点で制御信号311は論理“0”であり、セレク
タ7はバス使用要求信号を保持しているレジスタ2の出
力信号313及び抑止信号315を選択し、アドレス信
号としてRAM8に出力している。RAM8は抑止信号
315が論理“1”から“O“になることにより、入力
されるアドレスが“0001”になり、第2図で示すと
うり優先順位決定データ“001”が読出され、前回説
明した一連の動作と同様に、データ転送モジュールト3
はバス使用許可信号113を受取る。
At this point, the control signal 311 is at logic "0", and the selector 7 selects the output signal 313 of the register 2 holding the bus use request signal and the inhibition signal 315, and outputs them to the RAM 8 as an address signal. When the inhibit signal 315 changes from logic "1" to "O" in the RAM 8, the input address becomes "0001", and the priority determining data "001" is read out as shown in FIG. Similar to the series of operations described above, the data transfer module 3
receives the bus permission signal 113.

以下の動作も前回説明した一連の動作と同様な動作が行
なわれるためこれ以上の説明は省略する。
Since the following operations are similar to the series of operations described previously, further explanation will be omitted.

第5図は第1図構成図のタイムチャートである。FIG. 5 is a time chart of the configuration diagram in FIG. 1.

第5図を参照しながら、第2図に示した優先順位決定デ
ータのもとて第1図のブロック図の動作を説明する。
The operation of the block diagram of FIG. 1 based on the priority determination data shown in FIG. 2 will be explained with reference to FIG.

同時に複数のデータ転送モジュールト1〜1・3のバス
使用要求信号101〜103が発行された場合、クロッ
ク0で要求レジスタ2に保持され、RAM8にアドレス
として人力される。このときのアドレス信号は“011
1“なので、予め書込まれている優先順位決定データ“
100”がRAM8からバス使用許可信号111〜11
8として出力される。
When bus use request signals 101 to 103 for a plurality of data transfer modules 1 to 1 and 3 are issued at the same time, they are held in the request register 2 at clock 0 and manually entered as addresses in the RAM 8. The address signal at this time is “011
1", so the priority determination data written in advance"
100” is the bus use permission signal 111 to 11 from RAM8.
Output as 8.

クロック1て、優先順位決定データはハス使用許可レジ
スタ4に保持される。このレジスタ4はデータ転送モジ
ュールト1にバス使用許可信号111を与える。次にク
ロック2て、要求レジスタ2に保持されているバス使用
要求信号は、バス使用許可信号111でリセットされる
と同時に、抑止手段5でバス使用許可信号111かオア
され、抑止信号315がバス使用要求信号313と共に
セレクタ7によってアドレス信号としてRAM8に出力
される。
At clock 1, the priority determination data is held in the lotus use permission register 4. This register 4 provides a bus use permission signal 111 to the data transfer module 1. Next, at clock 2, the bus use request signal held in the request register 2 is reset by the bus use permission signal 111, and at the same time, the inhibition means 5 ORs the bus use permission signal 111, and the inhibition signal 315 is set to the bus use permission signal 111. Together with the use request signal 313, the selector 7 outputs it to the RAM 8 as an address signal.

出力されたアドレスは1011°となり、RAMPの優
先順位決定データ“000”がバス使用許可レジスタ4
に出力される。
The output address is 1011°, and the RAMP priority determination data “000” is assigned to the bus use permission register 4.
is output to.

クロック3で、データ転送モジュールト1からの転送終
了信号211か検出されると、終了手段6でオアされた
終了信号320によって、クロック4でバス使用許可信
号211がリセットされる。
When the transfer end signal 211 from the data transfer module 1 is detected at clock 3, the bus use permission signal 211 is reset at clock 4 by the end signal 320 ORed by the end means 6.

この許可信号i+tがリセットされることにより、抑止
信号315は“O”になり、セレクタ7をとおリアドレ
ス信号としてRAM8に出力される。このときのアドレ
スは”0011”となり、RAM8は第2図で示すとう
り“010“を出力し、バス使用要求信号102が受付
けられることになる。
By resetting this permission signal i+t, the inhibition signal 315 becomes "O" and is outputted to the RAM 8 through the selector 7 as a rear address signal. At this time, the address becomes "0011", the RAM 8 outputs "010" as shown in FIG. 2, and the bus use request signal 102 is accepted.

尚、バス使用要求信号103はバス使用要求信号102
と同様に順番に受付けられて全動作が終了となる。
Note that the bus use request signal 103 is the same as the bus use request signal 102.
Similarly, the requests are accepted in order and the entire operation is completed.

次に、RAM8の優先順位決定データを変更する手順に
ついて説明する。制御信号311の出力が“1″となり
、セレクタ7は外部アドレス信号310を選択し、この
アドレス信号310をRAM8に出力する。
Next, a procedure for changing the priority determination data in the RAM 8 will be explained. The output of the control signal 311 becomes "1", the selector 7 selects the external address signal 310, and outputs this address signal 310 to the RAM 8.

RAM8はこのセレクタ7を経た外部アドレス信号31
Oに対して外部データ信号312のデータを書込む。
The RAM 8 receives the external address signal 31 that has passed through the selector 7.
The data of the external data signal 312 is written to O.

この場合、アドレス信号310はソフトウェアで指示し
たアドレスであり、データ信号312から入力した優先
順位決定データはRAM8に書込まれ、優先順位は変更
されたことになる。
In this case, the address signal 310 is an address specified by software, and the priority order determination data input from the data signal 312 is written to the RAM 8, and the priority order has been changed.

発明の効果 以上述べた如く、本発明によれば、複数のバス使用要求
を調停する際、優先順位パターンを予め格納したメモリ
を用いてバス使用許可を発行するようにし、必要に応じ
てこのメモリ内のデータパターンを書換えるようにして
いるので、優先順位の変更が容易であり、また、データ
転送モジュールの追加にも柔軟に対応できるという効果
がある。
Effects of the Invention As described above, according to the present invention, when arbitrating a plurality of bus use requests, bus use permission is issued using a memory in which priority patterns are stored in advance, and this memory is updated as necessary. Since the data pattern in the data transfer module is rewritten, it is easy to change the priority order, and the addition of a data transfer module can also be flexibly accommodated.

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

第1図は本発明の実施例のブロック図、第2図は第1図
のRAMg内のデータパターンの例を示す図、第3図は
従来技術を示すバス調停回路の例を示す図、第4図は第
3図の優先順位決定手段の例を示す回路図、第5図は第
1図のブロックの動作例を示すタイミングチャートであ
る。 主要部分の符号の説明 1・・・・・・バス ト1〜1・3・・・・・・データ転送モジュール7・・
・・・・セレクタ 8・・・・・・RAM
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of a data pattern in the RAMg of FIG. 1, FIG. 3 is a diagram showing an example of a bus arbitration circuit showing the prior art, FIG. 4 is a circuit diagram showing an example of the priority determining means shown in FIG. 3, and FIG. 5 is a timing chart showing an example of the operation of the blocks shown in FIG. Explanation of symbols of main parts 1... Busts 1 to 1, 3... Data transfer module 7...
...Selector 8...RAM

Claims (1)

【特許請求の範囲】[Claims] (1)複数のデータ転送モジュールからのバス使用要求
に対して予め定められている優先順位に従ってバス使用
許可を与えるバス調停回路であって、前記データ転送モ
ジュールからのバス使用要求信号と外部からのアドレス
信号とを択一的に導出するセレクタと、このセレクタの
出力をアドレス入力とし、バス使用許可データを予め記
憶した記憶手段と、前記セレクタにより外部からのアド
レス信号がアドレスとして供給されているときに前記記
憶手段に対して外部からバス使用許可データを書替える
書込み手段とを含み、この記憶手段から読出されたバス
使用許可データによりバス使用許可をなすようにしたこ
とを特徴とするバス調停回路。
(1) 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 providing bus use request signals from the data transfer modules and external signals. a selector for selectively deriving an address signal; a storage means that uses the output of the selector as an address input and stores bus use permission data in advance; and an address signal from the outside is supplied as an address by the selector; and writing means for externally rewriting bus use permission data in the storage means, and bus use permission is granted based on the bus use permission data read from the storage means. .
JP15615890A 1990-06-14 1990-06-14 Bus arbitrating circuit Pending JPH0452749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15615890A JPH0452749A (en) 1990-06-14 1990-06-14 Bus arbitrating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15615890A JPH0452749A (en) 1990-06-14 1990-06-14 Bus arbitrating circuit

Publications (1)

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

Family

ID=15621619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15615890A Pending JPH0452749A (en) 1990-06-14 1990-06-14 Bus arbitrating circuit

Country Status (1)

Country Link
JP (1) JPH0452749A (en)

Cited By (2)

* 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
US6269418B1 (en) 1997-07-14 2001-07-31 Nec Corporation Priority-based shared bus request signal mediating circuit

Cited By (2)

* 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
US6269418B1 (en) 1997-07-14 2001-07-31 Nec Corporation Priority-based shared bus request signal mediating circuit

Similar Documents

Publication Publication Date Title
US4449183A (en) Arbitration scheme for a multiported shared functional device for use in multiprocessing systems
JP2574967B2 (en) Arbitration apparatus and method for multiprocessor system
US5341491A (en) Apparatus and method for ensuring that lock requests are serviced in a multiprocessor system
US7793008B2 (en) AMBA modular memory controller
US5398211A (en) Structure and method for providing prioritized arbitration in a dual port memory
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
US5506989A (en) Arbitration system limiting high priority successive grants
JPS62189549A (en) Multi-hierachical level multi-processor
CN106021141B (en) Semiconductor device with a plurality of semiconductor chips
JPS6259822B2 (en)
EP0532542B1 (en) Multiprocessor system with sharing of memory
JP3208332B2 (en) Interrupt device
JPH0728758A (en) And device for dynamic time loop arbitration
US6820158B1 (en) Method and apparatus for a configuration ring
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
JP4193746B2 (en) Matrix bus connection system
JPH0452749A (en) Bus arbitrating circuit
US5408612A (en) Microprocessor system for selectively accessing a processor internal register when the processor has control of the bus and partial address identifying the register
JPH06195313A (en) Computer system, and integrated circuit and request selecting circuit being suitable therefor
JPS6242306B2 (en)
JPH03257652A (en) Multiprocessor system and interruption controller
JP2001273248A (en) Bus control device and control method thereof
JPH0452748A (en) Bus arbitration circuit
JPH0330175B2 (en)
JP4642398B2 (en) Shared bus arbitration system