JPH01211138A - Resetting circuit for supervising circuit of computer system - Google Patents

Resetting circuit for supervising circuit of computer system

Info

Publication number
JPH01211138A
JPH01211138A JP63035392A JP3539288A JPH01211138A JP H01211138 A JPH01211138 A JP H01211138A JP 63035392 A JP63035392 A JP 63035392A JP 3539288 A JP3539288 A JP 3539288A JP H01211138 A JPH01211138 A JP H01211138A
Authority
JP
Japan
Prior art keywords
circuit
microprogram
memory
output
reset
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
JP63035392A
Other languages
Japanese (ja)
Inventor
Yuji Shibata
柴田 雄司
Yozo Igi
井木 洋三
Tsuratoshi Nakano
連利 中野
Kazuo Nagabori
和雄 長堀
Hisamitsu Tanihira
久光 谷平
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63035392A priority Critical patent/JPH01211138A/en
Publication of JPH01211138A publication Critical patent/JPH01211138A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To confirm the travelling normality of a microprogram on a main storage in a computer system by periodically resetting in the manner of software a watch dog timer in a watch dog system supervising circuit at the period shorter than a time-out and preventing the time-out of the dog timer. CONSTITUTION:During the on-line action, a microprogram muPROG as control data is outputted and impressed to a control memory instruction register 42 and a parity checking circuit 51. At the time of the parity error, an error is outputted from the circuit 51, this is checked with an FF52, the output from here is given to a delay circuit 53 and the watch dog timer of a supervising circuit 6 is resetted through an OR gate 56. The output of the FF 52 is given to a differentiating circuit 54a composed of a circuit 54 and an AND gate 55 and a differentiating signal S55 is outputted. Thereafter, the output is inputted to a selector 34, the output from here is selected by a selector 35, an initial address and a micro-address muADDE are outputted from counters 32 and 36 and a system is supervised.

Description

【発明の詳細な説明】 〔概 要〕 計算機システムのウオッチドツク式監視回路のリセット
回路に関し、 外部メモリから内部メモリへのプログラム転送時監視回
路のウオッチドックタイマを実質的に作動させないよう
にすることを目的とし、ウオッチドツク式監視回路、マ
イクロプログラムメモリ、該マイクロプログラムメモリ
に転送すべきマイクロプログラムを記憶した外部メモリ
を有し、起動時又はマイクロプログラムメモリの不良を
検出する故障検出回路による再起動時に外部メモリから
マイクロプログラムメモリにマイクロプログラムを転送
させるように構成した計算機システムにおいて、前記故
障検出回路による再起動時における前記外部メモリから
マイクロプログラムメモリへのマイクロプログラム転送
期間中、前記ウオッチドツク式監視回路のウォッチドノ
クタイマをリセットさせるように構成する。
[Detailed Description of the Invention] [Summary] Regarding a reset circuit of a watchdog type monitoring circuit of a computer system, to substantially prevent the watchdog timer of the monitoring circuit from operating when a program is transferred from an external memory to an internal memory. It has a watchdog type monitoring circuit, a microprogram memory, and an external memory that stores the microprogram to be transferred to the microprogram memory, and is restarted at startup or by a failure detection circuit that detects a defect in the microprogram memory. In a computer system configured to occasionally transfer a microprogram from an external memory to a microprogram memory, the watchdog type monitoring is performed during a period of microprogram transfer from the external memory to the microprogram memory by the failure detection circuit at the time of restart. Configure the circuit to reset the watchdog timer.

〔産業上の利用分野〕[Industrial application field]

本発明は、起動時又は再起動時に外部メモリからマイク
ロプログラムメモリにマイクロプログラムを転送した後
主記憶上のプログラムにより所定の演算を行なわせるよ
うに構成された計算機システムに関するものであり、特
に、かかるマイクロプログラム転送期間ウオッチドツク
式監視回路のウオッチドックタイマを実質的に作動させ
ないようにした計算機システムのウォ・フチドック式監
視回路用リセット回路に関する。
The present invention relates to a computer system configured to transfer a microprogram from an external memory to a microprogram memory at startup or restart, and then cause a program in main memory to perform a predetermined operation, and particularly relates to such a computer system. The present invention relates to a reset circuit for a watchdog type monitoring circuit of a computer system which substantially prevents the operation of a watchdog timer of the watchdog type monitoring circuit during a microprogram transfer period.

