JPH02281344A - Program running monitor system - Google Patents

Program running monitor system

Info

Publication number
JPH02281344A
JPH02281344A JP1102867A JP10286789A JPH02281344A JP H02281344 A JPH02281344 A JP H02281344A JP 1102867 A JP1102867 A JP 1102867A JP 10286789 A JP10286789 A JP 10286789A JP H02281344 A JPH02281344 A JP H02281344A
Authority
JP
Japan
Prior art keywords
monitoring
data
address information
information
address
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
JP1102867A
Other languages
Japanese (ja)
Inventor
Tokuji Takada
高田 徳二
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 JP1102867A priority Critical patent/JPH02281344A/en
Publication of JPH02281344A publication Critical patent/JPH02281344A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To surely monitor the abnormality by providing an order discriminating circuit and issuing an alarm signal a certain time after a restart signal and issuing the restart signal thereafter. CONSTITUTION:First data information or address information on an address bus 101 or a data bus 102 of a CPU 1 is monitored by a monitor means WDT 10. Second address information and plural monitor data information are preliminarily determined in an address information/data information storage circuit 2. First and second address information and data information are sent to comparing circuits 3 and 4. When plural comparisons result in coincidence, discriminating circuits 5 and 6 monitor the order of the occurrence of coincidence. An order discriminating circuit 7 outputs a restart signal 109 to the WDT 10 when circuits 5 and 6 discriminate that the occurrence of coincidence accords with a determined order, thereby surely monitoring the abnormality.

Description

【発明の詳細な説明】 (産業上の利用分野) CPUにおけるプログラム走行状態の監視に関し、特に
そのウォッチドッグタイマ(以後、WDTと称する。)
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) Regarding the monitoring of program running status in a CPU, especially its watchdog timer (hereinafter referred to as WDT).
Regarding the method.

(従来の技術) 従来、プログラムの走行状態を監視するWDT監視方式
は、プログラム上で一定時間以内に必ず実行される位置
にタイマのリスタート信号を出力するためのリスタート
信号送出手段を備えるとともに、リスタート信号の出力
から一定時間が経過するとアラーム信号を外部に出力す
るためのWDTを備えて実現されていた。上記監視方式
では、正常にプログラムが走行していゑときには、WD
Tには一定時間以内に必ずリスタートがかかつてアラー
ム信号は出力されない。異常時には、リスタートがかか
らず、WDTからアラーム信号が出力される。上記動作
により、従来技術ではCPUの動作を監視するように監
視方式が構成されている。
(Prior Art) Conventionally, the WDT monitoring method for monitoring the running state of a program includes restart signal sending means for outputting a timer restart signal to a position on the program that is always executed within a certain period of time. , it has been realized by including a WDT for outputting an alarm signal to the outside after a certain period of time has elapsed since the output of the restart signal. In the above monitoring method, when the program is running normally, the WD
T must be restarted within a certain period of time and no alarm signal will be output. In the event of an abnormality, restart is not performed and an alarm signal is output from the WDT. Due to the above-mentioned operation, in the prior art, a monitoring system is configured to monitor the operation of the CPU.

(発明が解決しようとする課題) 上述した従来のWDT監視方式では、システムとしては
異常でありてもVDTのリスタート命令が実行されるプ
ログラムだけが走行するような状態、あるいはWDTの
リスタート信号が誤って出力されてしまうような場合に
は、WDTにおいては異常を監視することができないと
いう欠点がある。
(Problems to be Solved by the Invention) In the conventional WDT monitoring method described above, even if there is an abnormality in the system, only the program that executes the VDT restart command runs, or the WDT restart signal The WDT has a drawback in that it cannot monitor abnormalities if it is output erroneously.

