JPS61122771A - Multi-microprocessor system - Google Patents

Multi-microprocessor system

Info

Publication number
JPS61122771A
JPS61122771A JP24475284A JP24475284A JPS61122771A JP S61122771 A JPS61122771 A JP S61122771A JP 24475284 A JP24475284 A JP 24475284A JP 24475284 A JP24475284 A JP 24475284A JP S61122771 A JPS61122771 A JP S61122771A
Authority
JP
Japan
Prior art keywords
bus
shared memory
signal line
write
microprocessors
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
JP24475284A
Other languages
Japanese (ja)
Inventor
Iwao Negishi
根岸 巖
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP24475284A priority Critical patent/JPS61122771A/en
Publication of JPS61122771A publication Critical patent/JPS61122771A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To attain parallel operation of microprocessors at the reading of common memories by forming a common memory in each microprocessor. CONSTITUTION:The microprocessors (MPs) 1, 2 include common memories 3, 4 respectively. When the MP 1 is to execute a writing request in the common memory, information on a local bus signal line 102 is controlled by a common memory control device 20 and a waiting signal is sent to the MP 1. Then, a signal on a control signal line 110 is started to open a base gate circuit 12, a signal line 102 of the MP 1 is connected to a write-only bus signal line 105 and bus selecting circuits 10, 11 are switched to the signal line 105 to connect main storages 3, 4 to the signal line 102 of the MP 1. Then, a write command is sent to write data in all the common memories simultaneously.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はマルチマイクロプロセサシステムにおける共有
メモリの構成に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to the organization of shared memory in multi-microprocessor systems.

(従来の技術) 従来からシステムの性能を向上させるには、複数のマイ
クロプロセサを並行して動作させるマルチマイクロプロ
セサシステムが採用されてきた。
(Prior Art) Conventionally, in order to improve system performance, a multi-microprocessor system in which a plurality of microprocessors operate in parallel has been employed.

斯かるシステムにおいては、マイクロプロセサ間で通信
管行うに際してチャネルを介在したプロセサ間通信方式
、あるいは1台の共有メモリを仲介したプロセサ間通信
方式が採用されていた。
In such systems, an inter-processor communication method using a channel or an inter-processor communication method using a single shared memory is used for communication between microprocessors.

(発明が解決しようとする問題点) しかし、チャネルを介在した従来の通信方式で伝送する
情報量が多い場合には、速度が遅くなってシステムの性
能が低下するという欠点があった。
(Problems to be Solved by the Invention) However, when a large amount of information is transmitted using the conventional communication method using a channel, there is a drawback that the speed becomes slow and the performance of the system deteriorates.

また、1台の共有メモリを仲介したプロセサ間通信方式
では1台のマイクロプロセサが共有メモリを使用すると
他のマイクロプロセサでは使用が待たされ、これによっ
てシステムの性能が低下するという欠点もあった。
Furthermore, in the interprocessor communication method using a single shared memory as an intermediary, when one microprocessor uses the shared memory, other microprocessors are forced to wait before using it, which reduces system performance.

本発、明の目的は、共有メモリをマルチマイクロプロセ
サシステムで使用する場合には圧倒的にデータを読出し
て使用する場合が多いことに着目して、共有メモリをプ
ロセサごとlこ用意し、読出しに使用する時には各マイ
クロプロセサが平行して動作でき、共有メモリにデータ
を書込む場合にはすべての共有メモリへ同時にデータを
書込み、共有メモリのデータの一致を保障することによ
り上記欠点を除去し、共有メモリを介在したプロセサ間
通信を高速化したマルチマイクロプロセサシステムを提
供することにある。
The purpose of the present invention is to focus on the fact that when shared memory is used in a multi-microprocessor system, data is overwhelmingly read and used, and by preparing a shared memory for each processor and reading it out. When used in a system, each microprocessor can operate in parallel, and when writing data to a shared memory, data is written to all shared memories at the same time, thereby eliminating the above disadvantages by ensuring data consistency in the shared memories. An object of the present invention is to provide a multi-microprocessor system that speeds up communication between processors via a shared memory.

