JPH04255062A - Inter-processor communication system - Google Patents

Inter-processor communication system

Info

Publication number
JPH04255062A
JPH04255062A JP1625191A JP1625191A JPH04255062A JP H04255062 A JPH04255062 A JP H04255062A JP 1625191 A JP1625191 A JP 1625191A JP 1625191 A JP1625191 A JP 1625191A JP H04255062 A JPH04255062 A JP H04255062A
Authority
JP
Japan
Prior art keywords
processor
interruption
inter
information
processors
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
JP1625191A
Other languages
Japanese (ja)
Inventor
Masayuki Koyama
児山 正之
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 JP1625191A priority Critical patent/JPH04255062A/en
Publication of JPH04255062A publication Critical patent/JPH04255062A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To improve throughput by setting up specific addresses for generating interruptions in the memories of respective processors constituting a multiprocessor system and processing information written in an inter-processor communication memory by interruption. CONSTITUTION:Respective processors 2 to 4 are connected to a common bus 1. The processors 2 to 4 are respectively provided with interprocessor communication memories 5 to 7, interruption signal generating parts 8 to 10 for generating interruption signals, and so on. The specific addresses for generating interruption are previously set up in respective memories 5 to 7. In the case of transmitting data from the processor 2 to the processor 4, the processor 2 writes data in the specified address of the memory 7 in the processor 4. Then information is written in the specific address. At the time of writing the information in the specific address, an interruption signal generating part 10 in the processor 4 outputs an interruption signal. A central processing unit 13 process the information inputted from the processor 2 by interruption processing.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は共通バスを介しプロセッ
サ間の通信を行うマルチプロセッサシステムにおけるプ
ロセッサ間通信方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-processor communication system in a multiprocessor system for communicating between processors via a common bus.

【0002】0002

【従来の技術】従来、マルチプロセッサシステムに用い
られている各プロセッサは、プロセッサ間通信のための
メモリを有しており、プロセッサ間通信方式としては自
プロセッサのプロセッサ間通信メモリに情報が書込まれ
たかどうかをプログラムによって周期的にチェックし、
書込まれている場合には該当のプロセッサが対応するそ
れぞれの処理を行うという構成になっている。
[Prior Art] Conventionally, each processor used in a multiprocessor system has a memory for inter-processor communication, and an inter-processor communication method involves writing information to the inter-processor communication memory of its own processor. The program periodically checks whether the
If it is written, the corresponding processor performs the corresponding processing.

【0003】0003

【発明が解決しようとする課題】上述した従来のプロセ
ッサ間通信方式に用いられるプロセッサでは、他プロセ
ッサから自プロセッサのプロセッサ間通信メモリへ情報
が書込まれたとき、この書込まれたプロセッサが割込み
を発生する機能を有していないため、他プロセッサから
自プロセッサへ情報が書込まれたかどうかを周期的にプ
ログラムでチェックする必要があった。従って、情報の
伝達が遅れ処理も遅れるため、プロセッサの処理能力が
向上しないという欠点があった。
[Problems to be Solved by the Invention] In the processors used in the conventional inter-processor communication method described above, when information is written from another processor to the inter-processor communication memory of the own processor, the processor to which this information has been written interrupts. Since the processor does not have a function to generate a message, it is necessary to periodically check whether information has been written to the own processor from another processor using a program. Therefore, the transmission of information is delayed, and the processing is also delayed, resulting in a drawback that the processing ability of the processor cannot be improved.

【0004】0004