本発明の目的は、CPUのアドレスバス上のアドレス情
報およびデータバス上のデータ情報を常に監視するとと
もに、複数の監視アドレス情報および複数の監視データ
情報を記憶し、アドレスバス上のアドレス情報およびデ
ータバス上のデータ情報と、複数の監視アドレス情報お
よび複数の監視データ情報とをそれぞれ複数比較し、複
数の一致が得られたならば、一致したアドレス情報およ
びデータ情報の順序を監視し、正しい順序の場合にはリ
スタート信号を出力し、一定時間を経過してもリスター
ト信号が出力されない場合にはアラーム信号を出力する
ことにより上記欠点を除去し、確実にWDT4Cより異
常を監視できるように構成したプログラム走行監視方式
を提供することにある。
An object of the present invention is to constantly monitor address information on a CPU address bus and data information on a data bus, store a plurality of monitored address information and a plurality of monitored data information, and store address information and data on an address bus. The data information on the bus is compared with multiple pieces of monitored address information and multiple pieces of monitored data information, and if multiple matches are obtained, the order of the matched address information and data information is monitored, and the order is correct. In this case, a restart signal is output, and if the restart signal is not output after a certain period of time, an alarm signal is output to eliminate the above drawback and ensure that abnormalities can be monitored from the WDT4C. The object of the present invention is to provide a structured program running monitoring system.

(課題を解決するための手段) 本発明によるプログラム走行監視方式は、監視手段と、
配憶手段と、複数の比較手段と、判定手段と、リスター
ト付きタイマ手段とを具備して構成したものである。
(Means for Solving the Problems) The program run monitoring method according to the present invention includes a monitoring means,
The apparatus includes a storage means, a plurality of comparison means, a determination means, and a timer means with restart.

監視手段は、CPUのアドレスバス上の第1の種類のア
ドレス情報、およびデータバス上の第1の種類のデータ
情報を監視するためのものである。
The monitoring means is for monitoring the first type of address information on the address bus of the CPU and the first type of data information on the data bus.

記憶手段は、予め定められた複数の監視用の第1の種類
のアドレス情報、および複数の監視用の第2の種類のデ
ータ情報を記憶するためのものである。
The storage means is for storing a plurality of predetermined first type of address information for monitoring and a plurality of predetermined second type of data information for monitoring.

複数の比較手段は1.第1および第2の種類のアドレス
情報およびデータ情報を相互に比較するためのものであ
る。
Multiple comparison means are 1. This is for comparing the first and second types of address information and data information with each other.

判定手段は、複数の比較の結果から複数の一致が得られ
たならば、一致の発生順序を監視し、予め定められた順
序であるならばリスター)91号を出力するためのもの
である。
The determining means is for monitoring the order in which the matches occur if a plurality of matches are obtained from the results of the plurality of comparisons, and outputting Lister No. 91 if the matches are in a predetermined order.

リスタート付きタイマ手段は、リスタート信号の出力か
ら二定時間を経過す−るとアラーム信号を出力するため
のものである。
The restart timer means is for outputting an alarm signal when two predetermined times have elapsed since the output of the restart signal.

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

第1図は、本発明によるプログラム走行監視方式の一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a program running monitoring system according to the present invention.

第1図において、1はCPU、2はアドレス情報/デー
タ情報記憶回路、3,4はそれぞれ第1および第2の比
較回路、5,6はそれぞれ第1および第2の判定回路、
7は順序判定回路、8はメモリ回路、9は周辺回路、1
0はW D Tである。また101はアドレスバス、1
02はデータバス、103は制御信号線、104はリセ
ット信号線、105,107はそれぞれアドレス情報信
号線、106,108はそれぞれデータ情報信号線、1
09はリスタート信号線、110けアラーム信号線、1
11はクロック信号線である。
In FIG. 1, 1 is a CPU, 2 is an address information/data information storage circuit, 3 and 4 are first and second comparison circuits, respectively, 5 and 6 are first and second determination circuits, respectively.
7 is an order determination circuit, 8 is a memory circuit, 9 is a peripheral circuit, 1
0 is WDT. Also, 101 is an address bus, 1
02 is a data bus, 103 is a control signal line, 104 is a reset signal line, 105 and 107 are each an address information signal line, 106 and 108 are each a data information signal line, 1
09 is a restart signal line, 110 is an alarm signal line, 1
11 is a clock signal line.