(問題点を解決するための手段) 本発明によるマルチマイクロプロセサシステムは複数の
マイクロプロセサと、複数の主記憶と、複数のバス選択
回路と、複数のバスゲート回路と、共有メモリ制御装置
とを備えて構成したものである。
(Means for Solving the Problems) A multi-microprocessor system according to the present invention includes a plurality of microprocessors, a plurality of main memories, a plurality of bus selection circuits, a plurality of bus gate circuits, and a shared memory control device. It has been prepared and configured.

複数のマイクロプロセサは、アドレス指定可能領域の一
部指定領域を共通に共有メモリ頭載として定めることが
できるものである。
For a plurality of microprocessors, a part of the addressable area can be commonly designated as a shared memory header.

複数の主記憶は、共有メモリ領域な備えたものである。The plurality of main memories are provided with a shared memory area.

複数のバス選択回路は、共有メモリの書込み専用バス信
号線か、あるいは複数のマイクロプロセサに固有なロー
カルバス信号線かを選択的に切替え、複数の主記憶に送
出するためのものである。
The plurality of bus selection circuits are for selectively switching between a write-only bus signal line of the shared memory or a local bus signal line specific to the plurality of microprocessors, and sending the signal to the plurality of main memories.

複数のバスゲート回路は、ローカルバス信号線上の信号
を選択的に書込み専用バス信号線に送出するためのもの
である。
The plurality of bus gate circuits are for selectively sending signals on the local bus signal lines to write-only bus signal lines.

共有メモリ制御装習は、複数のマイクロプロセサ、複数
の主記憶、ならびに複数のバス選択回路の待合せを制御
するためのものである。
A shared memory control device is for controlling the queuing of multiple microprocessors, multiple main memories, and multiple bus selection circuits.

本発明においては、上記構成により複数のマイクロプロ
セサの少なくとも一つが共有メモリ領域に嬰込み動作を
行う場合には、共有メモリ制御装置がローカルバス(M
Jill上のアドレスと1込み要求とにより共有メモI
J l)込み要求であると認識し、複数のマイクロプロ
セサのすべてが現在実行しているバスサイクルの終了を
確認した後にバスゲート回路を開かせることによって、
共有メモリ書込み要求を送出したマイクロプロセサのロ
ーカルバス信号線を書込み専用バス傷剖線上に送出し、
複数のバス選択回路の一つで書込み専用バス信号線を選
択して複数の主記憶の一つを接続してマイクロプロセサ
の有するすべての共有メモリに同時1こ書込みを行うよ
うに構成したものである。
In the present invention, when at least one of the plurality of microprocessors performs an embedding operation in the shared memory area with the above configuration, the shared memory control device operates on the local bus (M
Shared memo I by address on Jill and 1-include request
J l) By recognizing that it is a busy request and opening the bus gate circuit after confirming the completion of the bus cycle currently being executed by all of the multiple microprocessors,
Sends the local bus signal line of the microprocessor that sent the shared memory write request to the write-only bus line,
It is configured so that one of the write-only bus signal lines is selected by one of the plurality of bus selection circuits and one of the plurality of main memories is connected to simultaneously perform one write to all the shared memories of the microprocessor. be.

(実施列) 次に、本発明について図面を参照して詳細に説明する。(Implementation row) Next, the present invention will be explained in detail with reference to the drawings.

第1図は、2台のマイクロプロセサを使用した本発明の
一実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention using two microprocessors.

