JPH04167164A - Inter-processor connecting device - Google Patents

Inter-processor connecting device

Info

Publication number
JPH04167164A
JPH04167164A JP29482990A JP29482990A JPH04167164A JP H04167164 A JPH04167164 A JP H04167164A JP 29482990 A JP29482990 A JP 29482990A JP 29482990 A JP29482990 A JP 29482990A JP H04167164 A JPH04167164 A JP H04167164A
Authority
JP
Japan
Prior art keywords
processor
address
circuit
information
transmission line
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
JP29482990A
Other languages
Japanese (ja)
Inventor
Satoshi Murakami
聡 村上
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 JP29482990A priority Critical patent/JPH04167164A/en
Publication of JPH04167164A publication Critical patent/JPH04167164A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To attain the mutual accesses to the resources of the memories, etc., at a high speed between the 1st and 2nd processors by converting the address applied to the access of the 1st processor into a prescribed address of the 2nd processor through a mapping circuit. CONSTITUTION:The inter-processor connecting devices 20 and 21 are provided opposite to the processors 22 and 23 respectively and connected to these processors via the processor buses 24 and 25. At the same time, the devices 20 and 21 are connected to each other via a transfer line 26. When the processor 22 wants to have an access to the memory resources, etc., allocated to an address space 21-2 in an address space 21-1 of the processor 23, the processor 22 is defined to have an access to a specific address space 20-3 in an address space 20-1 of the processor 22 itself. Under such conditions, a mapping circuit 2 of the device 20 connected to the processor 22 is set to perform the mapping of both spaces 20-3 and 21-2. Thus the connection is easily secured between the processors of different bus forms.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プロセッサ間を結合する装置に関し、より詳
細には、互いに他のプロセッサのメモリ等の資源をアク
セスし得るようにプロセッサどうしを結合するプロセッ
サ間結合装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a device for coupling processors, and more specifically, for coupling processors together so that they can access resources such as memory of other processors. The present invention relates to an inter-processor coupling device.

〔従来の技術〕[Conventional technology]

従来より、複数のプロセッサを互いに結合し、各々のプ
ロセッサに分散処理や並列処理を行わせるようにしたマ
ルチプロセッサ構成のシステムが各種の分野で採用され
ている。そして、この種のシステムにおけるプロセッサ
間の結合方式としては、従来、第4図に示すような方式
と第5図に示すような方式とが一般に採用されている。
2. Description of the Related Art Conventionally, systems having a multiprocessor configuration in which a plurality of processors are connected to each other and each processor is configured to perform distributed processing or parallel processing have been employed in various fields. Conventionally, as a coupling method between processors in this type of system, a method as shown in FIG. 4 and a method as shown in FIG. 5 have been generally adopted.

第4図の方式は、プロセッサ30とプロセッサ31とを
共有メモリ32を介して結合するものであり、各プロセ
ッサ30.31の処理を行うための入力データ、演算結
果等の出力データ、制御のためのフラグデータ等を共有
メモリ32に記憶し、それらのデータを各々のプロセッ
サ30.31が共有メモリ32から直接に読み出すこと
によって共有できるようにしている。なお、各々のプロ
セッサ30.31は、書き込み要求信号33.読み出し
要求信号34.アドレス信号35.データ信号36によ
って、共有メモリ32も各々のプロセッサ専用のメモリ
(図示せず)と同じ方式で、他プロセツサを意識せずに
使用できる。
The method shown in FIG. 4 connects a processor 30 and a processor 31 via a shared memory 32, and stores input data for processing by each processor 30, 31, output data such as calculation results, and control data. flag data, etc. are stored in the shared memory 32, and each processor 30, 31 can share the data by reading it directly from the shared memory 32. Note that each processor 30.31 receives a write request signal 33.31. Read request signal 34. Address signal 35. The data signal 36 allows the shared memory 32 to be used in the same manner as memory (not shown) dedicated to each processor, without being aware of other processors.

また、第5図の方式は、プロセッサ40とプロセッサ4
1とを通信回線44で接続し、各々のプロセッサ内に設
けた通信制御プログラム42.43の下で通信回線44
を介してお互いにデータを交換し合い、分散処理や並列
処理が行えるようにしたものである。この場合、各々の
プロセッサ40.41は、通信制御プログラム42.4
3により通信インターフェースのデータ幅に合わせて複
数個のデータの送受信を行うもので、通信インターフェ
ース上のデータは送受信のためのプロセッサアドレス、
データアドレス、データワード数。
Furthermore, the system shown in FIG.
1 through a communication line 44, and the communication line 44 is connected under the communication control program 42.43 provided in each processor.
It allows data to be exchanged with each other via , allowing distributed and parallel processing to be performed. In this case, each processor 40.41 has a communication control program 42.4.
3, multiple pieces of data are sent and received according to the data width of the communication interface, and the data on the communication interface is the processor address for sending and receiving,
Data address, number of data words.

データ等を組み合わせたデータブロック形式となる。9 〔発明が解決しようとする課題〕 従来は上述した方式によりプロセッサどうしを結合して
いたが、それぞれ次のような問題点があった。
It is in a data block format that combines data, etc. 9 [Problems to be Solved by the Invention] Conventionally, the above-mentioned methods have been used to connect processors, but each method has the following problems.

第4図に示す共有メモリを使用する方式は、各々のプロ
セッサが一つのメモリ回路と密に接続されるため、両プ
ロセッサは物理的に近接している必要があり、分散処理
システムを構築する上で大きな制約となる。また、電気
的にもメモリ回路のインターフェースに各々のプロセッ
サを合わせる必要があるため、バス形式等の形式の異な
るプロセッサ間を結合するのが困難である。例えば、マ
ルチパス−■規格に適合するプロセッサボードとVME
bus規格に適合するプロセッサボード間を結合するの
は困難である。
In the system using shared memory shown in Figure 4, each processor is closely connected to one memory circuit, so both processors must be physically close to each other, which is difficult to construct a distributed processing system. This is a big constraint. Furthermore, it is necessary to electrically match each processor to the interface of the memory circuit, making it difficult to connect processors of different formats, such as bus formats. For example, a processor board and VME that comply with multipath-■ standards.
It is difficult to connect processor boards that conform to the BUS standard.