ウオッチドツク式監視回路は、計算機システム内の主記
憶上のマイクロプログラムの走行の正常性を確認するた
めに用いられている。すなわち、つオソチドソク式監視
回路内のウオッチドックタイマを、ウオッチドックタイ
マの時間切れ、例えば100m5ecより短かい周期で
ソフトウェア的に周期的にリセットすることにより、ウ
オッチドックタイマの時間切れを防止する。若し、周期
的にウオッチドックタイマをリセットできないような何
らかの障害、例えばプログラムストールが発生した場合
、ウオッチドックタイマが時間切れとなり、割込を発生
し、プログラム走行の異常を通知する。
A watchdog type monitoring circuit is used to check the normality of running microprograms on the main memory in a computer system. That is, the watchdog timer in the automatic monitoring circuit is periodically reset by software at a cycle shorter than the expiration of the watchdog timer, for example, 100 m5ec, thereby preventing the watchdog timer from expiring. If some kind of failure occurs that prevents the watchdog timer from being reset periodically, such as a program stall, the watchdog timer expires, generates an interrupt, and reports an abnormality in program execution.

一方、自動交換機等に用いられている計算機システムに
は、オンライン処理に用いる高速揮発性のマイクロプロ
グラムメモリの外に、マイクロプログラムメモリで動作
させるマイクロプログラム、又はマイクロプログラムを
記憶させたEPROM 。
On the other hand, in addition to the high-speed volatile microprogram memory used for online processing, computer systems used in automatic switchboards and the like use microprograms operated by microprogram memory, or EPROMs in which microprograms are stored.

PROM等のROMを用いた外部メモリが設けられてい
る。外部メモリを用いる理由としては種々考えられてい
るがそのいくつかを下記に述べる。第1の理由としては
、電源断又はシステム障害発生時マイクロプログラムメ
モリのマイクロプログラムが破壊された場合、外部メモ
リのマイクロプログラムを再ロードし、システムを復旧
させるためである。次の理由としては、自動交換機シス
テムの処理内容の変更が生じたような場合、予め他の計
算機システムで変更処理内容についてデバッグを行ない
ROM化したものを交換する。また同一のハード構成で
異なる命令仕様の構成をとることが可能となり、使用上
の柔軟性が向上する。例えば同じハード構成でも、電話
交換機又はバケット交換機のいずれにも使用可能となる
An external memory using ROM such as PROM is provided. There are various reasons for using external memory, some of which are described below. The first reason is that if the microprogram in the microprogram memory is destroyed when the power is cut off or a system failure occurs, the microprogram in the external memory is reloaded to restore the system. The second reason is that when a change occurs in the processing content of the automatic exchange system, the changed processing content is debugged in advance on another computer system and the ROM is replaced. Furthermore, it is possible to configure the same hardware configuration with different instruction specifications, improving flexibility in use. For example, the same hardware configuration can be used as either a telephone exchange or a bucket exchange.

〔従来の技術〕[Conventional technology]

第8図に従来の計算機システムの監視回路用リセット回
路を示す。
FIG. 8 shows a reset circuit for a monitoring circuit of a conventional computer system.

第8図の回路の動作を簡単に述べる。The operation of the circuit shown in FIG. 8 will be briefly described.

初期起動時、ロード回路3内のカウンタ32 、36が
クリアされ、セレクタ34がカウンタ32の出力を選択
出力し、セレクタ35がセレクタ34の出力を選択出力
するように形成される。従って、マイクロプログラムメ
モリとしての制御メモリ1aにはカウンタ32のカウン
ト値がマイクロアドレスμADDCが印加される。一方
、外部メモリとしての外部ROM 2aにはカウンタ3
6からマイクロアドレスμADD□が印加される。これ
により、外部ROM 2aからμADDEのマイクロプ
ログラムデータμDATAが制御メモリ1aに出力され
る。制御メモリ1aにはNANDゲート37からライト
イネーブル信号WEが印加され、外部ROM 2aから
のμDATAを上記μADDCのアドレスにストアする
At initial startup, the counters 32 and 36 in the load circuit 3 are cleared, the selector 34 selectively outputs the output of the counter 32, and the selector 35 selectively outputs the output of the selector 34. Therefore, the count value of the counter 32 and the microaddress μADDC are applied to the control memory 1a as a microprogram memory. On the other hand, the external ROM 2a as an external memory has a counter 3.
Micro address μADD□ is applied from 6 onwards. As a result, the microprogram data μDATA of μADDE is output from the external ROM 2a to the control memory 1a. A write enable signal WE is applied from the NAND gate 37 to the control memory 1a, and μDATA from the external ROM 2a is stored at the address of μADDC.

以下、クロックCLKが更新される毎に、マイクロアド
レスμADDC、μADDEが更新され、外部  5R
OM 2a内のマイクロプログラムの全てが制御メモリ
1aに転送されるまで、継続する。
Thereafter, each time the clock CLK is updated, the micro addresses μADDC and μADDE are updated, and the external 5R
Continue until all of the microprograms in OM 2a have been transferred to control memory 1a.