81図において、1.2はそれぞれマイクロプロセサで
あり、ろ、4はそれぞれ共有メモリを含んだ主記憶であ
り、10.11はそれぞれバス選択回路、12.13は
それぞれバスゲート回路であり、20は共有メモリ制a
装置である。100゜101はそれぞれメモリの読出し
/書込みを制御するさ共に、マイクロプロセサの実行を
待たせるための複数線路より成る制@信号糾であり、1
02゜103はそれぞれローカルバス信号線であり、1
05は書込み専用バス信会線であり、110はバス選択
回路とバスゲート回路とを制御する制御信号線である。
In Figure 81, 1.2 is a microprocessor, 4 is a main memory including a shared memory, 10.11 is a bus selection circuit, 12.13 is a bus gate circuit, and 20. is a shared memory system a
It is a device. 100 and 101 are control signals consisting of multiple lines for controlling memory read/write and for making the microprocessor wait for execution.
02゜103 are local bus signal lines, and 1
05 is a write-only bus communication line, and 110 is a control signal line for controlling the bus selection circuit and the bus gate circuit.

第2図は、tPL1図に示すマルチマイクロプロセサシ
ステムの動作を説明するタイムチャートである。第2図
に3いて、201はシステムクロック、202は制御線
100上の書込み指令信号、203は制御傷A線100
,101上の待合せ信号、204は実行中のバスサイク
ルを判断する制御信号線100.101上の判断信置、
205はバスサイクルの終了を確認する制御信号線10
0゜101上の待合せ信号、206は信置1W110上
の起動信号、207は制a信−ji!線100.101
上の書込み指令信号である。待合せ信号205の破線部
は、信号204上の判断信号でバスサイクルの存在によ
る出力の抑圧を示すものである。
FIG. 2 is a time chart explaining the operation of the multi-microprocessor system shown in the tPL1 diagram. In FIG. 2, 201 is the system clock, 202 is the write command signal on the control line 100, and 203 is the control line A line 100.
, 101; 204 is a decision signal on control signal line 100.101 for determining the bus cycle being executed;
205 is a control signal line 10 that confirms the end of the bus cycle.
0° 101 is the waiting signal, 206 is the starting signal on the communication station 1W110, 207 is the control a-ji! line 100.101
This is the write command signal above. The broken line portion of the waiting signal 205 is a judgment signal on the signal 204 and indicates suppression of output due to the presence of a bus cycle.

第1図において通常の動作の場合には、ローカルバス信
号線102,105はそれぞれバス選択回路10.11
で選択され、バス選択回路10゜11の出力は主記憶4
に接続され、2台のマイクロプロセサ1,2によってそ
れぞれ平行して固有の処理が実行されている。
In normal operation in FIG. 1, local bus signal lines 102 and 105 are connected to bus selection circuits 10 and 11, respectively.
The output of the bus selection circuit 10゜11 is selected by the main memory 4.
The two microprocessors 1 and 2 execute specific processing in parallel.