また、第5図に示す通信インターフェースを使用する方
式は、異なる形式のプロセッサ間であっても通信インタ
ーフェースのみ整合していれば結合するのは特に困難で
はなく、また遠くに離れたプロセッサ間どうしを結合す
ることもできるが、各々のプロセッサで通信制御プログ
ラムが介在するため、どうしてもデータ交換に長時間を
要する。
Furthermore, in the method using the communication interface shown in Figure 5, it is not particularly difficult to connect processors of different types as long as only the communication interface is compatible, and it is not particularly difficult to connect processors that are far apart. Although it is possible to combine them, since a communication control program is involved in each processor, data exchange inevitably takes a long time.

本発明はこのような事情に鑑みてなされたもので、その
目的は、遠くに離れたバス形式等の異なるプロセッサど
うしであっても、互いに他のプロセッサのメモリ等の資
源を高速にアクセスし得るようにプロセッサ間を結合す
ることができるプロセッサ間結合装置を提供することに
ある。
The present invention has been made in view of the above circumstances, and its purpose is to enable each processor to access resources such as memory of other processors at high speed even if the processors are separated by different bus formats. An object of the present invention is to provide an inter-processor coupling device capable of coupling processors in this manner.

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

本発明のプロセッサ間結合装置は、上記の目的を達成す
るために、 プロセッサバスと送受信伝送ラインとの間に接続される
と共に、 情報を種別毎に保持する第1のFIFO群と、この第1
のFIFO群に保持された情報を前記送受信伝送ライン
に送出する送信回路と、前記送受信伝送ラインを経由し
て送られてくる情報を受信する受信回路と、 この受信回路で受信された情報を種別毎に保持する第2
のFIFO群と、 前記プロセッサバスに接続された第1のプロセッサが特
定のアドレス空間に対しアクセスするために前記プロセ
ッサバスに出力した情報を前記第1のFIFO群に保持
させた後に前記送信回路により前記送受信伝送ラインに
送信させる第1の制御手段と、 前記第2のFIFO群に保持された情報が資源のアクセ
スにかかる情報である場合にそれに基づいて前記プロセ
ッサバスを介して前記第1のプロセッサの資源に対する
アクセスを行い、読み出し動作時には得られた結果デー
タを前記第1のFTFO群に格納した後前記送信回路に
より前記送受信伝送ラインに送出させ、前記第2のFI
FO群に保持された情報が読み出し結果データである場
合にその結果データを前記プロセッサバスに出力する第
2の制御手段と、 前記第1のプロセッサが特定のアドレス空間に対しアク
セスするために前記プロセッサバスに出力した情報のう
ちのアドレスを前記送受信伝送ラインおよび他のプロセ
ッサ間結合装置を介して接続された第2のプロセッサの
所定のアドレスに変換するか、または前記受信回路で受
信された情報のうちの前記第2のプロセッサの出力にか
かるアドレスを前記第1のプロセッサの所定のアドレス
に変換するマツピング回路とを含んでいる。
In order to achieve the above object, the inter-processor coupling device of the present invention comprises: a first FIFO group that is connected between a processor bus and a transmission/reception transmission line and holds information for each type;
a transmitting circuit that sends the information held in the FIFO group to the transmitting/receiving transmission line; a receiving circuit that receives the information sent via the transmitting/receiving transmission line; and classifying the information received by the receiving circuit. The second to hold every
a FIFO group, and after the first FIFO group holds information outputted to the processor bus by a first processor connected to the processor bus in order to access a specific address space, the transmission circuit a first control means for causing the transmission to be transmitted to the transmitting/receiving transmission line; and when the information held in the second FIFO group is information related to resource access, the first controlling means transmits the information to the first processor via the processor bus based on the information held in the second FIFO group. After accessing the resources and storing the obtained result data in the first FTFO group during a read operation, the transmitting circuit sends it out to the transmitting/receiving transmission line, and the second FIFO
a second control means for outputting the result data to the processor bus when the information held in the FO group is read result data; The address of the information output to the bus is converted into a predetermined address of the second processor connected via the transmission/reception transmission line and another inter-processor coupling device, or the information received by the reception circuit is and a mapping circuit that converts an address related to the output of the second processor into a predetermined address of the first processor.

〔作用〕[Effect]

本発明のプロセッサ間結合装置の作用をその理解を容易
にするために、2台のプロセッサが2個のプロセッサ間
結合装置および送受信伝送ラインを介して結合されてい
る例を挙げて説明する。
In order to facilitate understanding of the operation of the inter-processor coupling device of the present invention, an example will be described in which two processors are coupled via two inter-processor coupling devices and a transmission/reception transmission line.

第1のプロセッサが第2のプロセッサ側資源の写像空間
となる特定のアドレス空間に対しアクセスするためにプ
ロセッサバスにアドレス、書き込み或いは読み出し等の
動作を示す制御フラグ、書き込み時には書き込むデータ
等を出力すると、第1のプロセッサのプロセッサバスに
接続された第1のプロセッサ間結合装置の第1の制御手
段が、前記プロセッサバスに出力された情報を、アドレ
スについてはマツピング回路により所定のアドレス即ち
写像光の第2のプロセッサのアドレスに変換した後、他
の種別の情報はそのまま、第1のFIFO群に保持させ
た後に送信回路により前記送受信伝送ラインに送出させ
る。
When the first processor outputs an address, a control flag indicating an operation such as writing or reading, data to be written at the time of writing, etc. to the processor bus in order to access a specific address space that is the mapping space of the second processor side resource. , the first control means of the first inter-processor coupling device connected to the processor bus of the first processor converts the information outputted to the processor bus into a predetermined address, that is, the mapped light by a mapping circuit. After converting into the address of the second processor, other types of information are held as they are in the first FIFO group, and then sent out to the transmitting/receiving transmission line by the transmitting circuit.

