JPH0821018B2 - Data processing device - Google Patents
Data processing deviceInfo
- Publication number
- JPH0821018B2 JPH0821018B2 JP63017158A JP1715888A JPH0821018B2 JP H0821018 B2 JPH0821018 B2 JP H0821018B2 JP 63017158 A JP63017158 A JP 63017158A JP 1715888 A JP1715888 A JP 1715888A JP H0821018 B2 JPH0821018 B2 JP H0821018B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- priority
- acquisition request
- output
- signal
- 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.)
- Expired - Lifetime
Links
Landscapes
- Bus Control (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は共通バスの優先制御手段を備えたデータ処理
装置に係り、特に共通バスの信号本数を少なくしてかつ
高占有状態時の占有制御に好適なバス優先制御手段を備
えたデータ処理装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device provided with a priority control means for a common bus, and particularly to an occupation control when the number of signals on the common bus is small and in a high occupation state. The present invention relates to a data processing device having a bus priority control means suitable for the above.
従来の共通バス優先制御手段を備えたデータ処理装置
は、第1は特公昭61−42306号に記載のように、共通バ
ス使用中でない時に共通バス使用要求と同時に共通バス
自己番号(以下にID番号(機器番号)と呼ぶ)を出力し
て、優先判定を行つている。また第2は特開昭59−2086
23号に記載のように、共通バスを獲得したデータ処理装
置がデータ転送中に転送データとともにID番号を出力
し、各データ処理装置がこのID番号を受け取つて、次回
転送の優先判定に使用する方法を採つている。As described in Japanese Patent Publication No. 61-42306, the first data processing apparatus provided with the common bus priority control means has a common bus use request and a common bus self number (hereinafter referred to as ID number) when the common bus is not in use. A number (called a device number) is output and priority determination is performed. The second is JP-A-59-2086.
As described in No. 23, the data processing device that has acquired the common bus outputs the ID number along with the transfer data during data transfer, and each data processing device receives this ID number and uses it for priority determination of the next transfer. Take the method.
上記従来技術は、第1はデータ転送の共通バス使用終
了後に次回転送のための優先判定を行わねばならないた
め、共通バスのデータ転送使用効率が低下し、ひいては
共通バスのデータ転送スループツトが小さくなる問題が
あつた。また第2は共通バスを獲得したデータ処理装置
がID番号を他のデータ処理装置に知らせるために、ID番
号信号線が必要であり、例えば4台のデータ処理装置を
接続できる共通バスであれば2本のID用信号が必要とな
るから、このぶん共通バス信号線本数が増加し、信号ケ
ーブルの余裕信号線数がない場合には信号ケーブルが1
本新たに追加されねばならない場合があり得て、信号本
数が増えるという問題があつた。In the above-mentioned prior art, firstly, the priority determination for the next transfer must be made after the use of the common bus for data transfer is completed, so that the data transfer use efficiency of the common bus is lowered, and consequently the data transfer throughput of the common bus is reduced. There was a problem. The second is that the data processing device that has acquired the common bus needs an ID number signal line in order to notify the other data processing device of the ID number. For example, if the common bus can connect four data processing devices, Since two ID signals are required, the number of common bus signal lines will increase, and if there is no signal cable margin signal line, one signal cable will be used.
There may be a case where a book has to be newly added, which causes a problem that the number of signals increases.
本発明の目的は共通バス信号線数を少なくしてかつ共
通バスのデータ転送効率の高い共通バス優先制御手段を
備えたデータ処理装置を提供するにある。It is an object of the present invention to provide a data processing device provided with a common bus priority control means which reduces the number of common bus signal lines and has high data transfer efficiency of the common bus.
上記目的は、共通バスを共有する複数個の機器にそれ
ぞれ占有制御線を介し相互接続されて設けられた占有制
御手段がバス獲得要求信号からバス優先判定を行なつた
結果である前回データを転送した機器番号を記憶するレ
ジスタを設け、該レジスタの内容により次回バス得獲要
求信号に対するバス優先判定を行なうようにしたデータ
処理装置により達成される。The above object is to transfer the previous data, which is the result of the bus priority determination from the bus acquisition request signal by the occupancy control means, which are connected to the plurality of devices sharing the common bus, respectively via the occupancy control lines. This is achieved by a data processing device in which a register for storing the device number is provided, and the bus priority determination for the next bus acquisition request signal is performed based on the contents of the register.
上記データ処理装置は、占有制御手段が予め設定され
た優先順位と占有制御線を介して送られてきたバス獲得
要求信号とによりバス優先順位を判定するさいに、自機
器内で前回バス獲得要求信号から生成して上記レジスタ
に記憶された前回データ転送の機器番号により優先順位
を変更して次回バス獲得要求信号に対する優先判定を行
なうことができるので、共通バスの信号線数を減少して
かつ共通バスのデータ転送中に次回データ転送のための
優先判定を行ない転送効率が高められる。When the occupancy control means determines the bus priority by the preset priority order and the bus acquisition request signal sent via the occupancy control line, the data processing device sets the previous bus acquisition request in its own device. Since it is possible to change the priority order by the device number of the previous data transfer generated from the signal and stored in the above register to make the priority determination for the next bus acquisition request signal, reduce the number of signal lines of the common bus and During the data transfer of the common bus, the priority determination for the next data transfer is performed to improve the transfer efficiency.
以下に本発明の一実施例を第1図から第5図により説
明する。An embodiment of the present invention will be described below with reference to FIGS. 1 to 5.
第2図は本発明によるデータ処理装置の一実施例を示
すシステム構成図である。第2図において、1a〜1dは共
有メモリ装置、4a〜4dはCPU入出力バス、5a〜5dはCPU、
51a〜51dは主記憶装置、6は共有メモリバスである。第
2図のシステムは4台のCPU5a〜5dほかを含む機器(デ
ータ処理装置)で構成した例であり、個別の機器のCPU5
a〜5dから他の機器のCPUに対してデータ転送したい場合
に、それぞれにCPU入出力バス4a〜4dを介して接続され
た共有メモリ装置1a〜1dに対してアクセスを行い、それ
ぞれの共有メモリ装置1a〜1dは共有メモリバス6に接続
され、この共有メモリバス6を経由して他の共有メモリ
装置に対しデータを転送する。FIG. 2 is a system configuration diagram showing an embodiment of the data processing device according to the present invention. In FIG. 2, 1a to 1d are shared memory devices, 4a to 4d are CPU input / output buses, 5a to 5d are CPUs,
51a to 51d are main memory devices, and 6 is a shared memory bus. The system shown in FIG. 2 is an example that is configured by devices (data processing devices) including four CPUs 5a to 5d and the like.
When you want to transfer data from a to 5d to the CPU of another device, access the shared memory devices 1a to 1d connected via the CPU input / output buses 4a to 4d, and access the shared memory. The devices 1a to 1d are connected to the shared memory bus 6 and transfer data to other shared memory devices via the shared memory bus 6.
第3図は第2図の共有メモリ装置の内部ブロツク図で
ある。第3図において、110はFIFO、12は優先選択回
路、13はバス獲得制御回路(占有制御手段)、14は共有
メモリ、150,151はセレクタ、16はメモリ制御回路、41
は接続信号、171,172は起動,応答接続信号、181〜187
は出力バツフアまたは入力ゲートである。第3図には1
つの共有メモリ装置1aの内部ブロツク図を示し、他の共
有メモリ装置1b〜1dも同様である。第3図のCPU5aから
書込み動作があると、そのアクセスのアドレスをFIFO11
0にセツトして、データを共有メモリ14に格納するとと
もに、メモリ制御回路16に対して起動をかける。起動を
かけられたメモリ制御回路16は共有メモリバス6への転
送要求をバス獲得制御回路13に報告する。FIG. 3 is an internal block diagram of the shared memory device of FIG. In FIG. 3, 110 is a FIFO, 12 is a priority selection circuit, 13 is a bus acquisition control circuit (occupancy control means), 14 is a shared memory, 150 and 151 are selectors, 16 is a memory control circuit, 41
Is a connection signal, 171, 172 is a start, response connection signal, 181-187
Is an output buffer or an input gate. 1 in FIG.
An internal block diagram of one shared memory device 1a is shown, and the other shared memory devices 1b to 1d are also the same. When there is a write operation from the CPU 5a in FIG. 3, the access address is set to FIFO11.
The data is stored in the shared memory 14 by setting to 0, and the memory control circuit 16 is activated. The activated memory control circuit 16 reports the transfer request to the shared memory bus 6 to the bus acquisition control circuit 13.
第1図は第3図の共有メモリ装置の優先判定ブロツク
図である。第1図において、第3図の優先選択回路12お
よびバス獲得制御回路(占有制御手段)13の詳細ブロツ
ク図を示し、61はバス獲得要求信号バス(占有制御
線)、62はバス使用状態信号、121は優先判定回路、122
はセレクタ、123は初期IDレジスタ、124は前回マスタ記
憶メモリ(レジスタ)、125はPRESEL(プリセレクト)
信号、131はコンパレータ、132はアンドゲート、133はI
D設定器、134はフリツプフロツプ、135はLOCK(ロツ
ク)発生回路、136,137は出力バツフア、138は入力ゲー
ト、139は接続信号、141はLOCK信号、142はラツチレジ
スタ、143はフリツプフロツプ、144はリセツト信号、16
1は転送要求信号である。FIG. 1 is a priority decision block diagram of the shared memory device of FIG. FIG. 1 is a detailed block diagram of the priority selection circuit 12 and the bus acquisition control circuit (occupancy control means) 13 shown in FIG. 3, 61 is a bus acquisition request signal bus (occupancy control line), and 62 is a bus use status signal. , 121 is a priority determination circuit, 122
Is a selector, 123 is an initial ID register, 124 is the previous master memory (register), 125 is PRESEL (preselect)
Signal, 131 is comparator, 132 is AND gate, 133 is I
D setting device, 134 is a flip-flop circuit, 135 is a LOCK generation circuit, 136 and 137 are output buffers, 138 is an input gate, 139 is a connection signal, 141 is a LOCK signal, 142 is a latch register, 143 is a flip-flop, and 144 is a reset signal. , 16
1 is a transfer request signal.
第4図は第1図の優先判定動作タイムチヤートであ
る。第1図の構成で、上記した転送要求が第3図のメモ
リ制御回路16から転送要求信号161としてバス獲得制御
回路13に入力されると、ラツチレジスタ142を経由して
出力バツフア136によりバス獲得要求信号として共有メ
モリバス6のバス獲得要求信号バス61のうち、当該共有
メモリ装置1aのID番号(機器番号)に対応する信号線に
出力する。このバス獲得要求信号バス61は第2図に示す
ように4台の共通メモリ装置が接続された場合には、接
続された共通メモリ装置の台数と同じ4本で構成され
る。いま上記した第1図のバス獲得要求信号REQa−P
(第4図)が共有メモリ装置1aからバス獲得要求信号バ
ス61に出力されると、接続された全ての共有メモリ装置
1a〜1d内のバス獲得制御回路13のLOCK発生回路135に入
力される。このLOCK発生回路135はバス獲得要求信号バ
ス61の全ての信号のいずれかの信号がONしていれば、LO
CK信号141のLOCK−P(第4図)を出力する。このLOCK
信号141はラツチレジスタ142に働きかけ、その時点の転
送要求信号161の状態をラツチさせ、新たなバス獲得要
求信号の発生を禁ずるとともにフリツプフロツプ134を
セツトする。このLOCK信号141の出力後からバス獲得要
求信号バス61の安定化および優先選択回路12内の優先判
定回路121における優先判定時間t1(第4図)を経過し
た後に、優先判定回路121内で優先判定結果のサンプリ
ング信号SAMPLE−P(第4図)が作り出される。ここで
優先判定回路121はセレクタ122を介して前回マスク記憶
メモリ124内の優先順位最下位のID番号をA入力とし、
バス獲得要求信号バス61をB入力として優先判定を行
い、サンプリング信号SAMPLE−Pにより優先判定結果を
ラツチしてPRESEL信号125を出力する。ここで優先判定
回路121のA入力である優先順位最下位のID番号がID番
号dであつたとすると、優先判定結果のID番号aがバス
占有権を確得し、PRESLE信号125のPRESELa−P(第4
図)のみONする。なおこのPRESEL信号125はそれぞれの
共有メモリ装置1a〜1dがバス獲得要求信号バス61と同じ
数だけ備えている。FIG. 4 is a time chart of the priority determination operation of FIG. In the configuration of FIG. 1, when the above-mentioned transfer request is input to the bus acquisition control circuit 13 from the memory control circuit 16 of FIG. 3 as the transfer request signal 161, the bus acquisition is performed by the output buffer 136 via the latch register 142. The request signal is output to the signal line corresponding to the ID number (device number) of the shared memory device 1a in the bus acquisition request signal bus 61 of the shared memory bus 6. When four common memory devices are connected as shown in FIG. 2, the bus acquisition request signal bus 61 is composed of the same four as the number of connected common memory devices. The bus acquisition request signal REQa-P shown in FIG.
When (Fig. 4) is output from the shared memory device 1a to the bus acquisition request signal bus 61, all the connected shared memory devices are connected.
It is input to the LOCK generation circuit 135 of the bus acquisition control circuit 13 in 1a to 1d. This LOCK generation circuit 135 is a LO signal if any of all signals on the bus acquisition request signal bus 61 is ON.
LOCK-P (Fig. 4) of CK signal 141 is output. This LOCK
The signal 141 acts on the latch register 142 to latch the state of the transfer request signal 161 at that time, prohibit the generation of a new bus acquisition request signal, and set the flip-flop 134. After the output of the LOCK signal 141, the bus acquisition request signal bus 61 is stabilized, and after the priority judgment time t 1 (FIG. 4) in the priority judgment circuit 121 in the priority selection circuit 12 has elapsed, A sampling signal SAMPLE-P (FIG. 4) of the priority determination result is generated. Here, the priority determination circuit 121 inputs the lowest priority ID number in the previous mask storage memory 124 via the selector 122 as A input,
The bus acquisition request signal bus 61 is used as the B input for priority determination, and the priority determination result is latched by the sampling signal SAMPLE-P and the PRESEL signal 125 is output. If the lowest ID number of the priority order, which is the A input of the priority determination circuit 121, is the ID number d, the ID number a of the priority determination result can acquire the bus occupancy right, and the PRESELa-P of the PRESLE signal 125 can be obtained. (4th
Only the figure) turns on. The PRESEL signal 125 is provided in the same number as the bus acquisition request signal bus 61 in each of the shared memory devices 1a to 1d.
上記のPRESEL信号125と自己のID設定器133のID番号と
をバス獲得制御回路13のコンパレータ131で比較し、自
己がバス獲得できると上記転送要求信号161とともにAND
ゲート132を介してバス使用状態フリツプフロツプ143を
セツトしSEL(セレクト)信号のSELa−P(第4図)を
出力し、共有メモリバス6上にバス使用状態信号62のBU
SY−P(第4図)を出力するとともに、第3図のメモリ
制御回路16にバスが獲得できたことを接続信号139で知
らせる。上記バス使用状態信号62が共有メモリバス6上
に出力されると入力ゲート138で取り込み、LOCK発生回
路135をリセツトさせて(第4図)、不要となつたバス
獲得要求信号バス61をリセツトさせ、次バス獲得要求信
号REQの受付け準備にはいる。ここでCPU5aによる共有メ
モリ装置のアクセスおよびデータ転送が行われ(第4
図)、データ転送が終了するとメモリ制御回路16はFFリ
セツト信号144を出力し、バス使用状態フリツプフロツ
プ143をリセツトする。上記の優先判定回路121の優先判
定結果であるPRESEL信号125は前回マスタ記憶メモリ124
にセツトされ、セレクタ122を経由してこの前回マスタ
記憶メモリ124の内容であるID番号が次回優先判定時の
優先順位を変更すべくA入力として優先判定回路121に
入力される。引き続いてバス使用中にバス獲得要求信号
バス61がONしてバス獲得要求信号REQb−P(第4図)が
出力されると、こんどはバス使用状態信号62のBUSY−P
が出力されているので優先判定回路121での優先判定が
終つてPRESEL信号125のPRESELb−P(第4図)のみONし
た状態で待ち状態に入り、共有メモリバス6上のデータ
転送が終了してバス使用状態信号62のBUSY−PがOFFす
ると、共有メモリバス6を獲得した共有メモリ装置1bが
バス使用状態フリツプフロツプ143をセツトして信号SEL
b−P(第4図)を出力し、バス使用状態信号62のBUSY
−PをONして、CPU5bによるデータ転送が開始される。The PRESEL signal 125 and the ID number of its own ID setter 133 are compared by the comparator 131 of the bus acquisition control circuit 13, and if the bus can be acquired by itself, it is ANDed with the transfer request signal 161.
The bus usage status flip-flop 143 is set via the gate 132 to output the SEL (select) signal SELa-P (FIG. 4), and the bus usage status signal 62 BU on the shared memory bus 6.
In addition to outputting SY-P (Fig. 4), the memory control circuit 16 of Fig. 3 is notified by the connection signal 139 that the bus has been acquired. When the bus use status signal 62 is output to the shared memory bus 6, it is taken in by the input gate 138 and the LOCK generation circuit 135 is reset (FIG. 4) to reset the unnecessary bus acquisition request signal bus 61. , Preparing to accept the next bus acquisition request signal REQ. Here, the shared memory device is accessed and data is transferred by the CPU 5a (fourth
When the data transfer is completed, the memory control circuit 16 outputs the FF reset signal 144 and resets the bus use status flip-flop 143. The PRESEL signal 125, which is the priority determination result of the priority determination circuit 121, is the previous master storage memory 124.
The ID number, which is the contents of the previous master storage memory 124, is input via the selector 122 to the priority determination circuit 121 as A input in order to change the priority order in the next priority determination. Subsequently, when the bus acquisition request signal bus 61 is turned on while the bus is in use and the bus acquisition request signal REQb-P (Fig. 4) is output, the bus usage status signal 62 BUSY-P
Is output, the priority determination circuit 121 completes the priority determination and enters the waiting state with only PRESELb-P (FIG. 4) of the PRESEL signal 125 turned on, and the data transfer on the shared memory bus 6 ends. When the BUSY-P of the bus usage status signal 62 is turned off, the shared memory device 1b that has acquired the shared memory bus 6 sets the bus usage status flip-flop 143 and outputs the signal SEL.
b-P (Fig. 4) is output, and BUSY of bus usage status signal 62
-P is turned on and data transfer by the CPU 5b is started.
また上記共有メモリバス6に接続されたある1台の機
器が復電した場合または共有メモリバス6から切り離さ
れた状態から再び共有メモリバス6に接続された場合の
動作については、その共有メモリ装置内の前回マスタ記
憶メモリ124の内容はどの機器が前回データ転送したの
か不明であつて、他のデータ転送を行つている共有メモ
リ装置内の前回マスタ記憶メモリ124の内容と異なつて
しまい、この誤まつた優先判定順位により自己がバス獲
得したと誤判定してデータ転送を開始するおそれがあ
る。このような誤判断によるデータ転送を回避するた
め、CPU側からの接続信号41により自己のID設定器133の
ID番号をセレクタ122により選択して優先判定回路121の
A入力に入力し、自ID番号を優先順位最下位のID番号と
して次回に他の機器からのデータ転送があると、その機
器のID番号を前回マスタ記憶メモリ124に再セツトする
ことにより他機器と同じ内容となる。つぎに共有メモリ
バス6に接続された機器が一斉に復電して複数の共有メ
モリ装置が同時にバス獲得要求信号62を出力した場合の
動作については第5図により説明する。The operation when one device connected to the shared memory bus 6 is restored or when the device is disconnected from the shared memory bus 6 and then reconnected to the shared memory bus 6 is described in the shared memory device. The contents of the previous master storage memory 124 in the previous master storage memory 124 are unknown and it is different from the contents of the previous master storage memory 124 in the shared memory device which is performing other data transfer. There is a possibility that the data transfer may be started by erroneously determining that the bus has been acquired by the priority determination order. In order to avoid data transfer due to such erroneous judgment, the connection signal 41 from the CPU side causes the ID setting unit 133 of its own
The ID number is selected by the selector 122 and input to the A input of the priority determination circuit 121, and when the data is transferred from another device next time with the own ID number as the lowest ID number in the priority order, the ID number of the device is selected. Is reset to the master storage memory 124 the last time, so that the same contents as those of other devices are obtained. Next, the operation in the case where the devices connected to the shared memory bus 6 simultaneously restore power and a plurality of shared memory devices simultaneously output the bus acquisition request signal 62 will be described with reference to FIG.
第5図は第1図の一斉復電時の優先判定動作タイムチ
ヤートである。第1図の構成で、共有メモリバス6に接
続された共有メモリ装置の全てが一斉に復電し、ID番号
a,bの共有メモリ装置1a,1bがバス獲得要求信号62のREQb
−P,REQa−P(第5図)を同時に出力すると、バス獲得
制御回路13のLOCK発生回路141よりLOCK信号141のLOCK−
P(第5図)が出力されて同時t1の経過後に、優先判定
回路121のサンプリング信号SAMPLE−P(第5図)で優
先判定がなされてPRESEL信号125のPRESELb−Pが出力さ
れるが、共有メモリ装置1a,1b内の優先判定回路121では
それぞれ自ID番号a,bが優先順位最下位と判断している
ため、相手がバス獲得したものと判断して共に待ち状態
となつてしまう。この状態を抜けだすためLOCK信号141
のROCK−Pから時間t1+t2(第5図)の経過後にもバス
使用状態信号62のBUSY−Pが出力されない場合には、タ
イムアウトとみなしてフリツプフロツプ134よりタイム
アウト信号TIMEOUT−P(第5図)を出力し、セレクタ1
22を予め決めたID番号の初期IDレジスタ123を選択して
(第1図ではID番号“3"(d))、優先判定回路121で
バス優先順位判定を再度行うことにより、第5図の例で
はID番号aが一番優先順位が高いためPRESEL信号125のP
RESELa−P(第5図)を出力して、バス使用状態信号62
のBUSY−Pを出力し、バス獲得ができるようになる。FIG. 5 is a time chart of priority determination operation at the time of simultaneous power recovery in FIG. In the configuration of FIG. 1, all of the shared memory devices connected to the shared memory bus 6 are restored at the same time, and the ID numbers
The shared memory devices 1a and 1b of a and b are REQb of the bus acquisition request signal 62.
When -P and REQa-P (Fig. 5) are simultaneously output, the LOCK generation circuit 141 of the bus acquisition control circuit 13 outputs the LOCK signal 141 LOCK-
P (FIG. 5) is output and, at the same time t 1 has elapsed, priority determination is made by the sampling signal SAMPLE-P (FIG. 5) of the priority determination circuit 121 and PRESELb-P of the PRESEL signal 125 is output. , The priority determination circuit 121 in the shared memory device 1a, 1b determines that the own ID number a, b is the lowest priority, respectively, so it is determined that the other party has acquired the bus, and both are in a waiting state. . To get out of this state, LOCK signal 141
If BUSY-P of the bus usage status signal 62 is not output even after the lapse of time t 1 + t 2 (FIG. 5) from ROCK-P of No. 5, it is regarded as time-out and the flip-flop 134 outputs the time-out signal TIMEOUT-P (No. 5). Output), selector 1
22 is selected by selecting the initial ID register 123 having a predetermined ID number (ID number “3” (d) in FIG. 1), and the priority determination circuit 121 performs the bus priority determination again. In the example, ID number a has the highest priority, so P of PRESEL signal 125
RESELa-P (Fig. 5) is output and the bus usage status signal 62
BUSY-P is output to enable bus acquisition.
本発明によれば、データ処理装置の分散型マスターレ
スデータ転送において、少ない共通バス信号線数で転送
でき、また共通バストータル転送量を大きくできる効果
がある。According to the present invention, in the distributed masterless data transfer of the data processing device, it is possible to transfer with a small number of common bus signal lines and to increase the total transfer amount of the common bus.
【図面の簡単な説明】 第1図は本発明によるデータ処理装置の一実施例を示す
優先判定ブロツク図、第2図は同じくシステム構成図、
第3図は同じく共有メモリ装置ブロツク図、第4図は第
1図の動作タイムチヤート、第5図は同じく一斉復電時
動作タイムチヤートである。 1a〜1c……共有メモリ装置、5a〜5d……CPU、6……共
通メモリバス、61……バス獲得要求信号バス(占有制御
線)、12……優先選択回路、121……優先判定回路、124
……前回マスタ記憶メモリ(レジスタ)、13……バス獲
得制御回路(占有制御手段)。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a priority determination block diagram showing an embodiment of a data processing device according to the present invention, and FIG. 2 is a system configuration diagram of the same,
FIG. 3 is a block diagram of the shared memory device, FIG. 4 is an operation time chart of FIG. 1, and FIG. 5 is an operation time chart of simultaneous power recovery. 1a to 1c ... shared memory device, 5a to 5d ... CPU, 6 ... common memory bus, 61 ... bus acquisition request signal bus (occupancy control line), 12 ... priority selection circuit, 121 ... priority determination circuit , 124
...... Previous master memory memory (register), 13 ...... Bus acquisition control circuit (occupancy control means).
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−163458(JP,A) 特開 昭59−208623(JP,A) 特公 昭61−42306(JP,B1) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-61-163458 (JP, A) JP-A-59-208623 (JP, A) JP-B-61-42306 (JP, B1)
Claims (3)
通バスと、各々が自己に対応するバス獲得要求信号線に
バス獲得要求を出力して前記共通バスの占有を要求する
手段を有する複数の機器とを備えるデータ処理装置にお
いて、各機器に、自己の機器番号を設定した設定手段
と、前回に共通バスを占有した機器の機器番号を格納す
るレジスタと、前記バス獲得要求信号線に出されている
各機器からのバス獲得要求を取り込んでバス占有権を獲
得する一番優先順位の高い機器を判定し該機器の機器番
号を出力するとき前記レジスタに格納されている機器番
号を参照し該機器番号の機器の優先順位を最下位として
判定し出力すると共に該出力内容により前記レジスタの
内容を更新する優先判定手段と、該優先判定手段が出力
する機器番号と前記設定手段に設定されている機器番号
とを比較し自己がバス占有権を獲得できたと判断したと
き前記共通バスを占有する占有制御手段とを設けたこと
を特徴とするデータ処理装置。1. A plurality of common buses each having a bus acquisition request signal line corresponding to a device, and a plurality of means each outputting a bus acquisition request to a corresponding bus acquisition request signal line to request occupation of the common bus. In the data processing device, the setting means sets the device number of each device, the register for storing the device number of the device that previously occupied the common bus, and the bus acquisition request signal line. When the bus acquisition request from each device is acquired and the device with the highest priority for acquiring the bus occupation right is determined and the device number of the device is output, the device number stored in the register is referred to. Priority determining means for determining and outputting the priority of the device of the device number as the lowest and updating the contents of the register with the output content, device number output by the priority determining means, and The data processing apparatus characterized by self compares the device number set in the constant unit provided with occupancy control means for occupying the common bus when it is determined that earn bus usage right.
電したときまたは共通バスから切り離された状態から共
通バスに接続された状態に切り替えられたときに前記レ
ジスタの内容に代えて前記設定手段に設定されている機
器番号を前記優先判定手段に入力して該機器番号を優先
順位最下位の機器番号とさせる切替手段を設けたことを
特徴とするデータ処理装置。2. The contents of the register according to claim 1, when the power of each device is restored or when the device is switched from being disconnected from the common bus to being connected to the common bus. A data processing apparatus comprising a switching means for inputting the equipment number set in the setting means to the priority determination means to make the equipment number the lowest equipment number in the priority order.
を獲得したとき共通バスにバス使用状態信号を出力する
手段と、バス獲得要求信号線にバス獲得要求が出力され
てから所定時間経過してもバス使用状態信号が共通バス
に出力されないときは前記設定手段に設定されている機
器番号に代えて予め定められた機器番号を優先順位最下
位の機器番号として前記優先判定手段に与えて優先順位
の判定を行わせる手段とを備えることを特徴とするデー
タ処理装置。3. A means for outputting a bus use status signal to a common bus when a bus occupancy right is acquired for each device, and a predetermined time after a bus acquisition request is output to a bus acquisition request signal line. If the bus usage status signal is not output to the common bus even after the elapse, a predetermined device number is given to the priority determination means as the lowest priority device number instead of the device number set in the setting means. And a means for determining the priority order.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63017158A JPH0821018B2 (en) | 1988-01-29 | 1988-01-29 | Data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63017158A JPH0821018B2 (en) | 1988-01-29 | 1988-01-29 | Data processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01194049A JPH01194049A (en) | 1989-08-04 |
| JPH0821018B2 true JPH0821018B2 (en) | 1996-03-04 |
Family
ID=11936166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63017158A Expired - Lifetime JPH0821018B2 (en) | 1988-01-29 | 1988-01-29 | Data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0821018B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59208623A (en) * | 1983-05-12 | 1984-11-27 | Hitachi Ltd | Method for controlling bus priority |
| CA1258435A (en) * | 1984-08-02 | 1989-08-15 | Michael A. Smoot | Cartridge with stress relieving member |
| JPS61163458A (en) * | 1985-01-16 | 1986-07-24 | Mitsubishi Electric Corp | Bus mediating system |
-
1988
- 1988-01-29 JP JP63017158A patent/JPH0821018B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01194049A (en) | 1989-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| AU639589B2 (en) | Dynamic bus arbitration with grant sharing each cycle | |
| EP0428330A2 (en) | Computer interface circuit | |
| US4417303A (en) | Multi-processor data communication bus structure | |
| JPS6142306B2 (en) | ||
| US6304923B1 (en) | Method for prioritizing data transfer request by comparing a latency identifier value received from an I/O device with a predetermined range of values | |
| US5142682A (en) | Two-level priority arbiter generating a request to the second level before first-level arbitration is completed | |
| US20060090051A1 (en) | Method and apparatus for performing an atomic semaphore operation | |
| US6323755B1 (en) | Dynamic bus locking in a cross bar switch | |
| JPH09153009A (en) | Hierarchical bus arbitration method | |
| JPS6242306B2 (en) | ||
| US7433989B2 (en) | Arbitration method of a bus bridge | |
| JPS602710B2 (en) | Composite computer system | |
| JPH0562384B2 (en) | ||
| US20050038974A1 (en) | Group write slave and a method for using same | |
| JPH01194049A (en) | Data processor | |
| EP0284094B1 (en) | Tandem priority resolver | |
| JP2697420B2 (en) | Data writer | |
| JP2001167049A (en) | Bus arbitration device | |
| JPH0553975A (en) | Bus controller | |
| JPH11203253A (en) | Exclusive access control method for shared resources | |
| JPH05189311A (en) | Cache memory system | |
| JPH0351017B2 (en) | ||
| JPH0561812A (en) | Information processing system | |
| JPH05265923A (en) | Data transfer equipment | |
| JPS6041387B2 (en) | Direct memory access control circuit |