JPH0439757A - bus controller - Google Patents

bus controller

Info

Publication number
JPH0439757A
JPH0439757A JP14704690A JP14704690A JPH0439757A JP H0439757 A JPH0439757 A JP H0439757A JP 14704690 A JP14704690 A JP 14704690A JP 14704690 A JP14704690 A JP 14704690A JP H0439757 A JPH0439757 A JP H0439757A
Authority
JP
Japan
Prior art keywords
bus
auxiliary processing
signal
processing device
request
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
JP14704690A
Other languages
Japanese (ja)
Inventor
Tetsuya Sato
哲也 佐藤
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP14704690A priority Critical patent/JPH0439757A/en
Publication of JPH0439757A publication Critical patent/JPH0439757A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To increase the processing speed by transferring the right of using of a bus to other auxiliary processor related to a request, in the case a bus use request state from other auxiliary processor is stored, when the bus occupancy is finished. CONSTITUTION:A storage means A1 of a bus controller A stores a bus use request state from other auxiliary processor Cn which is requested while the auxiliary processor concerned is occupying a bus in each separate auxiliary processor Cn. When the bus occupancy by the auxiliary processor Cn is finished, in the case a bus use request state from other auxiliary processor Cn is stored in the storage means A1, a transfer means A2 does not return the right of using of the bus to a central processor B but transfers it to other auxiliary processor Cn related to the request. In such a way, the right of using of the bus can be transferred directly, and a quick processing can be executed.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、データ処理装置におけるバス切替えを迅速
に行うのに好適なバス制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus control device suitable for quickly performing bus switching in a data processing device.

「発明の概要」 この発明は、1つの補助処理装置によるバス使用か終了
した際、バス使用権を、中央処理装置に一旦返還した後
、改めてバス要求待ちに係る池の補助処理装置に解放す
るといった無駄を省き、当該バス要求待ちに係る他の補
助処理装置に直接バス使用権を移転することにより、処
理速度をアップしたものである。
"Summary of the Invention" This invention, when bus use by one auxiliary processing unit ends, returns the right to use the bus to the central processing unit and then releases it to the other auxiliary processing unit that is waiting for a bus request. The processing speed is increased by eliminating such waste and directly transferring the right to use the bus to another auxiliary processing device that is waiting for the bus request.

[従来の技術] 従来、第5図に示したように、MPLI (中央処理装
置)1の他にDMAコン■・ローラ等の複数の補助処理
装置2.3を備え、メモリ4との間に設けられたアドレ
スバスAB、データバスDBの使用権をバス制御装置5
により管理するデータ処理装置か知られている。
[Prior Art] Conventionally, as shown in FIG. The bus control device 5 assigns the right to use the provided address bus AB and data bus DB.
A data processing device that is managed by a computer is known.

このデータ処理装置では、バス制御装置5は、補助処理
装M2、または補助処理装置3からバス要求信号a(割
込信号)が入力されると、MPU1に対してバス解放要
求信号すを出力する。すると、MPUIはアドレスバス
AB、及びデータバスDBを解放してバス制御装置5に
バス解放信号Cを出力する。このバス解放信号Cに応答
して、バス制御装置5は、バス要求に係る補助処理装置
2、または補助処理装置3に対してバス使用許可信号d
を出力する。この信号を受けた補助処理装置2、Jなは
補助処理装置3は、アドレスバスAB、及びデータバス
DBバスを使用してメモリ4との間でデータ授受を行い
ながら所定の処理を行う。この処理の最中は、補助処理
装置2、または補助処理装置3は、バス使用信号eをバ
ス制御装置5に出力する。すると、バス制御装置5は、
バス使用信号eが入力されている間、バス解放了解信号
fをMPUIに出力する。
In this data processing device, when a bus request signal a (interrupt signal) is input from the auxiliary processing device M2 or the auxiliary processing device 3, the bus control device 5 outputs a bus release request signal S to the MPU 1. . Then, the MPUI releases the address bus AB and data bus DB and outputs a bus release signal C to the bus control device 5. In response to this bus release signal C, the bus control device 5 sends a bus use permission signal d to the auxiliary processing device 2 or 3 related to the bus request.
Output. The auxiliary processing device 2 and the auxiliary processing device 3 that have received this signal perform predetermined processing while exchanging data with the memory 4 using the address bus AB and the data bus DB bus. During this process, the auxiliary processing device 2 or 3 outputs the bus use signal e to the bus control device 5. Then, the bus control device 5
While the bus use signal e is being input, a bus release acknowledgment signal f is output to the MPUI.

