JPH05324594A - Processor - Google Patents

Processor

Info

Publication number
JPH05324594A
JPH05324594A JP4114381A JP11438192A JPH05324594A JP H05324594 A JPH05324594 A JP H05324594A JP 4114381 A JP4114381 A JP 4114381A JP 11438192 A JP11438192 A JP 11438192A JP H05324594 A JPH05324594 A JP H05324594A
Authority
JP
Japan
Prior art keywords
identifier
processor
flag
input
output
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.)
Withdrawn
Application number
JP4114381A
Other languages
Japanese (ja)
Inventor
欣悟 ▲高▼橋
Kingo Takahashi
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 JP4114381A priority Critical patent/JPH05324594A/en
Publication of JPH05324594A publication Critical patent/JPH05324594A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To avoid an overall operation stop of the processor, in the case a processor element is abnormal by providing a specific self-diagnosing means, a diagnostic flag and a deciding means, respectively. CONSTITUTION:First of all, in each processor element(PE) 9i, a self-diagnosing means 11 actuated by turning on a power source, etc., executes a self-diagnosis, and as a result, outputs a result of diagnosis being effective and ineffective in the case of being normal, and negative, respectively and sets it to a diagnostic flag 12. Subsequently, when the result of diagnosis set to the flag 12 is ineffective, that is, when the PE 9i is abnormal, it is decided by a deciding circuit 13, and unconditionally, an input/output circuit 6 outputs directly input data from an input data bus 21 to an output data bus 22. That is, in the case a certain PE 9i is abnormal, the input data comes to pass through its PE 9i, and it does not occur that an operation of the whole processor is stopped die to abnormality of the PE 9i.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はプロセッサに関し、特に
複数のプロセッサエレメントをリング状に接続して処理
を実行させる分散型のプロセッサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processor, and more particularly to a distributed processor in which a plurality of processor elements are connected in a ring shape to execute processing.

【0002】[0002]

【従来の技術】従来のこの種のプロセッサは、各々のプ
ロセッサエレメント(以下PE)に識別子を付与し、こ
の識別子により処理を各PEに分散し実行させていた。
しかし、これらの識別子はハードウェアで固定されてい
るために、各PE間のデータ転送量ばらつきによりプロ
セッサ全体の性能が低下するという問題点があった。
2. Description of the Related Art In a conventional processor of this type, an identifier is given to each processor element (hereinafter referred to as PE), and the processing is distributed to each PE and executed by this identifier.
However, since these identifiers are fixed by hardware, there is a problem in that the performance of the entire processor is deteriorated due to variations in the data transfer amount between PEs.

【0003】この解決法として、例えば、特開昭63−
240663号公報に記載されているように、識別子を
記憶するレジスタと、このレジスタが有効であるか否か
を示す識別子フラグとを備え、この識別子フラグによっ
てそのPEに制御回路から入力された識別子設定データ
をレジスタに設定するか否かを判定し、設定しない場合
には上記PE以降のPEに上記識別子設定データを送る
ようにする。また、設定する場合には上記識別子設定デ
ータに基ずいて上記レジスタに上記識別子を設定すると
ともに、上記識別子フラグを変更させるようにすること
により、PE間の上記データ転送量ばらつきに対応して
PE識別子の設定を任意に変更できるようにしている。
As a solution to this, for example, Japanese Patent Laid-Open No. 63-
As described in Japanese Patent Publication No. 240663, a register for storing an identifier and an identifier flag indicating whether or not this register is valid are provided, and the identifier setting which is input to the PE from the control circuit is provided by this identifier flag. It is determined whether or not the data is set in the register, and if it is not set, the identifier setting data is sent to the PE after the PE. Further, when setting, the identifier is set in the register based on the identifier setting data and the identifier flag is changed, so that the PEs can be dealt with in response to the variation in the data transfer amount between PEs. The identifier setting can be changed arbitrarily.

【0004】図2(A)を参照すると、従来のプロセッ
サは、制御回路1と、データバス2と、リング状に接続
されプロセッサを構成するn個のPE31〜3nとを備
えて構成されていた。
Referring to FIG. 2 (A), a conventional processor comprises a control circuit 1, a data bus 2, and n PEs 31 to 3n which are connected in a ring and constitute a processor. ..

【0005】各PE3i(1≦i≦n)は、図2(B)
に示すように、PE3iの識別子を格納するレジスタ4
と、レジスタ4の上記識別子が確定して有効かどうかを
示す識別子フラグ5と、入出力制御回路6と、入出力制
御回路6の一部である判定回路7と、内部データバス8
と、入力および出力データバス21,22とを備えて構
成されていた。
Each PE 3i (1 ≦ i ≦ n) is shown in FIG.
As shown in, register 4 for storing the identifier of PE3i
An identifier flag 5 indicating whether the above-mentioned identifier of the register 4 is confirmed and valid, an input / output control circuit 6, a determination circuit 7 which is a part of the input / output control circuit 6, and an internal data bus 8.
And the input and output data buses 21 and 22.