CPUIと、メモリ回路8と、周辺回路9とはアドレス
バス101.データバス102.およびこれらのタイミ
ングを決定する制御信号線103で結合されている。第
1および第2の比較回路3.4に対してアドレスバス1
01およびデータバス102が接続されている。アドレ
ス情報/データ情報記憶回路2からの情報と、バス10
1,102上の情報とを比較回路3゜4により比較して
、一致または不一致を比較回路3.4から出力する。信
号線103上の制御信号により、アドレスバス101上
およびデータバス102上にアドレスおよびデータが出
力されたことが示されたときに、第1および第2の判定
回路5.6において社一致、また線不−致を決定する。
The CPU, memory circuit 8, and peripheral circuit 9 are connected to an address bus 101. Data bus 102. and are coupled by a control signal line 103 that determines their timing. Address bus 1 for the first and second comparator circuit 3.4
01 and a data bus 102 are connected. Information from address information/data information storage circuit 2 and bus 10
The comparison circuit 3.4 compares the information on 1 and 102 and outputs a match or mismatch from the comparison circuit 3.4. When the control signal on the signal line 103 indicates that the address and data have been output on the address bus 101 and the data bus 102, the first and second determination circuits 5.6 determine whether the address and data are identical or Determine line mismatch.

これらの一致信号は順序判定回路7へ入力され、定めら
れた順序で一致信号が入力された場合にはリスタート信
号を信号線109上に出力する。WDTIOは、信号線
111かものクロック入力によりカウントアツプされ、
一定時間を経過するとアラーム信号を信号線110上に
出力する。信号線109からリスタート信号が入力され
ると、WDTloがリセットされ、初期値よりカウント
アツプされる。これにより、外部にアラーム信号が出力
されないようになりている。
These match signals are input to the order determining circuit 7, and if the match signals are input in a predetermined order, a restart signal is output onto the signal line 109. WDTIO is counted up by the clock input of signal line 111,
After a certain period of time has elapsed, an alarm signal is output onto the signal line 110. When a restart signal is input from the signal line 109, WDTlo is reset and counted up from the initial value. This prevents an alarm signal from being output to the outside.

本実施例は、アドレスバスとデータバスとがそれぞれ独
立な場合を示したが、これらが共通バスであったとして
も本発明が適用されることは明白である。
Although this embodiment shows the case where the address bus and data bus are independent, it is clear that the present invention is applicable even if these buses are common.

(発明の効果) 以上説明したように本発明は、アドレスバス上のアドレ
スおよびデータバス上のデータを監視することにより、
CPUにおけるプログラムの走行が監視できるため、W
DTへのリスタート信号の出力を指示する命令がプログ
ラムには不要となるという効果がある。また、プログラ
ム上で複数のアドレス、および複数のデータが予め定め
られた順序通りに走行しているか否かを監視することに
より、CPUの動作を確実に監視することができるとい
う効果がある。
(Effects of the Invention) As explained above, the present invention provides the following advantages by monitoring addresses on the address bus and data on the data bus.
Since the running of the program on the CPU can be monitored, W
This has the effect that the program does not need an instruction to instruct the output of a restart signal to the DT. Furthermore, by monitoring whether a plurality of addresses and a plurality of data are running in a predetermined order on a program, the operation of the CPU can be reliably monitored.

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

第1図は、本発明によるプログラム走行監視方式の一実
施例を示すブロック図である。 l・・・CPU 2・・・アドレス情報/データ情報記憶回路3.4・・
・比較回路 5.6・・・判定回路 7・・・順序判定回路 8・・・メモリ回路 9・・・周辺回路 10・・・WDT 101.102・・・バス 103〜111・・・信号線
FIG. 1 is a block diagram showing an embodiment of a program running monitoring system according to the present invention. l...CPU 2...Address information/data information storage circuit 3.4...
・Comparison circuit 5.6...Judgment circuit 7...Sequence judgment circuit 8...Memory circuit 9...Peripheral circuit 10...WDT 101.102...Bus 103-111...Signal line