前記送受信伝送ラインに送出された上記の情報はそれに
接続された第2のプロセッサ間結合装置における受信回
路で受信され、同装置の第2のFIFO群に情報の種別
毎に保持され、同装置の第2の制御手段が、この第2の
FIFO群に保持された情報に基づいて同装置に接続さ
れたプロセッサバスを介して第2のプロセッサの資源に
対するアクセスを行う。即ち、書き込み時にはプロセッ
サバスを介して第2のプロセッサの資源に対する書き込
みを行うものであり、これによって第1のプロセッサに
よる第2のプロセッサの資源に対する書き込みが行われ
たことになる。また、読み出し動作時には、上記第2の
制御手段が、アクセスの結果得られた結果データを同装
置の第1のFIFO群に格納した後、同装置の送信回路
により送受信伝送ラインに送出させる。
The above-mentioned information sent to the transmitting/receiving transmission line is received by the receiving circuit in the second inter-processor coupling device connected thereto, and is held for each type of information in the second FIFO group of the device. The second control means accesses the resources of the second processor via the processor bus connected to the device based on the information held in the second FIFO group. That is, at the time of writing, the resource of the second processor is written via the processor bus, and this means that the first processor has written to the resource of the second processor. Further, during a read operation, the second control means stores the result data obtained as a result of the access in the first FIFO group of the device, and then causes the transmitting circuit of the device to send the result data to the transmitting/receiving transmission line.

前記送受信伝送ラインに送出された上記の結果データは
第1のプロセッサ間結合装置における受信回路で受信さ
れ、同装置の第2のFIFO群に保持され、同装置の第
2の制御手段が、この第2のFIFO群に保持された結
果データをプロセッサバス上に出力する。これによって
、第1のプロセッサによる第2のプロセッサ側資源に対
する読み出しが行われたことになる。
The above result data sent to the transmitting/receiving transmission line is received by the receiving circuit in the first inter-processor coupling device and held in the second FIFO group of the device, and the second control means of the device controls this data. The result data held in the second FIFO group is output onto the processor bus. This means that the first processor has read the second processor side resources.

以上の構成では、第1のプロセッサのアクセスにかかる
アドレスを第1のプロセッサに設けたマツピング回路で
第2のプロセッサの所定のアドレスに変換したが、第1
のプロセッサのアクセスにかかるアドレスをそのまま第
2のプロセッサ間結合装置に送信し、この第2のプロセ
ッサ間結合装置のマツピング回路で第2のプロセッサの
所定のアドレスに変換しても良いものである。
In the above configuration, the mapping circuit provided in the first processor converts the address accessed by the first processor into a predetermined address of the second processor.
It is also possible to send the address accessed by the processor as it is to the second inter-processor coupling device, and convert it into a predetermined address of the second processor by the mapping circuit of the second inter-processor coupling device.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して詳細に説
明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明のプロセッサ間結合装置の一実施例のブ
ロック図、第2図は第1図に示されるプロセッサ間結合
装置を2個使用して2台のプロセッサを結合したマルチ
プロセッサシステムの一例を示すブロック図である。
FIG. 1 is a block diagram of an embodiment of an inter-processor coupling device of the present invention, and FIG. 2 is a block diagram of a multiprocessor system in which two processors are coupled using two inter-processor coupling devices shown in FIG. FIG. 2 is a block diagram showing an example.

第2図に示すように、本実施例のプロセッサ間結合装置
20.21は、プロセッサ対応に設けられ、対応するプ
ロセッサ22.23とはプロセッサバス24,25を介
して接続され、各々どうしは送受信伝送ライン26で接
続される。そして、第1図を参照すると、プロセッサ間
結合装置1(20,21)は、プロセッサバス側との接
続端子T1〜T6と送受信伝送ライン26側との接続端
子Tll、T12とを備えると共に、内部的には、ウィ
ンドウ制御回路1.マツピング回路2.アドレスFIF
O(先入れ先出し形式レジスタ)3゜データFIFO4
,制御フラグFIFO5,送信回路6.受信回路7.ア
ドレスPIFO8,データFIFO9,制御フラグFI
FOIO,プロセッサタイミング制御回路11を含んで
いる。
As shown in FIG. 2, the inter-processor coupling devices 20 and 21 of this embodiment are provided corresponding to the processors, and are connected to the corresponding processors 22 and 23 via processor buses 24 and 25, so that they can transmit and receive data between each other. They are connected by a transmission line 26. Referring to FIG. 1, the inter-processor coupling device 1 (20, 21) includes connection terminals T1 to T6 with the processor bus side, connection terminals Tll and T12 with the transmission/reception transmission line 26 side, and internal Specifically, window control circuit 1. Mapping circuit 2. Address FIF
O (first-in, first-out format register) 3゜Data FIFO 4
, control flag FIFO5, transmission circuit 6. Receiving circuit 7. Address PIFO8, data FIFO9, control flag FI
It includes a FOIO and processor timing control circuit 11.

次に、上述のように構成された本実施例のプロセッサ間
結合装置のより詳しい構成と動作とを説明する。
Next, a more detailed configuration and operation of the inter-processor coupling device of this embodiment configured as described above will be explained.