プログラム転送終了後、セレクタ34はベクトルアドレ
ス発生回路33側に切替えられ、そのアドレスA0から
スタートする。その後、セレクタ35は、デコーダ部4
内の制御メモリ命令レジスタ(CMIR)  42の出
力側に切替えられる。これによりオンライン処理に入る
After the program transfer is completed, the selector 34 is switched to the vector address generation circuit 33 side, and the process starts from address A0. After that, the selector 35 selects the decoder section 4
The control memory instruction register (CMIR) 42 in the control memory instruction register (CMIR) 42 is switched to the output side. This will start the online process.

オンライン処理中は、制御メモリlaから読出され、C
MII?42を介してデコーダ41に印加されたウオッ
チドックタイマリセット命令が、デコーダ41を介して
クリア信号CLROとしてウオッチドックタイマ内蔵の
監視回路6に出力され、ウオッチドックタイマをリセッ
トする。ウオッチドックタイマリセット操作指令は、ウ
ォノチドソクタイマのタイマ切れ時間より短い周期でく
り返すように予め主記憶上にプログラムされた命令によ
り出力されるように予めプログラムされている。
During online processing, the C
MII? A watchdog timer reset command applied to the decoder 41 via the decoder 42 is outputted as a clear signal CLRO to the watchdog timer built-in monitoring circuit 6 via the decoder 41 to reset the watchdog timer. The watchdog timer reset operation command is programmed in advance to be output according to a command programmed in the main memory so as to be repeated at a cycle shorter than the timer expiration time of the watchdog timer.

オンライン動作中、制御メモリ1aにパリティエラーが
発生した場合、故障検出回路5′内のパリティチエツク
回路51がそれを検出する。パリティエラー検出はJ−
にフリップフロップ52に記憶され、デイレ−回路54
とANDゲート55とから成る微分回路54aからの出
力によりカウンタ32と36をリセットする。更にクロ
ックCLKIパルス分遅延する1τデイレ−回路53の
出力がセレクタ35に印加されセレクタ34の出力を選
択し、NANDゲート37をイネーブルにし、ANDゲ
ート31をイネーブルにする。これにより、パリティエ
ラー検出後、上述した初期起動時と同様に、外部ROM
 2aから制御メモリ1aヘマイクロプログラムの自動
再転送が行なわれる。
If a parity error occurs in the control memory 1a during online operation, the parity check circuit 51 in the failure detection circuit 5' detects it. Parity error detection is J-
is stored in the flip-flop 52, and the delay circuit 54
The counters 32 and 36 are reset by the output from the differentiating circuit 54a consisting of the AND gate 55. The output of the 1τ delay circuit 53, which is further delayed by the clock CLKI pulse, is applied to the selector 35, selects the output of the selector 34, enables the NAND gate 37, and enables the AND gate 31. As a result, after a parity error is detected, the external ROM is
The microprogram is automatically retransferred from control memory 2a to control memory 1a.

自動転送終了後は再びオンライン処理動作に移行する。After the automatic transfer ends, the process shifts to online processing again.

マイクロプログラムの自動再転送としては、パリティエ
ラーが発生したアドレスのみ行うことが考えられる。し
かしながらそのアドレスのみの再転送は制御回路が複雑
になること、1箇所パリテイエラーの発生が検出された
場合、他の複数のアドレスについてもパリティエラーが
発生していることが多いこと、更に以上の例ではパリテ
ィエラー検出時自動再転送させる場合について例示した
が他の障害で自動再転送させることがあること等から、
外部ROMの全マイクロプログラムを一率に制御メモリ
に転送するようにしている。
As for automatic retransfer of the microprogram, it is conceivable to perform automatic retransfer of only the address where a parity error has occurred. However, retransferring only that address requires a complicated control circuit, and if a parity error is detected at one location, parity errors are likely to occur at multiple other addresses as well. In the example above, automatic retransmission is performed when a parity error is detected, but automatic retransmission may be performed due to other failures.
All microprograms in the external ROM are transferred to the control memory at once.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

監視回路6内のウオッチドックタイマは、電源投入時に
全回路がハードウェア的にインシャライズされる時にハ
ードウェア的にリセットされる外は、デコーダ41を介
したクリア信号CLRO1すなわち、ソフトウェア的に
リセットされるのみである。これは、ウオッチドックタ
イマが、本来的にソフトウェア走行の正常性をチエツク
するためのものだからである。
The watchdog timer in the monitoring circuit 6 is reset by the clear signal CLRO1 via the decoder 41, that is, by software, except that it is reset by hardware when all the circuits are initialized by hardware when the power is turned on. only. This is because the watchdog timer is originally used to check the normality of software running.

従って、上記マイクロプログラム再転送時もウオッチド
ックタイマは動作している。ところがマイクロプログラ
ム再転送時はいかなるマイクロプログラム命令もデコー
ダ41によりデコードされないようになるから、マイク
ロプログラム再転送時にウオッチドックタイマがタイマ
切れを起してしまうことがある。
Therefore, the watchdog timer continues to operate even when the microprogram is retransferred. However, since no microprogram instructions are decoded by the decoder 41 when the microprogram is retransferred, the watchdog timer may run out when the microprogram is retransferred.