【課題を解決するための手段】本発明のプロセッサ間通
信方式は、第1及び第2のプロセッサが共通バスに接続
され、前記第1及び第2のプロセッサは前記共通バスか
らのアクセスと自プロセッサの中央処理部からのアクセ
スとが可能な蓄積部をそれぞれに有し、この蓄積部を介
してプロセッサ間の通信を行うマルチプロセッサシステ
ムにおけるプロセッサ間通信方式において、割込みを発
生するための特定アドレスを前記蓄積部に予め定めてお
き、前記第1のプロセッサから前記共通バスを介し送信
された情報が前記第2のプロセッサの蓄積部の前記特定
アドレスに書込まれたことを前記第2のプロセッサの割
込信号発生部が識別した場合には、この割込信号発生部
は前記第2のプロセッサの中央処理部に対して、割込み
のための割込信号を出力する構成である。
Means for Solving the Problems In the inter-processor communication system of the present invention, first and second processors are connected to a common bus, and the first and second processors receive access from the common bus and their own processor. In an inter-processor communication system in a multiprocessor system where each processor has a storage section that can be accessed from the central processing section of the processor and the processors communicate via this storage section, a specific address for generating an interrupt is specified. The information is predetermined in the storage unit, and the second processor is notified that the information transmitted from the first processor via the common bus has been written to the specific address of the storage unit of the second processor. If the interrupt signal generating section identifies the interrupt signal, the interrupt signal generating section is configured to output an interrupt signal for the interrupt to the central processing section of the second processor.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例を説明するための図であり
、本例では、3つのプロセッサ2,3,4が共通バス1
に接続されており、各プロセッサ2,3,4は、それぞ
れプロセッサ間通信メモリ5,6,7と、割込信号を発
生する割込信号発生部8,9,10と、割込信号を受信
し割込処理を行うマイクロプロセッサで構成される中央
処理部11,12,13とを備える。図2は図1の割込
信号発生部の一例を示す図であり、比較器20及びフリ
ップフロップ21を備え、共通バス側からプロセッサ間
通信メモリの特定アドレスへ書込みが行われると割込信
号を発生する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings. FIG. 1 is a diagram for explaining one embodiment of the present invention. In this example, three processors 2, 3, and 4 are connected to a common bus 1.
The processors 2, 3, and 4 each have interprocessor communication memories 5, 6, and 7, interrupt signal generators 8, 9, and 10 that generate interrupt signals, and receive interrupt signals. and central processing units 11, 12, and 13 each configured of a microprocessor that performs interrupt processing. FIG. 2 is a diagram showing an example of an interrupt signal generation section in FIG. 1, which includes a comparator 20 and a flip-flop 21, and generates an interrupt signal when writing is performed from the common bus side to a specific address of the interprocessor communication memory. Occur.

【0006】次に、プロセッサ2がプロセッサ4へデー
タを伝達する場合の動作について説明する。始めに、プ
ロセッサ2,3,4のそれぞれのプロセッサ間通信メモ
リ5,6,7に割込みを発生するための特定アドレスを
予め設定しておく。このような状態で、プロセッサ2は
、共通バス1を介してプロセッサ4のプロセッサ間通信
メモリ7の指定されたアドレスへ通信内容を示すデータ
を書込む。次に、プロセッサ2は予め定められた特定ア
ドレスへ情報の書込みを行う。
Next, the operation when the processor 2 transmits data to the processor 4 will be explained. First, a specific address for generating an interrupt is set in advance in the interprocessor communication memories 5, 6, and 7 of the processors 2, 3, and 4, respectively. In this state, the processor 2 writes data indicating the communication content to the designated address of the interprocessor communication memory 7 of the processor 4 via the common bus 1. Next, the processor 2 writes information to a predetermined specific address.

【0007】プロセッサ4の割込信号発生部10は、プ
ロセッサ2から送信される情報がプロセッサ間通信メモ
リ7の予め定められた特定アドレスに書込まれたか否か
を判定する。すなわち、予め定められたアドレス(アド
レス設定値)と一致するアドレスが書込みアドレス(メ
モリアドレス)として比較器20に入力されると、比較
器20は、一致信号を出力し、この信号をフリップフロ
ップ21において、前述したアドレスと同時に共通バス
側より入力されるメモリライト信号でラッチし、割込信
号を中央処理部13へ出力する。
The interrupt signal generating section 10 of the processor 4 determines whether the information transmitted from the processor 2 has been written to a predetermined specific address of the interprocessor communication memory 7. That is, when an address that matches a predetermined address (address setting value) is input to the comparator 20 as a write address (memory address), the comparator 20 outputs a match signal, and this signal is sent to the flip-flop 21. At this time, a memory write signal input from the common bus side is latched at the same time as the above-mentioned address, and an interrupt signal is output to the central processing unit 13.

【0008】これにより、割込信号が入力された中央処
理部13は、プロセッサ間通信メモリ7に他プロセッサ
,この場合プロセッサ2からのデータが書込まれたこと
を認識し、プログラムの周期的チェックによらずに遅滞
なく、プロセッサ間通信メモリに書込まれた情報をひき
とることができ、処理を促進することができる。
[0008] As a result, the central processing unit 13 to which the interrupt signal has been input recognizes that data from another processor, in this case processor 2, has been written to the interprocessor communication memory 7, and periodically checks the program. The information written in the inter-processor communication memory can be retrieved without any delay, thereby facilitating processing.

【0009】本実施例では、プロセッサ2からプロセッ
サ4へのデータ転送の場合を説明したが、他の場合も同
様に実行することができる。
In this embodiment, the case of data transfer from the processor 2 to the processor 4 has been described, but other cases can be similarly executed.

【0010】0010