今、第2図のプロセッサ22が第3図に示すプロセッサ
23のアドレス空間21−■のうちのアドレス空間21
−2に割り当てられたプロセッサ23のメモリ資源等を
アクセスしたい場合、プロセッサ22は自プロセッサの
アドレス空間2〇−1における特定アドレス空間20−
3をアクセスするように決められており、プロセッサ2
2に接続されたプロセッサ間結合装置f20におけるマ
ツピング回路2は、特定アドレス空間20−3とアドレ
ス空間21−2との写像を行うように設定される。反対
に、プロセッサ23がプロセッサ22のアドレス空間2
0−1のうちのアドレス空間20−2に割り当てられた
プロセッサ22のメモリ資源等をアクセスしたい場合、
プロセッサ23は自プロセッサのアドレス空間21−1
における特定アドレス空間21−3をアクセスするよう
に決められており、プロセッサ23に接続されたプロセ
ッサ間結合袋M21におけるマツピング回路2は、特定
アドレス空間21−3とアドレス空間20−2との写像
を行うように設定される。なお、特定アドレス空間20
−3はプロセッサ22が保有している資源が占有してい
る以外のアドレス空間に割り当てられ、同様にして特定
アドレス空間21−3はプロセッサ23が保有している
資源が占有している以外のアドレス空間に割り当てられ
る。
Now, the processor 22 in FIG.
-2, when the processor 22 wants to access the memory resources of the processor 23 allocated to the processor 20-2, the processor 22 accesses a specific address space 20-1 in the address space 20-1 of its own processor.
3, and processor 2
The mapping circuit 2 in the interprocessor coupling device f20 connected to the processor f20 is set to perform mapping between the specific address space 20-3 and the address space 21-2. Conversely, processor 23 uses address space 2 of processor 22.
If you want to access the memory resources of the processor 22 allocated to the address space 20-2 of 0-1,
The processor 23 uses its own address space 21-1.
The mapping circuit 2 in the inter-processor coupling bag M21 connected to the processor 23 maps the specific address space 21-3 and the address space 20-2. set to do so. Note that the specific address space 20
-3 is assigned to an address space other than the one occupied by the resources owned by the processor 22, and similarly, the specific address space 21-3 is assigned to an address space other than the one occupied by the resources owned by the processor 23. assigned to a space.

さて、第2図のマルチプロセッサシステムにおけるプロ
セッサ22.23間相互のアクセス形態としては、 (1)  プロセッサ22によるプロセッサ23の資源
のアクセス (2)プロセッサ23によるプロセッサ22の資源のア
クセス とが考えられ、その各々について、 ■ データの書き込み ■ データの読み出し とが考えられるが、(1)の■、■と、(2)の■、■
とは同じ動作となるので、(1)の■、■を例として挙
げ、以下その動作を説明する。
Now, mutual access forms between the processors 22 and 23 in the multiprocessor system shown in FIG. , for each of them, ■ data writing ■ data reading can be considered, but (1) ■, ■ and (2) ■, ■
The operations are the same, so (1) (1) and (1) will be taken as examples, and their operations will be explained below.