ウオッチドックタイマがタイマ切れを起すと、割込を発
生し、障害復旧処理に移行する。しかしながら、障害復
旧処理完了後、通常ルーチンに移行したとしてもマイク
ロプログラムは完全に再転送されておらず再び障害とし
て検出される可能性が高い。また、障害復旧処理ルーチ
ンが破壊され再ロードされない状態で障害復旧処理に移
行された場合も同様に障害となる。
When the watchdog timer expires, an interrupt is generated and the process shifts to failure recovery processing. However, even if the normal routine is resumed after the failure recovery process is completed, the microprogram is not completely retransferred and there is a high possibility that it will be detected as a failure again. Further, if the failure recovery processing routine is destroyed and is not reloaded before proceeding to the failure recovery processing, it will similarly become a failure.

このような場合、ハードウェア的に復旧する手段がない
ので、計算機システムはスタック状態となる。
In such a case, there is no hardware recovery means, so the computer system becomes stuck.

従って、障害発生後のプログラム再転送時には、ハード
ウェア的に、ウオッチドックタイマを実質的に動作させ
ないようにし、上述の問題が発生しないようにすること
が要望されている。
Therefore, when retransferring a program after a failure occurs, it is desired that the watchdog timer be substantially not operated in terms of hardware to prevent the above-mentioned problem from occurring.

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

本発明の計算機システムのウオッチドックタイマ式監視
回路用リセット回路の原理ブロック図を第1図に示す。
FIG. 1 shows a principle block diagram of a reset circuit for a watchdog timer type monitoring circuit of a computer system according to the present invention.

計算機システムは、オンライン処理用のマイクロプログ
ラムメモリl、デコーダ部4.ウォッチドック式監視回
路6、マイクロプログラムメモリ又は他の計算機の回路
、例えば演算制御部の故障を検出する故障検出・リセッ
ト回路5を有する。
The computer system includes a microprogram memory l for online processing, a decoder unit 4. It has a watchdog type monitoring circuit 6 and a failure detection/reset circuit 5 for detecting a failure in a microprogram memory or other computer circuit, for example, an arithmetic control unit.

更に計算機システムは、初期起動時又は再起動時、マイ
クロプログラムメモリ1にマイクロプログラムを転送す
べきマイクロプログラムを記憶した外部メモリ2、およ
び、初期起動時又は再起動時、外部メモリ2のマイクロ
プログラムをマイクロプログラムメモリ1に転送する制
御を行うロード回路3を有する。
Furthermore, the computer system transfers the microprogram to the external memory 2 which stores the microprogram to be transferred to the microprogram memory 1 at the time of initial startup or restart, and transfers the microprogram in the external memory 2 at the time of initial startup or restart. It has a load circuit 3 that controls data transfer to the microprogram memory 1.

監視回路6のウオッチドックタイマはデコーダ部4から
のクリア信号CLROによってソフトウェア的にリセッ
トされる外、故障検出・リセット回路5からのクリア信
号CLRIによってハードウェア的にリセットされるよ
うに構成されている。
The watchdog timer of the monitoring circuit 6 is configured not only to be reset by software by the clear signal CLRO from the decoder section 4 but also by hardware to be reset by the clear signal CLRI from the fault detection/reset circuit 5. .

〔作 用〕[For production]

故障検出・リセット回路5が故障を検出しプログラムの
再転送を開始させる時、クリア信号CLRIを出力し監
視回路6のウオッチドックタイマを制御的にリセットす
る。これにより、ウオッチドックタイマが時間切れ寸前
になっていたとしても、次の時間切れまで一定時間、ウ
オッチドックタイマは時間切れとはならない。
When the failure detection/reset circuit 5 detects a failure and starts retransfer of the program, it outputs a clear signal CLRI and resets the watchdog timer of the monitoring circuit 6 in a controlled manner. As a result, even if the watchdog timer is about to expire, the watchdog timer will not expire for a certain period of time until the next timeout.

また、プログラム再転送時間が本来ウオッチドックタイ
マの時間より長くかかる場合、故障検出・リセット回路
5はウオッチドックタイマを本来より長くしてマイクロ
プログラム転送が完了する時間まで延ばす。
Further, if the program retransfer time takes longer than the original watchdog timer time, the failure detection/reset circuit 5 makes the watchdog timer longer than the original time until the microprogram transfer is completed.

以上により、プログラム再転送期間中は、ウオッチドッ
クタイマはタイマ切れとはならない。
As a result of the above, the watchdog timer does not expire during the program retransfer period.

〔実施例〕〔Example〕

本発明の第1実施例を第2図を参照して述べる。 A first embodiment of the present invention will be described with reference to FIG.

