JPS62126456A - Parallel arithmetic processor - Google Patents

Parallel arithmetic processor

Info

Publication number
JPS62126456A
JPS62126456A JP26504285A JP26504285A JPS62126456A JP S62126456 A JPS62126456 A JP S62126456A JP 26504285 A JP26504285 A JP 26504285A JP 26504285 A JP26504285 A JP 26504285A JP S62126456 A JPS62126456 A JP S62126456A
Authority
JP
Japan
Prior art keywords
arithmetic
processing unit
units
central processing
response
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.)
Granted
Application number
JP26504285A
Other languages
Japanese (ja)
Other versions
JPH051505B2 (en
Inventor
Masanori Sugita
杉田 正憲
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 JP26504285A priority Critical patent/JPS62126456A/en
Publication of JPS62126456A publication Critical patent/JPS62126456A/en
Publication of JPH051505B2 publication Critical patent/JPH051505B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To speed up a processing by providing an I/O control circuit and a first in/first out (FEFO) memory. CONSTITUTION:Under the conditions that arithmetic units 3a-3d are in idle status, other arithmetic units having units Nos. smaller than the arithmetic units 3a-3d are not in idle status and an arithmetic result output permission signal 31 is not outputted from a central processor 1, an I/O circuit for discriminating a response outputs a response signal from a specified arithmetic unit and the FIFO memory 5 stores the units No. of the arithmetic unit generating the response signal at the reception of the response signal and forms an output request signal based on a compared result between the stored units No. and the units No. of the arithmetic unit at the transmission of data. Consequently, the processing speed can be increased.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は中央処理装置から同一機能を有する演算装置
の1つに演算実行指令を与えて、演算すべきデータを転
送処理する並列演算処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a parallel arithmetic processing device that transfers and processes data to be computed by giving an arithmetic execution command from a central processing unit to one of arithmetic devices having the same function. Regarding.

〔従来の技術〕[Conventional technology]

第4図は例えば特開昭57−143670号公報に示さ
れた従来の並列演算処理装置を示すブロック接続図であ
)、図において、1は中央処理装置、2は共通制御装置
、3 a * 3 bは同一機能を持った演算装置、1
01は中央処理装置1と共通制御装置2とを結ぶデータ
バス、102は中央処理装置1と共通制御装置2との間
の制御線、103.104はそれぞれ共通制御装置2が
演算装置3aa3bを選択したことを伝えるための選択
線、105,106はそれぞれ演算装置3a+3bの状
態を共通制御装置2に伝えるための状態表示線、107
は共通制御装置2と演算装置3a+3bとを結ぶデータ
バスである。
FIG. 4 is a block connection diagram showing a conventional parallel arithmetic processing device disclosed in, for example, Japanese Unexamined Patent Publication No. 57-143670). In the figure, 1 is a central processing unit, 2 is a common control unit, and 3 a * 3 b is an arithmetic device with the same function, 1
01 is a data bus connecting the central processing unit 1 and the common control unit 2, 102 is a control line between the central processing unit 1 and the common control unit 2, and 103 and 104 are respective lines where the common control unit 2 selects the arithmetic unit 3aa3b. selection lines 105 and 106 are status display lines 107 for conveying the status of the arithmetic units 3a+3b to the common control unit 2;
is a data bus connecting the common control unit 2 and the arithmetic units 3a+3b.

次に動作について説明する。Next, the operation will be explained.