この状態のもとてマイクロプロセサ1が共有メモリに書
込み要求を実行する場合には、ローカルバス信号#10
2に共有メモリ領域を指定するアドレスを乗せ、制御信
号fj!100柘書込み指令信号を乗せる。(第2図の
202を参照)そこで、共有メモリ制御装置20は上記
情報が共有メモリへの書込み要求であると判断し、マイ
クロプロセサ1には待合せ信号を送出する(第2図の2
06を参照)。また、マイクロプロセサ2に対して現在
実行中の六スサイクル(t#2図の204を参照)が存
在しているか否かを制御信号線101により判断し、現
在実行中のバスサイクルが存在する場合には終了を確認
した後に待合せ信号を送出する(隼2図の205を参照
)。次に、制aI信号紳110上の信号を起動してバス
ゲート回路12を開き、マイクロプロセサ1のローカル
バス信号線102を書込み専用バス信号線105に接続
し、バス選択回路10,11の選択を書込み専用バス信
号線105に切換えて主記憶3,4、マイクロプロセサ
1のローカルバス信号線102と管接続させる(第2図
の206を参照)。次に、書込み指令を送出して全共有
メモリへ同時に書込みを実行する(第2図の207を参
照)。
In this state, when microprocessor 1 executes a write request to the shared memory, local bus signal #10
2 is loaded with an address specifying the shared memory area, and a control signal fj! 100 Tsuge write command signal is loaded. (See 202 in FIG. 2) Therefore, the shared memory control device 20 determines that the above information is a write request to the shared memory, and sends a waiting signal to the microprocessor 1 (see 202 in FIG. 2).
06). Also, it is determined by the control signal line 101 whether or not there is a 6th cycle (see 204 in the t#2 diagram) currently being executed for the microprocessor 2, and it is determined whether there is a bus cycle currently being executed. In this case, a waiting signal is sent after confirming the completion (see 205 in Figure 2 of Hayabusa). Next, activate the signal on the control aI signal line 110 to open the bus gate circuit 12, connect the local bus signal line 102 of the microprocessor 1 to the write-only bus signal line 105, and select the bus selection circuits 10 and 11. is switched to the write-only bus signal line 105 and connected to the main memories 3, 4 and the local bus signal line 102 of the microprocessor 1 (see 206 in FIG. 2). Next, a write command is sent to execute writing to all shared memories simultaneously (see 207 in FIG. 2).

書込みの実行を終了すると待合せ信号の送出を停止し、
バス選択回路10を切換えてローカルバス信号線102
と主記憶3とを接続して通常の動作に戻る。
When writing is finished, the sending of the waiting signal is stopped,
By switching the bus selection circuit 10, the local bus signal line 102
and the main memory 3 and return to normal operation.

(発明の効果) 本発明は以上説明したように、共有メモリをそれぞれマ
イクロプロセサごとに設けることにより、共有メモリの
読出しにおけるマイクロプロセサの並行動作を可能にし
、システムの性能を向上させ、さらに各共有メモリに同
時に書込みを実行することによって1台のマイクロプロ
セサから他の複数のマイクロプロセサへ同時に通報する
ことができるという効果がある。
(Effects of the Invention) As explained above, the present invention enables parallel operation of the microprocessors when reading the shared memory by providing a shared memory for each microprocessor, improves system performance, and further improves the performance of each shared memory. By writing to the memory simultaneously, one microprocessor can notify multiple other microprocessors at the same time.

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

筆】図は、本発明によるマルチマイクロプロセサシステ
ムの一実施例を示すブロック図である。 第2図は、第1図における各部の波形を示す波形図であ
る。 1.2・11@マイクロプロセサ 3.4・・・主記憶 10.11・・・バス選択回路 12.16・・・バスゲート回路 20・・慟共有メモリ制御装置
FIG. 1 is a block diagram showing an embodiment of a multi-microprocessor system according to the present invention. FIG. 2 is a waveform diagram showing waveforms at various parts in FIG. 1. 1.2・11@Microprocessor 3.4...Main memory 10.11...Bus selection circuit 12.16...Bus gate circuit 20...Shared memory control device

Claims (1)

【特許請求の範囲】[Claims] アドレス指定可能領域の一部指定領域を共通に共有メモ
リ領域として定めることができる複数のマイクロプロセ
サと、前記共有メモリ領域を備えた複数の主記憶と、前
記共有メモリの書込み専用バス信号線か、あるいは前記
複数のマイクロプロセサに固有なローカルバス信号線か
を選択的に切替え、前記複数の主記憶に送出するための
複数のバス選択回路と、前記ローカルバス信号線上の信
号を選択的に前記書込み専用バス信号線に送出するため
の複数のバスゲート回路と、前記複数のマイクロプロセ
サ、前記複数の主記憶、ならびに複数のバス選択回路の
待合せを制御するための共有メモリ制御装置とを具備し
、前記複数のマイクロプロセサの少なくとも一つが前記
共有メモリ領域に書込み動作を行う場合には、前記共有
メモリ制御装置がローカルバス信号線上のアドレスと書
込み要求とにより共有メモリ書込み要求であると認識し
、前記複数のマイクロプロセサのすべてが現在実行して
いるバスサイクルの終了を確認した後に前記バスゲート
回路を開かせることによって前記共有メモリ書込み要求
を送出したマイクロプロセサのローカルバス信号線を前
記書込み専用バス信号線上に送出し、前記複数のバス選
択回路の該当する一つで前記書込み専用バス信号線を選
択して前記複数の主記憶の該当する一つを接続して前記
マイクロプロセサの有するすべての共有メモリに同時に
書込みを行うように構成したことを特徴とするマルチマ
イクロプロセサシステム。
a plurality of microprocessors that can commonly define a part of the addressable area as a shared memory area; a plurality of main memories each having the shared memory area; and a write-only bus signal line for the shared memory; Alternatively, a plurality of bus selection circuits for selectively switching local bus signal lines specific to the plurality of microprocessors and sending the signals to the plurality of main memories, and selectively writing the signals on the local bus signal lines. comprising a plurality of bus gate circuits for sending data to a dedicated bus signal line, a shared memory control device for controlling the queuing of the plurality of microprocessors, the plurality of main memories, and the plurality of bus selection circuits; When at least one of the plurality of microprocessors performs a write operation in the shared memory area, the shared memory control device recognizes the address on the local bus signal line and the write request as a shared memory write request, and After confirming the completion of the bus cycle currently being executed by all of the plurality of microprocessors, the bus gate circuit is opened to connect the local bus signal line of the microprocessor that sent the shared memory write request to the write-only bus signal. A corresponding one of the plurality of bus selection circuits selects the write-only bus signal line and connects the corresponding one of the plurality of main memories to all the shared memories of the microprocessor. A multi-microprocessor system characterized in that it is configured to simultaneously write to.
JP24475284A 1984-11-20 1984-11-20 Multi-microprocessor system Pending JPS61122771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24475284A JPS61122771A (en) 1984-11-20 1984-11-20 Multi-microprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24475284A JPS61122771A (en) 1984-11-20 1984-11-20 Multi-microprocessor system

Publications (1)

Publication Number Publication Date
JPS61122771A true JPS61122771A (en) 1986-06-10

Family

ID=17123365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24475284A Pending JPS61122771A (en) 1984-11-20 1984-11-20 Multi-microprocessor system

Country Status (1)

Country Link
JP (1) JPS61122771A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9176891B2 (en) 2008-03-19 2015-11-03 Panasonic Intellectual Property Management Co., Ltd. Processor, processing system, data sharing processing method, and integrated circuit for data sharing processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9176891B2 (en) 2008-03-19 2015-11-03 Panasonic Intellectual Property Management Co., Ltd. Processor, processing system, data sharing processing method, and integrated circuit for data sharing processing

Similar Documents

Publication Publication Date Title
US5125081A (en) Inter-configuration changing controller based upon the connection and configuration information among plurality of clusters and the global storage
GB2213294A (en) Data processor
JPS61122771A (en) Multi-microprocessor system
JPS6145272B2 (en)
JP2522412B2 (en) Communication method between programmable controller and input / output device
JPS6049951B2 (en) Simultaneous instruction signal sending circuit
JPH05165675A (en) Debug supporting device
JPH02211571A (en) Information processor
JPH04117697A (en) Multiport memory circuit
JPS62128341A (en) Access control system for two port memory
JPS58149550A (en) Accessing system of memory
JPH0619625A (en) Multiple control system for magnetic disk
JPS6349818B2 (en)
JPS593776B2 (en) Communication method in multi-microprocessor system
JPH02730B2 (en)
JPS6053901B2 (en) Inter-processor information transfer method
JPH06175870A (en) In-circuit emulator
JPS6140658A (en) Data processor
JPH0424733B2 (en)
JPS6167124A (en) Magnetic disc controller
JPS5821737B2 (en) Memory access processing method
JPH02171949A (en) Dma transfer system
JPH04243445A (en) Register data writing system for information processor
JPH0316652B2 (en)
JPH0580698B2 (en)