【0006】次に、従来のプロセッサの動作について説
明する。
Next, the operation of the conventional processor will be described.

【0007】まず、入力データが識別子設定データ以外
である場合について説明する。あるPE3iにおいて、
そのPE3iの識別子フラグ5が有効、すなわち、上記
識別子がレジスタ4に設定されている状態のときは、入
力データバス21から入力されたデータは、入出力制御
回路6および判定回路7により上記入力データ中の識別
子とレジスタ4および識別フラグ5とが比較判定され
る。上記入力データ中の識別子の判定結果がPE3iに
与えられたデータであれば、そのデータを内部データバ
ス8に、そうでなければ出力データバス22に送られ
る。
First, the case where the input data is other than the identifier setting data will be described. In a certain PE3i,
When the identifier flag 5 of the PE 3i is valid, that is, when the identifier is set in the register 4, the data input from the input data bus 21 is transferred to the input data by the input / output control circuit 6 and the determination circuit 7. The inside identifier and the register 4 and the identification flag 5 are compared and determined. If the determination result of the identifier in the input data is the data given to the PE 3i, the data is sent to the internal data bus 8, and otherwise, it is sent to the output data bus 22.

【0008】次に、上記入力データが識別子設定データ
である場合について説明する。識別子フラグ5が有効で
あれば、入出力制御回路6により上記入力データが出力
データバス22に直接送られ、そのPE3iには影響し
ない。一方、識別子フラグ5が無効、すなわち、上記識
別子がレジスタ4に設定されていない状態のときは、入
出力制御回路6により入力された上記識別子設定データ
はレジスタ4に識別子を設定し、識別フラグ5が有効と
なるというものであった。
Next, a case where the input data is identifier setting data will be described. When the identifier flag 5 is valid, the input / output control circuit 6 sends the input data directly to the output data bus 22 and does not affect the PE 3i. On the other hand, when the identifier flag 5 is invalid, that is, when the identifier is not set in the register 4, the identifier setting data input by the input / output control circuit 6 sets the identifier in the register 4 and the identification flag 5 is set. Was effective.

【0009】[0009]

【発明が解決しようとする課題】上述した従来のプロセ
ッサは、プロセッサを構成しているPEが1つでも故障
した場合には、全く動作しなくなるという欠点があっ
た。
The above-mentioned conventional processor has a drawback that it cannot operate at all if any PE constituting the processor fails.

【0010】[0010]

【課題を解決するための手段】本発明のプロセッサは、
それぞれ実行すべき処理に対応する識別子が付与され、
前記識別子を記憶するレジスタと、前記レジスタに記憶
した前記識別子がが有効であるかどうかを示す識別子フ
ラグと、前記識別子フラグにより入力された識別子設定
データを前記レジスタに設定するか否かを判定し否の場
合には前記識別子設定データを直接出力データとして出
力する入出力制御手段とを備える複数のプロセッサエレ
メントをリング状に接続して複数の処理を実行させる分
散型のプロセッサにおいて、それぞれの前記プロセッサ
エレメントが正常であれば有効否であれば無効の診断結
果を出力する自己診断手段と、前記診断結果を保持する
診断フラグと、前記診断フラグの保持値が無効のとき前
記プロセッサエレメントの入力データを直接出力データ
として出力するよう判定する判定手段とを備えて構成さ
れている。
The processor of the present invention comprises:
An identifier corresponding to each process to be executed is given,
A register storing the identifier, an identifier flag indicating whether the identifier stored in the register is valid, and determining whether to set the identifier setting data input by the identifier flag in the register In the case of no, in a distributed processor for connecting a plurality of processor elements having an input / output control means for directly outputting the identifier setting data as output data and executing a plurality of processes, each of the processors If the element is normal, the self-diagnosis means that outputs an invalid diagnosis result if the element is valid, a diagnostic flag that holds the diagnostic result, and input data of the processor element when the held value of the diagnostic flag is invalid. It is configured to include a determination unit that determines to directly output as output data.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0012】図1は本発明のプロセッサの一実施例を示
す(A)は全体のブロック図、(B)はプロセッサエレ
メント(以下PE)のブロック図である。
FIG. 1 shows an embodiment of a processor of the present invention, (A) is an overall block diagram, and (B) is a block diagram of a processor element (hereinafter PE).

【0013】本実施例のプロセッサは、図1(A)に示
すように、制御回路1と、データバス2と、リング状に
接続されプロセッサを構成するn個のPE91〜9nと
を備えて構成されている。
As shown in FIG. 1A, the processor of this embodiment comprises a control circuit 1, a data bus 2, and n PEs 91 to 9n which are connected in a ring and constitute a processor. Has been done.