まず、中央処理装置1は演算装置3 a # 3 bで
処理すべきデータと、このデータの送出を指示した指令
とを、データバス101と制御線102を介して共通制
御装置2に転送する。共通制御装置2は中央処理装置1
から指令が送られて来るたびに、状態表示線105.1
06から送られてくる各演算装置3a+3bの状態報告
を参照して、演算動作中でなく、かつ演算結果の出力要
求を出していない演算装置を選択線103.104を介
して、演算装置3aeab中から1台選択する。いま、
演算装置13aが選択されたとすれば、共通制御装置2
はデータバス107を介して演算装置3aにデータを転
送し、演算の実行を指示する。それにより、演算装置3
aは状態表示線105を介して、共通制御装置2に演算
動作中のステータスを報告後、演算を開始する。演算終
了後、演算装置3aは状態表示線105を介して共通制
御装置2に対して前に送った演算動作中のステータスを
解除し、次の指令の受付けを可能にする。
First, the central processing unit 1 transfers data to be processed by the arithmetic units 3 a # 3 b and a command instructing the sending of this data to the common control unit 2 via the data bus 101 and the control line 102 . The common control unit 2 is the central processing unit 1
Each time a command is sent from
Referring to the status report of each arithmetic device 3a+3b sent from 06, select arithmetic device 3aeab that is not in operation and that has not issued a request to output the arithmetic result via selection line 103.104. Select one from. now,
If the arithmetic device 13a is selected, the common control device 2
transfers data to the arithmetic unit 3a via the data bus 107 and instructs it to execute an arithmetic operation. Thereby, the arithmetic device 3
a reports the status of the computation operation to the common control device 2 via the status display line 105, and then starts the computation. After the computation is completed, the computation device 3a cancels the previously transmitted status of the computation in progress to the common control device 2 via the status display line 105, making it possible to accept the next command.

中央処理装置1は全ての演算データの転送を終了した場
合か、あるいは演算装置3a及び3bから演算結果の出
力要求が出された場合に、演算結果を読み出す演算装置
番号を指定した指令を、共通制御装置2にデータバス1
01と制御線102を介して転送する。共通制御装置2
は指定された演算装置3a、3bの一つを選択して、該
演算装置にデータバス107を介して読出しを指示する
。なお、この時、該演算装置が演算動作中であると、共
通制御装置2は状態表示線を介して報告を受けた場合に
は、演算動作中が解除するまで選択動作を待ち合わせる
When the central processing unit 1 completes the transfer of all calculation data or when a request for output of the calculation results is issued from the calculation units 3a and 3b, the central processing unit 1 issues a common command specifying the calculation unit number from which the calculation results are to be read. Data bus 1 to control device 2
01 and the control line 102. Common control device 2
selects one of the designated arithmetic units 3a, 3b and instructs the arithmetic unit to read via the data bus 107. At this time, if the common control device 2 receives a report via the status display line that the arithmetic unit is in operation, it waits for the selection operation until the in-operation status is canceled.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の並列演算処理装置は以上の様に構成されているの
で、共通制御装置2において、全ての演算装置3as3
bの状態を監視・制御する必要があシ、演算装置3ae
3bの数が多くなれば、制御の機構が複雑になるととも
に、中央処理装置1と演算装置3a、3bとの間に共通
制御装置2が介在されるため、オーバヘッドが生じるほ
か、さらに演算装置3a*3bから演算結果を出力する
際には、中央処理装置1で演算装置3a*3bの番号を
指定する必要があるため、全体の性能が十分に高速化で
きないという問題点があった。
Since the conventional parallel arithmetic processing device is configured as described above, in the common control device 2, all the arithmetic devices 3as3
It is necessary to monitor and control the state of b, arithmetic unit 3ae
If the number of units 3b increases, the control mechanism becomes complicated, and the common control unit 2 is interposed between the central processing unit 1 and the arithmetic units 3a and 3b, which causes overhead. When outputting the calculation result from *3b, it is necessary to specify the number of the calculation unit 3a*3b in the central processing unit 1, which poses a problem in that the overall performance cannot be sufficiently increased.

この発明は上記の様な問題点を解消するためになされた
もので、並列接続された各演算装置が互いの状態を監視
し、中央処理装置から出された演算要求に対して、演算
装置間で応答を返す演算装置を決定するとともに、演算
結果を中央処理装置に返送する際も、中央処理装置で多
くの手続きを必要とすることなく、データの供給を受け
た演算装置の順にデータを出力する並列演算処理装置を
得ることを目的とする。
This invention was made in order to solve the above-mentioned problems. Each arithmetic unit connected in parallel monitors each other's status, and in response to arithmetic requests issued from the central processing unit, the arithmetic units In addition to determining the arithmetic unit that will return the response, the data is output in the order of the arithmetic units that received the data, without requiring many procedures in the central processing unit when sending the arithmetic results back to the central processing unit. The purpose of this invention is to obtain a parallel arithmetic processing device.

