JPH01102674A - Multi-processor control system - Google Patents

Multi-processor control system

Info

Publication number
JPH01102674A
JPH01102674A JP62259668A JP25966887A JPH01102674A JP H01102674 A JPH01102674 A JP H01102674A JP 62259668 A JP62259668 A JP 62259668A JP 25966887 A JP25966887 A JP 25966887A JP H01102674 A JPH01102674 A JP H01102674A
Authority
JP
Japan
Prior art keywords
processor
microprogram
sub
processing
main processor
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
JP62259668A
Other languages
Japanese (ja)
Inventor
Koichi Nakai
中井 幸一
Yoshinori Fujioka
良記 藤岡
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62259668A priority Critical patent/JPH01102674A/en
Publication of JPH01102674A publication Critical patent/JPH01102674A/en
Pending legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To minimize the deterioration of the processing speed of a multi- processor control system by securing such a constitution where a medium-speed microprogram taking a degenerating operation into consideration is set resident when an initial microprogram is loaded and a working microprogram is automatically switched for operation via the simple hardware even when a secondary processor has abnormality. CONSTITUTION:A secondary processor starting microprogram 21 is stored in a control storage 3 together with a secondary processor substitute microprogram 22 which performs the substitute degeneration processing to the secondary processor function via a main processor 5 only against the occurrence of an unrecoverable hardware fault of a secondary processor 10. Then the subsequent microaddresses are switched by the fault report signal received from the processor 10. An instruction received from the software is not branched out to the start part of the processor 10 at the conversion of microaddresses and branched out automatically to the storing area of the microprogram 22 for succession of the processing execution. In such a way, a degenerating operation is carried out without causing much deterioration of the processing speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マルチプロセッサシステムの制御方式に係り
、特に副プロセツサ障害時のマイクロアドレス自動切替
えによるシステムの縮退運用に好適なマルチプロセッサ
の制御方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a control method for a multiprocessor system, and in particular to a multiprocessor control method suitable for degenerate system operation by automatic microaddress switching in the event of a subprocessor failure. It is related to.

〔従来の技術〕[Conventional technology]

本発明は1機能的には異なるが、特開昭57−1234
50 rマイクロプログラム制御データ処理万人と同様
のマルチプロセッサシステムであり、主プロセツサから
の起動により、副プロセツサを動作させ特定命令に対し
て高速処理を行うものである。
Although the present invention is functionally different, it is
50 r Microprogram control data processing It is a multiprocessor system similar to that used by everyone, and when started by the main processor, the sub-processor is operated to perform high-speed processing on specific instructions.

従来のマルチプ四セッサ制御方式の例としては特開昭6
0−129845 「情報処理装置の制御方式」や。
An example of a conventional multiplex four processor control system is
0-129845 "Control method for information processing equipment".