【0014】各PE9i(1≦i≦n)は、図1(B)
に示すように、従来と同様のPE9iの識別子を格納す
るレジスタ4と、識別子フラグ5と、入出力制御回路6
と、内部データバス8と、入力および出力データバス2
1,22とに加えて、PE9iが正常であるか否かを診
断する自己診断手段11と、自己診断手段の診断結果を
保持する診断フラグ12と、入出力制御回路6の一部で
あり識別子フラグ5に加えて診断フラグ12の有効無効
を判定する判定回路13とを備えて構成されている。
Each PE 9i (1 ≦ i ≦ n) is shown in FIG.
As shown in FIG. 3, a register 4 for storing the same identifier as that of the conventional PE 9i, an identifier flag 5, an input / output control circuit 6
An internal data bus 8 and an input and output data bus 2
1 and 22, a self-diagnosis means 11 for diagnosing whether the PE 9i is normal, a diagnosis flag 12 for holding a diagnosis result of the self-diagnosis means, and an identifier which is a part of the input / output control circuit 6 In addition to the flag 5, a determination circuit 13 that determines whether the diagnostic flag 12 is valid or invalid is provided.

【0015】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0016】まず、各PE9iにおいて、電源投入等に
より起動された自己診断手段11は、自己診断を行な
い、その結果正常であれば有効否であれば無効の診断結
果を出力して、診断フラグ12に設定する。次に、診断
フラグ12に設定された診断結果が無効、すなわち、P
E9iが異常であれば、これを判定回路13で判定し、
無条件で入出力回路6は入力データバス21からの入力
データを直接出力データバス22に出力する。すなわ
ち、あるPE9iが異常の場合は、入力データは、その
PE9iを通過することになり、PE9iの異常がプロ
セッサ全体の動作を停止させることはない。診断フラグ
12が有効であれば、すなわち、PE9iが正常であれ
ば、前述の従来の技術の例で示したものと同一の動作を
行なう。
First, in each PE 9i, the self-diagnosis means 11 activated by turning on the power performs self-diagnosis, and if the result is normal, it outputs an invalid diagnosis result if it is valid, and the diagnosis flag 12 Set to. Next, the diagnosis result set in the diagnosis flag 12 is invalid, that is, P
If E9i is abnormal, the judgment circuit 13 judges this,
Unconditionally, the input / output circuit 6 outputs the input data from the input data bus 21 directly to the output data bus 22. That is, when a certain PE 9i is abnormal, the input data passes through the PE 9i, and the abnormality of the PE 9i does not stop the operation of the entire processor. If the diagnosis flag 12 is valid, that is, if the PE 9i is normal, the same operation as that shown in the example of the conventional art described above is performed.

【0017】以上、本発明の実施例を説明したが、本発
明は上記実施例に限られることなく種々の変形が可能で
ある。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various modifications can be made.

【0018】たとえば、制御回路に計数手段を設け、識
別子設定開始時に上記計数手段をクリアし、識別子設定
データをPEに出力する毎に1ずつ加算し、異常PE以
外の全てのPEに識別子が設定されれば、上記識別子設
定データはそれ以上は設定されずに一巡して戻るので、
このときの計数値から正常PEの数を知ることも本発明
の主旨を逸脱しない限り適用できることは勿論である。
For example, counting means is provided in the control circuit, the counting means is cleared at the start of identifier setting, and 1 is added each time the identifier setting data is output to the PE, and the identifiers are set in all PEs other than the abnormal PE. If so, the above identifier setting data is looped back without being set any further, so
Of course, knowing the number of normal PEs from the count value at this time can also be applied without departing from the gist of the present invention.

【0019】[0019]

【発明の効果】以上説明したように、本発明のプロセッ
サは、各プロセッサエレメントが正常であれば有効否で
あれば無効の診断結果を出力する自己診断手段と、上記
診断結果を保持する診断フラグと、上記診断フラグの保
持値が無効のとき入力データを直接出力データとして出
力するよう判定する判定手段とを備えることにより、上
記プロセッサエレメントが異常の場合は、識別子が付与
されず入力データがそのまま通過するだけであるので、
プロセッサの全面的な動作停止が回避できるという効果
がある。
As described above, according to the processor of the present invention, if each processor element is normal, the self-diagnostic means for outputting the invalid diagnostic result if the processor element is valid, and the diagnostic flag holding the diagnostic result. And a determination means for determining that the input value is directly output as the output data when the holding value of the diagnostic flag is invalid, when the processor element is abnormal, the identifier is not added and the input data is not changed. Because it only passes
The effect is that it is possible to avoid the entire stoppage of the operation of the processor.

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