〔問題点を解決するための手段〕[Means for solving problems]

この発明にかかる並列演算処理装置は、中央処理装置か
らの演算要求に対し、応答判定用の入出力制御回路が、
その要求を受け付けて演算装置が応答するか否かを、こ
れらの各演算装置自身の状態、遊休状態にある他の演算
装置とのあらかじめ設定した装置番号の比較およびデー
タバスの使用状況にもとづいて判定し、この応答判定し
た演算装置の上記装置番号を、上記中央処理装置に設け
たファーストイン/ファーストアウトメモリに格納する
ように構成したものである。
The parallel arithmetic processing device according to the present invention has an input/output control circuit for determining a response in response to an arithmetic request from the central processing unit.
Whether or not a computing device accepts the request and responds is determined based on the state of each computing device itself, a comparison of preset device numbers with other computing devices in an idle state, and the usage status of the data bus. The device number of the arithmetic device that has determined the response is stored in a first-in/first-out memory provided in the central processing unit.

〔作 用〕[For production]

この発明における応答判定用の入出力回路は、演算装置
が遊休状態にあり、その演算装置よシ例えば小さい装置
番号を持つ他の演算装置が遊休状態にないこと、中央処
理装置から演算結果出力許可信号が出力されていないこ
と、他の演算装置が応答信号を出力していないことを条
件として、指定の演算装置から応答信号を出力するとと
もに、ファーストイン/ファーストアウトメモリは上記
応答信号があったとき、この応答信号を発した演算装置
の装置番号を格納し、この格納した装置番号とデータ送
信時の演算装置の装置番号との比較結果を用いて、出力
要求信号を形成するように作用する。
The input/output circuit for response determination in the present invention is configured such that when the arithmetic unit is in an idle state, no other arithmetic unit with a smaller device number than that arithmetic unit is in an idle state, and the central processing unit gives permission to output the arithmetic result. Provided that no signal is being output and that no other arithmetic device is outputting a response signal, the specified arithmetic device will output a response signal, and the first-in/first-out memory will output the response signal when the first-in/first-out memory has received the above response signal. At this time, the device number of the arithmetic device that issued this response signal is stored, and the result of comparing this stored device number with the device number of the arithmetic device at the time of data transmission is used to form an output request signal. .

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、1は制御用の中央処理装置、3a 、3b
 、3c e3dは同一機能を有する演算装置、4a+
4b +4c o4dは演算装置3a〜3dの入出力制
御装置、5は中央処理装置1内に設けたファーストイン
/ファーストアウトメモリ、101はデータバス、10
2は制御線である。制御線102は各演算装置3a〜3
dで共通である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 1 is a central processing unit for control, 3a, 3b
, 3c e3d is an arithmetic unit with the same functions, 4a+
4b +4c o4d is an input/output control device for the arithmetic units 3a to 3d; 5 is a first-in/first-out memory provided in the central processing unit 1; 101 is a data bus;
2 is a control line. The control line 102 connects each arithmetic device 3a to 3.
It is common in d.