第2図は第8図の従来の監視回路用リセット回路に対応
させた実施例を示し、外部メモリ2としての外部ROM
 2aに記憶されたマイクロプログラムコードをマイク
ロプログラムデータμDATAとして、マイクロプログ
ラムメモリ1としてのtlJ?卸メモリ1aに初期起動
時又は再起動時、転送させるようにしたものである。I
li卸メセメモリ1aタティックRAM、外部ROM 
2aは交換可能なFROMで構成されている。ロード回
路3、デコーダ部4、およびウオッチドツク式監視回路
6そのものは、従来と同様である。
FIG. 2 shows an embodiment corresponding to the conventional reset circuit for a monitoring circuit shown in FIG.
The microprogram code stored in 2a is used as microprogram data μDATA, and tlJ? as microprogram memory 1 is used. The data is transferred to the wholesale memory 1a at the time of initial startup or restart. I
li wholesale mememory 1a static RAM, external ROM
2a is composed of a replaceable FROM. The load circuit 3, decoder section 4, and watchdog type monitoring circuit 6 themselves are the same as conventional ones.

第2図において、故障検出・リセット回路5aは、制御
メモリ1aのパリティエラーを検出するパリティチエツ
ク回路51、JKフリップフロップ52.1クロック周
朋(lτ)デイレ−回路53、デイレ−回路54および
ANDゲート55から成る微分回路54aを有する。こ
の回路構成自体は第8図に図示のものと同様である。但
し、第2図においては、フリップフロップ52のQ出力
からクリア信号CLRIを取り出し、更に、このクリア
信号CLRIとデコーダ41からのソフト的なりリア信
号CLROとをORLウオッチドックタイマをリセット
するORゲート56が設けられている。
In FIG. 2, the failure detection/reset circuit 5a includes a parity check circuit 51 for detecting a parity error in the control memory 1a, a JK flip-flop 52.1 clock frequency (lτ) delay circuit 53, a delay circuit 54, and an AND It has a differentiating circuit 54a consisting of a gate 55. This circuit configuration itself is similar to that shown in FIG. However, in FIG. 2, an OR gate 56 extracts a clear signal CLRI from the Q output of the flip-flop 52, and further combines this clear signal CLRI and a software rear signal CLRO from the decoder 41 to reset the ORL watchdog timer. is provided.

第2図の再起動動作を第3図(a)〜(n)を参照して
述べる。
The restart operation in FIG. 2 will be described with reference to FIGS. 3(a) to (n).

オンライン動作中、時間t1において、制御メモリ1a
からデータとしてマイクロプログラムμPROGが出力
される(第3図(b))。このμPROGが制御メモリ
命令レジスタ(CMIR)  42とパリティチエツク
回路51に印加される。若しパリティエラーがあれば、
パリティチエツク回路51はエラー出力を行う(第3図
(d))。次の時間L2において、フリップフロップ5
2がクロックCLK (第3図(a))の印加に応答し
、パリティチエツクエラー状態をラッチする(第3図(
e))。フリップフロップ53のQ出力が1τデイレ−
回路53に出力され、次の時間t3において、デイレ−
回路53の出力S53がオンとなる(第3図(f))。
During online operation, at time t1, control memory 1a
The microprogram μPROG is output as data (FIG. 3(b)). This μPROG is applied to a control memory instruction register (CMIR) 42 and a parity check circuit 51. If there is a parity error,
The parity check circuit 51 outputs an error output (FIG. 3(d)). At the next time L2, flip-flop 5
2 responds to the application of the clock CLK (FIG. 3(a)) and latches the parity check error state (FIG. 3(a)).
e)). The Q output of flip-flop 53 has a 1τ delay.
It is output to the circuit 53, and at the next time t3, the delay
The output S53 of the circuit 53 is turned on (FIG. 3(f)).

フリップフロップ53のQ出力は時間t2においてクリ
ア信号CLRIとしてORゲート56を介して監視回路
6のウオッチドックタイマをリセットする。これにより
ウオッチドックタイマは一定時間タイマ切れとならない
。また、フリップフロップ52のQ出力がデイレ−回路
54とANDゲート55から成る微分回路54aに印加
されることにより、微分信号S55が出力される(第3
図(g))。
The Q output of the flip-flop 53 resets the watchdog timer of the monitoring circuit 6 via the OR gate 56 as a clear signal CLRI at time t2. As a result, the watchdog timer does not run out for a certain period of time. Further, by applying the Q output of the flip-flop 52 to a differentiating circuit 54a consisting of a delay circuit 54 and an AND gate 55, a differentiated signal S55 is output (third
Figure (g)).