【発明の効果】以上説明したように本発明は、割込みを
発生するための特定アドレスをそれぞれのプロセッサの
蓄積部に予め定めておき、第1のプロセッサから共通バ
スを介し送信される情報が第2のプロセッサの蓄積部の
特定アドレスに書込まれたことを第2のプロセッサの割
込信号発生部が識別した場合には、この割込信号発生部
は第2のプロセッサの中央処理部に対して、割込みのた
めの割込信号を出力するように構成したので、プロセッ
サ間通信に用いられる各プロセッサの蓄積部に書込まれ
た情報を遅滞なく処理することができるようになり、従
ってマルチプロセッサシステム全体の処理能力を向上さ
せるという効果がある。
As explained above, in the present invention, a specific address for generating an interrupt is predetermined in the storage section of each processor, and the information transmitted from the first processor via the common bus is When the interrupt signal generation section of the second processor identifies that the data has been written to a specific address in the storage section of the second processor, the interrupt signal generation section sends a message to the central processing section of the second processor. Since the configuration is configured to output an interrupt signal for an interrupt, the information written in the storage section of each processor used for inter-processor communication can be processed without delay. This has the effect of improving the processing capacity of the entire system.

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

【図1】本発明の一実施例を説明するための図である。FIG. 1 is a diagram for explaining one embodiment of the present invention.

【図2】図1の割込信号発生部の一例を示す図である。FIG. 2 is a diagram showing an example of an interrupt signal generating section in FIG. 1;

【符号の説明】[Explanation of symbols]

1    共通バス 2,3,4    プロセッサ 5,6,7    プロセッサ間通信メモリ8,9,1
0    割込信号発生部 11,12,13    中央処理部 20    比較器 21    フリップフロップ
1 Common bus 2, 3, 4 Processors 5, 6, 7 Inter-processor communication memory 8, 9, 1
0 Interrupt signal generation unit 11, 12, 13 Central processing unit 20 Comparator 21 Flip-flop

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  第1及び第2のプロセッサが共通バス
に接続され、前記第1及び第2のプロセッサは前記共通
バスからのアクセスと自プロセッサの中央処理部からの
アクセスとが可能な蓄積部をそれぞれに有し、この蓄積
部を介してプロセッサ間の通信を行うマルチプロセッサ
システムにおけるプロセッサ間通信方式において、割込
みを発生するための特定アドレスを前記蓄積部に予め定
めておき、前記第1のプロセッサから前記共通バスを介
し送信された情報が前記第2のプロセッサの蓄積部の前
記特定アドレスに書込まれたことを前記第2のプロセッ
サの割込信号発生部が識別した場合には、この割込信号
発生部は前記第2のプロセッサの中央処理部に対して、
割込みのための割込信号を出力することを特徴とするプ
ロセッサ間通信方式。
1. A first and a second processor are connected to a common bus, and the first and second processors are storage units that can be accessed from the common bus and from a central processing unit of the own processor. In an inter-processor communication method in a multiprocessor system in which the processors each have a storage unit and communicate between the processors via the storage unit, a specific address for generating an interrupt is predetermined in the storage unit, and the first When the interrupt signal generation unit of the second processor identifies that the information transmitted from the processor via the common bus has been written to the specific address of the storage unit of the second processor, The interrupt signal generation unit provides the central processing unit of the second processor with the following information:
An inter-processor communication method characterized by outputting an interrupt signal for an interrupt.
JP1625191A 1991-02-07 1991-02-07 Inter-processor communication system Pending JPH04255062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1625191A JPH04255062A (en) 1991-02-07 1991-02-07 Inter-processor communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1625191A JPH04255062A (en) 1991-02-07 1991-02-07 Inter-processor communication system

Publications (1)

Publication Number Publication Date
JPH04255062A true JPH04255062A (en) 1992-09-10

Family

ID=11911348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1625191A Pending JPH04255062A (en) 1991-02-07 1991-02-07 Inter-processor communication system

Country Status (1)

Country Link
JP (1) JPH04255062A (en)

Similar Documents

Publication Publication Date Title
US5109333A (en) Data transfer control method and apparatus for co-processor system
US4872110A (en) Storage of input/output command timeout and acknowledge responses
JPS6113629B2 (en)
JPH04255062A (en) Inter-processor communication system
JPS63142455A (en) Semiconductor storage device
JPS6061859A (en) Data communication system of microcomputer
KR960007835B1 (en) Common memory access device for multi-processor
JP2929631B2 (en) Communication device between processors
US20090216932A1 (en) Data processing apparatus
JPS5999522A (en) Input and output control system
JP3219422B2 (en) Cache memory control method
JP2822414B2 (en) Dual port memory
JPS6379161A (en) semiconductor storage device
JPS6370994A (en) Semiconductor integrated circuit device
JPS61153770A (en) Image processor
JPH02133856A (en) Data transfer device
JPH0573509A (en) Inter-processor communication system
JPH04104355A (en) Multiprocessing method
JPH0232432A (en) Dual port memory control method
JPH01234962A (en) Bus control system
JPS633358A (en) Multiprocessor
JPH01223689A (en) Dual port memory device
JPH03204755A (en) Data transfer device
JPS62102354A (en) Access control method
JPS6037062A (en) Memory read method