第2図に第1図の入出力制御装置4a〜4dの中の入力
制御部の具体的な実施例を示す。10.11は演算装置
の実装位置により固定的に定められる装置番号を示すラ
ベル信号、12はデコーダ、13は演算装置の遊休状態
を示す入力レディ信号で、デコーダ12のイネーブル信
号となっている。14゜15.16.17はラベル信号
をデコードしたデコード信号、18,19,20.21
はそれぞれ各演算装置のラベル信号をデコードしたデコ
ード信号14〜17をワイヤードに0で接続した状態表
示線、22,23.24は状態表示線18〜21の上位
3ビツトをフィードバックした信号、25は制御用中央
処理装置から出される演算要求信号、26は状態判定回
路で、演算要求信号に対する応答信号27を出力する。
FIG. 2 shows a specific embodiment of the input control section in the input/output control devices 4a to 4d shown in FIG. 10.11 is a label signal indicating a device number fixedly determined by the mounting position of the arithmetic device, 12 is a decoder, and 13 is an input ready signal indicating the idle state of the arithmetic device, which is an enable signal for the decoder 12. 14゜15.16.17 are decoded signals obtained by decoding the label signal, 18, 19, 20.21
are status display lines in which the decoded signals 14 to 17 obtained by decoding the label signals of each arithmetic unit are wired with 0, 22, 23, 24 are signals fed back the upper 3 bits of the status display lines 18 to 21, and 25 is a signal obtained by feeding back the upper 3 bits of the status display lines 18 to 21. A calculation request signal 26 is issued from the control central processing unit, and a state determination circuit 26 outputs a response signal 27 in response to the calculation request signal.

28は第1のタイミング信号、29は第2のタイミング
信号、30は応答信号27を第2のタイミング信号29
でサンプリングした信号、31は制御用の中央処理装置
1から出される演算結果出力許可信号である。
28 is the first timing signal, 29 is the second timing signal, and 30 is the response signal 27 as the second timing signal 29.
The sampled signal 31 is a calculation result output permission signal issued from the central processing unit 1 for control.

第3図は第1図の入出力制御装置3a〜3dの中の出力
制御部の回路図であ!+、41.42は制御用中央処理
装置1の中のファーストイン/ファーストアウトメモリ
5の出力信号、43は第2図のラベル信号10.11と
ファーストイン/ファーストアウトメモリ5の出力信号
41.42を比較する比較器、44は演算装置が演算結
果出力可能状態である事を示す出力レディ信号、45は
制御用中央処理装置IK対する演算結果の出力要求信号
、46はデータバス出力バッファ制御信号である。
FIG. 3 is a circuit diagram of the output control section in the input/output control devices 3a to 3d in FIG. 1! +, 41.42 are the output signals of the first-in/first-out memory 5 in the control central processing unit 1, and 43 are the label signals 10.11 and the output signals 41.11 of the first-in/first-out memory 5 in FIG. 42 is a comparator that compares 42, 44 is an output ready signal indicating that the arithmetic unit is ready to output the arithmetic result, 45 is a request signal for outputting the arithmetic result to the control central processing unit IK, and 46 is a data bus output buffer control signal. It is.

次に動作について説明する。Next, the operation will be explained.

いま、演算装置3a〜3dは4台でちるから、演算装置
3a〜3dのラベル信号(装置番号の信号)10.11
を@01.111.1+21 、w3mの値に割シふる
。この値は固定である。ここで、装置番号が例えば12
1の位置に実装された演算装置が遊休状態にあるときは
、入力レディ信号13は有意で、ラベル信号10.11
をデコード信号14〜17の内のデコード信号16だけ
が有意となう、以下は無意である。また、該演算装置が
演算中の場合には、入力レディ信号13が無意となυ、
デコーダ12はディセーブルとなって、デコ−ド信号1
4〜17は全て無意となる。従って、デコード信号14
〜17はそれぞれ各演算装置3a〜3dが遊休状態か否
かを示している。制御用中央処理装置1から演算要求信
号25が入って来た時に、ラベルがこの位置に実装され
た演算装置から応答信号27が第1のタイミング信号2
8に同期して出力される条件は、以下の通シと々る。
Now, since there are four arithmetic devices 3a to 3d, the label signal (device number signal) of the arithmetic devices 3a to 3d is 10.11.
Divide @01.111.1+21 to the value of w3m. This value is fixed. Here, the device number is, for example, 12.
When the arithmetic unit mounted in position 1 is in the idle state, the input ready signal 13 is significant and the label signal 10.11
Of the decoded signals 14 to 17, only decoded signal 16 is significant; the following are meaningless. Further, when the arithmetic device is in operation, the input ready signal 13 is unexpectedly υ,
Decoder 12 is disabled and decoded signal 1
4 to 17 are all meaningless. Therefore, the decoded signal 14
.about.17 indicate whether each arithmetic device 3a-3d is in an idle state or not. When the calculation request signal 25 is received from the control central processing unit 1, a response signal 27 is sent from the calculation unit with the label mounted at this position as the first timing signal 2.
The conditions that are output in synchronization with 8 are as follows.