微分信号S55により、時間t2において、カウンタ3
2 、36がクリアされる。カウンタ36の出力S36
によりセレクタ34がカウンタ32の出力を選択し、N
ANDゲート37をイネーブルにする。次の時間t3で
1τデイレ−信号S53がNANDゲート37をイネー
ブルにし、セレクタ35をセレクタ34からの出力を選
択するようにする。クロックCLKが立上ると、AND
ゲート31からカウンタ歩道パルスS31が出力され、
カウンタ32 、36からの初期アドレスaがマイクロ
アドレスμADDいμADDEとして制御メモリ1aお
よび外部メモリ2aに印加される(第3図(i))。こ
れにより、外部メモリ2aのアドレスaのマイクロプロ
グラムデータμDATAが出力され、制御メモリ1aに
入力される(第3図(j))。クロックCLKの立下り
で、ライトイネーブル信号WEが立上り、外部メモリ2
aからのマイクロプログラムデータμDATAが制御メ
モリ1aのアドレスaにストアされる。
Due to the differential signal S55, at time t2, the counter 3
2 and 36 are cleared. Output S36 of counter 36
, the selector 34 selects the output of the counter 32, and N
Enable AND gate 37. At the next time t3, the 1τ delay signal S53 enables the NAND gate 37, causing the selector 35 to select the output from the selector 34. When clock CLK rises, AND
A counter sidewalk pulse S31 is output from the gate 31,
The initial address a from the counters 32 and 36 is applied to the control memory 1a and the external memory 2a as micro addresses μADD and μADDE (FIG. 3(i)). As a result, the microprogram data μDATA at address a of the external memory 2a is outputted and inputted to the control memory 1a (FIG. 3(j)). When the clock CLK falls, the write enable signal WE rises, and the external memory 2
Microprogram data μDATA from a is stored at address a of control memory 1a.

以下、クロックCLKに応答し、順次、外部メモリ2a
から制御メモリlaに連続してマイクロプログラムデー
タμDATAの転送が行なわれる。この期間中、CMI
R62からのアドレスμADDは制御メモリlaには印
加されない(第3図(m))。
Thereafter, in response to the clock CLK, the external memory 2a is
The microprogram data μDATA is continuously transferred from the control memory la to the control memory la. During this period, CMI
Address μADD from R62 is not applied to control memory la (FIG. 3(m)).

アドレスa −bまでのマイクロプログラムデータの転
送が終了すると、カウンタ36がオーバーフローし、そ
の出力S36により、NANOゲート37がディスエー
ブルにされ、フリップフロップ52がリセットされ、更
にセレクタ34がカウンタ32の出力からベクトルアド
レス発生回路33の出力を選択するように切りかえられ
る。
When the transfer of the microprogram data to addresses a-b is completed, the counter 36 overflows and its output S36 disables the NANO gate 37, resets the flip-flop 52, and selector 34 outputs the counter 32. The output of the vector address generation circuit 33 is selected from the output of the vector address generation circuit 33.

この時点で、第4図に図示の如く、制御メモリ1aには
外部メモリ2aから全プログラムが再ロードされ、アド
レスA0にマイクロプログラムスタート処理命令、アド
レスAIから制御メモリ(CM)パリティエラー処理マ
イクロプログラムがロードされているとする。
At this point, as shown in FIG. 4, all programs are reloaded into the control memory 1a from the external memory 2a, a microprogram start processing command is placed at address A0, and a parity error processing microprogram is sent from address AI to the control memory (CM). Suppose that is loaded.

この場合、ベクトルアドレス発生回路33はアドレスA
0を出力する。これにより、転送完了後、アドレスA0
のマイクロプログラムが制御メモリ1aから出力され、
それについてデ°コーダ41を介して処理が行なわれる
。その後、アドレスA1にジャンプする。
In this case, the vector address generation circuit 33
Outputs 0. As a result, after the transfer is completed, address A0
The microprogram is output from the control memory 1a,
This is processed via the decoder 41. After that, it jumps to address A1.

時間も7.1においてlτデイレ−回路53の出力がオ
フになるので(第3図(f))。セレクタ35はCMI
R42からのアドレスを選択するようになる。
At time 7.1, the output of the lτ delay circuit 53 turns off (FIG. 3(f)). Selector 35 is CMI
The address from R42 will be selected.

従って、通常の処理としてアドレスA1以降のCMパリ
ティエラー処理が行なわれ(第4図)、その後、通常の
オンライン処理に移行する。
Therefore, CM parity error processing for addresses A1 and subsequent addresses is performed as normal processing (FIG. 4), and then normal online processing begins.

本発明の第2実施例のリセット回路を第5図に示す。A reset circuit according to a second embodiment of the present invention is shown in FIG.

第5図のリセ・ノド回路は、微分回路54aの微分信号
S55でウオッチドックタイマをリセットさせるように
したものである。また、第7図に図示の如く、アドレス
Al−1、すなわちCMパリティエラー処理の前に、ウ
オッチドックタイマをクリアする命令を外部ROM 2
aおよび制御メモリ1aに含ませるようにしたものであ
る。
The reset/node circuit shown in FIG. 5 is configured to reset the watchdog timer using the differential signal S55 of the differential circuit 54a. Further, as shown in FIG. 7, before address Al-1, that is, CM parity error processing, an instruction to clear the watchdog timer is stored in the external ROM 2.
a and control memory 1a.