特開昭59−114637 rデータ処理装置」他、い
(つかこれに関連する・手法が見られる。特開昭60−
129845号で記載されている副プロセツサ上に障害
が発生した場合の主プロセツサ単独でのデータ処理方式
においては、副プロセツサに回復不可能なハードウェア
のエラーが発生すると、−度停止状態となり、主プロセ
ツサによる制御記憶間の情報の転送を行った後、旧制御
記憶上のスタートアドレスに従ってもう一方の制御記憶
で主プロセツサ単独制御を行っているが、再実行までに
一度停止状態となり5次の開始までに制御記憶内の情報
の移行等1手順及び制御が複雑なものとなっている。
JP-A-59-114637 r Data Processing Device" and other related methods can be found. JP-A-59-114637
In the data processing method described in No. 129845, in which the main processor alone performs data processing when a failure occurs on the sub-processor, if an unrecoverable hardware error occurs in the sub-processor, the main After the processor transfers information between the control memories, the main processor performs independent control in the other control memory according to the start address on the old control memory, but it is stopped once before re-execution and the 5th time starts. Up until now, procedures such as migration of information in the control memory and control have become complicated.

また特開昭59−114637号公報については、副プ
ロセツサ動作時と切離し動作時の各々のマイクロプログ
ラムを、制御記憶でオーバーレイ構造に配置し、マイク
ロアドレス修飾レジスタ(ペースレジスタ)に従い1通
常の制御記憶アドレスに対しアドレス全体を修飾(成る
値シフト)する方式をとっていることにより、アドレス
決定回路のハードウェア量が増加し、やや大がかりな・
ものKならざるを得なかった。
Furthermore, in Japanese Patent Application Laid-Open No. 59-114637, microprograms for sub-processor operation and disconnection operation are arranged in an overlay structure in control memory, and one normal control memory is stored according to the microaddress modification register (pace register). By using a method that modifies the entire address (shifting the address), the amount of hardware for the address determination circuit increases, resulting in a somewhat large-scale design.
It had to be Mono K.

〔発明が解決しようとする問題点〕 上記従来技術は、副プロセツサに障害があると一度停止
状態にして制御記憶量情報の転送が必要等、縮退運用時
のシステム移行の簡単化が配慮されていなかったり、ま
た副プロセツサ切離し処理のハードウェア量の配慮が十
分であるとはいえなかった。
[Problems to be Solved by the Invention] The above-mentioned conventional technology does not take into account the simplification of system migration during degraded operation, such as the need to temporarily stop the subprocessor and transfer control memory amount information when there is a failure. In some cases, the amount of hardware required for sub-processor separation processing has not been sufficiently considered.

本発明の目的は、上記のような従来技術の問題点に対し
、副プロセツサ異常時の縮退運用を最小限のハードウェ
アでかつシステムを停止することなく続行することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to solve the problems of the prior art described above and to continue degenerate operation when a subprocessor is abnormal using a minimum amount of hardware and without stopping the system.

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

上記目的は、近年増々大容量化するSRAM技術を制御
用記憶として使用し、副プロセツサ起動用マイクロプロ
グラムを格納すると共に、副プロセツサの回復不可能な
ハードウェア障害発生に対して、主プロセツサのみで副
プロセツサ機能を代替縮退処理するためのマイクロプロ
グラムも常駐させておき、副プロセツサからの障害報告
信号により、以降のマイクロアドレスを切替え、ソフト
ウェアからの命令をマイクロアドレス変換時、副プロセ
ツサ起動部にブランチせず1代替マイクロプログラム格
納エリアに自動的にブランチさせ処理の実行を継続させ
ることにより達成される。
The above purpose is to use SRAM technology, which has been increasing in capacity in recent years, as a control memory, to store a microprogram for starting a sub-processor, and to prevent the occurrence of an irrecoverable hardware failure in the sub-processor by using only the main processor. A microprogram for alternative degradation processing of the subprocessor function is also kept resident, and the subsequent microaddresses are switched in response to a failure report signal from the subprocessor, and instructions from the software are branched to the subprocessor startup part when converting the microaddress. This is achieved by automatically branching to one alternative microprogram storage area and continuing execution of the process.

〔作用〕[Effect]

本発明によるマルチプロキツサ制御方式は、主プロセツ
サに対して、自己のユニット内に制御記憶及びマイクロ
プログラムシーケンサを備えた副プロセツサを接続し、
主プロセツサからの送出マイクロアドレスの値を解読し
て特定アドレス範囲内であれば処理開始するものであり
、副プロセツサでの命令処理終了時、副プロセツサから
主プロセツサに対し終了報告がなされ、同時に副プロセ
ツサ内で回復不可能なハードウェア障害が発生したかど
うかも報告する。
The multiprocessor control method according to the present invention connects a subprocessor having a control memory and a microprogram sequencer within its own unit to a main processor,
It decodes the value of the microaddress sent from the main processor and starts processing if it is within a specific address range.When the subprocessor finishes processing an instruction, the subprocessor reports completion to the main processor, and at the same time the subprocessor It also reports whether an unrecoverable hardware failure has occurred within the processor.

主プロセツサには副プロセツサからのエラー報告を受取
ったとき1次の命令デコード結果のマイクロアドレス生
成に対して、副プロセツサへの送出マイクロアドレスを
切替え、非選択(切離し状態)とし、主プロセッサ内制
御記憶の縮蝉用代替マイクロプログラムがアドレス選択
かれ、ソフトウェアインタプリタでの低速処理によらず
、中速マイクロプログラム処理にて、システムを中断せ
ず続行できる。
When the main processor receives an error report from the sub-processor, it switches the micro-address sent to the sub-processor to generate a micro-address as a result of the primary instruction decoding, makes it unselected (disconnected state), and controls within the main processor. The address of the replacement microprogram for the cicada in memory is selected, and the system can be continued without interruption by medium-speed microprogram processing instead of low-speed processing by the software interpreter.

〔実施例〕〔Example〕

以下1本発明の一実施例を順次図に従い説明する。 An embodiment of the present invention will be explained below with reference to the drawings.

第1図は本発明の一実施例であるマイクロプログラム制
御のマルチプロセッサシステムの概略図である。第1図
に示すよ5に、主プロセツサ5と副プロセツサ10は、
それぞれの動作を制御するマイクロ命令を格納する制御
記憶3と8を持ち、逐次マイクロシーケンサ1及び6よ
り示されたアドレスに従い、読み出されたマイクロ命令
をマイフサの処理を実行する。
FIG. 1 is a schematic diagram of a microprogram-controlled multiprocessor system according to an embodiment of the present invention. As shown in FIG. 1, a main processor 5 and a sub-processor 10 are
It has control memories 3 and 8 for storing microinstructions that control the respective operations, and executes microinstructions read out according to the addresses sequentially indicated by the microsequencers 1 and 6.

主プロセツサ用マイクロ命令を格納する制御記憶3は第
2図に示すような、(1)主プロセツサ5のみを使用し
て命令を実行する。あるいは主プロセッサ5.副プロセ
ッサ10実行による異常発生時の処理を行う基本部20
. (2)命令デコードで副プロセツサ10を使用する
命令の時使用される副プロセッサ起動用マイクロプログ
ラム格納エリア21、および(3)副プロセツサの回復
不能障害発生時1本来なら副プロセツサを使う命令を副
プロセツサを動作させずに主プロセツサの持つ機能のみ
を組合せて実行する、縮退用の剛プロセッサ代替マイク
ロプログラム格納エリア22より構成される。
The control memory 3 that stores microinstructions for the main processor is as shown in FIG. 2: (1) Only the main processor 5 is used to execute instructions. Or main processor 5. Basic unit 20 that performs processing when an abnormality occurs due to execution of the subprocessor 10
.. (2) microprogram storage area 21 for subprocessor startup, which is used when an instruction uses the subprocessor 10 in instruction decoding, and (3) when an unrecoverable failure occurs in the subprocessor. It is composed of a rigid processor-alternative microprogram storage area 22 for degeneration, which combines and executes only the functions of the main processor without operating the processor.

第1〜第3図により副プロセツサ起動とエラー発生時の
縮退動作を説明する。
Activation of the sub-processor and degeneracy operation when an error occurs will be explained with reference to FIGS. 1 to 3.

ソフトウェアにより発行された命令が副プロセツサ10
を使用する命令であった場合、第1図のマイクロシーケ
ンサ1で作られた第2図に示すCSアト−レス上位が(
100)〜(101)の副プロセツサ起動用マイクロエ
リア21のいずれかにブランチする。
Instructions issued by software are sent to the subprocessor 10.
If the instruction uses
A branch is made to any of the sub-processor starting micro areas 21 (100) to (101).

これとともに副プロセツサ側のアドレス検出部7によっ
て副プロセツサ10を使用する命令と認識し、1制御記
憶8上の副プロセツサ側マイクロに起動をかけ、以降は
副プロセツサ側のマイクロシーケンサ6により命令処理
を行い、命令処理終了を主プロセツサ5に報告すると共
和副プロセツサ内で回復不能障害が発生したかどうかも
エラー報告線11を介して主プロセツサ5側に報告され
る。何もなければ次の命令をデコードしてさらに処理を
継続するが、副プロセツサ10での命令処理中に回復不
能エラーが発生した場合は、副プロセツサ10よりエラ
ー報告線11を介して返送されたエラー信号によって、
主プロセツサ5側の副プロセツサ異常フラグ12がセッ
トされ、第3図に示すようにアンド回路と排他的オア回
路とを組み合わせた簡単な回路により、自動的にマイク
ロシーケンサ1から出力されるマイクロアドレスが切り
替わり、以降側・プロセッサ10を使用する命令が発行
されると、(10X)と(IIX)のアドレスに対して
、C8AD11−PLで示すビット23が反転され、副
プロセツサ起動用マイクロプログラム格納エリア21ヘ
ブランチすべき命令が縮退用に常駐させておいた副プロ
セツサ代替マイクロプログラム格納エリア22にブラン
チすることにより、主プロセツサ5の持つ機能を組合せ
て、副プロセツサ10で処理すべき命令の処理を最適化
し、主プロセツサ5のみで実行させることにより、副プ
ロセツサ5の異常時にもシステムを停止させることもな
く、処理速度をソフトウェアインタプリタで行うような
著しい低下を防ぎ。
At the same time, the address detection unit 7 on the sub-processor side recognizes the instruction as one that uses the sub-processor 10, activates the sub-processor side micro in the 1 control memory 8, and thereafter the instruction is processed by the micro-sequencer 6 on the sub-processor side. When the instruction processing is completed and the completion of instruction processing is reported to the main processor 5, whether or not an unrecoverable failure has occurred in the republican sub-processor is also reported to the main processor 5 via the error report line 11. If there is nothing, the next instruction is decoded and further processing continues. However, if an unrecoverable error occurs during instruction processing in the sub-processor 10, an error is returned from the sub-processor 10 via the error report line 11. By the error signal,
The sub-processor error flag 12 on the main processor 5 side is set, and the microaddress output from the microsequencer 1 is automatically set by a simple circuit combining an AND circuit and an exclusive OR circuit as shown in FIG. When switching occurs and an instruction to use the subsequent processor 10 is issued, the bit 23 indicated by C8AD11-PL is inverted for the addresses (10X) and (IIX), and the microprogram storage area 21 for starting the subprocessor is inverted. By branching the instructions to be branched to the subprocessor alternative microprogram storage area 22 that is kept resident for degeneracy, the functions of the main processor 5 are combined to optimize the processing of instructions to be processed by the subprocessor 10. By having only the main processor 5 execute the processing, the system will not be stopped even when the sub-processor 5 is abnormal, and the processing speed will not be significantly reduced as would be the case when using a software interpreter.

縮退運用により命令処理を継続することができる。Instruction processing can be continued through degraded operation.

このように、近年大容量化が進むSRAMを有効に活用
し、16KBあるいはそれ以上の深さの素子により、従
来は副プロセツサ異常時、外部記憶媒体より中速マイク
ロプログラムを再ローデイングして使用せざるを得なか
ったマルチプロセッサ方式に対しても、イニシャルマイ
クロプログラムロードの時点で縮退運用を考えた中速マ
イクロプログラムを常駐させておき、副プロセツサ異常
時でも簡単なハードウェアで自動的に実行マイクロプロ
グラムを切り替え運用することが可能となり、処理速度
の低下を最小限に抑えたマルチプロセッサシステムを提
供することが可能となる。
In this way, by effectively utilizing SRAM, which has been increasing in capacity in recent years, and using elements with a depth of 16 KB or more, it is now possible to reload and use medium-speed microprograms from an external storage medium when a subprocessor error occurs. In the case of a multiprocessor system, which was unavoidable, a medium-speed microprogram designed for degenerate operation is kept resident at the time of initial microprogram load, and even if a subprocessor fails, simple hardware can automatically execute the microprogram. It becomes possible to switch between programs and provide a multiprocessor system with minimal reduction in processing speed.

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

本発明によれば、副プロセツサの回復不能ノ・−ドウエ
ア障害に対しても実行中のシステムを停止させることが
なく、必要最小限のノー−ドウエアを用い、副プロセツ
サを切離し、副プロセツサよりは低速ではあるが再度制
御記憶にマイクロローディングすることもなく1代替マ
イクロプログラムで最大限好適なマイクロプログラムの
実行が可能となり、ソフトウェアインタプリタによる処
理速度大幅低下にもならず、縮退運用ができる効果があ
る。
According to the present invention, even in the event of an unrecoverable hardware failure in a sub-processor, the running system does not have to be stopped, the sub-processor is isolated using the minimum necessary node hardware, and the sub-processor is Although the speed is low, it is possible to execute the most suitable microprogram with one alternative microprogram without having to microload the control memory again, and there is no significant reduction in processing speed caused by the software interpreter, which has the effect of allowing degenerate operation. .

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

第1図は本発明の一実施例であるマイクロプログラム制
御のマルチプロセッサシステムの概略ブロック図、第2
図は代替マイクロプログラムアドレスへの切替を説明す
る図、第3図はマイクロプログラムアドレスを切り替え
る回路を示す図である。 2・・・アドレス切替部、 3・・・制御記憶。 5・・・主プロセツサ、  7・・・アドレス検出部。 8・・・制御記憶、10・・・副プロセツサ。 11・・・エラー報告論。 12・・・副プロセツサ異常フラグ。
FIG. 1 is a schematic block diagram of a microprogram-controlled multiprocessor system that is an embodiment of the present invention;
This figure is a diagram for explaining switching to an alternative microprogram address, and FIG. 3 is a diagram showing a circuit for switching the microprogram address. 2...Address switching section, 3...Control memory. 5... Main processor, 7... Address detection unit. 8... Control memory, 10... Sub-processor. 11...Error reporting theory. 12...Sub-processor error flag.

Claims (1)

【特許請求の範囲】[Claims] 1、マイクロプログラム制御の主プロセッサとマイクロ
プログラム制御の副プロセッサとを有し、前記主プロセ
ッサは該主プロセッサ用のマイクロプログラムと前記副
プロセッサを起動するマイクロプログラムとを格納する
第1の制御記憶を有し、前記副プロセッサは前記主プロ
セッサによって起動されて第2の制御記憶に格納される
マイクロプログラムによる制御の下に処理を行いその結
果を前記主プロセッサに報告するマルチプロセッサシス
テムにおいて、前記主プロセツサは第1の制御記憶中に
前記副プロセッサの処理を代替するマイクロプログラム
を備え、前記主プロセッサが前記副プロセッサから障害
の報告があつたとき副プロセッサを起動するマイクロプ
ログラムが格納される第1の制御記憶のアドレスを切り
替えて前記代替マイクロプログラムを実行するようにし
たことを特徴とするマイクロプロセッサの制御方式。
1. The main processor has a microprogram-controlled main processor and a microprogram-controlled sub-processor, and the main processor has a first control memory that stores a microprogram for the main processor and a microprogram for activating the sub-processor. In a multiprocessor system, the sub-processor is activated by the main processor, performs processing under the control of a microprogram stored in a second control memory, and reports the results to the main processor. is provided with a microprogram for substituting the processing of the sub-processor in a first control memory, and a micro-program for starting the sub-processor when the main processor receives a report of a failure from the sub-processor is stored in the first control memory. A control method for a microprocessor, characterized in that the alternative microprogram is executed by switching an address in a control memory.
JP62259668A 1987-10-16 1987-10-16 Multi-processor control system Pending JPH01102674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62259668A JPH01102674A (en) 1987-10-16 1987-10-16 Multi-processor control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62259668A JPH01102674A (en) 1987-10-16 1987-10-16 Multi-processor control system

Publications (1)

Publication Number Publication Date
JPH01102674A true JPH01102674A (en) 1989-04-20

Family

ID=17337239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62259668A Pending JPH01102674A (en) 1987-10-16 1987-10-16 Multi-processor control system

Country Status (1)

Country Link
JP (1) JPH01102674A (en)

Similar Documents

Publication Publication Date Title
US4941087A (en) System for bumpless changeover between active units and backup units by establishing rollback points and logging write and read operations
KR920003497B1 (en) Processing system tolerant of loss of access to secondary storage
US5317752A (en) Fault-tolerant computer system with auto-restart after power-fall
JP2552651B2 (en) Reconfigurable dual processor system
US4455601A (en) Cross checking among service processors in a multiprocessor system
JPS58121457A (en) Information processing device
JPH01102674A (en) Multi-processor control system
JPS6113626B2 (en)
JPH0764930A (en) Mutual monitoring method between cpus
JPH047645A (en) Fault tolerant computer
JPS59180897A (en) Double structure system of battery back-up memory
JP2578908B2 (en) Restart method
JPS635779B2 (en)
JPS597982B2 (en) Restart method in case of system failure of computer system
JP4494263B2 (en) Service system redundancy method
JPH02165367A (en) Microprogram control type data processor
JPS62212865A (en) Multiprocessor control system
JPH04227554A (en) Hot stand-by method and computer system
JPH0113131B2 (en)
JPS61245260A (en) Semiconductor memory device
JPS5914063A (en) Start up system of microcomputer
JPS58217059A (en) Composite computer system
JPS61245262A (en) Semiconductor memory device
JPS58142453A (en) Data processing device
JPH11184722A (en) Automatic restoring function for service processor in distributed processing system