すなわち、■該演算装置が遊休状態にあること、■該演
算装置よシも小さいラベル (装置番号)を持つ演算装置が遊 体状態にないこと、 ■制御用中央処理装置1から演算結 果出力許可信号31が出されてい ないこと、 ■他の演算装置が応答信号27を出 していないこと、 である。
That is, ■ the arithmetic unit is in an idle state; (2) there is no arithmetic unit with a smaller label (equipment number) than the arithmetic unit in an idle state; and - the control central processing unit 1 has given permission to output the arithmetic results. The signal 31 is not being issued, and (2) the response signal 27 is not being issued by any other arithmetic device.

すなわち、 ■出力レディの状態にあること、 ■制御用中央処理装置1内ファーストイン/ファースト
アウトメモリ5の出力信号41・42と自ラベル10.
11が一致すること、■制御用中央処理装置1から出力
許可信号31が出されていること、 である。
That is, (1) being in the output ready state; (2) output signals 41 and 42 of the first-in/first-out memory 5 in the control central processing unit 1 and the own label 10.
11 match, and (2) the output permission signal 31 is issued from the control central processing unit 1.

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

以上のように、この発明によれば応答判定用の入出力回
路は、演算装置が遊休状態にあり、かつその演算装置よ
シ例えば小さい装置番号を持つ他の演算装置が遊休状態
にないこと、中央処理装置から演算結果出力許可信号が
出力されていないこと、他の演算装置が応答信号を出力
していないことを条件として、指定の演算装置から応答
信号を出力するとともに、ファーストイン/ファースト
アウトメモリは上記応答信号があったとき、この応答信
号を発した演算装置の装置番号を格納し、この格納した
装置番号とデータ送信時の演算装置の装置番号との比較
結果を用いて、出力要求信号を形成するように構成した
ので、演算装置間で応答できる1つの演算装置を決定で
き、また、中央処理装置で多くの手続きを必要とせずに
、演算結果の出力順序が決定できるため、効率的に演算
装置を使用することが可能となシ、中央処理装置の負荷
も軽減し、結果として処理の高速化が図れるものが得ら
れる効果がある。
As described above, according to the present invention, the input/output circuit for response determination is configured such that the arithmetic device is in an idle state and that no other arithmetic device having a smaller device number than the arithmetic device is in an idle state. Provided that the central processing unit does not output a calculation result output permission signal and that no other calculation device outputs a response signal, the specified calculation device outputs a response signal and performs first-in/first-out. When the above response signal is received, the memory stores the device number of the arithmetic device that issued the response signal, and uses the comparison result between the stored device number and the device number of the arithmetic device at the time of data transmission to issue an output request. Since the configuration is configured to form a signal, it is possible to determine one arithmetic unit that can respond among the arithmetic units, and the output order of the arithmetic results can be determined without requiring many procedures in the central processing unit, increasing efficiency. Since it is possible to use the arithmetic unit in a flexible manner, the load on the central processing unit is also reduced, and as a result, the processing speed can be increased.

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