従って、第6図(a)〜(n)に図示の如く、時間t2
において微分信号S53と同じクリア信号CLRIによ
りウオッチドックタイマがリセットされる外、転送終了
後、時間t。+lにおいてソフトウェア的クリア信号C
LROによりウオッチドックタイマがリセットされる。
Therefore, as shown in FIGS. 6(a) to (n), time t2
At time t, the watchdog timer is reset by the clear signal CLRI, which is the same as the differential signal S53. +l software clear signal C
The watchdog timer is reset by LRO.

第1実施例は、マイクロプログラム転送開始時のみウオ
ッチドックタイマをリセットさせるようにしている。こ
の場合、転送終了後ウオッチドックタイマがタイマ切れ
寸前になっており、通常のプログラムのウオッチドック
タイマリセット処理が行なわれる前にタイマ切れが生じ
4場合が考えられる(特に転送量が多くなった場合には
)。第2実施例は、かかる問題を解決すべ(、転送終了
後、さらにウオッチドックタイマをソフト的にリセット
させるようにしたものである。
In the first embodiment, the watchdog timer is reset only at the start of microprogram transfer. In this case, the watchdog timer is about to run out after the transfer ends, and the timer runs out before the normal program's watchdog timer reset process is performed (especially when the amount of transfer is large). for). The second embodiment solves this problem by resetting the watchdog timer by software after the transfer is completed.

尚、いずれの場合において、マイクロプログラムの転送
時間がウオッチドックタイマのタイマより長くかかる場
合においては、ウオッチドックタイマのタイマより短か
い周期で、微分回路54aの後段に単安定マルチパイプ
レークを付加するなどして、周期的にクリア信号CLR
Iを出力し、転送中はウオッチドックタイマがタイマ切
れにならないようにすることができる。
In any case, if the microprogram transfer time is longer than the watchdog timer, a monostable multipipe rake is added to the rear stage of the differentiating circuit 54a with a cycle shorter than the watchdog timer. etc., and periodically clear the clear signal CLR.
I can be output to prevent the watchdog timer from running out during the transfer.

以上、パリティエラーを検出して再転送する場合につい
て例示したが、他の障害に対しても同様である。
Although the case where a parity error is detected and retransfer is performed has been exemplified above, the same applies to other failures.

また再転送するのはマイクロプログラムに限らず、デー
タを含んでもよく、通常のプログラムでもよい。
Furthermore, the program to be retransferred is not limited to microprograms, but may also include data or regular programs.

〔発明の効果〕 ・ 以上に述べたよう本発明によれば、簡単な回路構成で、
プログラム転送期間中、ウオッチドックタイマを実質的
に停止させる監視回路リセット回路が提供できる。
[Effects of the Invention] - As described above, according to the present invention, with a simple circuit configuration,
A supervisory circuit reset circuit can be provided that substantially stops the watchdog timer during the program transfer period.

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

第1図は本発明の計算機システムの監視回路用リセット
回路の原理ブロック図、 第2図は本発明の実施例の監視回路用リセット回路図、 第3図(a)〜(n)は第2図リセット回路の動作タイ
ミング図、 第4図は第2図の処理を示す形態図、 第5図は本発明の他の実施例の監視回路用リセット回路
図、 第6図(a)〜(n)は第5図リセット回路の動作タイ
ミング図、 第7図は第5図の処理を示す形態図、 第8図は従来の監視回路用リセット回路図、である。 (符号の説明) 1・・・マイクロプログラムメモリ、 la・・・制御メモリ、   2・・・外部メモリ、2
a・・・外部ROM、   3・・・ロード回路、4・
・・デコーダ部、 5・・・故障検出・リセット回路、 6・・・ウオッチドツク式監視回路、 32・・・カウンタ、 33・・・ベクトルアドレス発生回路、34 、35・
・・セレクタ、   36・・・カウンタ、41・・・
デコーダ、 42・・・制御メモリ命令レジスタ、 51・・・パリティチエツク回路、 53 、54・・・デイレ−回路。
FIG. 1 is a principle block diagram of a reset circuit for a monitoring circuit in a computer system of the present invention, FIG. 2 is a reset circuit diagram for a monitoring circuit in an embodiment of the present invention, and FIGS. Figure 4 is a configuration diagram showing the process of Figure 2; Figure 5 is a reset circuit diagram for a monitoring circuit according to another embodiment of the present invention; Figures 6 (a) to (n). ) is an operation timing diagram of the reset circuit in FIG. 5, FIG. 7 is a form diagram showing the process of FIG. 5, and FIG. 8 is a diagram of a conventional reset circuit for a monitoring circuit. (Explanation of symbols) 1... Micro program memory, la... Control memory, 2... External memory, 2
a...External ROM, 3...Load circuit, 4.
... Decoder section, 5... Failure detection/reset circuit, 6... Watchdog type monitoring circuit, 32... Counter, 33... Vector address generation circuit, 34, 35...
...Selector, 36...Counter, 41...
Decoder, 42... Control memory instruction register, 51... Parity check circuit, 53, 54... Delay circuit.