Claims (1)

【特許請求の範囲】[Claims] CPUのアドレスバス上の第1の種類のアドレス情報お
よびデータバス上の第1の種類のデータ情報を監視する
ための監視手段と、予め定められた複数の監視用の第2
の種類のアドレス情報および複数の監視用の第2の種類
のデータ情報を記憶するための記憶手段と、前記第1お
よび第2の種類のアドレス情報およびデータ情報を相互
に比較するための複数の比較手段と、前記複数の比較の
結果から複数の一致が得られたならば、一致の発生順序
を監視し、予め定められた順序であるならばリスタート
信号を出力するための判定手段と、前記リスタート信号
の出力から一定時間を経過するとアラーム信号を出力す
るためのリスタート付きタイマ手段とを具備して構成し
たことを特徴とするプログラム走行監視方式。
a monitoring means for monitoring the first type of address information on the address bus of the CPU and the first type of data information on the data bus; and a plurality of predetermined second monitoring means.
storage means for storing address information of the type and a plurality of second types of data information for monitoring; and a plurality of storage means for storing the first and second types of address information and data information with each other. a comparing means; and a determining means for monitoring the order in which the matches occur if a plurality of matches are obtained from the results of the plurality of comparisons, and outputting a restart signal if the matches are in a predetermined order; 1. A program run monitoring system comprising: timer means with a restart for outputting an alarm signal when a certain period of time has elapsed since the output of the restart signal.
JP1102867A 1989-04-21 1989-04-21 Program running monitor system Pending JPH02281344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1102867A JPH02281344A (en) 1989-04-21 1989-04-21 Program running monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1102867A JPH02281344A (en) 1989-04-21 1989-04-21 Program running monitor system

Publications (1)

Publication Number Publication Date
JPH02281344A true JPH02281344A (en) 1990-11-19

Family

ID=14338858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1102867A Pending JPH02281344A (en) 1989-04-21 1989-04-21 Program running monitor system

Country Status (1)

Country Link
JP (1) JPH02281344A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015457B2 (en) 2006-12-13 2011-09-06 Elpida Memory, Inc. Redundancy circuit and semiconductor memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015457B2 (en) 2006-12-13 2011-09-06 Elpida Memory, Inc. Redundancy circuit and semiconductor memory device

Similar Documents

Publication Publication Date Title
JPH02281344A (en) Program running monitor system
JPH0259955A (en) Method for supervising operation of multiprocessor system
US5524206A (en) Sub-CPU monitoring system including dual port memory
JPH02281343A (en) Cpu operation monitor system
JP2659067B2 (en) Microcomputer reset circuit
JPH02187856A (en) Resetting method for multi-central arithmetic unit system
JPH064301A (en) Time division interruption control system
JPH0279135A (en) System for monitoring running of program
JP2954040B2 (en) Interrupt monitoring device
JPH0726762Y2 (en) Bus mismatch circuit
JPH03136147A (en) Software monitor system
JPH02206866A (en) Reset signal generator in multiprocessor system
JPS61202244A (en) Program trouble detector
JP3757407B2 (en) Control device
SU1474662A1 (en) Input/output controller
JPS5827538B2 (en) Mutual monitoring method
JPH1139032A (en) Multi cpu type centralized monitoring device
JPH02210515A (en) System resetting system
JPS6074052A (en) History memory control system
JPS62276637A (en) Operation supervisory circuit for central processing unit
JPS60544A (en) Controlling system of electric power supply
JPS6128146B2 (en)
JPH10307601A (en) Output control circuit for cpu
JPH02273841A (en) Control system for detection of program abnormality
JP2000010824A (en) Software monitor circuit