【図1】本発明のプロセッサの一実施例を示す全体およ
びプロセッサエレメントのブロック図である。
FIG. 1 is a block diagram of an overall processor element showing an embodiment of a processor of the present invention.

【図2】従来のプロセッサの一例を示す全体およびプロ
セッサエレメントのブロック図である。
FIG. 2 is a block diagram of an entire processor element and an example of a conventional processor.

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

1 制御回路 2 データバス 3,9 PE 4 レジスタ 5 識別子フラグ 6 入出力制御回路 7,13 判定回路 8 内部データバス 11 自己診断手段 12 診断フラグ 21 入力データバス 22 出力データバス 1 Control Circuit 2 Data Bus 3,9 PE 4 Register 5 Identifier Flag 6 Input / Output Control Circuit 7, 13 Judgment Circuit 8 Internal Data Bus 11 Self Diagnostic Means 12 Diagnostic Flag 21 Input Data Bus 22 Output Data Bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 それぞれ実行すべき処理に対応する識別
子が付与され、前記識別子を記憶するレジスタと、前記
レジスタに記憶した前記識別子がが有効であるかどうか
を示す識別子フラグと、前記識別子フラグにより入力さ
れた識別子設定データを前記レジスタに設定するか否か
を判定し否の場合には前記識別子設定データを直接出力
データとして出力する入出力制御手段とを備える複数の
プロセッサエレメントをリング状に接続して複数の処理
を実行させる分散型のプロセッサにおいて、 それぞれの前記プロセッサエレメントが正常であれば有
効否であれば無効の診断結果を出力する自己診断手段
と、 前記診断結果を保持する診断フラグと、 前記診断フラグの保持値が無効のとき前記プロセッサエ
レメントの入力データを直接出力データとして出力する
よう判定する判定手段とを備えることを特徴とするプロ
セッサ。
1. A register which is provided with an identifier corresponding to each process to be executed, stores the identifier, an identifier flag indicating whether the identifier stored in the register is valid, and an identifier flag A plurality of processor elements are connected in a ring shape with an input / output control unit that directly outputs the identifier setting data as output data when determining whether to input the identifier setting data to the register or not. In a distributed processor that executes a plurality of processes, a self-diagnosis unit that outputs an invalid diagnostic result if each of the processor elements is normal and is invalid, and a diagnostic flag that holds the diagnostic result. , When the value held by the diagnostic flag is invalid, the input data of the processor element is directly converted to output data. And a determination unit that determines to output the output.
JP4114381A 1992-05-07 1992-05-07 Processor Withdrawn JPH05324594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4114381A JPH05324594A (en) 1992-05-07 1992-05-07 Processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4114381A JPH05324594A (en) 1992-05-07 1992-05-07 Processor

Publications (1)

Publication Number Publication Date
JPH05324594A true JPH05324594A (en) 1993-12-07

Family

ID=14636260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4114381A Withdrawn JPH05324594A (en) 1992-05-07 1992-05-07 Processor

Country Status (1)

Country Link
JP (1) JPH05324594A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012008976A (en) * 2010-06-28 2012-01-12 Canon Inc Data processor, data processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012008976A (en) * 2010-06-28 2012-01-12 Canon Inc Data processor, data processing method, and program

Similar Documents

Publication Publication Date Title
JPS6347849A (en) Mode switching system
WO2001086426A2 (en) System and method for performing a synchronization operation for multiple devices in a computer system
JP3293125B2 (en) Initial setting and diagnosis method for on-chip multiprocessor system
JPH05324594A (en) Processor
JP3141787B2 (en) Microcomputer
JPH06325007A (en) Multiprocessor system starting system
JP2002351855A (en) Computer abnormality handling system, computer abnormality handling method, computer abnormality handling program running on computer and computer abnormality handling program stored in machine readable storage medium
CN111427723B (en) AutoSAR-based program flow monitoring method and application device
JP2019125947A (en) Monitoring device, monitoring method, and program
JP7238574B2 (en) electronic controller
JP2000076089A (en) Multiple system processor
JPH08328885A (en) Fault detection method for microcomputer
JP2990008B2 (en) Processor self-diagnosis method
JP3109573B2 (en) Fault LSI detection method
JPH0314136A (en) Mutual diagnostic system for microprocessor system
JP2738348B2 (en) Multiprocessor system
JP2806799B2 (en) Information processing system
JPS60173654A (en) Multiprocessor system
JPH04160556A (en) Memory diagnostic system for multiprocessor system
JPH11250026A (en) Fault recovery method and its system for parallel multiprocessor system
JPH03271854A (en) Dma controller
JPH11175103A (en) Control arithmetic device
JPS62245454A (en) Patrol diagnostic system for shared memory
JPH0341528A (en) Diagnostic device in computer
JP2020046979A (en) In-vehicle electronic control device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990803