そして、バス解放了解信号fが入力されている間は、M
PU1によるバスの使用が禁止される9換言すれば、バ
ス解放了解信号fの入力停止により、バス使用権がMP
U1に返還される。
Then, while the bus release acknowledgment signal f is being input, M
PU1 is prohibited from using the bus 9 In other words, by stopping the input of the bus release acknowledgment signal f, the bus usage right is
Returned to U1.

U発明が解決しようとする課題] しかし、第6図に示したように、1つの補助処理装置が
処理を終了する前に他の補助処理装置からバス要求があ
った場合には、次のような問題があった。なお、第6図
において、バス要求信号a、バス使用許可信号d、バス
使用信号eに対して添えられた数値2.3は、夫々、補
助処理装置を示す符号2.3に対応している。
Problems to be Solved by the Invention] However, as shown in FIG. 6, if there is a bus request from another auxiliary processing device before one auxiliary processing device finishes processing, the following happens. There was a problem. In addition, in FIG. 6, the numerical value 2.3 attached to the bus request signal a, the bus use permission signal d, and the bus use signal e corresponds to the number 2.3 indicating the auxiliary processing device, respectively. .

すなわち、補助処理装置2がらバス使用信号e2が出力
されている最中、換言すれば補助処理装置2によるバス
専有が終了する前に補助処理装置3からバス要求信号a
3が出力されたときは、バス制御装置5は、補助処理装
置2によるバス専有が終了しバス使用信号e2の入力が
停止した時点て、MPLIIへのバス解放了解信号fの
出力を停止し、−旦、MPU1にバス使用権を返還する
That is, while the auxiliary processing device 2 is outputting the bus use signal e2, in other words, before the auxiliary processing device 2 finishes monopolizing the bus, the bus request signal a is output from the auxiliary processing device 3.
3 is output, the bus control device 5 stops outputting the bus release acknowledgment signal f to the MPLII when the auxiliary processing device 2 finishes monopolizing the bus and stops inputting the bus use signal e2, - the right to use the bus is returned to MPU1.