Claims (2)

【特許請求の範囲】[Claims] 1. ウォッチドック式監視回路、マイクロプログラム
メモリ、該マイクロプログラムメモリに転送すべきマイ
クロプログラムを記憶した外部メモリを有し、起動時又
はマイクロプログラムメモリの不良を検出する故障検出
回路による再起動時に外部メモリからマイクロプログラ
ムメモリにマイクロプログラムを転送させるように構成
した計算機システムにおいて、 前記故障検出回路による再起動時における前記外部メモ
リからマイクロプログラムメモリへのマイクロプログラ
ム転送期間中、前記ウォッチドック式監視回路のウォッ
チドックタイマをリセットさせるように構成したことを
特徴とする、計算機システムの監視回路リセット回路。
1. It has a watchdog type monitoring circuit, a microprogram memory, and an external memory that stores the microprogram to be transferred to the microprogram memory. In a computer system configured to transfer a microprogram to a microprogram memory, during a period of transfer of a microprogram from the external memory to the microprogram memory by the failure detection circuit at the time of restart, the watchdog of the watchdog type monitoring circuit is activated. A supervisory circuit reset circuit for a computer system, characterized in that the circuit is configured to reset a timer.
2. 前記故障検出回路は、再起動時には、マイクロプ
ログラムの動作正常性確認に使用するウォッチドックタ
イマの周期を延ばすようにした、請求の範囲第1項に記
載の監視回路リセット回路。
2. 2. The supervisory circuit reset circuit according to claim 1, wherein the failure detection circuit extends the period of a watchdog timer used to confirm the normal operation of the microprogram when restarting.
JP63035392A 1988-02-19 1988-02-19 Resetting circuit for supervising circuit of computer system Pending JPH01211138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63035392A JPH01211138A (en) 1988-02-19 1988-02-19 Resetting circuit for supervising circuit of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63035392A JPH01211138A (en) 1988-02-19 1988-02-19 Resetting circuit for supervising circuit of computer system

Publications (1)

Publication Number Publication Date
JPH01211138A true JPH01211138A (en) 1989-08-24

Family

ID=12440641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63035392A Pending JPH01211138A (en) 1988-02-19 1988-02-19 Resetting circuit for supervising circuit of computer system

Country Status (1)

Country Link
JP (1) JPH01211138A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05198116A (en) * 1991-06-14 1993-08-06 Seagate Technol Internatl Slider

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59119453A (en) * 1982-12-27 1984-07-10 Fujitsu Ltd Cpu run-away monitoring circuit
JPS59200357A (en) * 1983-04-28 1984-11-13 Oki Electric Ind Co Ltd Watchdog timer circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59119453A (en) * 1982-12-27 1984-07-10 Fujitsu Ltd Cpu run-away monitoring circuit
JPS59200357A (en) * 1983-04-28 1984-11-13 Oki Electric Ind Co Ltd Watchdog timer circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05198116A (en) * 1991-06-14 1993-08-06 Seagate Technol Internatl Slider

Similar Documents

Publication Publication Date Title
US5491787A (en) Fault tolerant digital computer system having two processors which periodically alternate as master and slave
JP2552651B2 (en) Reconfigurable dual processor system
JPS6129239A (en) Processor fault restart system
JP2003296133A (en) Controller
JPH06314219A (en) Watchdog timer
JPH01211138A (en) Resetting circuit for supervising circuit of computer system
JPH03132143A (en) Emergency restart processing system in exchange system
JPH1153225A (en) Fault processor
JPS6113626B2 (en)
JP2998804B2 (en) Multi-microprocessor system
JPS62212865A (en) Multiprocessor control system
JPH1078896A (en) Industrial electronic computer
JP2695775B2 (en) How to recover from computer system malfunction
JPS5827538B2 (en) Mutual monitoring method
JPS635781B2 (en)
JPS58158747A (en) Programable controller
JPS62209627A (en) Data processor
JPH10143393A (en) Diagnosis and processing device
JP2021077068A (en) Information processing device and information processing method
JPH02114364A (en) Abnormality processing system in multiprocessor system
JPS60140440A (en) Central processing unit
JPS593638A (en) Information processor
JPH04177504A (en) Backup device of programmable controller
JPS60198601A (en) Sequence controller
JPH03152637A (en) Abnormality diagnostic system