第1図はこの発明の一実施例による並列演算処理装置の
ブロック接続図、第2図は入出力制御装置の入力制御部
のブロック接続図、第3図は同じく出力制御部のブロッ
ク接続図、第4図は従来の並列演算処理装置のブロック
接続図である。 図において、lは中央処理装置、2は共通制御装置、3
a〜3dは演算装置、4は演算装置内の入出力制御装置
、5はファーストイン/ファーストアウトメモリ、26
は状態判定回路。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block connection diagram of a parallel arithmetic processing device according to an embodiment of the present invention, FIG. 2 is a block connection diagram of an input control section of an input/output control device, and FIG. 3 is a block connection diagram of an output control section. FIG. 4 is a block connection diagram of a conventional parallel arithmetic processing device. In the figure, l is the central processing unit, 2 is the common control unit, and 3 is the central processing unit.
a to 3d are arithmetic devices, 4 is an input/output control device in the arithmetic device, 5 is a first-in/first-out memory, 26
is the state judgment circuit. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 制御用の中央処理装置から同一機能を持つた複数の演算
装置の1つに演算実行指令を与えて演算すべきデータを
転送処理する並列演算処理装置において、上記中央処理
装置からの演算要求に対し、この演算要求を受け付けて
応答を返すか否かを、上記各演算装置がそれ自身の状態
、遊休状態にある他の演算装置とのあらかじめ設定され
ている装置番号の比較およびデータバスの使用状況にも
とづき判定する応答判定用の入出力制御回路と、この応
答判定した上記演算装置の装置番号を格納する、上記中
央処理装置に設けられたファーストイン/ファーストア
ウトメモリとを有することを特徴とする並列演算処理装
置。
In a parallel arithmetic processing unit that transfers and processes data to be computed by giving an arithmetic execution command from a control central processing unit to one of a plurality of arithmetic units having the same function, in response to an arithmetic request from the central processing unit, , whether or not each computing device accepts this computing request and returns a response is determined by comparing its own status, the preset device number with other computing units that are in an idle state, and the usage status of the data bus. The first-in/first-out memory provided in the central processing unit stores an input/output control circuit for determining a response based on the response, and a first-in/first-out memory provided in the central processing unit for storing the device number of the arithmetic unit that has determined the response. Parallel processing unit.
JP26504285A 1985-11-27 1985-11-27 Parallel arithmetic processor Granted JPS62126456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26504285A JPS62126456A (en) 1985-11-27 1985-11-27 Parallel arithmetic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26504285A JPS62126456A (en) 1985-11-27 1985-11-27 Parallel arithmetic processor

Publications (2)

Publication Number Publication Date
JPS62126456A true JPS62126456A (en) 1987-06-08
JPH051505B2 JPH051505B2 (en) 1993-01-08

Family

ID=17411773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26504285A Granted JPS62126456A (en) 1985-11-27 1985-11-27 Parallel arithmetic processor

Country Status (1)

Country Link
JP (1) JPS62126456A (en)

Also Published As

Publication number Publication date
JPH051505B2 (en) 1993-01-08

Similar Documents

Publication Publication Date Title
US5056011A (en) Direct memory access controller with expedited error control
US5640570A (en) Information handling system for transmitting contents of line register from asynchronous controller to shadow register in another asynchronous controller determined by shadow register address buffer
JPS62126456A (en) Parallel arithmetic processor
JPS6240751B2 (en)
JPH0713923A (en) Bus control method
JPH1063617A (en) Serial communication device
JPS6239792B2 (en)
JPH0628313A (en) Serial interface circuit
JPS5864529A (en) Input and output controller of computer system
JP2638505B2 (en) Bus interface device
JP2666782B2 (en) Multiple bus control system
JPS60183659A (en) Information transfer control system
JP2667285B2 (en) Interrupt control device
JPS6049465A (en) Data transfer method between microcomputers
JPH0113575B2 (en)
JPS63205726A (en) Microcomputer
JPS61826A (en) Input indicating device
JPH0385660A (en) Input / output control system
JPH03271960A (en) Intelligent inter-cpu adapter
JPS6368954A (en) Information transferring system
JPS6340956A (en) Data transfer equipment
JPS60134367A (en) Communication system between plural processors
JPS629458A (en) Multi-cpu system bus
JPS63141157A (en) Subprocessor expanding system
JPH0380359A (en) Inter-processor communication system