JPH0212360A - Multi-processor device - Google Patents

Multi-processor device

Info

Publication number
JPH0212360A
JPH0212360A JP15952788A JP15952788A JPH0212360A JP H0212360 A JPH0212360 A JP H0212360A JP 15952788 A JP15952788 A JP 15952788A JP 15952788 A JP15952788 A JP 15952788A JP H0212360 A JPH0212360 A JP H0212360A
Authority
JP
Japan
Prior art keywords
shared memory
arithmetic processing
data
control circuit
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.)
Pending
Application number
JP15952788A
Other languages
Japanese (ja)
Inventor
Emiko Tanaka
恵美子 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP15952788A priority Critical patent/JPH0212360A/en
Publication of JPH0212360A publication Critical patent/JPH0212360A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the waiting time of an arithmetic processor and to attain a high-speed processing action for a multi-processor device by setting the priority just with the change of a ROM in case a certain arithmetic processor uses frequently a shared memory. CONSTITUTION:When an arithmetic processor 1a is used as a main device, the frequent chances are secured to the processor 1a for shared memory accesses to ensure the higher priority of the processor 1a. At the same time, the priority is changed with the change of the data stored in a ROM 15 and the shared memory permission signals Qa-Qc are applied to the processors having the order of applications decided to a shared memory 4 in accordance with the processing order. In such a way, the ROM values changed in response to a system and the order of transmission is changed for signals Qa-Qc. Thus it is possible to minimize the waiting time of the arithmetic processors that desire the application of the memory 4 and to realize a high-speed processing action for a multi-processor device.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、複数の演算処理装置間で単一のメモリを共
有するマルチプロセッサ装置に関する。
The present invention relates to a multiprocessor device that shares a single memory among a plurality of arithmetic processing units.

【従来の技術】[Conventional technology]