(11の■;プロセッサ22によるプロセッサ23の資
源に対するデータの書き込みにかかるアクセス第2図の
プロセッサ22は、プロセッサ23の資源に対しデータ
の書き込みを行う場合、プロセッサ23側資源の写像空
間である第3図の特定アドレス空間20−3内の該当す
るアドレスに対してプロセッサバス24を介してアクセ
スを行うため、アドレスSl、データS2.書き込みを
示す制御フラグ33.これらの動作タイミングを示すタ
イミング信号S4をプロセッサバス24に出力する。
(11.■; Access related to writing data to the resources of the processor 23 by the processor 22 When the processor 22 in FIG. 2 writes data to the resources of the processor 23, the processor 22 accesses the In order to access the corresponding address in the specific address space 20-3 shown in FIG. is output to the processor bus 24.

プロセッサ間結合袋F!120は、それらの信号を端子
Tl〜T4によりプロセッサバス24から受信し、アド
レスSlとタイミング信号S4をウィンドウ制御回路l
へ、データS2をデータFIF04へ、制御フラグS3
を制御フラグFIFO5へ送る。
Inter-processor coupling bag F! 120 receives those signals from the processor bus 24 via terminals Tl-T4, and sends the address Sl and timing signal S4 to the window control circuit l.
to, data S2 to data FIF04, control flag S3
is sent to the control flag FIFO5.

ウィンドウ制御回路1は、タイミング信号S4を受ける
と、アドレスS1が特定アドレス空間20−3に含まれ
るアドレスを示す値であるか否かを判定し、それに含ま
れないアドレス値であればそれ以上何もしない。他方、
特定アドレス空間20−3に含まれるアドレス値であっ
たときは、そのアドレスSlをマツピング回路2に送り
、マツピング回路2はこのアドレスS1を予め設定され
た変換規則に従って第3図のアドレス空間21−2内の
所定の領域を示すアドレスSl’ に変換し、アドレス
F IFO3に送る。この変換後のアドレス31’およ
び端子T3.T4から入力されたデータ32.制御フラ
グS3は、ウィンドウ制御回路lにおける前記領域内判
定の結果とタイミング信号S4とにより同回路1で生成
されるFIFO書き込み信号aによって、それぞれアド
レスFIFO3,データFIFO4,制御フラグFIF
O5に保持される。
When the window control circuit 1 receives the timing signal S4, the window control circuit 1 determines whether the address S1 is a value indicating an address included in the specific address space 20-3, and if the address value is not included therein, no further action is taken. Neither. On the other hand,
When the address value is included in the specific address space 20-3, the address Sl is sent to the mapping circuit 2, and the mapping circuit 2 converts this address S1 into the address space 21- of FIG. 3 according to a preset conversion rule. It is converted into an address Sl' indicating a predetermined area within 2 and sent to address FIFO3. Address 31' after this conversion and terminal T3. Data input from T4 32. Control flag S3 is set to address FIFO 3, data FIFO 4, and control flag FIF, respectively, by FIFO write signal a generated in window control circuit 1 based on the result of the area determination and timing signal S4 in window control circuit 1.
Retained at O5.

送信回路6はFIFO書き込み信号aにより動作を開始
し、PIF03〜5に保持されたデータを、制御フラグ
S3.アドレスSl’、データS2の順で取り出して端
子Tllから第2図の送受信伝送ライン26を経由して
プロセッサ間結合装置21に送信する。そして、送信回
路6はプロセッサタイミング制御回路11に書き込み動
作の終了通知すをあげ、プロセッサタイミング制御回路
11はこれに応じて書き込み動作の終了通知Cを端子T
6.プロセッサバス24を介してプロセッサ22に報告
する。
The transmitting circuit 6 starts operating in response to the FIFO write signal a, and transfers the data held in PIF03 to PIF5 to the control flags S3. The address Sl' and the data S2 are taken out in this order and transmitted from the terminal Tll to the inter-processor coupling device 21 via the transmitting/receiving transmission line 26 shown in FIG. Then, the transmitting circuit 6 sends a write operation end notification to the processor timing control circuit 11, and the processor timing control circuit 11 responds by sending a write operation end notification C to the terminal T.
6. Reports to processor 22 via processor bus 24.

送受信伝送ライン26を経由して送信された上記の情報
はプロセッサ間結合袋W!21の端子T12を介してそ
の受信回路7で受信され、受信回路7は制御フラグS3
を制御フラグFIFOIOに、アドレスSl’ をアド
レスPIFO8に、データS2をデータFIFO9にそ
れぞれ格納し、書き込み通知信号dをプロセッサタイミ
ング制御回路11に送る。
The above information transmitted via the transmit/receive transmission line 26 is transmitted to the inter-processor coupling bag W! 21 via the terminal T12 of the receiving circuit 7, and the receiving circuit 7 sets the control flag S3.
is stored in the control flag FIFOIO, the address Sl' is stored in the address PIFO8, and the data S2 is stored in the data FIFO9, and a write notification signal d is sent to the processor timing control circuit 11.

プロセッサタイミング制御回路11は、FIF08〜1
0にデータが書き込まれたことを書き込み通知信号dで
認識すると、制御フラグFIFO10から制御フラグS
3を読み込み、今の場合データの書き込みなので、FI
FO読み出し信号eをPIF08〜lOに送出すること
により、アドレスFIFO8,データFIFO9,制御
フラグPIFOIOに保持されたアドレス81′、デー
タS2.制御フラグS3を所定のタイミングで端子T1
.T3.T4を介して第2図のプロセッサバス25に出
力し、プロセッサ23の第3図のアドレス空間21−2
におけるアドレスSl’の資源に対しデータS2の書き
込みを行う。なお、この書き込みに際しては(後述する
読み出しも同じであるが)、プロセッサタイミング制御
回路11は、端子T5を通じてプロセッサ23とアクセ
ス先資源の使用権の調停を行い、使用権を獲得後に上述
した書き込み動作を行うものである。
The processor timing control circuit 11 includes FIF08 to FIF1
When it is recognized by the write notification signal d that data has been written to 0, the control flag S is transferred from the control flag FIFO 10.
3, and in this case we are writing data, so FI
By sending the FO read signal e to PIF08-1O, the address 81', data S2 . Control flag S3 is set to terminal T1 at a predetermined timing.
.. T3. T4 is output to the processor bus 25 in FIG. 2, and the address space 21-2 in FIG.
Data S2 is written to the resource at address Sl'. In addition, during this writing (the same applies to reading described later), the processor timing control circuit 11 arbitrates with the processor 23 through the terminal T5 for the right to use the accessed resource, and after acquiring the right to use, performs the above-mentioned write operation. This is what we do.

(11の■;プロセッサ22によるプロセッサ23の資
源に対するデータの読み出しにかかるアクセス第2図の
プロセッサ22は、プロセッサ23の資源に対しデータ
の読み出しを行う場合、プロセッサ23側資源の写像空
間である第3図の特定アドレス空間20−3内の該当す
るアドレスに対してプロセッサバス24を介してアクセ
スを行うため、アドレスSl、読み出しを示す制御フラ
グS3、これらの動作タイミングを示すタイミング信号
S4をプロセッサバス24に出力する。
(11.■; Access for reading data from the resources of the processor 23 by the processor 22 When reading data from the resources of the processor 23, the processor 22 in FIG. In order to access the corresponding address in the specific address space 20-3 shown in FIG. Output to 24.

プロセッサ間結合袋U20は、それらの信号を端子TI
、T2.T4によりプロセッサバス24から受信し、ア
ドレスStとタイミング信号S4をウィンドウ制御回路
lへ、制御フラグS3を制御フラグPIFO5へ送る。
The inter-processor coupling bag U20 sends these signals to the terminal TI.
, T2. T4 is received from the processor bus 24, and the address St and timing signal S4 are sent to the window control circuit l, and the control flag S3 is sent to the control flag PIFO5.

ウィンドウ制御回路1は、タイミング信号S4を受ける
と、アドレスSlが特定アドレス空間20−3に含まれ
るアドレスを示す値であるか否かを判定し、それに含ま
れないアドレス値であればそれ以上何もしない。他方、
特定アドレス空間20−3に含まれるアドレス値であっ
たときは、そのアドレスS1をマツピング回路2に送り
、マツピング回路2はこのアドレスS1を予め設定され
た変換規則に従って第3図のアドレス空間21−2内の
所定の領域を示すアドレスSl’に変換し、アドレスF
IFO3に送る。この変換後のアドレス81′および端
子T4から入力された制御フラグS3は、ウィンドウ制
御回路lにおける前記領域内判定の結果とタイミング信
号S4とにより同回路lで生成されるFIFO書き込み
信号aによって、それぞれアドレスFIFO3,制御フ
ラグFTPO5に保持される。
When the window control circuit 1 receives the timing signal S4, the window control circuit 1 determines whether the address Sl is a value indicating an address included in the specific address space 20-3, and if the address value is not included therein, no further action is taken. Neither. On the other hand,
If the address value is included in the specific address space 20-3, the address S1 is sent to the mapping circuit 2, and the mapping circuit 2 converts the address S1 into the address space 21-3 in FIG. 3 according to preset conversion rules. 2 to an address Sl' indicating a predetermined area within 2, and the address F
Send to IFO3. The address 81' after this conversion and the control flag S3 input from the terminal T4 are respectively controlled by the FIFO write signal a generated in the window control circuit l based on the result of the area determination in the window control circuit l and the timing signal S4. It is held in address FIFO3 and control flag FTPO5.

送信回路6はFIFO書き込み信号aにより動作を開始
し、FIFO3,5に保持された情報を、制御フラグS
3.アドレスSl’の順で取り出して端子Tllから第
2図の送受信伝送ライン26を経由してプロセッサ間結
合袋!i21に送信する。
The transmitting circuit 6 starts operating in response to the FIFO write signal a, and transfers the information held in the FIFOs 3 and 5 to the control flag S.
3. The inter-processor coupling bag is taken out in the order of address SL' and sent from terminal Tll via the transmitting/receiving transmission line 26 in FIG. Send to i21.

送受信伝送ライン26を経由して送信された上記の情報
はプロセッサ間結合袋ji21の端子T12を介してそ
の受信回路7で受信され、受信回路7は制御フラグS3
を制御フラグFIFOIOに、アドレスSl”をアドレ
スPIFO8にそれぞれ格納し、書き込み通知信号dを
プロセッサタイミング制御回路11に送る。
The above information transmitted via the transmitting/receiving transmission line 26 is received by the receiving circuit 7 via the terminal T12 of the inter-processor coupling bag ji21, and the receiving circuit 7 sets the control flag S3.
is stored in the control flag FIFOIO, address Sl'' is stored in the address PIFO8, and a write notification signal d is sent to the processor timing control circuit 11.

プロセッサタイミング制御回路11は、FIF08.1
0に情報が書き込まれたことを書き込み通知信号dで認
識すると、制御フラグF I FO10から制御フラグ
S3を読み込み、今の場合データの読み出しなので、F
IFO読み出し信号eをPIFO8,10に送出するこ
とにより、アドレスPIFO8,制御フラグFIFO1
,0に保持されたアドレスSl′、制御フラグS3を所
定のタイミングで端子T1.T4を介して第2図のプロ
セッサバス25に出力し、プロセッサ23の第3図のア
ドレス空間21−2におけるアドレスS1“の資源に対
しデータの読み出しを行う。なお、この読み出し時にも
、プロセッサタイミング制御回路11により端子T5を
通じてプロセッサ23とアクセス先資源の使用権の調停
が行われ、使用権獲得後に上述した読み出し動作が行わ
れる。
The processor timing control circuit 11 is a FIF08.1
When it is recognized by the write notification signal d that information has been written to 0, the control flag S3 is read from the control flag F I FO10, and in this case, data is read, so the F
By sending the IFO read signal e to PIFO8 and PIFO10, address PIFO8 and control flag FIFO1
, 0, and the control flag S3 are transferred to the terminals T1 . T4 is output to the processor bus 25 in FIG. 2, and data is read from the resource at address S1" in the address space 21-2 in FIG. The control circuit 11 arbitrates with the processor 23 through the terminal T5 for the right to use the resource to be accessed, and after acquiring the right to use, the above-described read operation is performed.

次に、上述した読み出し動作によってプロセッサバス2
5上に読み出されたデータS5はプロセッサ間結合袋f
f121の端子T3を介してデータFIFO4に加えら
れ、プロセッサタイミング制御回路11はFIFO書き
込み信号fをデータFIFO4に送出することにより、
そのデータをデータFIFO4に格納する。このとき、
同時にプロセッサタイミング制御回路11はデータFI
FO4に令書き込んだデータが読み出しの結果のデータ
である旨を示す制御フラグS6をFIFO書き込み信号
rにより制御フラグPIFO5に格納する。
Next, by the read operation described above, the processor bus 2
The data S5 read on 5 is the inter-processor coupling bag f
The processor timing control circuit 11 sends the FIFO write signal f to the data FIFO 4 through the terminal T3 of f121, thereby
The data is stored in data FIFO4. At this time,
At the same time, the processor timing control circuit 11
A control flag S6 indicating that the data written into FO4 is the result of reading is stored in control flag PIFO5 using the FIFO write signal r.

送信回路6はFIFO書き込み信号fにより動作を開始
し、制御フラグPIFO5に保持された制御フラグS6
.データFIFO4に保持された結果データS5を順に
取り出して端子Tllから第2図の送受信伝送ライン2
6を経由してプロセッサ間結合袋!20に送信する。
The transmitting circuit 6 starts operating in response to the FIFO write signal f, and controls the control flag S6 held in the control flag PIFO5.
.. The result data S5 held in the data FIFO 4 is taken out in order and sent from the terminal Tll to the transmitting/receiving transmission line 2 in FIG.
Inter-processor coupling bag via 6! Send to 20.

送受信伝送ライン26を経由して送信された上記の情報
はプロセッサ間結合袋f12oの端子T12を介してそ
の受信回路7で受信され、受信回路7は制御フラグS6
を制御フラグFIFOIOに、結果データS5をデータ
FIFO9にそれぞれ格納し、書き込み通知信号dをプ
ロセッサタイミング制御回路11に送る。
The above information transmitted via the transmitting/receiving transmission line 26 is received by the receiving circuit 7 via the terminal T12 of the inter-processor coupling bag f12o, and the receiving circuit 7 sets the control flag S6.
is stored in the control flag FIFOIO, the result data S5 is stored in the data FIFO 9, and a write notification signal d is sent to the processor timing control circuit 11.

プロセッサタイミング制御回路11は、FIF09.1
0に情報が書き込まれたことを書き込み通知信号dで認
識すると、制御フラグPIFOIOから制御フラグS6
を読み込み、今の場合、結果データの返却なので、FI
FO読み出し信号eをFIFO9に送出することにより
、データFIFO9に保持された結果データS5を端子
T3を介して第2図のプロセッサバス24に出力し、同
時に端子T6を介して読み出し動作の終了通知gをプロ
セッサ22に送出する。プロセッサ22はこの読み出し
動作の終了通知gを認識したタイミングでプロセッサバ
ス24上から結果データS5を自プロセッサ内に取り込
む。
The processor timing control circuit 11 is a FIF09.1
When it is recognized by the write notification signal d that information has been written to 0, the control flag S6 is changed from the control flag PIFOIO.
In this case, the result data is returned, so FI
By sending the FO read signal e to the FIFO 9, the result data S5 held in the data FIFO 9 is output to the processor bus 24 in FIG. is sent to the processor 22. The processor 22 takes in the result data S5 from the processor bus 24 into its own processor at the timing when it recognizes the read operation completion notification g.

以上本発明の一実施例ついて説明したが、本発明は以上
の実施例にのみ限定されず、その他各種の付加変更が可
能である。例えば、マツピング回路2をアドレスPIF
O8の入力側あるいは出力側に移し、相手プロセッサか
ら送られてきたアドレスを自プロセッサの所定のアドレ
スに変換するようにしても良い。また、マツピング回路
2を自プロセッサからアクセス可能に構成し、その変換
規則の設定、変更を自プロセッサから自由に行えるよう
にしても良い。
Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various other additions and changes are possible. For example, the mapping circuit 2 is connected to the address PIF
It may be moved to the input side or output side of O8 and convert the address sent from the other processor into a predetermined address of the own processor. Further, the mapping circuit 2 may be configured to be accessible from the own processor, so that the conversion rules can be set and changed freely from the own processor.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のプロセッサ間結合装〜に
よれば、次のような効果を得ることができる。
As explained above, according to the inter-processor coupling device of the present invention, the following effects can be obtained.

(11送信および受信回路を結ぶ送受信伝送ラインは充
分に長くできるため、従来の共有メモリ方式に比ベプロ
セッサ間を物理的に充分な距離をおいて分離9分散して
配置できる。
(Since the transmitting/receiving transmission line connecting the transmitting and receiving circuits can be sufficiently long, the processors can be separated and distributed with sufficient physical distance between them, compared to the conventional shared memory system.

(2)電気的に送受信信号の規定さえ等しければ物理的
にはどのようなタイプのプロセッサにも合わせて本プロ
セッサ間結合装置を設計できるため、バス形式等が異な
るプロセッサ間を容易に結合することができる。
(2) This inter-processor coupling device can be designed to suit any type of processor physically as long as the specifications for electrically transmitted and received signals are the same, making it easy to couple processors with different bus formats, etc. I can do it.

(3)通信制御プログラムを介さずに動作するため、高
速動作が可能となる。
(3) Since it operates without a communication control program, high-speed operation is possible.

(4)  他のプロセッサの資源をあたかも自プロセッ
サの資源であるかのように書き込み、読み出し動作が行
える。従って、共有メモリのような特殊なハードウェア
を必要とせずに共有データを有する分散処理および並列
処理が可能となり、またメモリだけではなく、あらゆる
資源を共有でき、Tl0等を限定したプロセッサしか使
用できないという制限をなくし、タスクおよび処理負荷
の平均化による分散処理および並列処理の高能率化が容
易に行える。
(4) Write and read operations can be performed on the resources of other processors as if they were the resources of the own processor. Therefore, distributed processing and parallel processing with shared data are possible without the need for special hardware such as shared memory, and not only memory but all resources can be shared, and only processors with limited Tl0 etc. can be used. By eliminating this restriction, it is possible to easily increase the efficiency of distributed processing and parallel processing by averaging tasks and processing loads.

6)自プロセッサの資源に対する動作と他プロセツサの
資源に対する動作は、基本的には意識する必要はなく、
見かけ上目プロセッサの資源として動作できるため、そ
れらをプログラム土間−の概念で取り扱うことができる
6) There is basically no need to be aware of the operations on the own processor's resources and the operations on the resources of other processors.
Since they can apparently operate as resources of a second processor, they can be handled using the concept of a program.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図に示されるプロセッサ間結合装置を2個使用して2台
のプロセッサを結合したマルチプロセッサシステムの一
例を示すブロック図、第3図はプロセッサのアドレス空
間と写像関係の一例の説明図ならびに、 第4図および第5図は従来例の説明図である。 図において、 1・・・ウィンドウ制御回路 2・・・マツピング回路 3.8・・・アドレスFIFO 4,9・・・データFIFO 5,10・・・制御フラグFIFO 6・・・送信回路 7・・・受信回路 11・・・プロセッサタイミング制御回路T1〜T6.
Tl 1.Tl2・・・端子20.21・・・プロセッ
サ間結合装置22.23・・・プロセッサ 24.25・・・プロセッサバス 26・・・送受信伝送ライン
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a block diagram showing an example of a multiprocessor system in which two processors are connected using two inter-processor coupling devices shown in the figure. FIG. 4 and 5 are explanatory diagrams of conventional examples. In the figure, 1... Window control circuit 2... Mapping circuit 3. 8... Address FIFO 4, 9... Data FIFO 5, 10... Control flag FIFO 6... Transmission circuit 7... - Receiving circuit 11...processor timing control circuits T1 to T6.
Tl 1. Tl2...Terminal 20.21...Inter-processor coupling device 22.23...Processor 24.25...Processor bus 26...Transmission/reception transmission line

Claims (1)

【特許請求の範囲】 プロセッサバスと送受信伝送ラインとの間に接続される
と共に、 情報を種別毎に保持する第1のFIFO群と、該第1の
FIFO群に保持された情報を前記送受信伝送ラインに
送出する送信回路と、 前記送受信伝送ラインを経由して送られてくる情報を受
信する受信回路と、 該受信回路で受信された情報を種別毎に保持する第2の
FIFO群と、 前記プロセッサバスに接続された第1のプロセッサが特
定のアドレス空間に対しアクセスするために前記プロセ
ッサバスに出力した情報を前記第1のFIFO群に保持
させた後に前記送信回路により前記送受信伝送ラインに
送信させる第1の制御手段と、 前記第2のFIFO群に保持された情報が資源のアクセ
スにかかる情報である場合にそれに基づいて前記プロセ
ッサバスを介して前記第1のプロセッサの資源に対する
アクセスを行い、読み出し動作時には得られた結果デー
タを前記第1のFIFO群に格納した後前記送信回路に
より前記送受信伝送ラインに送出させ、前記第2のFI
FO群に保持された情報が読み出し結果データである場
合にその結果データを前記プロセッサバスに出力する第
2の制御手段と、 前記第1のプロセッサが特定のアドレス空間に対しアク
セスするために前記プロセッサバスに出力した情報のう
ちのアドレスを前記送受信伝送ラインおよび他のプロセ
ッサ間結合装置を介して接続された第2のプロセッサの
所定のアドレスに変換するか、または前記受信回路で受
信された情報のうちの前記第2のプロセッサの出力にか
かるアドレスを前記第1のプロセッサの所定のアドレス
に変換するマツピング回路とを具備したことを特徴とす
るプロセッサ間結合装置。
[Claims] A first FIFO group that is connected between the processor bus and the transmission/reception transmission line and holds information by type; and a first FIFO group that is connected between the processor bus and the transmission/reception transmission line; a transmission circuit that sends out information to the transmission line; a reception circuit that receives information sent via the transmission/reception transmission line; a second FIFO group that holds information received by the reception circuit for each type; Information outputted to the processor bus by a first processor connected to the processor bus in order to access a specific address space is held in the first FIFO group, and then transmitted to the transmitting/receiving transmission line by the transmitting circuit. a first control means for accessing the resources of the first processor via the processor bus based on the information held in the second FIFO group when the information is information related to resource access; , during a read operation, the obtained result data is stored in the first FIFO group, and then sent out to the transmitting/receiving transmission line by the transmitting circuit;
a second control means for outputting the result data to the processor bus when the information held in the FO group is read result data; The address of the information output to the bus is converted into a predetermined address of the second processor connected via the transmission/reception transmission line and another inter-processor coupling device, or the information received by the reception circuit is An inter-processor coupling device comprising: a mapping circuit that converts an address related to the output of the second processor into a predetermined address of the first processor.
JP29482990A 1990-10-31 1990-10-31 Inter-processor connecting device Pending JPH04167164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29482990A JPH04167164A (en) 1990-10-31 1990-10-31 Inter-processor connecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29482990A JPH04167164A (en) 1990-10-31 1990-10-31 Inter-processor connecting device

Publications (1)

Publication Number Publication Date
JPH04167164A true JPH04167164A (en) 1992-06-15

Family

ID=17812794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29482990A Pending JPH04167164A (en) 1990-10-31 1990-10-31 Inter-processor connecting device

Country Status (1)

Country Link
JP (1) JPH04167164A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100713514B1 (en) * 2001-03-06 2007-05-02 삼성전자주식회사 Method and apparatus for communicating inter processors using utopia mapper in system applying inter processors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100713514B1 (en) * 2001-03-06 2007-05-02 삼성전자주식회사 Method and apparatus for communicating inter processors using utopia mapper in system applying inter processors

Similar Documents

Publication Publication Date Title
US5588122A (en) Universal buffered interface for coupling multiple processors memory units, and I/O interfaces to a common high-speed interconnect
US6185520B1 (en) Method and system for bus switching data transfers
JP4447892B2 (en) Data communication system and method incorporating multi-core communication module
US11314675B2 (en) Interface circuitry for exchanging information with master, home, and slave nodes using different data transfer protocols
JP2591502B2 (en) Information processing system and its bus arbitration system
US6209054B1 (en) Reliable interrupt reception over buffered bus
US5845072A (en) Method and apparatus for parallel and pipelining transference of data between integrated circuits using a common macro interface
JPH04167164A (en) Inter-processor connecting device
CN114281499A (en) Interrupt transmission processing method and system during bus interconnection
KR0140571B1 (en) Multiprocessor system with bus control means
JPH02257352A (en) Fast local bus using vme bus
JPH064401A (en) Memory access circuit
JPH01291343A (en) Memory managing device
JP2505298B2 (en) Variable bus width designation method and variable bus width information reception method in split bus
WO1994009437A1 (en) Signal handling system with a shared data memory
JPS6029139B2 (en) Connection method between processing units
JPH03246743A (en) Inter-processor communication system
JPH07175768A (en) Dual cpu system
JPS6119056B2 (en)
JP2632049B2 (en) Multiprocessor system
EP1459191B1 (en) Communication bus system
JPH04120648A (en) Common bus connecting device
JPH04328667A (en) System and device for transmitting/receiving 2-port ram
JP2001318906A (en) Multiprocessor device
JPH0573509A (en) Inter-processor communication system