このとき、MPU1には、補助処理装置3からのバス要
求信号a3に基づくバス解放要求信号すがバス制御装置
5から入力されているので、MP[Jlは、図示したよ
うに、バス解放信号Cをバス制御装置5に出力している
。そこで、バス制御装置5は、補助処理装置3に対して
バス使用許可信号d3を出力する。そこで、補助処理装
置3は、バス使用信号e3をバス制御装置5に出力して
、所定の処理を開始する このバス使用信号e3に基づいて、バス制御装置5は、
バス解放了解信号fをM P L+ 1に出力する。
At this time, since the bus release request signal based on the bus request signal a3 from the auxiliary processing device 3 is input from the bus control device 5 to the MPU 1, MP[Jl is the bus release signal C as shown in the figure. is output to the bus control device 5. Therefore, the bus control device 5 outputs a bus use permission signal d3 to the auxiliary processing device 3. Therefore, the auxiliary processing device 3 outputs the bus use signal e3 to the bus control device 5, and starts a predetermined process.Based on this bus use signal e3, the bus control device 5:
A bus release acknowledgment signal f is output to M P L+1.

このように、従来は、バス要求待ちに係る補助処理装置
が存在する場合にも、1つの補助処理装置によるバス専
有が終了する毎に、常にバス使用権をMPUに返還しな
ければならす、処理速度の点で問題があった。
In this way, conventionally, even when there is an auxiliary processing device waiting for a bus request, the right to use the bus must always be returned to the MPU every time one auxiliary processing device finishes monopolizing the bus. There was an issue with speed.

これは、バス使用権は本来的にはMPUに帰属し、必要
に応じて補助処理装置に解放すべきものとの思想に基づ
いて、バス要求待ちに係る補助処理装置の有無に拘らず
常にMPUにバス使用権を返還するため、バス要求待ち
に係る補助処理装置が存在するときは、無意味なバス使
用権の港還が行われてしまうことに起因する。
This is based on the idea that the right to use the bus originally belongs to the MPU and should be released to an auxiliary processing unit as necessary. This is due to the fact that when there is an auxiliary processing device waiting for a bus request to return the right to use the bus, a meaningless return of the right to use the bus is performed.

してみれば、このようなMPUに対イる無駄なバス使用
権の返還を回避し、バス要求待ちに係る次の補助処理装
置に対してバス使用権を直接移転できれは、高速処理が
可能になることは明らがである。
Therefore, it would be possible to avoid such wasteful return of bus usage rights to the MPU and directly transfer bus usage rights to the next auxiliary processing unit waiting for a bus request, which would improve high-speed processing. It is clear that it is possible.

この発明の課題は、1つの補助処理装置によるバス専有
の終了後、バス使用権を中央処理装置に返還することな
くバス要求待ちに係る他の補助処理装置に直接移転でき
るようにすることである9[課題を解決するための手段
] この発明の手段は次の通りである。
An object of this invention is to enable the right to use the bus to be transferred directly to another auxiliary processing unit waiting for a bus request, without returning the right to use the bus to the central processing unit, after the exclusive use of the bus by one auxiliary processing unit ends. 9 [Means for Solving the Problems] The means of the present invention are as follows.

バス制御装置(第1図の機能ブロック図を参照、以下同
じ)Aは、中央処理装置Bと複数の補助処理装置Cn(
n−1,2、・・・)との間に接続され、各装置でのバ
ス使用権が重複しないようバス切替制御を行う。
A bus control device (see the functional block diagram in Fig. 1; the same applies hereinafter) A has a central processing device B and a plurality of auxiliary processing devices Cn (
n-1, 2, . . . ), and performs bus switching control so that the right to use the bus in each device does not overlap.

バス制御装置Aの記憶手段A1は、各補助処理装置Cn
別に、当該補助処理装置Cnがバスを専有している間に
要求された他の補助処理装置Cnからのバス使用要求状
態を記憶する。
The storage means A1 of the bus control device A stores each auxiliary processing device Cn.
Separately, the state of a bus use request from another auxiliary processing device Cn that is requested while the auxiliary processing device Cn is monopolizing the bus is stored.

移転手段A2は、補助処理装置Cnによるバス専有が終
了した際、記憶手段A1に他の補助処理装置Cnからの
バス使用要求状態が記憶されておれば、バス使用権を中
央処理装置Bに返還せず、要求に係る他の補助処理装置
Cnに対して移転する。
When the exclusive use of the bus by the auxiliary processing device Cn ends, the transfer means A2 returns the right to use the bus to the central processing unit B, if the storage means A1 stores the state of a bus use request from another auxiliary processing device Cn. Instead, it is transferred to another auxiliary processing device Cn related to the request.

[作 用] この発明の手段の作用は次の通りである。[Work] The operation of the means of this invention is as follows.

例えば、今、バス制御装置Aから補助処理装置C1に対
してバス使用許可信号が与えられ、補助処理装置C1が
バスを専有して所定の処理を実行している最中に、補助
処理装置C2からバス制御装置Aにバス要求信号か入力
されたものとする。
For example, now, a bus use permission signal is given from the bus control device A to the auxiliary processing device C1, and while the auxiliary processing device C1 is monopolizing the bus and executing a predetermined process, the auxiliary processing device C2 It is assumed that a bus request signal is input to the bus control device A from the bus controller A.

すると、バス制御装置Aの記憶手段A1は、補助処理装
置C1と対応して、例えは上記補助処理装置C2からの
バス要求信号等を記憶する。
Then, the storage means A1 of the bus control device A stores, for example, a bus request signal from the auxiliary processing device C2 in correspondence with the auxiliary processing device C1.

そして、例えば補助処理装置C1からバス専有中を示す
バス使用信号の入力が停止し、補助処理装置C1による
バス専有が終了した旨を認識すると、移転手段A2は、
記憶手段A1を参照して他の補助処理装置Cnからのバ
ス使用要求の有無をサーチする。このサーチにより他の
補助処理装置Cnからのバス使用要求が無いことが判明
した場合には、移転手段A2はバス使用権を中央処理装
置Bに返還するが、この例では、他の補助処理装置C2
からバス使用要求が為され、バス待ち中であることが判
明するので、移転手段A2は、バス使用権を中央処理装
置Bに返還せず、バス使用許可信号を補助処理装置C2
に出力する等して、バス要求に係る補助処理装置C2に
対して直接バス使用権を移転する9 従って、1つの補助処理装置によるバス専有の終了後、
バス使用権を中央処理装置に返還することなくバス要求
待ちに係る他の補助処理装置に直接移転できる。
Then, for example, when the input of the bus use signal indicating bus exclusive use from the auxiliary processing device C1 stops and it is recognized that the bus exclusive use by the auxiliary processing device C1 has ended, the transfer means A2
The storage means A1 is referred to to search for the presence or absence of a bus use request from another auxiliary processing device Cn. If it is found through this search that there is no bus usage request from another auxiliary processing unit Cn, the transfer means A2 returns the bus usage right to the central processing unit B. C2
Since the transfer means A2 makes a bus use request from the central processing unit B and finds out that it is waiting for the bus, the transfer means A2 does not return the bus use right to the central processing unit B and sends the bus use permission signal to the auxiliary processing unit C2.
The right to use the bus is directly transferred to the auxiliary processing device C2 related to the bus request by outputting the bus to
The right to use the bus can be directly transferred to another auxiliary processing unit waiting for a bus request without returning it to the central processing unit.

[実施例] 以下、一実施例を第2図ないし第4図を参照しながら説
明する。
[Example] An example will be described below with reference to FIGS. 2 to 4.

第2図は、データ処理装置のブロック構成図であり、第
5図に示した従来例と同一のMPU1、複数の補助処理
装置2.3、メモリ4、アドレスバスAB、データバス
DBを有している。また、バスゲート6は、第5図では
図示省略されているが、このバスケート6も従来膜けら
れいていたものであって、MPU1は、バス切替信号g
に基づいてバスゲート6を開閉することにより、MPU
1からのバス解放を制御する。
FIG. 2 is a block diagram of a data processing device, which includes the same MPU 1, multiple auxiliary processing devices 2.3, memory 4, address bus AB, and data bus DB as in the conventional example shown in FIG. ing. Further, although the bus gate 6 is not shown in FIG.
By opening and closing the bus gate 6 based on the MPU
Controls bus release from 1.

第2図の本実施例のバス制御装置50は、従来のバス制
御装置5と多少異なってはいるが、第2図に示したバス
要求出力回路51、バス使用許可信号生成回路52、バ
ス解放了解信号生成口B53それ自体は、従来のバス制
御装置5にも設けられていたいたものである。
Although the bus control device 50 of this embodiment shown in FIG. 2 is slightly different from the conventional bus control device 5, it includes a bus request output circuit 51, a bus use permission signal generation circuit 52, a bus release signal generation circuit 52, and a bus release circuit 52 shown in FIG. The acknowledgment signal generation port B53 itself was also provided in the conventional bus control device 5.

本実施例のバス制御装置50は、第3図に示したように
、上記従来のバス要求出力回路51、バス使用許可信号
生成回路52、バス解放了解信号生成回路53の池に、
フリップフロップFFI、FF2、アンドゲートAND
I、AND2、及びオアゲートORを有している。
As shown in FIG. 3, the bus control device 50 of this embodiment includes the conventional bus request output circuit 51, bus use permission signal generation circuit 52, and bus release acknowledgment signal generation circuit 53.
Flip-flop FFI, FF2, and gate AND
It has I, AND2, and an OR gate.

バス要求出力回路51は、補助処理装置2又は3からの
前述のバス要求信号a2又はa3に基ついて、MPU1
に対してバス解放要求信号すを出力する。
The bus request output circuit 51 outputs a signal from the MPU 1 based on the aforementioned bus request signal a2 or a3 from the auxiliary processing device 2 or 3.
A bus release request signal is output to the bus.

バス使用許可信号生成口′7I@52は、MPU1がら
の前述のバス解放信号Cに基ついて、バス使用許可信号
d2又はd3を生成し、補助処理装置2又は3に対して
出力する。このバス使用許可信号生成回路52には、前
述のバス要求信号a2又はa3と、バス使用信号e2又
はe3も入力されており、バス要求信号a2 、a3は
、バス使用許可信号d2 、d3のいずれを生成 出力
するかを判断するために活用される。また、バス使用信
号e2、e3は、これらが入力されているときは、バス
専有中の補助処理装置2又は3が存在することを意味す
るので、例えバス解放信号Cか入力されても、その時点
ではバス使用許可信号d2又はd3を生成・出力しない
ようにして、常に1つの装置がアドレスバスAB、デー
タバスDBを専有するよう制御するために活用される。
The bus use permission signal generation port '7I@52 generates a bus use permission signal d2 or d3 based on the above-mentioned bus release signal C from the MPU 1, and outputs it to the auxiliary processing device 2 or 3. The above-mentioned bus request signal a2 or a3 and bus use signal e2 or e3 are also input to this bus use permission signal generation circuit 52, and the bus request signals a2 and a3 are different from any of the bus use permission signals d2 and d3. It is used to determine whether to generate or output. Furthermore, when the bus use signals e2 and e3 are input, it means that there is an auxiliary processing device 2 or 3 that is monopolizing the bus, so even if the bus release signal C is input, At this point in time, the bus use permission signal d2 or d3 is not generated or outputted, and is used to control so that one device always monopolizes the address bus AB and data bus DB.

すなわち、補助処理装置2からのバス要求信号a2が入
力されているときは、上記バス使用許可信号d2を補助
処理装置2に出力し、補助処理装置3からのバス要求信
号a3が入力されているときは、上記バス使用許可信号
d3を補助処理装置3に出力する。また、例えば、第4
図、および第6図にX印で示したように、バス使用信号
e2が入力されている状態でバス解放信号Cが入力され
たときは、現在補助処理装置2がバス専有中であるので
、その時点では補助処理装置3に対するバス使用許可信
号d3の生成・出力を禁止する。
That is, when the bus request signal a2 from the auxiliary processing device 2 is input, the bus use permission signal d2 is output to the auxiliary processing device 2, and the bus request signal a3 from the auxiliary processing device 3 is input. , the bus use permission signal d3 is output to the auxiliary processing device 3. Also, for example, the fourth
As shown by the X mark in the figure and FIG. 6, when the bus release signal C is input while the bus use signal e2 is being input, the auxiliary processing device 2 is currently monopolizing the bus. At that point, generation and output of the bus use permission signal d3 to the auxiliary processing device 3 is prohibited.

バス解放了解信号生成回路53は、補助処理装置2又は
3からの前述のバス使用信号e2又はC3に基づいてバ
ス解放了解信号fを生成する。なお、このバス解放了解
信号fは、本実施例では後述するように補正されてMP
UIに出力される9アンドゲートAND1には、補助処
理装置2がらのバス要求信号a2、MPUIがらのバス
解放信号C1補助処理装置3からのバス使用信号e3か
入力され、その出力信号によりフリップフロップFFI
をセットする。このフリップフロップFF1は、補助処
理装置2がらのバス使用信号e2によりリセットされ、
セット信号はオアゲートORに出力される。また、アン
トゲートAND2には、補助処理装置3がちのバス要求
信号a3 、 MPUIからのバス解放信号C1補助処
理装置2がろのバス使用信号e2が入力され、その出方
信号によりフリップフロップFF2をセットする。この
フリップフロップFF2は、補助処理装置3がらのバス
使用信号e3によりリセットされ、セット信号はオアゲ
ートORに出力される。
The bus release acknowledgment signal generation circuit 53 generates the bus release acknowledgment signal f based on the aforementioned bus use signal e2 or C3 from the auxiliary processing device 2 or 3. In addition, in this embodiment, the bus release acknowledgment signal f is corrected as described later and becomes MP
A bus request signal a2 from the auxiliary processing unit 2, a bus release signal C1 from the MPUI, and a bus use signal e3 from the auxiliary processing unit 3 are input to the 9-AND gate AND1 output to the UI, and the output signal causes the flip-flop to be activated. FFI
Set. This flip-flop FF1 is reset by the bus use signal e2 from the auxiliary processing device 2,
The set signal is output to the OR gate OR. Furthermore, the bus request signal a3 from the auxiliary processing unit 3, the bus release signal C1 from the MPUI, and the bus use signal e2 from the auxiliary processing unit 2 are input to the ant gate AND2, and the output signal causes the flip-flop FF2 to be activated. set. This flip-flop FF2 is reset by a bus use signal e3 from the auxiliary processing device 3, and a set signal is output to the OR gate OR.

オアゲートORには、上記フリップフロップFF1、F
F2がちのセット信号の他に、バス解放了解信号生成回
路53がらのバス解放了解信号fか入力される。このオ
アゲートORは、バス解放了解信号fを、フリップフロ
ップFFI、FF2からのセット信号に基づいて補正し
、バス解放了解補止信号ffとしてMPU1に出力する
ことによって、バス待ちに係る補助処理装置2.3が存
在するときは、MPU1から解放されているバス使用権
を、MPLIIに返還することなく当該バス待ちに係る
補助処理装置2.3に直接移転するために活用される。
The above flip-flops FF1 and F are used for the OR gate OR.
In addition to the set signal F2, a bus release acknowledge signal f from the bus release acknowledge signal generation circuit 53 is input. This OR gate OR corrects the bus release acknowledgment signal f based on the set signals from the flip-flops FFI and FF2, and outputs it to the MPU 1 as a bus release acknowledgment correction signal ff, thereby correcting the bus release acknowledgment signal f to the auxiliary processing device 2 related to bus waiting. When .3 exists, it is used to directly transfer the bus usage right released from the MPU 1 to the auxiliary processing device 2.3 that is waiting for the bus, without returning it to the MPLII.

次に、上記バス使用権の直接移転動作を第6図のタイム
チャートを参照しながら説明する。
Next, the above-mentioned direct transfer operation of the right to use the bus will be explained with reference to the time chart of FIG.

今、MPU1からのバス解放信号Cが、第6図に示した
■の状態になったものとする。
It is now assumed that the bus release signal C from the MPU 1 is in the state shown in FIG.

この状態では、図示したように、アントゲートAND2
に入力されるバス要求信号a3、バス解放信号C、バス
使用信号e2は、いずれもH”レヘルとなり、フリ・ノ
ブフロップFF2がセットされる。すなわち、■の状態
は、バス要求信号a3、バス使用信号e2、バス解放信
号Cが゛Hパレヘルであることから、補助処理装置2が
バスを専有している最中に、補助処理装置3がらのバス
要求があり、この要求に基づいてバス解放信号Cがバス
制御装置50に入力された状態である。
In this state, as shown, ant gate AND2
The bus request signal a3, bus release signal C, and bus use signal e2 that are input to Since the signal e2 and the bus release signal C are ゛H parehel, there is a bus request from the auxiliary processing device 3 while the auxiliary processing device 2 is monopolizing the bus, and based on this request, the bus release signal is issued. C is input to the bus control device 50.

なお、この状態では、バス解放了解信号生成回853か
らは°°H°°レヘルのバス解放了解信号fが出力され
てオアケートORに入力されているので、オアケートO
RからMP[Jlに出力されるバス解放了解補正信号f
fもH°“レヘルとなっている。すなわち、バス解放了
解補正信号ffは、°゛信号り°°の状態となっており
、当然、バスはMPL、ilから解放されている。
In this state, the bus release acknowledgment signal f of °°H°° level is output from the bus release acknowledgment signal generation circuit 853 and is input to the ORKET OR, so the ORKET OR
Bus release acknowledgment correction signal f output from R to MP[Jl
f is also at the H° level. That is, the bus release acknowledgment correction signal ff is at the H° level, and the bus is naturally released from the MPL and il.

そして、補助処理装置2によるバス使用が終了したのに
伴ってバス使用信号e2が“’L”l/ヘルに変化し、
それに応答して、バス解放了解信号生成回路53からの
バス解放了解信号fも゛L°°レヘルに変化したものと
する(■参照)。この場合、従来のように“L″レベル
バス解放了解信号fを補正せずにそのままMPLJlに
出力すると、バス使用権かMPIJ 1に返還されてし
まう。しかし、本実施例でのこのタイミンクでは、フリ
ップフロップFF2にリセット入力されるバス使用信号
e3は“L′ルヘルてあり、リセットがかがらないので
、■に示したように、フリップフロップFF2はセット
されたままとなっている。そして、このフリップフロッ
プFF2のセット信号はオアゲートORに入力されるの
で、MPU1に出力されるバス解放了解補正信号ffは
、図示したように、“信号有り”を意味する゛H°°レ
ベルの状態を維持したままとなる。すなわち、バス解放
了解信号fの°“L″レベル部分は、フリップフロラ1
FF2のセット信号により補間〈補正)され、”H”レ
ベルのままのバス解放了解補正信号ffとして出力され
るので、MPU1へのバス使用権(占有権)の返還が禁
止されることとなる。
Then, as the bus use by the auxiliary processing device 2 is completed, the bus use signal e2 changes to "'L" l/hell,
In response, it is assumed that the bus release acknowledgment signal f from the bus release acknowledgment signal generation circuit 53 also changes to the "L°° level" (see (2)). In this case, if the "L" level bus release acknowledgment signal f is output as is to MPLJl without correction as in the prior art, the right to use the bus will be returned to MPIJ1. However, at this timing in this embodiment, the bus use signal e3 that is reset input to the flip-flop FF2 is "L" and the reset is not activated, so the flip-flop FF2 is set as shown in (3). Since the set signal of flip-flop FF2 is input to the OR gate OR, the bus release acknowledgment correction signal ff output to MPU1 means "signal present" as shown in the figure. In other words, the “L” level portion of the bus release acknowledge signal f is
Since it is interpolated (corrected) by the set signal of FF2 and outputted as the bus release acknowledgment correction signal ff, which remains at the "H" level, the return of the bus usage right (occupancy right) to the MPU 1 is prohibited.

従って、第4図と第6図との比較から明らかなように、
バス使用許可信号生成回路52は、補助処理装置3に対
して、迅速にバス使用許可信号d3を迅速に出力してバ
ス使用権を直接移転することが可能となり、その分、全
体の処理速度がアップすることとなる。
Therefore, as is clear from the comparison between Figures 4 and 6,
The bus use permission signal generation circuit 52 can quickly output the bus use permission signal d3 to the auxiliary processing device 3 to directly transfer the right to use the bus, thereby increasing the overall processing speed. It will be uploaded.

なお、補助処理装置3がバス専有中に補助処理装置2か
らのバス要求か有った場合は、フリップフロップFFI
が上記のフリップフロップFF2と同様の機能を果たす
、このように、フリップフロップFFI等を追加するだ
けで簡単に目的を達成している。
Note that if there is a bus request from the auxiliary processing device 2 while the auxiliary processing device 3 is monopolizing the bus, the flip-flop FFI
performs the same function as the flip-flop FF2 described above.In this way, the purpose is easily achieved by simply adding the flip-flop FFI and the like.

この発明は、上記の実施例に限定されることなく、例え
ば、補助処理装置が3つ以上存在する場合にも適用可能
である。この場合には、補助処理装置の個数分のフリッ
プフロップと、アンドゲートを設け、各アントゲートに
は、MPUからのバス解放信号と、対応する補助処理装
置からのバス要求信号と、対応しない全ての補助処理装
置からのバス使用信号を入力すれば良い9この際、1つ
の補助処理装置がバス専有中に他の複数の補助処理装置
からのバス要求が発生した場合、それらのバス専有優先
順位を記憶しておけば、バス専有優先順位の高い補助処
理装置から順にバス使用権を直接移転でき便利である。
The present invention is not limited to the above-described embodiments, and can be applied, for example, to a case where there are three or more auxiliary processing devices. In this case, flip-flops and AND gates corresponding to the number of auxiliary processing devices are provided, and each ant gate receives a bus release signal from the MPU, a bus request signal from the corresponding auxiliary processing device, and a bus request signal from the corresponding auxiliary processing device. In this case, if bus requests from multiple auxiliary processing units occur while one auxiliary processing unit is monopolizing the bus, their bus exclusive priority order By memorizing this, it is convenient to directly transfer the right to use the bus starting from the auxiliary processing device with the highest priority for bus exclusive use.

また、フリップフロップ等を活用せず、ソフト的にバス
制御を行うことも可能である。
It is also possible to perform bus control using software without using flip-flops or the like.

[発明の効果] この発明によれば、1つの補助処理装置によるバス使用
の終了後、バス使用権を中央処理装置に返還することな
くバス要求待ちに係る他の補助処理装置に直接移転でき
、迅速処理が可能となる。
[Effects of the Invention] According to the present invention, after one auxiliary processing device finishes using the bus, the right to use the bus can be directly transferred to another auxiliary processing device waiting for a bus request without returning it to the central processing unit. Rapid processing becomes possible.

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

第1図は本発明の機能ブロック図、第2図は実施例のブ
ロック構成図、第3図は第2図におけるバス制御装置の
詳細な構成図、第4図は実施例におけるバス使用権の直
接移転動作を説明するためのタイムチャート、第5図は
従来のブロック構成図、第3図は従来技術の問題点を説
明するためのタイムチャートである。 1・・MPU、2.3・・補助処理装置、50−バス制
御装置、52−・バス使用許可信号生成回路、FFI、
FF2・・フリップフロップ、AND 1 。 AND2・・・アントゲート、OR・・オアゲート。 m4図
FIG. 1 is a functional block diagram of the present invention, FIG. 2 is a block configuration diagram of an embodiment, FIG. 3 is a detailed configuration diagram of the bus control device in FIG. 2, and FIG. 4 is a diagram of bus usage rights in the embodiment. FIG. 5 is a time chart for explaining the direct transfer operation, FIG. 5 is a block diagram of the conventional technique, and FIG. 3 is a time chart for explaining the problems of the conventional technique. 1...MPU, 2.3...Auxiliary processing unit, 50-bus control device, 52--bus use permission signal generation circuit, FFI,
FF2...Flip-flop, AND 1. AND2... Ant gate, OR... Or gate. m4 diagram

Claims (1)

【特許請求の範囲】 中央処理装置と複数の補助処理装置との間に接続され、
各装置でのバス使用権が重複しないようバス切替制御を
行うバス制御装置において、各補助処理装置別に、当該
補助処理装置がバスを専有している間に要求された他の
補助処理装置からのバス使用要求状態を記憶する記憶手
段と、補助処理装置によるバス専有が終了した際、上記
記憶手段に他の補助処理装置からのバス使用要求状態が
記憶されておれば、バス使用権を中央処理装置に返還せ
ず、要求に係る他の補助処理装置に対して移転する移転
手段と、 を有することを特徴とするバス制御装置。
[Claims] Connected between a central processing unit and a plurality of auxiliary processing units,
In a bus control device that performs bus switching control so that bus usage rights do not overlap between devices, each auxiliary processing device can receive requests from other auxiliary processing devices while the auxiliary processing device is monopolizing the bus. A storage means for storing a bus usage request state, and when the auxiliary processing unit finishes monopolizing the bus, if the bus usage request state from another auxiliary processing unit is stored in the storage means, the bus usage right is transferred to the central processing unit. A bus control device comprising: transfer means for transferring the request to another auxiliary processing device without returning it to the device.
JP14704690A 1990-06-05 1990-06-05 bus controller Pending JPH0439757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14704690A JPH0439757A (en) 1990-06-05 1990-06-05 bus controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14704690A JPH0439757A (en) 1990-06-05 1990-06-05 bus controller

Publications (1)

Publication Number Publication Date
JPH0439757A true JPH0439757A (en) 1992-02-10

Family

ID=15421285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14704690A Pending JPH0439757A (en) 1990-06-05 1990-06-05 bus controller

Country Status (1)

Country Link
JP (1) JPH0439757A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347986A (en) * 1999-06-03 2000-12-15 Matsushita Electric Ind Co Ltd Microcomputer, bus arbitration method, bus slave device, and bus sharing system device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347986A (en) * 1999-06-03 2000-12-15 Matsushita Electric Ind Co Ltd Microcomputer, bus arbitration method, bus slave device, and bus sharing system device

Similar Documents

Publication Publication Date Title
US5497501A (en) DMA controller using a predetermined number of transfers per request
EP0443557B1 (en) Interrupt controller capable of realizing interrupt nesting function
US7203781B2 (en) Bus architecture with primary bus and secondary or slave bus wherein transfer via DMA is in single transfer phase engagement of primary bus
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
US20040059563A1 (en) Emulatd atomic instruction sequences in a multiprocessor system
JPH0439757A (en) bus controller
JP2005505858A (en) Computer system with communication bus
JPS599767A (en) Multiprocessor
JP6416488B2 (en) Semiconductor device
JPH0635800A (en) Microprocessor and data processing system using it
JP2972557B2 (en) Data transfer control device and control method
KR970008189B1 (en) Memory space control method and memory device
JP2679440B2 (en) Information processing device
JPH06208542A (en) Bus contention system
JP2018165915A (en) Computer system, and memory copy method
KR930022207A (en) Master / Slave Memory Sharing Device and Sharing Control Method
JPH11282888A (en) Data communication method, interrupt controller synthesizing method and interface circuit synthesizing method in system designed based on system specification description
KR0127884B1 (en) Mail box interrupt generating device
JP3206013B2 (en) Direct memory access transfer controller
JPS5856057A (en) Interruption signal generating device
JPH06332842A (en) Direct memory access control circuit
JP2010079369A (en) Data processing system, data processor and bus arbitration method
JP2000305878A (en) Function extension system and data transfer method used for the same
JPH0434187B2 (en)
JP2000040071A (en) Order guarantee system by multiplexed bus