第4図は例えば特開昭52−103935号公報に示さ
れた従来のマルチプロセッサ装置を示す構成図であり、
図において、1a〜1cは演算処理装置、2a〜2c及
び3a〜3cはそれぞれ該演算処理装置1a”−1cに
対応した読出し専用メモリおよび書込続出しメモリであ
る。また4は前記演算処理装置1a〜1cが共用できる
共有メモリ、5a〜5cはそれぞれ前記演算処理装置1
a〜lcが共有メモリ4を利用したいときに出力する共
有メモリ要求信号を受ける受付制御回路、6はこの各受
付制御回路5a〜5cにサイクリックな共有メモリ許可
信号を出力する走査回路であって、この走査回路6はリ
ングカウンタで構成される。 また、lla〜llcは各演算処理装置1a〜ICに対
応して設けられ、8fA演算処理装置1a〜1cが共有
メモリ4を利用したいときに所定のデータとデータ信号
レジスタ7a〜7cに送るためのデータバス、10a〜
10cは前記データバス11a〜llcにより送られる
データを共有メモリ4のどこのブロックに入力させるか
を指定するためのアドレス信号を対応するアドレス信号
レジスタ8a〜8Cに送るためのアドレスバスである。 図中、矢印は信号線を示し、ここでは信号の流れとして
扱っている。RaxRcは各演算処理装置1a〜ICか
ら出力される共有メモリ要求信号、Q a −Q cは
走査回路6から各演算処理装置1a〜1cに送られる共
有メモリ許可信号である。 次に動作について説明する。以下、複数の演算処理装置
tla〜1cの共有メモリアクセスを3つの場合に分け
て説明する。 まず、どの演算処理装置1a〜1cも共有メモリ4に対
してアクセスしない場合について説明する。この場合、
走査回路6は高速でサイクリックな共有メモリ許可信号
Qa−Qcを夫々の受付制御回路5a〜5Cに送出して
いる。この間、各演算処理装置1axlcは、該演算処
理装置18〜1cにそれぞれ対応して、設けられた読出
し専用メモリ2a〜2c及び書込読出しメモリ3a〜3
Cにアドレスバス10a〜10cおよびデータバスll
a〜llcを介してデータを転送し所定の演算処理を実
行する。従って、演算処理装置1a〜1cは共有メモリ
4を利用する必要はなく、受付制御回路5a〜5Cに共
有メモリ許可信号Qa〜Qcを出力することはない。そ
の間、走査回路6は上述したサイクリックな共有メモリ
許可信号Q a −Q cの発生を継続するのみである
。 つぎに、1個の演算処理装置、例えば1aのみが共有メ
モリ4をアクセスする場合について説明する。 ここで、演算処理装置1が、独占して利用できるメモリ
(読出し専用メモリ2a、書込続出しメモリ3aを利用
して演算処理を実行している途中に共有メモリ4に書込
み要求が生じたとする。 このとき、演算処理装置1aは受付制御回路5aに共有
メモリ要求信号Raを出力するとともに、データバスl
laを介してデータ信号レジスタ7aにデータを送る。 このとき、同時に該データを共有メモリ4のどこのブロ
ックに入力するかを指示するアドレス信号をアドレスバ
スloaを介してアドレス信号レジスタ8aに送出する
。このようにして演算処理装置1aから送られたデータ
信号およびアドレス信号はそれぞれ、前記データ信号レ
ジスタ7a及びアドレス信号レジスタ8aに保持されて
、走査回路6から受付制御回路5aに共有メモリ許可信
号Qaが入力するのを待つ。 そして、走査回路6から受付制御回路5aに共有メモリ
許可信号Qaが入力されると、前記受付制御回路5aは
、走査回路6のサイクリックな共有メモリ許可信号Qa
の発生動作を阻止して、受付制御回路5aにその状態を
保持する。更に、受付制御回路5aは演算処理装置1a
からの共有メモリ要求信号Ra及び走査回路6からの共
有メモリ許可信号Qaが入力したことを条件に、データ
信号レジスタ7aおよびアドレス信号レジスタ8aに共
有メモリ許可信号Qaを送る。 該共有メモリ許可信号Qaを受けたデータ信号レジスタ
7aおよびアドレス信号レジスタ8aは、上述のごとく
保持していたデータ信号およびアドレス信号を共有メモ
リ4に入力させて、書込み動作を行わせる。その後、該
書込み動作が完了すると、受付制御回路5aは演算処理
装置1aおよび走査回路6に書込み完了の信号を送出す
る。この動作を受けて走査回路6はこの書込み完了信号
により、受付制御回路5aによって阻止されていた共有
メモリ許可信号Qa−Qcのサイクリックな動作を再開
させる。そして前記走査回路6は各演算処理装置1a〜
1cから再度、共有メモリ要求信号Ra−Rcが送出さ
れるのを待つ。 次に、2個の演算処理装置、例えば1bと10とが、共
有メモリ4に対して同時にアクセスした場合について説
明する。 この場合、演算処理装置1b、lcは共に、前述した演
算処理装置1aが共有メモリに書込み動作を行う場合と
同様に、受付制御回路5b及び5Cに共有メモリ許可信
号Qb、Qcを送出し、また同時にデータ信号レジスタ
7b及び7Cと、アドレス信号レジスタ8b及び8Cと
にそれぞれ、データバスllb及びllcとアドレスバ
ス10b及び10cとを介して、データ信号とアドレス
信号とを入力する。 そして、各受付制御回路5b及び5Cのうち走査回路6
から発せられる共有メモリ許可信号Qb。 Qcが先に入力されたいずれか一方の受付制御回路、例
えば5bは、前記共有メモリ許可信号を保持し、走査回
路6におけるサイクリックな動作を阻止する。 つづいて、前述した1個の演算処理装置1aが共有メモ
リ4にアクセスした場合と同様の動作を行い、共有メモ
リ4が書込み動作を完了すると、受付制御回路5bは演
算処理装置1b及び走査回路6に書込み完了信号を送出
する。従って走査回路6はサイクリックな動作を再開し
、共有メモリ許可信号Qcを他方の受付制御回路5cに
入力する。そのため、受付制御回路5cは共有メモリ4
にデータ信号及びアドレス信号を送り、書込み動作を行
わせる。その後、この演算処理装置1cが書込み動作を
完了すれば、走査回路6は再度サイクリックな動作を行
い、受付制御回路5a〜5Cは各演算処理装置1a〜1
cから共有メモリ要求信号が出力されるのを待つ。
FIG. 4 is a configuration diagram showing a conventional multiprocessor device disclosed in, for example, Japanese Unexamined Patent Publication No. 52-103935.
In the figure, 1a to 1c are arithmetic processing units, and 2a to 2c and 3a to 3c are read-only memories and continuous write memories corresponding to the arithmetic processing units 1a''-1c, respectively.Furthermore, 4 is the arithmetic processing unit. A shared memory that can be shared by 1a to 1c, and 5a to 5c are the arithmetic processing units 1, respectively.
An admission control circuit receives a shared memory request signal outputted when a to lc wish to use the shared memory 4, and 6 is a scanning circuit that outputs a cyclic shared memory permission signal to each of the admission control circuits 5a to 5c. , this scanning circuit 6 is composed of a ring counter. Further, lla to llc are provided corresponding to each of the arithmetic processing units 1a to IC, and are used to send predetermined data and data signal registers 7a to 7c when the 8fA arithmetic processing units 1a to 1c want to use the shared memory 4. Data bus, 10a~
Reference numeral 10c denotes an address bus for sending an address signal for specifying which block of the shared memory 4 the data sent via the data buses 11a to 11c is to be input to the corresponding address signal registers 8a to 8C. In the figure, arrows indicate signal lines, which are treated here as signal flows. RaxRc is a shared memory request signal output from each arithmetic processing device 1a to IC, and Q a -Q c is a shared memory permission signal sent from the scanning circuit 6 to each arithmetic processing device 1a to 1c. Next, the operation will be explained. Hereinafter, shared memory access by the plurality of arithmetic processing units tla to 1c will be explained in three cases. First, a case will be described in which none of the arithmetic processing units 1a to 1c accesses the shared memory 4. in this case,
The scanning circuit 6 sends high-speed cyclic shared memory permission signals Qa-Qc to the respective admission control circuits 5a to 5C. During this time, each arithmetic processing device 1axlc is connected to read-only memories 2a to 2c and write/read memories 3a to 3 provided corresponding to the arithmetic processing devices 18 to 1c, respectively.
address buses 10a to 10c and data bus ll to
Data is transferred via a to llc and predetermined arithmetic processing is executed. Therefore, the processing units 1a to 1c do not need to use the shared memory 4, and do not output the shared memory permission signals Qa to Qc to the admission control circuits 5a to 5C. Meanwhile, the scanning circuit 6 only continues to generate the cyclic shared memory enable signals Q a -Q c described above. Next, a case where only one arithmetic processing unit, for example 1a, accesses the shared memory 4 will be described. Here, suppose that a write request occurs to the shared memory 4 while the arithmetic processing unit 1 is executing arithmetic processing using exclusively available memories (read-only memory 2a, continuous write memory 3a). At this time, the arithmetic processing unit 1a outputs the shared memory request signal Ra to the admission control circuit 5a, and also outputs the shared memory request signal Ra to the data bus l.
The data is sent to the data signal register 7a via the data signal register 7a. At this time, an address signal indicating which block of the shared memory 4 the data is to be input to is simultaneously sent to the address signal register 8a via the address bus loa. The data signal and address signal sent from the arithmetic processing unit 1a in this way are held in the data signal register 7a and address signal register 8a, respectively, and the shared memory permission signal Qa is sent from the scanning circuit 6 to the reception control circuit 5a. Wait for input. When the shared memory permission signal Qa is input from the scanning circuit 6 to the admission control circuit 5a, the admission control circuit 5a receives the cyclic shared memory permission signal Qa from the scanning circuit 6.
This state is held in the reception control circuit 5a. Further, the reception control circuit 5a is connected to the arithmetic processing unit 1a.
On the condition that the shared memory request signal Ra from 1 and the shared memory permission signal Qa from the scanning circuit 6 are input, the shared memory permission signal Qa is sent to the data signal register 7a and the address signal register 8a. The data signal register 7a and address signal register 8a that have received the shared memory permission signal Qa input the data signal and address signal held as described above to the shared memory 4 to perform a write operation. Thereafter, when the write operation is completed, the reception control circuit 5a sends a write completion signal to the arithmetic processing unit 1a and the scanning circuit 6. In response to this operation, the scanning circuit 6 uses this write completion signal to restart the cyclic operation of the shared memory enable signals Qa-Qc, which had been blocked by the admission control circuit 5a. The scanning circuit 6 is connected to each arithmetic processing unit 1a to
It waits for shared memory request signals Ra-Rc to be sent again from 1c. Next, a case will be described in which two arithmetic processing units, for example, 1b and 10 access the shared memory 4 simultaneously. In this case, both the arithmetic processing units 1b and lc send shared memory permission signals Qb and Qc to the reception control circuits 5b and 5C, as in the case where the arithmetic processing unit 1a described above performs a write operation to the shared memory. At the same time, data signals and address signals are input to data signal registers 7b and 7C and address signal registers 8b and 8C via data buses llb and llc and address buses 10b and 10c, respectively. Of each reception control circuit 5b and 5C, the scanning circuit 6
Shared memory permission signal Qb issued from. Either one of the admission control circuits to which Qc is input first, for example 5b, holds the shared memory permission signal and prevents the cyclic operation in the scanning circuit 6. Subsequently, the same operation as when one arithmetic processing unit 1a accesses the shared memory 4 described above is performed, and when the shared memory 4 completes the write operation, the reception control circuit 5b controls the arithmetic processing unit 1b and the scanning circuit 6. Sends a write completion signal to Therefore, the scanning circuit 6 resumes its cyclic operation and inputs the shared memory permission signal Qc to the other admission control circuit 5c. Therefore, the admission control circuit 5c
A data signal and an address signal are sent to the device to perform a write operation. Thereafter, when this arithmetic processing device 1c completes the write operation, the scanning circuit 6 performs a cyclic operation again, and the reception control circuits 5a to 5C control each arithmetic processing device 1a to 1.
Wait for the shared memory request signal to be output from c.

【発明が解決しようとする課題】[Problem to be solved by the invention]

従来のマルチプロセッサ装置は以上のように構成されて
いるので、各演算処理装置1a〜ICはサイクリックに
動作する走査回路6によって順次間等に共有メモリ許可
信号Qa−Qcを与えられる。しかし、ある演算処理装
置itに優先して共有メモリ4を割当てたい場合や、演
算処理装置の共有メモリ利用1@序が決まっている場合
にも該走査回路6は共有メモリ4を利用しない演算処理
装置に対しても共有メモリ許可信号Q a −Q cを
送出することになり、本来共有メモリ4を利用したい演
算処理装置がその時間だけ待たされることになる等の課
題があった。 この発明は、上記のような課題を解消するためになされ
たもので、演算処理装置の共有メモリの利用頻度が異な
る場合にも利用頻度の高い演算処理装置の待ち時間を短
縮し、高速処理ができるとともに、システムに応じ、共
有メモリ許可信号を送る順序の変更が容易に行えるマル
チプロセッサ装置を得ることを目的とする。
Since the conventional multiprocessor device is configured as described above, each of the arithmetic processing units 1a to IC is sequentially and sequentially given shared memory permission signals Qa to Qc by the scanning circuit 6 which operates cyclically. However, even when it is desired to allocate the shared memory 4 with priority to a certain arithmetic processing unit it, or when the order of shared memory use 1 of the arithmetic processing units is determined, the scanning circuit 6 performs arithmetic processing that does not use the shared memory 4. Since the shared memory permission signals Q a -Q c are also sent to the devices, there is a problem that the arithmetic processing device that originally wants to use the shared memory 4 is forced to wait for that amount of time. This invention was made to solve the above-mentioned problems, and even when the frequency of use of the shared memory of arithmetic processing units differs, the waiting time of frequently used arithmetic processing units can be shortened, and high-speed processing can be achieved. It is an object of the present invention to provide a multiprocessor device in which the order in which shared memory permission signals are sent can be easily changed depending on the system.

【課題を解決するための手段】[Means to solve the problem]

この発明に係るマルチプロセッサ装置の可変走査回路は
共有メモリ許可信号を送出する順に演算処理装置番号を
格納した読出し専用メモリ(ROM)を備え、前記共有
メモリ許可信号を読出し専用メモリ上のアドレスに対応
する演算処理装置に送出する選択回路を設けたものであ
る。
A variable scanning circuit of a multiprocessor device according to the present invention includes a read-only memory (ROM) that stores arithmetic processing unit numbers in the order in which shared memory permission signals are sent, and corresponds the shared memory permission signals to addresses on the read-only memory. A selection circuit is provided to send the data to an arithmetic processing unit.

【作用】[Effect]

この発明におけるマルチプロセッサ装置は可変走査回路
内のリングカウンタからサイクリックな信号が制御回路
に送出され、該信号を受信した制御回路は入力信号に対
応した読出し専用メモリ(ROM)上のデータを読込み
読込んだデータ、すなわち演算処理装置番号を選択回路
に出力する。 更に前記選択回路は入力されたデータに対応する受付制
御回路に共有メモリ許可信号を送出する。
In the multiprocessor device according to the present invention, a cyclic signal is sent from a ring counter in a variable scanning circuit to a control circuit, and the control circuit that receives the signal reads data on a read-only memory (ROM) corresponding to the input signal. The read data, ie, the arithmetic processing unit number, is output to the selection circuit. Further, the selection circuit sends a shared memory permission signal to the admission control circuit corresponding to the input data.

【発明の実施例】[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。図中
、第4図と同一の部分は同一・の符号をもって図示した
第1図において、12は可変走査回路である。また、第
2図は本発明による可変走査回路12の一実施例を示す
図であり、リングカウンタ13は走査回路6と同一構成
品である。 14は前記リングカウンタ13からの信号を入力とし、
メモリへのアクセスを制御する制御回路、15は演算処
理装置1a〜1cの番号を格納している読出し専用メモ
リ(ROM)、16は制御回路14からのデータを入力
とし、そのデータをもとに各演算処理装置1a〜1cの
受付制御回路5a〜5cへ共有メモリ許可信号Q a 
−Q cを送出する選択回路である。 次に動作について説明する。まず、第1図において可変
走査回路12を除く動作は従来と同様である。ここでは
一実施例として、各演算処理装置の共有メモリの利用状
況により、優先順位をつける場合について考える。 今、演算処理装置1aをメインとして使用し、共有メモ
リ4のアクセス回数が多いものとする。 読出し専用メモリ15上には、第3図に示すように、ア
ドレスao−a3にそれぞれ演算処理装置番号0,0,
1.2を格納している。ここで、演算処理装置番号0,
1.2はそれぞれ演算処理装置1a〜ICに対応してい
る。 次に可変走査回路12内にある回路の主な機能について
説明する。 第3図においてリングカウンタ13はSO〜S3の出力
信号を順に繰り返し送出するものとする。 制御回路14は前記出力信号SO〜S4を受は取ると、
対応する読出し専用メモリ15(ROM)上のアドレス
aO〜a3のデータ(演算処理装置番号)を読込み、選
択回路16にデータを送出する。制御回路14から演算
処理装置番号0.01.2を受は取ると、該選択回路1
6は対応する演算処理装置に共有メモリ許可信号Q a
 −Q cを送るため受付制御回路5a〜5Cへ信号を
出力する。 具体的にROM上のデータをもとに共有メモリ許可信号
Q a −Q cを送る手順を次に説明する。 まず、リングカウンタ13は、信号SOを制御回路14
に入力する。制御回路14は信号SOを受取ると読出し
専用メモリ15 (ROM)上のアドレスaOのデータ
、ここでは、演算処理装置1aの番号“1”を読み込む
。 次に、データ“1°゛を選択回路16に入力し、デーダ
′1°′を受は取った該選択回路16は演算処理装置1
aの受付制御回路5aに共有メモリ許可信号Qaを送る
。 同様にしてリングカウンタ13が順次SL、S2、S3
.So、31と信号を送ると、制御回路14はそれに対
応してデータ0.1,2,0.0・・・・・・を選択回
路16に送出し、該選択回路16は演算処理装置1a、
lb、lc、la、laの順に、対応する受付制御回路
に共有メモリ許可信号を送る。このようにして、演算処
理装置1aに共有メモリアクセスの機会を多(与え、優
先度を高くすることができる。 また、読出し専用メモリ15(ROM)上のデータを変
えることで、優先順位を変えたり、共有メモリ4の利用
順序が、決まっているものに関してはその処理順序に合
わせて、共有メモリ許可信号Q a −Q cを与える
ことができる。 このようにシステムに応じてROMの値を変更し、共有
メモリ許可信号Q a −Q cの送出の順序を変える
ことにより共有メモリ4を利用したい演算処理装置の待
ち時間を必要最小限に短縮する。 なお、上記実施例では共有メモリ要求信号Ra〜Rcを
送出する順番を記憶させる部分として読出し専用メモリ
(ROM)を設けた例について示したがランダムにアク
セスしてもよい場合には、リングカウンタ13を直接使
用した方が高速に処理が行える。そのため、リングカウ
ンタ13と制御回路14.リングカウンタ13と受付制
御回路5a〜5cとの間にスイッチングを行うための切
換装置を設げることにより、該受付制御回路5a〜5c
の方を接続し、制御回路14側を切り離すことで、リン
グカウンタ13のみを使用することができる。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, the same parts as in FIG. 4 are designated by the same reference numerals. In FIG. 1, reference numeral 12 is a variable scanning circuit. Further, FIG. 2 is a diagram showing an embodiment of the variable scanning circuit 12 according to the present invention, and the ring counter 13 has the same component as the scanning circuit 6. In FIG. 14 inputs the signal from the ring counter 13,
A control circuit that controls access to the memory; 15 is a read-only memory (ROM) that stores the numbers of the processing units 1a to 1c; 16 receives data from the control circuit 14; Shared memory permission signal Qa to reception control circuits 5a to 5c of each arithmetic processing unit 1a to 1c
-Q This is a selection circuit that sends out c. Next, the operation will be explained. First, in FIG. 1, the operation is the same as the conventional one except for the variable scanning circuit 12. Here, as an example, a case will be considered in which priorities are assigned based on the usage status of the shared memory of each arithmetic processing unit. Now, it is assumed that the arithmetic processing unit 1a is used as the main unit and the shared memory 4 is accessed many times. As shown in FIG. 3, on the read-only memory 15, arithmetic processing unit numbers 0, 0,
1.2 is stored. Here, arithmetic processing unit number 0,
1.2 correspond to the arithmetic processing units 1a to IC, respectively. Next, the main functions of the circuits within the variable scanning circuit 12 will be explained. In FIG. 3, it is assumed that the ring counter 13 repeatedly sends out the output signals of SO to S3 in order. When the control circuit 14 receives the output signals SO to S4,
Data (processing unit number) at addresses aO to a3 on the corresponding read-only memory 15 (ROM) is read, and the data is sent to the selection circuit 16. When the arithmetic processing unit number 0.01.2 is received from the control circuit 14, the selection circuit 1
6 is a shared memory permission signal Q a to the corresponding arithmetic processing unit.
-Q Outputs a signal to reception control circuits 5a to 5C to send c. Specifically, the procedure for sending the shared memory permission signals Q a -Q c based on the data on the ROM will be explained next. First, the ring counter 13 sends the signal SO to the control circuit 14.
Enter. When the control circuit 14 receives the signal SO, it reads the data at the address aO on the read-only memory 15 (ROM), here the number "1" of the arithmetic processing unit 1a. Next, the data "1°" is input to the selection circuit 16, and the selection circuit 16 that has received the data "1°"
A shared memory permission signal Qa is sent to the admission control circuit 5a of a. Similarly, the ring counter 13 is sequentially set to SL, S2, S3.
.. When the control circuit 14 sends the signal So, 31, the control circuit 14 correspondingly sends data 0.1, 2, 0.0... to the selection circuit 16, which selects the arithmetic processing unit 1a. ,
Shared memory permission signals are sent to the corresponding admission control circuits in the order of lb, lc, la, and la. In this way, the arithmetic processing unit 1a is given many opportunities to access the shared memory, and the priority can be increased.Also, by changing the data on the read-only memory 15 (ROM), the priority can be changed. Or, if the usage order of the shared memory 4 is fixed, the shared memory permission signals Q a -Q c can be given according to the processing order. In this way, the ROM values can be changed according to the system. However, by changing the order in which the shared memory permission signals Qa-Qc are sent, the waiting time of the arithmetic processing unit that wants to use the shared memory 4 is reduced to the necessary minimum.In addition, in the above embodiment, the shared memory request signal Ra ~An example was shown in which a read-only memory (ROM) was provided as a part for storing the order of sending Rc, but if random access is acceptable, processing can be faster if the ring counter 13 is used directly. Therefore, by providing a switching device for performing switching between the ring counter 13 and the control circuit 14, the ring counter 13 and the reception control circuits 5a to 5c, the reception control circuits 5a to 5c
By connecting the ring counter 13 and disconnecting the control circuit 14 side, only the ring counter 13 can be used.

【発明の効果】【Effect of the invention】

以上のように、この発明によれば、可変走査回路内に読
出し専用メモリ(ROM)を設け、該続出し専用メモリ
に書かれた演算処理装置番号を参照し、その番号に対応
する演算処理装置に、共有メモリ許可信号を送出するよ
うに構成したので、ある演算処理装置が頻繁に共有メモ
リを利用するとき、読出し専用メモリを変更するだけで
、優先順位をつけることができ、それにより演算処理装
置の待ち時間を短縮し、高速処理動作が可能となる等の
効果がある。
As described above, according to the present invention, a read-only memory (ROM) is provided in the variable scanning circuit, and the arithmetic processing unit number written in the read-only memory is referred to, and the arithmetic processing unit corresponding to that number is In addition, the configuration is configured to send a shared memory permission signal, so when a certain processing unit frequently uses shared memory, it is possible to prioritize the processing by simply changing the read-only memory. This has the effect of shortening the waiting time of the device and enabling high-speed processing operations.

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

第1図は本発明の一実施例のマルチプロセッサシステム
を示す構成図、第2図は本発明の一実施例による可変走
査回路を示す構成図、第3図は本発明の可変走査回路の
一実施例の動作を示すブロック図、第4図は従来のマル
チプロセッサシステムを示す構成図である。 1a〜1cは演算処理装置、4は共有メモリ、5a〜5
cは受付制御回路、12は可変走査回路、13はリング
カウンタ、14は制御回路、15は読出し専用メモリ(
ROM) 、16は選択回路。 なお、図中、同一符号は同一、又は相当部分を示す。 1Q〜Ic’演算悪哩裟置
FIG. 1 is a block diagram showing a multiprocessor system according to an embodiment of the present invention, FIG. 2 is a block diagram showing a variable scanning circuit according to an embodiment of the present invention, and FIG. 3 is a block diagram showing a variable scanning circuit according to an embodiment of the present invention. A block diagram showing the operation of the embodiment, and FIG. 4 is a configuration diagram showing a conventional multiprocessor system. 1a to 1c are arithmetic processing units, 4 is a shared memory, 5a to 5
c is a reception control circuit, 12 is a variable scanning circuit, 13 is a ring counter, 14 is a control circuit, and 15 is a read-only memory (
ROM), 16 is a selection circuit. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. 1Q~Ic' operation

Claims (1)

【特許請求の範囲】[Claims] 演算処理装置によって各種演算処理を実行し、その各演
算処理装置が共用できる共用メモリを有し、前記各演算
処理装置に対応して設けられ、かつ対応の演算処理装置
が前記共有メモリを利用したいときに発する共有メモリ
要求信号を受ける受付制御回路及び前記受付制御回路に
共有メモリ許可信号を出力する走査回路とを備え、前記
受付制御回路に共有メモリ要求信号と共有メモリ許可信
号とが入力したことを条件に対応する演算処理装置が前
記共有メモリを利用できるマルチプロセッサ装置におい
て、前記走査回路から出力される共有メモリ許可信号を
可変とするための可変走査回路と、前記可変走査回路の
構成としてリングカウンタから出力されるサイクリック
信号を受信する制御回路と、前記共有メモリをアクセス
する順に各演算処理装置に対応した番号を格納する読出
し専用メモリと、前記リングカウンタからの信号を読み
出し、読出し専用メモリ上のアドレスに変換し、該アド
レスのデータを読み込み、そのデータを出力する制御回
路と、前記制御回路からのデータを入力としてそのデー
タに対応した演算処理装置に共有メモリアクセス許可信
号を出力とする選択回路とを設けたことを特徴とするマ
ルチプロセッサ装置。
A processor that executes various types of arithmetic processing, has a shared memory that can be shared by each of the arithmetic processors, is provided corresponding to each of the arithmetic processors, and wants the corresponding arithmetic processor to use the shared memory. and a scanning circuit that outputs a shared memory permission signal to the admission control circuit, and the shared memory request signal and the shared memory permission signal are input to the admission control circuit. In a multiprocessor device in which an arithmetic processing unit corresponding to the condition can use the shared memory, a variable scanning circuit for making a shared memory permission signal outputted from the scanning circuit variable, and a ring as a configuration of the variable scanning circuit. a control circuit that receives a cyclic signal output from the counter; a read-only memory that stores numbers corresponding to each processing unit in the order in which the shared memory is accessed; and a read-only memory that reads the signal from the ring counter. a control circuit that converts the data into the above address, reads the data at the address, and outputs the data; and a control circuit that receives the data from the control circuit and outputs a shared memory access permission signal to an arithmetic processing unit corresponding to the data. A multiprocessor device comprising a selection circuit.
JP15952788A 1988-06-29 1988-06-29 Multi-processor device Pending JPH0212360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15952788A JPH0212360A (en) 1988-06-29 1988-06-29 Multi-processor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15952788A JPH0212360A (en) 1988-06-29 1988-06-29 Multi-processor device

Publications (1)

Publication Number Publication Date
JPH0212360A true JPH0212360A (en) 1990-01-17

Family

ID=15695715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15952788A Pending JPH0212360A (en) 1988-06-29 1988-06-29 Multi-processor device

Country Status (1)

Country Link
JP (1) JPH0212360A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259386A (en) * 1993-03-02 1994-09-16 Toshiba Corp Resource managing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259386A (en) * 1993-03-02 1994-09-16 Toshiba Corp Resource managing system

Similar Documents

Publication Publication Date Title
JP4322451B2 (en) Data transfer method between DSP memories or between DSP memory and CPU memory (DPRAM)
KR100899951B1 (en) System and method for controlling bus arbitration during cache memory burst cycles
US5623687A (en) Reset configuration in a data processing system and method therefor
US6701388B1 (en) Apparatus and method for the exchange of signal groups between a plurality of components in a digital signal processor having a direct memory access controller
JPH0212360A (en) Multi-processor device
US7240144B2 (en) Arbitration of data transfer requests
CA2078913A1 (en) Interprocessor communication system and method for multiprocessor circuitry
EP1193607B1 (en) Apparatus and method for the exchange of signal groups between a plurality of components in a digital signal processor having a direct memory access controller
KR100217743B1 (en) Common memory interface apparatus and method
JPH02222058A (en) Multiprocessor system
JPH0520183A (en) Memory access control system
JPH056333A (en) Multi-processor system
JP2003036240A (en) Inter multiprocessor communication device
JPH01265355A (en) Multi-processor system
JP2000076199A (en) Multiprocessor device provided with debugging terminal
JPH06332842A (en) Direct memory access control circuit
JPH01266651A (en) Semiconductor memory device
KR960007835B1 (en) Common memory access device for multi-processor
JPH01310466A (en) Multiprocessor system
JPH01220058A (en) Multiprocessor device
JPH02130665A (en) Multiprocessor device
JPH05334233A (en) Data transferring device
JPH05265932A (en) Bus control system
JPH06314231A (en) Shared memory access control method
JPH0784963A (en) Semiconductor integrated circuit with cpu