JPH05143197A - Arithmetic processor - Google Patents

Arithmetic processor

Info

Publication number
JPH05143197A
JPH05143197A JP3332455A JP33245591A JPH05143197A JP H05143197 A JPH05143197 A JP H05143197A JP 3332455 A JP3332455 A JP 3332455A JP 33245591 A JP33245591 A JP 33245591A JP H05143197 A JPH05143197 A JP H05143197A
Authority
JP
Japan
Prior art keywords
microprocessor
arithmetic processing
reset
circuit
signal
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
JP3332455A
Other languages
Japanese (ja)
Other versions
JP2729121B2 (en
Inventor
Norio Hiuga
教雄 日向
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP3332455A priority Critical patent/JP2729121B2/en
Publication of JPH05143197A publication Critical patent/JPH05143197A/en
Application granted granted Critical
Publication of JP2729121B2 publication Critical patent/JP2729121B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Debugging And Monitoring (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To selectively restart only a device in which a microprocessor is disabled to operate. CONSTITUTION:At the time of detecting the operation disablement of the microprocessor 2, a microprocessor down detecting circuit 4 sends an inter-device intra-interface reset signal 111 in an inter-device interface 100 to an OR circuit 8 as a reset command signal 112. The OR circuit 8 sends the signal 112 inputted from the circuit 4 to the microprocessor 2, an interface controller 3 and arithmetic processing circuits 6, 7 as an intra-device reset signal 113 to respectively start the microprocessor 2, the interface 3 and the circuits 6, 7.

Description

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

【0001】[0001]

【技術分野】本発明は演算処理装置に関し、特に演算処
理装置のマイクロプロセッサの起動方法に関する。
TECHNICAL FIELD The present invention relates to an arithmetic processing unit, and more particularly to a method of activating a microprocessor of the arithmetic processing unit.

【0002】[0002]

【従来技術】従来、演算処理装置においては、装置の電
源を投入するかあるいは装置のリセットスイッチなどを
操作するリセット操作を行ってマイクロプロセッサのリ
セット端子を有効とすることによって、マイクロプロセ
ッサの起動を行っている。
2. Description of the Related Art Conventionally, in an arithmetic processing unit, the microprocessor is activated by turning on the power of the unit or performing a reset operation such as operating a reset switch of the unit to enable a reset terminal of the microprocessor. Is going.

【0003】マイクロプロセッサは起動されると、装置
内のROMに格納されているプログラムを順に実行す
る。一般的には装置の電源投入時にインタフェーステス
トプログラムを実行し、装置内の演算処理回路のテスト
および初期設定を行っている。
When the microprocessor is activated, it sequentially executes the programs stored in the ROM in the device. Generally, the interface test program is executed when the power of the device is turned on to test and initialize the arithmetic processing circuit in the device.

【0004】また、上記の演算処理装置には装置外部の
演算処理装置とのインタフェースをとるために、装置間
インタフェースが設けられている。この演算処理装置に
対して装置外部の演算処理装置が各種命令を実行させる
場合、装置間インタフェースプロトコルにしたがってデ
ータ転送を行った後に、装置外部の演算処理装置内のマ
イクロプロセッサが命令コードを判断して装置内の演算
処理回路に対して演算処理を指示する。
Further, the above arithmetic processing unit is provided with an inter-device interface in order to interface with an arithmetic processing unit outside the device. When an arithmetic processing unit outside the device executes various instructions for this arithmetic processing unit, the microprocessor in the arithmetic processing unit outside the device judges the instruction code after performing data transfer according to the inter-device interface protocol. And instructs the arithmetic processing circuit in the apparatus to perform arithmetic processing.

【0005】さらに、装置外部の演算処理装置から装置
間インタフェース内のリセット信号によって、装置の電
源投入時と同様に装置内のマイクロプロセッサを起動で
きる演算処理装置も存在している。
Further, there is an arithmetic processing unit that can activate a microprocessor in the device by a reset signal in the inter-device interface from an arithmetic processing unit outside the device, similarly to when the power of the device is turned on.

【0006】上述した装置間インタフェースの1例とし
てSCSI(small computer system interface )プロ
トコルインタフェースがある。このSCSIプロトコル
インタフェースの場合、通常はデータ信号線を介して命
令コードを転送しているが、他の演算処理装置をリセッ
トするときにはSCSIプロトコルインタフェース内の
リセット信号を有効とすることによって、通常の命令コ
ードの転送を行うことなくリセットの指示を他の演算処
理装置に送出することができる。
An example of the above-mentioned inter-device interface is a SCSI (small computer system interface) protocol interface. In the case of this SCSI protocol interface, the instruction code is normally transferred via the data signal line, but when resetting the other arithmetic processing unit, the reset signal in the SCSI protocol interface is made effective so that the normal instruction is executed. The reset instruction can be sent to another processing unit without transferring the code.

【0007】このような従来の演算処理装置では、何ら
かの障害によってマイクロプロセッサが動作不能となっ
た場合、マイクロプロセッサを起動するために装置間イ
ンタフェース内のリセット信号を装置外部の演算処理装
置から有効とすることによって起動可能としているが、
このとき装置間インタフェースに接続されているすべて
の演算処理装置も再起動されてしまうという欠点があ
る。
In such a conventional arithmetic processing unit, when the microprocessor becomes inoperable due to some failure, the reset signal in the inter-device interface is activated from the arithmetic processing unit outside the device to activate the microprocessor. It can be started by doing
At this time, all the arithmetic processing units connected to the inter-device interface are also restarted.

【0008】また、障害の発生した演算処理装置では再
起動によって装置内が初期化されてしまうため、何の原
因によって障害が発生したのかを解析しようにも装置内
に解析情報が何も残っていないという欠点がある。
Further, in the arithmetic processing unit in which the failure has occurred, the inside of the apparatus is initialized by restarting, so no analysis information remains in the apparatus to analyze the cause of the failure. It has the drawback of not having it.

【0009】[0009]

【発明の目的】本発明は上記のような従来のものの欠点
を除去すべくなされたもので、マイクロプロセッサが動
作不能となっている装置のみを選択的に再起動すること
ができる演算処理装置の提供を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to eliminate the above-mentioned drawbacks of the prior art, and provides an arithmetic processing device capable of selectively restarting only the device in which the microprocessor is inoperable. For the purpose of provision.

【0010】本発明の他の目的は、再起動後の障害発生
原因の解析を容易に行うことができる演算処理装置の提
供にある。
Another object of the present invention is to provide an arithmetic processing unit capable of easily analyzing the cause of failure after restart.

【0011】[0011]

【発明の構成】本発明による位置検出装置は、装置のリ
セット操作および外部からのリセット信号に応答して起
動されるマイクロプロセッサを有する演算処理装置であ
って、前記マイクロプロセッサにおける障害の発生を検
出する検出手段と、前記検出手段の検出結果に応じて前
記リセット信号の有効無効を決定する手段とを設けたこ
とを特徴とする。
A position detecting device according to the present invention is an arithmetic processing device having a microprocessor activated in response to a reset operation of the device and a reset signal from the outside, and detects occurrence of a failure in the microprocessor. And a means for determining whether the reset signal is valid or invalid according to the detection result of the detecting means.

【0012】[0012]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0013】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、演算処理装置1は装置の電
源を投入するかあるいは装置のリセットスイッチなどを
操作するリセット操作を行うことによってリセット信号
101 が有効になると、オア回路8からマイクロプロセッ
サ2とインタフェースコントローラ3と演算処理回路
6,7とに夫々出力される装置内リセット信号113 が有
効となるので、マイクロプロセッサ2とインタフェース
コントローラ3と演算処理回路6,7とが夫々起動され
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, the processing unit 1 resets the reset signal by turning on the power of the device or performing a reset operation such as operating a reset switch of the device.
When 101 becomes valid, the in-device reset signal 113 output from the OR circuit 8 to the microprocessor 2, the interface controller 3, and the arithmetic processing circuits 6 and 7 becomes valid, so that the microprocessor 2, the interface controller 3, and the arithmetic operation are performed. The processing circuits 6 and 7 are activated respectively.

【0014】マイクロプロセッサ2はオア回路8からの
装置内リセット信号113 によって起動されると、データ
バス110 を介してROM5からプログラムを読出して順
に実行する。また、インタフェースコントローラ3およ
び演算処理回路6,7はオア回路8からの装置内リセッ
ト信号113 によって起動されると各々初期化され、マイ
クロプロセッサ2が実行する初期設定のプログラムによ
って初期設定される。
When activated by an in-device reset signal 113 from the OR circuit 8, the microprocessor 2 reads out the program from the ROM 5 via the data bus 110 and executes it in order. Further, the interface controller 3 and the arithmetic processing circuits 6 and 7 are initialized when activated by the in-device reset signal 113 from the OR circuit 8, and initialized by the initialization program executed by the microprocessor 2.

【0015】マイクロプロセッサダウン検出回路4には
通常一定時間毎にデータバス110 を介してマイクロプロ
セッサ2から信号が送られてきている。マイクロプロセ
ッサダウン検出回路4はマイクロプロセッサ2からの信
号が一定時間送られてこなければ、装置間インタフェー
ス100 内の装置間インタフェース内リセット信号111を
リセット指示信号112 としてオア回路8に送出する。
A signal is sent from the microprocessor 2 to the microprocessor down detection circuit 4 via the data bus 110 at regular intervals. If the signal from the microprocessor 2 has not been sent for a certain period of time, the microprocessor down detection circuit 4 sends the inter-device interface reset signal 111 in the inter-device interface 100 to the OR circuit 8 as a reset instruction signal 112.

【0016】このとき、装置間インタフェース内リセッ
ト信号111 が装置外部の演算処理装置(図示せず)によ
って有効となっていれば、オア回路8からマイクロプロ
セッサ2とインタフェースコントローラ3と演算処理回
路6,7とに夫々出力される装置内リセット信号113 が
有効となるので、マイクロプロセッサ2とインタフェー
スコントローラ3と演算処理回路6,7とが夫々起動さ
れる。
At this time, if the reset signal 111 in the inter-device interface is valid by an arithmetic processing device (not shown) outside the device, the OR circuit 8 causes the microprocessor 2, the interface controller 3, the arithmetic processing circuit 6, and the like. Since the in-apparatus reset signal 113 output to each of 7 and 7 becomes effective, the microprocessor 2, the interface controller 3, and the arithmetic processing circuits 6 and 7 are activated respectively.

【0017】図2は図1のマイクロプロセッサダウン検
出回路4の構成を示す図である。図において、マイクロ
プロセッサダウン検出回路4のプロセッサダウン検出用
タイマ41はデータバス110 を介して一定時間毎に入力
されるマイクロプロセッサ2からの信号によってスター
トまたはリセットが指示される。
FIG. 2 is a diagram showing the configuration of the microprocessor down detection circuit 4 of FIG. In the figure, the processor down detection timer 41 of the microprocessor down detection circuit 4 is instructed to start or reset by a signal from the microprocessor 2 which is input via the data bus 110 at regular intervals.

【0018】プロセッサダウン検出用タイマ41は一定
時間マイクロプロセッサ2からの信号が入力されなけれ
ば、プロセッサダウン検出用フリップフロップ(以下プ
ロセッサダウン検出用F/Fとする)42へのタイマオ
ーバフロー信号141 を有効とする。タイマオーバフロー
信号141 が有効となると、プロセッサダウン検出用F/
F42は“1”を保持し、アンド回路43へのプロセッ
サダウン指示信号142に“1”を出力する。
If a signal from the microprocessor 2 is not input for a certain period of time, the processor down detection timer 41 outputs a timer overflow signal 141 to a processor down detection flip-flop (hereinafter referred to as processor down detection F / F) 42. Validate. When the timer overflow signal 141 becomes valid, the processor down detection F /
The F42 holds "1" and outputs "1" to the processor down instruction signal 142 to the AND circuit 43.

【0019】アンド回路43はプロセッサダウン検出用
F/F42からのプロセッサダウン指示信号142 が
“1”になると、装置間インタフェース内リセット信号
111 をリセット指示信号112 として出力する。よって、
装置間インタフェース内リセット信号111 が有効になる
と、リセット指示信号112 も有効となる。
The AND circuit 43 resets the inter-device interface reset signal when the processor down instruction signal 142 from the processor down detection F / F 42 becomes "1".
111 is output as a reset instruction signal 112. Therefore,
When the reset signal 111 in the inter-device interface becomes valid, the reset instruction signal 112 also becomes valid.

【0020】これによって、装置間インタフェース100
上に接続されている複数の演算処理装置の中で、マイク
ロプロセッサダウン検出回路4によってマイクロプロセ
ッサ2の動作不能が検出された演算処理装置1のみが選
択的に再起動されることになる。
As a result, the inter-device interface 100
Among the plurality of arithmetic processing units connected above, only the arithmetic processing unit 1 in which the microprocessor down detection circuit 4 detects the inoperability of the microprocessor 2 is selectively restarted.

【0021】図3は本発明の他の実施例の構成を示すブ
ロック図である。図において、本発明の他の実施例によ
る演算処理装置9はマイクロプロセッサ2がリセット信
号101 とマイクロプロセッサダウン検出回路4からのリ
セット指示信号112 とのうちどちらによって起動された
のかを記憶するリセット指示記憶回路10を設けた以外
は本発明の一実施例と同様の構成となっており、同一構
成部品には同一符号を付してある。また、同一構成部品
の動作も本発明の一実施例と同様である。
FIG. 3 is a block diagram showing the configuration of another embodiment of the present invention. In the figure, a processor 9 according to another embodiment of the present invention stores a reset instruction for storing whether the microprocessor 2 is activated by the reset signal 101 or the reset instruction signal 112 from the microprocessor down detection circuit 4. The configuration is the same as that of the embodiment of the present invention except that the memory circuit 10 is provided, and the same components are designated by the same reference numerals. The operation of the same component is also the same as that of the embodiment of the present invention.

【0022】リセット指示記憶回路10は装置電源の投
入または装置のリセット操作によってリセット信号101
が有効になった場合に状態値として“0”を記憶し、マ
イクロプロセッサダウン検出回路4からのリセット指示
信号112 が有効となった場合に状態値として“1”を記
憶する。
The reset instruction storage circuit 10 receives a reset signal 101 when the power of the device is turned on or the device is reset.
When the reset instruction signal 112 from the microprocessor down detection circuit 4 becomes valid, "1" is stored as the state value when "1" becomes valid.

【0023】マイクロプロセッサ2はリセット信号101
またはリセット指示信号112 が有効となって起動される
と、データバス110 を介してROM5から読出したプロ
グラムを順に実行していくが、このときまずデータバス
110 を介してリセット指示記憶回路10から状態値を読
出す。
The microprocessor 2 uses the reset signal 101
Alternatively, when the reset instruction signal 112 is activated and activated, the programs read from the ROM 5 via the data bus 110 are sequentially executed. At this time, first, the data bus
The state value is read from the reset instruction storage circuit 10 via 110.

【0024】マイクロプロセッサ2はリセット指示記憶
回路10からの状態値が“0”であればリセット信号10
1 によって起動されたと認識し、初期設定のプログラム
を実行してインタフェースコントローラ3および演算処
理回路6,7の初期設定を行う。
If the state value from the reset instruction storage circuit 10 is "0", the microprocessor 2 outputs the reset signal 10
It recognizes that it has been activated by 1, and executes the initialization program to initialize the interface controller 3 and the arithmetic processing circuits 6 and 7.

【0025】一方、マイクロプロセッサ2はリセット指
示記憶回路10からの状態値が“1”であればマイクロ
プロセッサダウン検出回路4からのリセット指示信号11
2 によって起動されたと認識し、初期設定のプログラム
の実行を抑止する。これによって、インタフェースコン
トローラ3および演算処理回路6,7の初期設定が行わ
れないので、各回路には障害発生前の状態が保持され
る。
On the other hand, if the state value from the reset instruction storage circuit 10 is "1", the microprocessor 2 receives the reset instruction signal 11 from the microprocessor down detection circuit 4.
Recognizes that it was started by 2 and suppresses the execution of the default program. As a result, the interface controller 3 and the arithmetic processing circuits 6 and 7 are not initialized, so that each circuit retains the state before the failure.

【0026】この後に、装置間インタフェース100 上に
接続されている他の演算処理装置から演算処理回路6,
7の状態値の転送命令を出力することによって、演算処
理回路6,7の障害発生前の状態値が装置間インタフェ
ース100 を介して他の演算処理装置に転送される。よっ
て、障害が発生した状態を演算処理装置9から読出すこ
とができるので、該障害の発生原因の解析を容易に行う
ことができる。
After this, from the other arithmetic processing units connected to the inter-device interface 100, the arithmetic processing circuit 6,
By outputting the transfer instruction of the state value of 7, the state values of the arithmetic processing circuits 6 and 7 before the occurrence of the fault are transferred to another arithmetic processing device via the inter-device interface 100. Therefore, since the state in which the failure has occurred can be read from the arithmetic processing unit 9, it is possible to easily analyze the cause of the failure.

【0027】図4は本発明の別の実施例の構成を示すブ
ロック図である。図において、本発明の別の実施例によ
る演算処理装置11はアドレスバス120 上のアドレスを
順次格納してマイクロプロセッサ2の動作をトレース
し、リセット指示記憶回路10からのトレーサ有効化指
示信号121 に応じてトレース動作を行うアドレストレー
サ12を設けた以外は本発明の他の実施例と同様の構成
となっており、同一構成部品には同一符号を付してあ
る。また、同一構成部品の動作も本発明の他の実施例と
同様である。
FIG. 4 is a block diagram showing the configuration of another embodiment of the present invention. In the figure, an arithmetic processing unit 11 according to another embodiment of the present invention sequentially stores addresses on an address bus 120 to trace the operation of the microprocessor 2 and outputs a tracer enable instruction signal 121 from a reset instruction storage circuit 10. The structure is the same as that of the other embodiment of the present invention except that the address tracer 12 for performing the trace operation is provided, and the same components are designated by the same reference numerals. The operation of the same component is also similar to that of the other embodiment of the present invention.

【0028】アドレストレーサ12はマイクロプロセッ
サ2がデータバス110 を介してROM5からプログラム
を読出す毎に、アドレスバス120 上のアドレスを順に格
納するトレース動作を行う。
The address tracer 12 performs a trace operation for sequentially storing addresses on the address bus 120 each time the microprocessor 2 reads a program from the ROM 5 via the data bus 110.

【0029】リセット指示記憶回路10にマイクロプロ
セッサ2がリセット信号101 によって起動されたことを
示す状態値“0”が格納されている場合には、リセット
指示記憶回路10からトレーサ有効化指示信号121 とし
て“0”が入力されるので、アドレストレーサ12は上
記のトレース動作を行う。
When the reset instruction storage circuit 10 stores the state value "0" indicating that the microprocessor 2 has been activated by the reset signal 101, the reset instruction storage circuit 10 outputs the tracer validation instruction signal 121. Since "0" is input, the address tracer 12 performs the above trace operation.

【0030】また、リセット指示記憶回路10にマイク
ロプロセッサ2がリセット指示信号112 によって起動さ
れたことを示す状態値“1”が格納されている場合に
は、リセット指示記憶回路10からトレーサ有効化指示
信号121 として“1”が入力されるので、アドレストレ
ーサ12は上記のトレース動作を行わない。よって、マ
イクロプロセッサ2が装置間インタフェース内リセット
信号111 によって起動された場合、アドレストレーサ1
2の内容が更新されることはない。
When the reset instruction storage circuit 10 stores the state value "1" indicating that the microprocessor 2 is activated by the reset instruction signal 112, the reset instruction storage circuit 10 issues a tracer activation instruction. Since "1" is input as the signal 121, the address tracer 12 does not perform the above trace operation. Therefore, when the microprocessor 2 is activated by the inter-device interface reset signal 111, the address tracer 1
The contents of 2 are never updated.

【0031】この後に、装置間インタフェース100 上に
接続されている他の演算処理装置からアドレストレーサ
12の内容の転送命令を出力することによって、アドレ
ストレーサ12に格納されている障害が発生したときの
アドレスデータが装置間インタフェース100 を介して他
の演算処理装置に転送される。よって、障害が発生した
状態を演算処理装置11から読出すことができるので、
該障害の発生原因の解析を容易に行うことができる。
After this, by outputting a transfer command of the contents of the address tracer 12 from another arithmetic processing unit connected to the inter-device interface 100, it is possible to detect the occurrence of a failure stored in the address tracer 12. The address data is transferred to another arithmetic processing unit via the inter-device interface 100. Therefore, since the state in which the failure has occurred can be read from the arithmetic processing unit 11,
The cause of the failure can be easily analyzed.

【0032】尚、マイクロプロセッサダウン検出回路4
からのリセット指示信号112 をそのままアドレストレー
サ12へのトレーサ有効化指示信号121 として用いても
よい。この場合、アドレストレーサ12の内容が更新さ
れなければ、装置内の各回路が初期化されても問題とは
ならない。
The microprocessor down detection circuit 4
The reset instruction signal 112 from the above may be used as it is as the tracer validation instruction signal 121 to the address tracer 12. In this case, if the contents of the address tracer 12 are not updated, it does not matter even if each circuit in the device is initialized.

【0033】図5は本発明のさらに別の実施例を示すブ
ロック図である。図において、本発明のさらに別の実施
例による演算処理装置13は演算処理回路21〜23の
うちどの回路を初期化するのかを選択するためのリセッ
ト指示選択記憶回路14とアンド回路15〜17とオア
回路18〜20とを設けた以外は本発明の一実施例と同
様の構成となっており、同一構成部品には同一符号を付
してある。また、同一構成部品の動作も本発明の一実施
例と同様である。
FIG. 5 is a block diagram showing another embodiment of the present invention. In the figure, an arithmetic processing unit 13 according to still another embodiment of the present invention includes a reset instruction selection memory circuit 14 and AND circuits 15 to 17 for selecting which of the arithmetic processing circuits 21 to 23 is to be initialized. The configuration is the same as that of the embodiment of the present invention except that OR circuits 18 to 20 are provided, and the same components are designated by the same reference numerals. The operation of the same component is also the same as that of the embodiment of the present invention.

【0034】リセット指示選択記憶回路14には予めマ
イクロプロセッサ2によってデータバス110 を介して初
期化すべき回路が設定されており、設定された内容に応
じてリセット有効信号131 〜133 に“0”または“1”
を出力する。
A circuit to be initialized by the microprocessor 2 via the data bus 110 is previously set in the reset instruction selection storage circuit 14, and "0" or "0" is given to the reset valid signals 131 to 133 according to the set contents. "1"
Is output.

【0035】アンド回路15〜17は夫々マイクロプロ
セッサダウン検出回路4からのリセット指示信号112 と
リセット指示選択記憶回路14からのリセット有効信号
131〜133 とのアンドをとり、リセット指示信号134 〜1
36 をオア回路18〜20に出力する。
The AND circuits 15 to 17 are reset instruction signals 112 from the microprocessor down detection circuit 4 and reset valid signals from the reset instruction selection storage circuit 14, respectively.
AND with 131 to 133 and reset instruction signal 134 to 1
36 is output to the OR circuits 18 to 20.

【0036】オア回路18〜20は夫々リセット信号10
1 とアンド回路15〜17からのリセット指示信号134
〜136 とのオアをとり、装置内リセット信号137 〜139
を演算処理回路21〜23に出力する。
The OR circuits 18 to 20 have reset signals 10 respectively.
1 and reset instruction signal 134 from AND circuits 15-17
~ 136 and reset signal inside the device 137 ~ 139
Is output to the arithmetic processing circuits 21 to 23.

【0037】すなわち、リセット信号101 が有効となっ
た場合には装置内リセット信号137〜139 がすべて有効
となり、演算処理回路21〜23がすべて初期化され
る。また、マイクロプロセッサダウン検出回路4からの
リセット指示信号112 が有効となった場合にはリセット
指示選択記憶回路14に設定された演算処理回路21〜
23に対応する装置内リセット信号137 〜139 のみが有
効となり、リセット指示選択記憶回路14に設定された
演算処理回路21〜23だけが初期化される。
That is, when the reset signal 101 becomes valid, all the in-apparatus reset signals 137 to 139 become valid and the arithmetic processing circuits 21 to 23 are all initialized. Further, when the reset instruction signal 112 from the microprocessor down detection circuit 4 becomes valid, the arithmetic processing circuits 21 to 21 set in the reset instruction selection storage circuit 14
Only the in-apparatus reset signals 137 to 139 corresponding to 23 are valid, and only the arithmetic processing circuits 21 to 23 set in the reset instruction selection storage circuit 14 are initialized.

【0038】例えば、初期化しておかないと再起動時の
障害になるとしてマイクロプロセッサ2がリセット指示
選択記憶回路14に演算処理回路21を設定した場合、
リセット有効信号131 に“1”が出力され、他のリセッ
ト有効信号132 ,133 には“0”が出力される。
For example, if the microprocessor 2 sets the arithmetic processing circuit 21 in the reset instruction selection storage circuit 14 because it is a failure at the time of restart unless it is initialized,
"1" is output to the reset valid signal 131, and "0" is output to the other reset valid signals 132 and 133.

【0039】この状態で、装置間インタフェース内リセ
ット信号111 が有効となり、マイクロプロセッサダウン
検出回路4からのリセット指示信号112 が有効となる
と、アンド回路15からのリセット指示信号134 のみが
有効となり、他のアンド回路16,17からのリセット
指示信号135,136 は無効となる。
In this state, when the inter-device interface reset signal 111 becomes valid and the reset instruction signal 112 from the microprocessor down detection circuit 4 becomes valid, only the reset instruction signal 134 from the AND circuit 15 becomes valid, and The reset instruction signals 135 and 136 from the AND circuits 16 and 17 are invalidated.

【0040】よって、オア回路18から演算処理回路2
1に出力される装置内リセット信号137 が有効となり、
演算処理回路21のみが初期化される。他のオア回路1
9,20から演算処理回路22,23に出力される装置
内リセット信号138 ,139 は無効となるので、演算処理
回路22,23は初期化されず、演算処理回路22,2
3は障害発生時の状態のままとなる。
Therefore, from the OR circuit 18 to the arithmetic processing circuit 2
The in-device reset signal 137 output to 1 becomes valid,
Only the arithmetic processing circuit 21 is initialized. Other OR circuit 1
Since the in-device reset signals 138 and 139 output from the arithmetic processing circuits 22 and 23 from 9 and 20 become invalid, the arithmetic processing circuits 22 and 23 are not initialized and the arithmetic processing circuits 22 and 2 are not initialized.
No. 3 remains as it was when the failure occurred.

【0041】これによって、初期化すべき演算回路21
〜23をリセット指示選択記憶回路14に設定しておけ
ば、各演算処理回路21〜23への装置内リセット信号
137〜139 を選択的に有効とすることができ、演算処理
回路21〜23を選択的に初期化することができる。
As a result, the arithmetic circuit 21 to be initialized
23 to 23 are set in the reset instruction selection storage circuit 14, internal device reset signals to the arithmetic processing circuits 21 to 23 are set.
137 to 139 can be selectively enabled, and the arithmetic processing circuits 21 to 23 can be selectively initialized.

【0042】よって、再起動時に演算処理回路21〜2
3のうち最低限必要な回路のみを選択的に初期化するこ
とができる。このリセット指示選択記憶回路14への設
定はマイクロプロセッサ2によって行われるので、RO
M5内のプログラムを変更することによって容易に初期
化対象の変更が可能となる。したがって、再起動後の障
害発生原因の解析に必要な回路の初期化を抑止するよう
にすれば、この障害発生原因の解析を容易に行うことが
できる。
Therefore, the arithmetic processing circuits 21 and 2 are restarted.
Of the three, only the minimum required circuit can be selectively initialized. Since the setting in the reset instruction selection storage circuit 14 is performed by the microprocessor 2, RO
By changing the program in M5, the initialization target can be easily changed. Therefore, if the initialization of the circuit necessary for the analysis of the cause of the failure after the restart is suppressed, the analysis of the cause of the failure can be easily performed.

【0043】このように、装置間インタフェース内リセ
ット信号111 が有効となったとき、マイクロプロセッサ
ダウン検出回路4によってマイクロプロセッサ2の動作
不能が検出された場合にのみ装置内リセット信号113 を
有効とすることによって、装置間インタフェース100 に
接続されている複数の演算処理装置のうち、マイクロプ
ロセッサ2が動作不能となっている演算処理装置1のみ
を選択的に再起動することができる。
As described above, when the in-device interface reset signal 111 becomes valid, the in-device reset signal 113 is made valid only when the microprocessor down detection circuit 4 detects that the microprocessor 2 is inoperable. As a result, among the plurality of arithmetic processing units connected to the inter-device interface 100, only the arithmetic processing unit 1 in which the microprocessor 2 is inoperable can be selectively restarted.

【0044】また、マイクロプロセッサ2が装置間イン
タフェース内リセット信号111 によって起動されたこと
がリセット指示記憶回路10に記憶されているとき、マ
イクロプロセッサ2が起動後に実行するプログラム内で
演算処理回路6,7の初期設定を行わないようにするこ
とによって、装置間インタフェース100 に接続されてい
る他の演算処理装置から演算処理回路6,7の状態値を
転送する命令を出力することで、初期化されていない演
算処理回路6,7の状態値を他の演算処理装置に転送す
ることができ、再起動後の障害発生原因の解析を容易に
行うことができる。
When the reset instruction storage circuit 10 stores that the microprocessor 2 has been activated by the inter-device interface reset signal 111, the arithmetic processing circuits 6 and 6 are included in the program executed by the microprocessor 2 after the activation. By not performing the initial setting of 7, it is initialized by outputting an instruction to transfer the state value of the arithmetic processing circuits 6 and 7 from another arithmetic processing device connected to the inter-device interface 100. The state values of the unprocessed arithmetic processing circuits 6 and 7 can be transferred to another arithmetic processing device, and the cause of failure occurrence after restart can be easily analyzed.

【0045】さらに、マイクロプロセッサ2が装置間イ
ンタフェース内リセット信号111 によって起動されたと
き、マイクロプロセッサ2の動作をトレースするアドレ
ストレーサ12のトレース動作を抑止するようにするこ
とによって、装置間インタフェース100 に接続されてい
る他の演算処理装置からアドレストレーサ12の内容を
転送する命令を出力することで、更新されていないアド
レストレーサ12の内容を他の演算処理装置に転送する
ことができ、再起動後の障害発生原因の解析を容易に行
うことができる。
Further, when the microprocessor 2 is activated by the inter-device interface reset signal 111, the trace operation of the address tracer 12 for tracing the operation of the microprocessor 2 is suppressed so that the inter-device interface 100 can be implemented. By outputting an instruction to transfer the contents of the address tracer 12 from another connected arithmetic processing unit, the contents of the address tracer 12 not updated can be transferred to another arithmetic processing unit, and after restarting The cause of failure can be easily analyzed.

【0046】さらにまた、装置間インタフェース内リセ
ット信号111 が有効となったとき、リセット指示選択記
憶回路14に設定された演算処理回路21〜23のみを
起動することによって、再起動時に演算処理回路21〜
23のうち最低限必要な回路のみを選択的に初期化する
ことができ、ROM5内のプログラムを変更することに
よって容易に初期化対象の変更が可能となる。したがっ
て、再起動後の障害発生原因の解析に必要な回路の初期
化を抑止するようにすれば、この障害発生原因の解析を
容易に行うことができる。
Furthermore, when the inter-device interface reset signal 111 becomes valid, only the arithmetic processing circuits 21 to 23 set in the reset instruction selection storage circuit 14 are activated so that the arithmetic processing circuit 21 is restarted. ~
Only the minimum necessary circuit out of 23 can be selectively initialized, and the initialization target can be easily changed by changing the program in the ROM 5. Therefore, if the initialization of the circuit necessary for the analysis of the cause of the failure after the restart is suppressed, the analysis of the cause of the failure can be easily performed.

【0047】[0047]

【発明の効果】以上説明したように本発明の演算処理装
置によれば、マイクロプロセッサにおいて障害の発生が
検出されたときにのみ外部からのリセット信号に応答し
て起動するようにすることによって、マイクロプロセッ
サが動作不能となっている装置のみを選択的に再起動す
ることができるという効果がある。
As described above, according to the arithmetic processing unit of the present invention, the microprocessor is activated in response to a reset signal from the outside only when a failure is detected in the microprocessor. The effect is that only the device in which the microprocessor is inoperable can be selectively restarted.

【0048】また、本発明の他の演算処理装置によれ
ば、マイクロプロセッサが装置のリセット操作および外
部からのリセット信号のうちどちらによって起動された
かを記憶しておき、その記憶内容に応じて装置内の各回
路の初期化を実行するようにすることによって、再起動
後に障害発生原因の解析を容易に行うことができるとい
う効果がある。
Further, according to another arithmetic processing apparatus of the present invention, it is stored which one of the reset operation of the apparatus and the reset signal from the outside has activated the microprocessor, and the apparatus is responsive to the stored contents. By executing the initialization of each circuit inside, there is an effect that the cause of failure occurrence can be easily analyzed after the restart.

【0049】さらに、本発明の別の演算処理装置によれ
ば、マイクロプロセッサが外部からのリセット信号によ
って起動されたときにマイクロプロセッサに対するトレ
ース動作を抑止するようにすることによって、再起動後
に障害発生原因の解析を容易に行うことができるという
効果がある。
Further, according to another arithmetic processing unit of the present invention, when the microprocessor is started by a reset signal from the outside, the trace operation to the microprocessor is suppressed, so that the failure occurs after the restart. There is an effect that the cause can be easily analyzed.

【0050】さらにまた、本発明のさらに別の演算処理
装置によれば、外部からのリセット信号が有効となった
ときに予め指定された回路のみを起動するようにするこ
とによって、再起動時に最低限必要な回路のみを選択的
に初期化することができ、プログラムの変更によって容
易に初期化対象の変更が可能となるので、再起動後の障
害発生原因の解析を容易に行うことができるという効果
がある。
Further, according to still another arithmetic processing unit of the present invention, by activating only the circuit designated in advance when the reset signal from the outside becomes effective, the minimum time is required for restarting. Only necessary circuits can be selectively initialized, and it is possible to easily change the initialization target by changing the program, so it is possible to easily analyze the cause of failure after restart. effective.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1のマイクロプロセッサダウン検出回路の構
成を示す図である。
FIG. 2 is a diagram showing a configuration of a microprocessor down detection circuit of FIG.

【図3】本発明の他の実施例の構成を示すブロック図で
ある。
FIG. 3 is a block diagram showing the configuration of another embodiment of the present invention.

【図4】本発明の別の実施例の構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing the configuration of another embodiment of the present invention.

【図5】本発明のさらに別の実施例の構成を示すブロッ
ク図である。
FIG. 5 is a block diagram showing the configuration of still another embodiment of the present invention.

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

1,9,11,13 演算処理装置 2 マイクロプロセッサ 4 マイクロプロセッサダウン検出回路 5 ROM 6,7,21〜23 演算処理回路 8,18〜20 オア回路 10 リセット指示記憶回路 12 アドレストレーサ 14 リセット指示選択記憶回路 15〜17,43 アンド回路 41 プロセッサダウン検出用タイマ 42 プロセッサダウン検出用フリップフロップ 1, 9, 11, 13 Arithmetic processing device 2 Microprocessor 4 Microprocessor down detection circuit 5 ROM 6,7,21-23 Arithmetic processing circuit 8,18-20 OR circuit 10 Reset instruction storage circuit 12 Address tracer 14 Reset instruction selection Storage circuit 15 to 17,43 AND circuit 41 Processor down detection timer 42 Processor down detection flip-flop

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/78 510 P 7530−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G06F 15/78 510 P 7530-5L

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 装置のリセット操作および外部からのリ
セット信号に応答して起動されるマイクロプロセッサを
有する演算処理装置であって、前記マイクロプロセッサ
における障害の発生を検出する検出手段と、前記検出手
段の検出結果に応じて前記リセット信号の有効無効を決
定する手段とを設けたことを特徴とする演算処理装置。
1. An arithmetic processing device having a microprocessor which is activated in response to a reset operation of the device and a reset signal from the outside, the detecting device detecting an occurrence of a fault in the microprocessor, and the detecting device. And a means for determining validity / invalidity of the reset signal according to the detection result of 1.
【請求項2】 前記マイクロプロセッサが前記リセット
操作および前記リセット信号のうちどちらによって起動
されたかを記憶する記憶手段と、前記記憶手段の記憶内
容に応じて装置内の各回路の初期化を実行する手段とを
有することを特徴とする請求項1記載の演算処理装置。
2. A storage unit that stores which of the reset operation and the reset signal the microprocessor has activated, and initialization of each circuit in the device according to the stored contents of the storage unit. The arithmetic processing unit according to claim 1, further comprising:
【請求項3】 前記マイクロプロセッサの動作をトレー
スするトレース手段と、前記マイクロプロセッサが前記
リセット信号によって起動されたときに前記トレース手
段のトレース動作を抑止する手段とを有することを特徴
とする請求項1または請求項2記載の演算処理装置。
3. A trace means for tracing the operation of the microprocessor, and a means for suppressing the trace operation of the trace means when the microprocessor is activated by the reset signal. The arithmetic processing unit according to claim 1 or claim 2.
【請求項4】 前記リセット信号が有効となったときに
予め指定された回路のみを起動する手段を有することを
特徴とする請求項1または請求項2あるいは請求項3記
載の演算処理装置。
4. The arithmetic processing device according to claim 1, further comprising means for activating only a predesignated circuit when the reset signal becomes valid.
JP3332455A 1991-11-21 1991-11-21 Arithmetic processing unit Expired - Fee Related JP2729121B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3332455A JP2729121B2 (en) 1991-11-21 1991-11-21 Arithmetic processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3332455A JP2729121B2 (en) 1991-11-21 1991-11-21 Arithmetic processing unit

Publications (2)

Publication Number Publication Date
JPH05143197A true JPH05143197A (en) 1993-06-11
JP2729121B2 JP2729121B2 (en) 1998-03-18

Family

ID=18255171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3332455A Expired - Fee Related JP2729121B2 (en) 1991-11-21 1991-11-21 Arithmetic processing unit

Country Status (1)

Country Link
JP (1) JP2729121B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003862A (en) * 2007-06-25 2009-01-08 Hitachi Industrial Equipment Systems Co Ltd A plurality of component systems
JP2010140361A (en) * 2008-12-12 2010-06-24 Fujitsu Microelectronics Ltd Computer system and abnormality detection circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003862A (en) * 2007-06-25 2009-01-08 Hitachi Industrial Equipment Systems Co Ltd A plurality of component systems
JP2010140361A (en) * 2008-12-12 2010-06-24 Fujitsu Microelectronics Ltd Computer system and abnormality detection circuit
US8700835B2 (en) 2008-12-12 2014-04-15 Fujitsu Semiconductor Limited Computer system and abnormality detection circuit

Also Published As

Publication number Publication date
JP2729121B2 (en) 1998-03-18

Similar Documents

Publication Publication Date Title
US4839895A (en) Early failure detection system for multiprocessor system
JP3202700B2 (en) Signal processing device
EP0530816A2 (en) Microprocessor with cache memory and trace analyzer therefor
CA2530246A1 (en) Context save method, information processor and interrupt generator
JP2729121B2 (en) Arithmetic processing unit
JPH08171504A (en) Emulation device
JP3344432B2 (en) Information processing device
US6813730B2 (en) Method, computer program product, and system for detecting a peripheral device in a computer system
JP2998439B2 (en) Line controller
JP4644461B2 (en) System LSI
JP2695775B2 (en) How to recover from computer system malfunction
JPH11312102A (en) Reset system for information processor
JP3062124B2 (en) Microprocessor development support equipment
JPH07319724A (en) Emulation cpu
JP3341738B2 (en) Memory error detection method
JPH04346112A (en) Method and device for reset signal identification
JP2007157060A (en) Multiprocessor system, initiating method and program
KR920004966A (en) Emulation microcomputer
JPH0695926A (en) Information processor having fault address storing function and fault address storing method of information processor
JPH11154120A (en) Bus error processor
JPH011041A (en) Early failure detection method
JPH1139213A (en) Microcomputer
JP2000259453A (en) Debugging method
JP2000132536A (en) Computer
JPS59221900A (en) Memory check device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees