JPS6367650A - Monitoring system for software processing - Google Patents

Monitoring system for software processing

Info

Publication number
JPS6367650A
JPS6367650A JP61212132A JP21213286A JPS6367650A JP S6367650 A JPS6367650 A JP S6367650A JP 61212132 A JP61212132 A JP 61212132A JP 21213286 A JP21213286 A JP 21213286A JP S6367650 A JPS6367650 A JP S6367650A
Authority
JP
Japan
Prior art keywords
counter
signal
software processing
level
signal line
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
JP61212132A
Other languages
Japanese (ja)
Inventor
Hiroshi Oka
博 岡
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 JP61212132A priority Critical patent/JPS6367650A/en
Publication of JPS6367650A publication Critical patent/JPS6367650A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To form an entire constitution just with a single IC element by using an OR gate and an AND gate to monitor the soft processing normalness and therefore incorporating a monitor circuit of a software processing system into a gate array. CONSTITUTION:When the software processing has the normal working, an output fixing signal applied onto a signal line 100 from a power supply unit is set at level '0' when the power supply of a device is applied. Thus the output signal delivered onto a signal line 106 from a counter 3 is initialized at level '0'. While a counter reset instruction is not normally carried out when the software processing has the abnormal working. Thus the counter reset signal is set at level '1' on a signal line 105 and a resetting action is impossible with the counter 3. Then the counter 3 is continuously counted up by the clock on a signal line 102 and the signal output is set at '1' on the line 106. The normalness of the software processing is monitored in response to the level'0/1' on the line 106.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置に関し、特にソフトウェア処理の
正常性を監視する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an information processing device, and particularly to a method for monitoring the normality of software processing.

(従来の技術) 従来、斯かる方式において、ハードウェア側では10ツ
クにより歩進され、カウンタリセット回路によりリセッ
トされるカウンタをもち、ソフトウェア側では処理ルー
チンにカウンタリセット回路を一定周期内に設けていた
。したがって、これKよってノアトウエア処理の異常が
検出されていた。また、ソフトウェア処理が正常に行わ
れているか否かはカウンタリセット回路を実行したとき
上記カウンタがオーバーフローしないことにより確認さ
れていた。
(Prior art) Conventionally, in such a system, the hardware side has a counter that is incremented by 10 and is reset by a counter reset circuit, and the software side has a counter reset circuit provided in the processing routine within a certain period. Ta. Therefore, an abnormality in the no-aware processing was detected due to this K. Further, whether or not the software processing is being performed normally is confirmed by checking that the counter does not overflow when the counter reset circuit is executed.

従来、上記カウンタの歩進クロックはマルチバイブレー
タ素子と、タイミング調整を行う抵抗素子と、コンデン
サとによって構成されていた。
Conventionally, the step clock of the counter has been composed of a multivibrator element, a resistor element for timing adjustment, and a capacitor.

(発明が解決しようとする問題点) 上述した従来の異常検出方式では、ゲートアレイを使用
しようとしても、上記カウンタを歩進させるクロック発
生回路を集積回路素子に徂込むことが容易には実現でき
ない七いう欠点があった。
(Problems to be Solved by the Invention) In the conventional abnormality detection method described above, even if a gate array is attempted to be used, it is not easy to implement a clock generation circuit for incrementing the counter into an integrated circuit element. There were seven drawbacks.

本発明の目的は、論理和ゲートと、論理積ゲートとを使
用したカクンタ歩逆用のクロック発生回路を集積回路素
子に組込むことによって上記欠点を除去し、ソフトウェ
ア処理の異常を容易に検出できるように構成したソフト
ウェア処理の監視方式を提供することKある。
It is an object of the present invention to eliminate the above-mentioned drawbacks by incorporating a clock generation circuit for kakunta step reversal using an OR gate and an AND gate into an integrated circuit element, thereby making it possible to easily detect abnormalities in software processing. It is an object of the present invention to provide a monitoring method for software processing configured in the following manner.

(問題点を解決するための手段) 本発明によるソフトウェア処理の監視方式はカウンタと
、クロック発生回路と、カウンタリセット回路とを具備
して構成したものでちる。
(Means for Solving the Problems) The software processing monitoring system according to the present invention includes a counter, a clock generation circuit, and a counter reset circuit.

カウンタは、電源の投入により初期設定され、内容があ
る一定値に到達することによりッフトウエア処理の異常
を通知するためのものである。
The counter is initially set when the power is turned on, and is used to notify an abnormality in the software processing when the content reaches a certain value.

クロック発生回路は、電源の投入によりクロツクを発生
し、クロックによりカウンタを歩進するためのものであ
る。
The clock generation circuit generates a clock when the power is turned on, and increments a counter using the clock.

カウンタリセット回路は、ソフトウェア処理が正常に行
われていることを示す保証信号によυカウンタを初期設
定するためのものである。
The counter reset circuit is for initializing the υ counter with a guarantee signal indicating that software processing is being performed normally.

(実施例) 以下、本発明について図面を参照して説明する。(Example) Hereinafter, the present invention will be explained with reference to the drawings.

第1図は、不発明によるソフトウェア処理の監視方式を
実現する一実施例の構成を示す回路接続図である。第1
図において、1はクロック発生回路、2はカウンタリセ
ット回路、3はカウンタ、10はNANDゲート、11
−1.11−nはそれぞれANDゲート、12ばNAN
Dゲートである。
FIG. 1 is a circuit connection diagram showing the configuration of an embodiment for realizing a software processing monitoring method according to the invention. 1st
In the figure, 1 is a clock generation circuit, 2 is a counter reset circuit, 3 is a counter, 10 is a NAND gate, 11
-1.11-n are AND gates, 12 are NAN
This is the D gate.

第2図は、m1図の装置のクロック発生回路の動作を示
すタイムチャートである。
FIG. 2 is a time chart showing the operation of the clock generation circuit of the device shown in FIG. m1.

クロック発生回路lでは、入力はNANDゲート10の
第1の入力端子に接続され、NANDゲート10の出力
はANDゲート】1−1〜1】−(n−1)を介してA
NDゲート11−nの入力端子に接続され、ANDゲー
11−nの出力端子はクロック発生回路1の出力端子と
なる。また、この出力端子はHANDゲート12の入力
端子にも接続され、NANDゲート12の出力端子はN
ANDゲート10の第2の入力端子に接続されている。
In the clock generation circuit 1, the input is connected to the first input terminal of the NAND gate 10, and the output of the NAND gate 10 is connected to A via the AND gates ]1-1 to 1]-(n-1).
It is connected to the input terminal of the ND gate 11-n, and the output terminal of the AND gate 11-n becomes the output terminal of the clock generation circuit 1. This output terminal is also connected to the input terminal of the HAND gate 12, and the output terminal of the NAND gate 12 is N
It is connected to the second input terminal of AND gate 10.

次に、第1図の装置の動作を説明する。Next, the operation of the apparatus shown in FIG. 1 will be explained.

クロック発生回路1は、信号線100上の外部トリガに
より起動される。第2図のタイムチャートで示すように
、信号線100上の外部トリガがNANDゲートIOK
入力されると、NANDゲート10、およびANDゲー
ト11−1〜11−nで生ずる遅延により、時間’1’
noだけ遅れてANDゲート11−nの出力が信号線1
02上で一11レベルになる。これにより、NANDゲ
ート12の出力が信号線103上で%Qルベルとなり、
これがNANDゲート10に帰還さハる。そこで、AN
Dゲート1】−nの出力が信号線】02上で遅延時間T
DoO後に%1ルベルから%OIレベルに変化する。し
たがって、ANDゲート11−nが%INレベルを保持
する時間は、時間TD0とNANDゲート12の遅延時
間TDo ととの和TDIになる。このようにして信号
線100上の外部トリガ7111β11レベルを継続し
でいる間は、ANDゲート11−nからは時間TD1の
パルス幅をもったクロック信号が信号線102上に周期
的に出力される。
Clock generation circuit 1 is activated by an external trigger on signal line 100. As shown in the time chart of FIG. 2, the external trigger on the signal line 100 triggers the NAND gate IOK.
When it is input, the time '1' is
After a delay of no, the output of the AND gate 11-n is connected to the signal line 1.
It becomes level 11 on 02. As a result, the output of the NAND gate 12 becomes %Q level on the signal line 103,
This is fed back to the NAND gate 10. Therefore, A.N.
D gate 1]-n output is on signal line]02 with delay time T
After DoO, it changes from %1 level to %OI level. Therefore, the time during which the AND gate 11-n maintains the %IN level is the sum TDI of the time TD0 and the delay time TDo of the NAND gate 12. While the external trigger 7111β11 level on the signal line 100 continues in this manner, a clock signal with a pulse width of time TD1 is periodically outputted from the AND gate 11-n onto the signal line 102. .

次に、信号axoa上の外部トリガが%0〃レベルにな
るとANDゲート1l−nの出力が信号線102上で%
QIレベルにな)、クロック信号は生成されない。信号
線】00上の外部トリガ信号として通常、電源ユニット
の出力確定信号が用いられる。
Next, when the external trigger on the signal axoa reaches the %0 level, the output of the AND gate 1l-n becomes % on the signal line 102.
QI level), no clock signal is generated. The output confirmation signal of the power supply unit is normally used as the external trigger signal on the signal line 00.

ANDゲート11−nから信号線102上へのクロック
信号により計数値が規定値に歩進された場合に、カウン
タ3から信号線200上にカウンタ出力信号が% 1ル
ベルとして出力される。また、リセット端子に%ORレ
ベルの信号が入力されると、すべての計数がクリヤされ
る。
When the count value is incremented to a specified value by the clock signal from the AND gate 11-n onto the signal line 102, a counter output signal is output from the counter 3 onto the signal line 200 as % 1 lebel. Furthermore, when a %OR level signal is input to the reset terminal, all counts are cleared.

カウンタリセット回路′2では信号線100上の外部ト
リガ信号と、ソフトウェア処理ルーチンに設ケラれたカ
ウンタリセット回路とKよって信号?f#104上に出
力される信号がそれぞれ%0#レベルになると信号41
05上の論理和出力が%ONORレベルりカウンタが強
=lI的にリセットされる。
The counter reset circuit '2 receives an external trigger signal on the signal line 100, a counter reset circuit installed in the software processing routine, and a signal K? When the signals output on f#104 respectively reach the %0# level, the signal 41
When the OR output on 05 reaches the %ONOR level, the counter is reset in a strong=lI manner.

クロック発生回路1からは信号線102上へクロック信
号が周期的に出力される。信号線102上のクロック信
号の周期2X’I’DI と、ソフトウェア処理ルーチ
ンで設けられたカウンタリセット回路とが実行される周
期TCRが、2xTD、)’l’ORの条件になるよう
に設定されている。
A clock signal is periodically output from the clock generation circuit 1 onto the signal line 102. The period 2X'I'DI of the clock signal on the signal line 102 and the period TCR in which the counter reset circuit provided in the software processing routine is executed are set so that they meet the conditions of 2xTD, )'l'OR. ing.

さて、ソフトウェア処理が正常に動作している場合には
、装置の電源投入時に電源ユニットから信号線】00上
への出力確定信号が10#レベルとなるため、カウンタ
3から信号線106上への出力信号は亀0#レベルに初
期設定される。その後、カウンタ3はクロック信号で歩
進される。歩進してもソフトウェア処理ルーチンで設け
られたカウンタリセット回路が正常に実行されるため、
信号線105上のカウンタリセット信号か%Olレベル
となって出力される。このため、カウンタが強制的にリ
セットされ、信号線】06上のカウンタ出力力βOIレ
ベルとして出力される。
Now, if the software processing is operating normally, the output confirmation signal from the power supply unit to the signal line 00 will be at the 10# level when the device is powered on, so the output confirmation signal from the counter 3 to the signal line 106 will be at the 10# level. The output signal is initially set to the turtle 0# level. Thereafter, the counter 3 is incremented by the clock signal. Even if the counter is stepped, the counter reset circuit provided by the software processing routine is executed normally.
The counter reset signal on the signal line 105 is output at the %Ol level. Therefore, the counter is forcibly reset and outputted as the counter output output βOI level on the signal line 06.

逆に、ソフトウェア処理が異常に動作している場合には
、カウンタリセット回路が正常に実行されないため、信
号線105上のカウンメリセット信号カ%11レベルと
なシ、カウンタのリセットができない。このため、信号
線102上のクロックによりカウンタが歩進され続け、
信号線】06上に信号出力が%】 Iとして表われる。
Conversely, if the software processing is operating abnormally, the counter reset circuit will not be executed normally, and the counter cannot be reset unless the counter reset signal on the signal line 105 reaches the %11 level. Therefore, the counter continues to be incremented by the clock on the signal line 102,
The signal output on signal line 06 appears as %I.

以上説明したようにして信号線106上の一0/IIレ
ベルに応じて、ソフトウェア処理の正常性が監視されて
いる。
As explained above, the normality of software processing is monitored according to the 10/II level on the signal line 106.

(発明の効果) 以上説明したように本発明は、マルチバイブレータ素子
と、抵抗およびコンデンサよυ成るタイミング回路部品
とを使用せずに、論理和ゲートおよび論理積のゲートを
使用してソフト処理の正常性を監視することにより、ゲ
ートアレイにソフトウェア処理方式の監視回路を組込む
ことができ、全体を一つの集積回路素子で構成できると
いう効果がある。
(Effects of the Invention) As explained above, the present invention can perform software processing by using an OR gate and an AND gate without using a multivibrator element and timing circuit components such as resistors and capacitors. By monitoring the normality, a software processing type monitoring circuit can be incorporated into the gate array, and the entire gate array can be constructed with one integrated circuit element.

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

第1図は、本発明によるソフトウェア処理の監視方式を
実現する実施例を示すブロック図である。 第2図は第1図のクロック発生回路の動作を示すタイム
チャートである。 】・・・クロック発生回路 2・・呻カウンメリセット回路 311・・カウンタ 10.12拳・・NANDゲート 1 ]−1〜l 1−n @ a @ANDゲート10
0〜106・・・信号線
FIG. 1 is a block diagram showing an embodiment of the software processing monitoring method according to the present invention. FIG. 2 is a time chart showing the operation of the clock generation circuit of FIG. 1. ]...Clock generation circuit 2...Counter reset circuit 311...Counter 10.12 fist...NAND gate 1 ]-1~l 1-n @a @AND gate 10
0~106...Signal line

Claims (1)

【特許請求の範囲】[Claims] 電源の投入により初期設定され、内容がある一定の値に
到達することによりソフトウェア処理の異常を通知する
ためのカウンタと、前記電源の投入によりクロックを発
生し、前記クロックにより前記カウンタを歩進するため
のクロック発生回路と、前記ソフトウェア処理が正常に
行われていることを示す保証信号により前記カウンタを
初期設定するためのカウンタリセット回路とを具備して
構成したことを特徴とするソフトウェア処理の監視方式
A counter that is initially set when the power is turned on and notifies an abnormality in software processing when the contents reach a certain value, and a clock that is generated when the power is turned on, and the counter is incremented by the clock. and a counter reset circuit for initializing the counter with a guarantee signal indicating that the software processing is being performed normally. method.
JP61212132A 1986-09-09 1986-09-09 Monitoring system for software processing Pending JPS6367650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61212132A JPS6367650A (en) 1986-09-09 1986-09-09 Monitoring system for software processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61212132A JPS6367650A (en) 1986-09-09 1986-09-09 Monitoring system for software processing

Publications (1)

Publication Number Publication Date
JPS6367650A true JPS6367650A (en) 1988-03-26

Family

ID=16617425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61212132A Pending JPS6367650A (en) 1986-09-09 1986-09-09 Monitoring system for software processing

Country Status (1)

Country Link
JP (1) JPS6367650A (en)

Similar Documents

Publication Publication Date Title
US4072852A (en) Digital computer monitoring and restart circuit
JP3520662B2 (en) Monitoring device for electronic control unit
JP2593915B2 (en) Double microcomputer system runaway prevention circuit
JPS6367650A (en) Monitoring system for software processing
JPH04283840A (en) Diagnostic method for information processor
SU881678A1 (en) Device for testing terminals
JPS5845054B2 (en) Watchdog timer error relief method
SU661809A1 (en) N-digit binary counter checking device
SU1255996A1 (en) System for checking parameters
JPS60153548A (en) Abnormality detector for cpu
JPS5812035A (en) Detection circuit for clock signal malfunction
SU1140065A1 (en) Device for functional parametric checking of logic elements
JP2692576B2 (en) Multiple clock pulse monitor
JPH0218633A (en) Runaway monitor/restart circuit for microprocessor
JPS62168204A (en) Digital controller
JP2516711B2 (en) Watchdog timer device
JPS5827559B2 (en) Ijiyou Kanshi Cairo
SU903886A1 (en) Device for detecting errors in processor testing units
JPS61165143A (en) Malfunction preventing system of cpu
SU1665344A1 (en) Adaptive testing device
SU811315A1 (en) Indication device
JPS626262B2 (en)
JPH07110019B2 (en) External input noise signal detector
JPH03292258A (en) Time element relay
JPH03123945A (en) Information processor