JPS62113245A - Operation monitoring device for signal processor - Google Patents

Operation monitoring device for signal processor

Info

Publication number
JPS62113245A
JPS62113245A JP60253423A JP25342385A JPS62113245A JP S62113245 A JPS62113245 A JP S62113245A JP 60253423 A JP60253423 A JP 60253423A JP 25342385 A JP25342385 A JP 25342385A JP S62113245 A JPS62113245 A JP S62113245A
Authority
JP
Japan
Prior art keywords
output
circuit
register
signal processor
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.)
Pending
Application number
JP60253423A
Other languages
Japanese (ja)
Inventor
Tadaharu Kato
忠晴 加藤
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 JP60253423A priority Critical patent/JPS62113245A/en
Publication of JPS62113245A publication Critical patent/JPS62113245A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily monitor the real operation of a signal processor by counting a system clock generated in the execution time of an instruction which should be executed between a couple of mutually distant instructions and deciding the operation of the signal processor. CONSTITUTION:A monitor signal generating circuit 15 inputs the output of an AND circuit 13 and the output of an inverting circuit 14 which inverts the output of the AND circuit 13. When the former is '1', a monitor signal outputted by the monitor signal generating circuit 15 is set to '1' and when the latter is '1', the signal is set to '0'. Thus, the monitor signal generating circuit 15 is used to obtain '1' as the monitor signal when the output of a counting circuit 7 is between an expected maximum and a minimum value or '0' when not. In other words, the monitor signal is '1' when the signal processor operates normally or '0' when not.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、7グナルプロセサの動作監視装置に関する。[Detailed description of the invention] (Industrial application field) The present invention relates to an operation monitoring device for a 7-signal processor.

(従来の技術) 従来、この徨のシグナルプロセサの動作監視装置では動
作中のシグナルプロセサにおいて本来の信号処理とは別
の複数のインストラクションにょシ出力される出力信号
パターンと、正常動作時に予想筋れる出力信号パターン
とを外部回路で比較することによシ実施していた。この
ため外部回路での負荷が大きくなシやっかいなものとな
っていた。
(Prior art) Conventionally, this signal processor operation monitoring device monitors the output signal pattern that is output by a signal processor in operation using multiple instructions other than the original signal processing, and the pattern that can be expected during normal operation. This was done by comparing the output signal pattern with an external circuit. For this reason, the load on the external circuit is large and troublesome.

(発明が解決しようとする問題点) 上述した従来のシグナルプロセサの動作監視装置では、
本来とは別の出力信号パターンと正常な出力信号パター
ンとを外部回路で比較しているため、外部回路での負荷
が大きいという欠点がある。
(Problems to be Solved by the Invention) In the conventional signal processor operation monitoring device described above,
Since an output signal pattern different from the original one and a normal output signal pattern are compared in an external circuit, there is a drawback that the load on the external circuit is large.

本発明の目的は、監視用スタートインストラクションと
ストップインストラクションとを任意に設定し、離れた
2つのインストラクション間に実行されるべきインスト
ラクションの実行時間で発生するシステムクロックを計
数してシグナルプロセサの動作を判定することにより上
記欠点を除去し、シグナルプロセサの真の動作監視を簡
単に行うことができるように構成したシグナルプロセサ
の動作監視装置を提供することにある。
An object of the present invention is to determine the operation of a signal processor by arbitrarily setting a monitoring start instruction and a stop instruction, and counting system clocks generated during the execution time of an instruction to be executed between two distant instructions. It is an object of the present invention to provide a signal processor operation monitoring device configured to eliminate the above-mentioned drawbacks and to easily monitor the true operation of a signal processor.

(問題点を解決するための手段) 本発明によるシグナルプロセサの動作監視装置は第1の
レジスタと、プログラムカウンタと、第1の比較回路と
、第2のレジスタと、第2の比較回路と、制御回路と、
計数回路と、第3のレジスタと、第3の比較回路と、第
4のレジスタと、第4の比較回路と、論理積回路と、反
転回路と、監視信号発生回路とを具備し、スタートイン
ストラクションの実行からストップインストラクション
の実行までの間に発生する7ステムクロツクの数を計数
して出力することができるように構成したものである。
(Means for Solving the Problems) A signal processor operation monitoring device according to the present invention includes a first register, a program counter, a first comparison circuit, a second register, a second comparison circuit, a control circuit;
It includes a counting circuit, a third register, a third comparison circuit, a fourth register, a fourth comparison circuit, an AND circuit, an inversion circuit, and a monitoring signal generation circuit, and includes a start instruction. The number of 7-stem clocks generated during the period from the execution of the instruction to the execution of the stop instruction can be counted and output.

第1のレジスタは、インストラクション制御により信号
を処理するシグナルプロセサの正常1th作時に使用さ
れる動作監視用のスタートインストラクショ/を格納し
たメモリアドレスを格納するためのものである。
The first register is for storing a memory address storing a start instruction / for operation monitoring used during normal 1th operation of a signal processor that processes signals by instruction control.

プログラムカウンタは、シグナルプロセサが動作してい
るときに次に実行すべきインストラクションが格納され
ているメモリアドレスを示すためのものである。
The program counter indicates the memory address where the next instruction to be executed is stored when the signal processor is operating.

第1の比較回路は、第1のレジスタの出力とプログラム
カウンタの出力とを比較して両出力が一致するときに一
致信号を出力するためのものである。
The first comparison circuit compares the output of the first register and the output of the program counter, and outputs a match signal when the two outputs match.

第2のレジスタは、シグナルプロセサの正常動作時に使
用される動作監視用のストップインストラクションを格
納したメモリアドレスを格納するためのものである。
The second register is for storing a memory address storing a stop instruction for operation monitoring used during normal operation of the signal processor.

第2の比較回路は、第2のレジスタの出力とプログラム
カウンタの出力とを比較して、上記両者が一致するとき
に一致信号を出力するためのものである。
The second comparison circuit compares the output of the second register and the output of the program counter, and outputs a match signal when the two match.

制御回路は、第1および第2の比較回路の出方を入力し
て制御信号を発生するためのものである。
The control circuit receives the outputs of the first and second comparison circuits and generates a control signal.

計数回路は、制御回路から出力される制御信号に応じて
システムクロックを計数するためのものである。
The counting circuit is for counting system clocks according to a control signal output from the control circuit.

第3のレジスタは、シグナルプロセサの正常動作時に予
想される計数回路の計数値出力の最大値全格納するため
のものである。
The third register is for storing all the maximum values of the count value output of the counting circuit expected during normal operation of the signal processor.

第3の比較回路は、計数回路の出力と第3のレジスタの
出力とを比較して前者の出力が後者の出力よりも小さい
ときには%IIを出力するためのものである。
The third comparison circuit compares the output of the counting circuit and the output of the third register and outputs %II when the former output is smaller than the latter output.

第4のレジスタは、シグナルプロセサの正常勤作時に予
想される計数回路の最小値を格納するためのものである
The fourth register is for storing the minimum value of the counting circuit expected during normal operation of the signal processor.

第4の比較回路は、計数回路の出力と第4のレジスタの
出力とを比較して、前者の出力が後者の出力よυも大き
いときに111を出力するためのものである。
The fourth comparison circuit compares the output of the counting circuit and the output of the fourth register, and outputs 111 when the output of the former is larger than the output of the latter by υ.

論理状回路は第3および第4の比較回路の出力を入力し
て論理績を求めるためのものである。
The logic circuit is for inputting the outputs of the third and fourth comparison circuits to obtain a logic result.

反転回路は、論理積回路の出力を反転するためのもので
ある。
The inverting circuit is for inverting the output of the AND circuit.

監視信号発生回路は、反転回路の出力と論理積回路の出
力とを入力し、論理積回路の出力が“1”のときには%
IIを出力し、反転回路の出力が−11のときには%O
#を出力するためのものである。
The monitoring signal generation circuit inputs the output of the inverting circuit and the output of the AND circuit, and when the output of the AND circuit is "1", the output is %.
II, and when the output of the inversion circuit is -11, %O
It is for outputting #.

(実施例) 次に、本発明について図面を参照して説明する。(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 signal processor operation monitoring device according to the present invention.

第1図において本発明はプログラムカラyりlと、第1
のレジスタ2と、第1の比較回路3と、第2のレジスタ
4と、第2の比較回路5と、制御回路6と、計数回路フ
と、第3のレジスタ9と、第3の比較回路10と、第4
のレジスタ11と、第4の比較回路12と、論理状回路
13と、反転回路14と、監視信号発生回路15とから
構成される。
In FIG.
register 2, first comparison circuit 3, second register 4, second comparison circuit 5, control circuit 6, counting circuit F, third register 9, and third comparison circuit 10 and the fourth
The circuit includes a register 11, a fourth comparison circuit 12, a logic circuit 13, an inversion circuit 14, and a supervisory signal generation circuit 15.

シグナルプロセサが動作していれば、プログラムカウン
タ1は次に実行すべきインストラクションが格納されて
いるメモリアドレスを示している。
If the signal processor is operating, program counter 1 indicates the memory address where the next instruction to be executed is stored.

シグナルプロセサが正常に動作していれば、あらかじめ
任意に設定することができる実行すべき監視用のスター
トインストラクションのアドレスを第1のレジスタ2に
格納する。第1の比較回路3では、プログラムカウンタ
1の出力(内容)と第1のレジスタ2の出力とを比較し
、両者が一致していれば一致信号11#制御回路6に出
力する。
If the signal processor is operating normally, the address of a start instruction for monitoring to be executed, which can be arbitrarily set in advance, is stored in the first register 2. The first comparison circuit 3 compares the output (content) of the program counter 1 and the output of the first register 2, and if they match, outputs a match signal 11# to the control circuit 6.

一方、シグナルプロセサが正常に動作していれば、あら
かじめ任意に設定することができる実行すべき監視用の
ストップインストラクションのアドレスを第2のレジス
タ4に格納する。第2の比較回路5では、プログラムカ
ウンタlの出カド第2のレジスタ4の出力とを比較し、
両者が一致していれば一致信号11#を制御回路6に出
力する。
On the other hand, if the signal processor is operating normally, the second register 4 stores the address of a monitoring stop instruction to be executed, which can be arbitrarily set in advance. The second comparison circuit 5 compares the output of the program counter l with the output of the second register 4,
If both match, a match signal 11# is output to the control circuit 6.

制御回路6から出力される制御信号は第1の比較回路3
の出力が%1#になったときに“1”に設定され、第2
の比較回路4の出力が“1”になった時点でtOlに設
定される。
The control signal output from the control circuit 6 is sent to the first comparator circuit 3.
is set to “1” when the output of
When the output of the comparison circuit 4 becomes "1", it is set to tOl.

計数回路フでは、制御回路6から出力される制御信号を
入力するとともに、制御信号が“1”のときに入力端子
8よシ入力されるシステムクロックを計数し、制御信号
がtOlのときにはその内容を保持している。
The counting circuit inputs the control signal output from the control circuit 6, counts the system clock input from the input terminal 8 when the control signal is "1", and counts the contents when the control signal is tOl. is held.

第3の比較回路lOでは、あらかじめ設定された監視用
のスタートインストラクションからストップインストラ
クションまで実行するのに要する最大時間の間に発生す
ると予想される最大値を格納した第3のレジスタ9の出
力と計数回路7の出力(計数値)とを比較し、前者が後
者よりも小さい場合には%1Nを出力し、大きい場合に
は%QIを出力する。
In the third comparator circuit 10, the output of the third register 9 and the count are stored, which store the maximum value expected to occur during the maximum time required for execution from a preset start instruction to a stop instruction for monitoring. The output (count value) of the circuit 7 is compared, and if the former is smaller than the latter, %1N is output, and if larger, %QI is output.

第4のレジスタ11はあらかじめ設定された監視用のス
タートインストラクションからストップインストラクシ
ョンまでの実行所要最小時間内に発生すると予想される
最小値を格納する。第4の比較回路12では、第4のレ
ジスタ11の出力と計数回路7の出力とを比較し、前者
が後者よりも小さい場合にはtOlを出力し、大きい場
合には一1lを出力する。
The fourth register 11 stores the minimum value expected to occur within the minimum time required for execution from a preset monitoring start instruction to a stop instruction. The fourth comparison circuit 12 compares the output of the fourth register 11 and the output of the counting circuit 7, and if the former is smaller than the latter, it outputs tOl, and if it is larger, it outputs -1l.

したがって、第3の比較回路lOの出力と第4の比較回
路12の出力との論理積をとるための論理積回路13の
出力では、計数回路7の出力が予想される最大値と最小
値との間に入っているときのみ11Iとなる。
Therefore, in the output of the AND circuit 13 for taking the AND of the output of the third comparator circuit lO and the output of the fourth comparator circuit 12, the output of the counting circuit 7 is the expected maximum value and minimum value. It becomes 11I only when it is between.

監視信号発生回路15ば、論理状回路13の出力七輪埋
積回路13の出力を反転するための反転回路14の出力
とを入力する。前者が“1”のときには監視信号発生回
路15から出力される監視信号は%llに設定され、後
者が%INの七きにはtOlに設定される。したがって
、監視信号発生回路15を用いれば、計数回路7の出力
が予想される最大値と最小値との間に入っているときに
は“1”になり、入っていないときには1ONになる監
視信号が得られる。いいかえれば、シグナルプロセサが
正常に動作していれば’ 11になり、シグナルプロセ
サが正常に動作していなければ一〇lとなる監視4m号
が得られる。
The monitoring signal generating circuit 15 receives the output of the logic circuit 13 and the output of the inverting circuit 14 for inverting the output of the seven-wheel filling circuit 13. When the former is "1", the supervisory signal output from the supervisory signal generating circuit 15 is set to %ll, and when the latter is equal to %IN, it is set to tOl. Therefore, by using the supervisory signal generation circuit 15, a supervisory signal can be obtained that becomes "1" when the output of the counting circuit 7 is between the expected maximum value and minimum value, and becomes 1ON when the output is not within the expected maximum value and minimum value. It will be done. In other words, if the signal processor is operating normally, the monitoring number 4m will be '11, and if the signal processor is not operating normally, it will be 10l.

なお、計数回路7の計数値は一回の計数が終了し、次の
計数が開始される前、例えば、最初のインストラクショ
ンの実行とともにリセットされる。
Note that the count value of the counting circuit 7 is reset after one count ends and before the next count starts, for example, at the same time as the first instruction is executed.

(発明の効果) 以上説明したよりに本発明は、監視用スタートインスト
ラクションとストップインストラク7ヨンとを任意に設
定し、相離れた上記一対のインストラクション間に実行
されるべきインストラクションの実行時間に発生するシ
ステムクロックを計数してシグナルプロセサの動作を判
定することによシ、シグナルプロセサの真の動作を簡単
に監視できるという効果がある。
(Effects of the Invention) As explained above, the present invention arbitrarily sets a monitoring start instruction and a stop instruction, and generates a monitoring start instruction and a stop instruction at the execution time of an instruction to be executed between a pair of instructions separated from each other. By counting the system clock and determining the operation of the signal processor, the true operation of the signal processor can be easily monitored.

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

第1図は、本発明によるシグナルプロセサの動作監視装
置の一実施例を示すブロック図である。 l・・・プログラムカウンメ 2.4.9.11・・・レジスタ 3.5.10.12・−−比較回路 6・・・制御回路 7・・・計数回路 8・・・入力端子 13番・・論理積回路 14・・・反転回路 15・・・監視信号発生回路
FIG. 1 is a block diagram showing an embodiment of a signal processor operation monitoring device according to the present invention. l...Program counter 2.4.9.11...Register 3.5.10.12...Comparison circuit 6...Control circuit 7...Counting circuit 8...Input terminal No. 13 ...Logic product circuit 14...Inversion circuit 15...Monitoring signal generation circuit

Claims (1)

【特許請求の範囲】[Claims] インストラクション制御により信号を処理するシグナル
プロセサの正常動作時に使用される動作監視用のスター
トインストラクションを格納したメモリアドレスを格納
するための第1のレジスタと、前記シグナルプロセサが
動作しているときに次に実行すべきインストラクション
が格納されているメモリアドレスを示すためのプログラ
ムカウンタと、前記第1のレジスタの出力と前記プログ
ラムカウンタの出力とを比較して前記両出力が一致する
ときに一致信号を出力するための第1の比較回路と、前
記シグナルプロセサの正常動作時に使用される動作監視
用のストップインストラクションを格納したメモリアド
レスを格納するための第2のレジスタと、前記第2のレ
ジスタの出力と前記プログラムカウンタの出力とを比較
して前記両出力が一致するときに一致信号を出力するた
めの第2の比較回路と、前記第1および第2の比較回路
の出力を入力して制御信号を発生するための制御回路と
、前記制御回路から出力される前記制御信号に応じてシ
ステムクロックを計数するための計数回路と、前記シグ
ナルプロセサの正常動作時に予想される前記計数回路の
計数値出力の最大値を格納するための第3のレジスタと
、前記計数回路の出力と前記第3のレジスタの出力とを
比較して前記計数回路の出力が前記第3のレジスタの出
力よりも小さいときには“1”を出力するための第3の
比較回路と、前記シグナルプロセサの正常動作時に予想
される前記計数回路の最小値を格納するための第4のレ
ジスタと、前記計数回路の出力と前記第4のレジスタの
出力とを比較して前記計数回路の出力が前記第4のレジ
スタの出力よりも大きいときに“1”を出力するための
第4の比較回路と、前記第3および第4の比較回路の出
力を入力して論理積を求めるための論理積回路と、前記
論理積回路の出力を反転するための反転回路と、前記反
転回路の出力と前記論理積回路の出力とを入力し、前記
論理回路の出力が“1”のときには“1”を出力し、前
記反転回路の出力“1”のときには“0”を出力するた
めの監視信号発生回路とを具備し、前記スタートインス
トラクションの実行から前記ストップインストラクショ
ンの実行までの間に発生するシステムクロックの数を計
数して出力することができるように構成したシグナルプ
ロセサの動作監視装置。
A first register for storing a memory address storing a start instruction for operation monitoring used during normal operation of a signal processor that processes signals by instruction control; A program counter for indicating a memory address where an instruction to be executed is stored, and comparing the output of the first register and the output of the program counter, and outputting a match signal when the two outputs match. a second register for storing a memory address storing a stop instruction for operation monitoring used during normal operation of the signal processor; a second comparison circuit for comparing the output of the program counter and outputting a match signal when the two outputs match; and generating a control signal by inputting the outputs of the first and second comparison circuits. a control circuit for counting system clocks in accordance with the control signal output from the control circuit; and a maximum count value output of the counting circuit expected during normal operation of the signal processor. A third register for storing a value compares the output of the counting circuit with the output of the third register, and when the output of the counting circuit is smaller than the output of the third register, "1" a fourth register for storing the minimum value of the counting circuit expected during normal operation of the signal processor; and an output of the counting circuit and the fourth register. a fourth comparison circuit for comparing the output of the counting circuit with the output of the counting circuit and outputting "1" when the output of the counting circuit is larger than the output of the fourth register; an AND circuit for inputting outputs to obtain a logical product; an inverting circuit for inverting the output of the AND circuit; an output of the inverting circuit and an output of the AND circuit; and a supervisory signal generation circuit for outputting "1" when the output of the circuit is "1" and outputting "0" when the output of the inverting circuit is "1", A signal processor operation monitoring device configured to count and output the number of system clocks generated until a stop instruction is executed.
JP60253423A 1985-11-12 1985-11-12 Operation monitoring device for signal processor Pending JPS62113245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60253423A JPS62113245A (en) 1985-11-12 1985-11-12 Operation monitoring device for signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60253423A JPS62113245A (en) 1985-11-12 1985-11-12 Operation monitoring device for signal processor

Publications (1)

Publication Number Publication Date
JPS62113245A true JPS62113245A (en) 1987-05-25

Family

ID=17251185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60253423A Pending JPS62113245A (en) 1985-11-12 1985-11-12 Operation monitoring device for signal processor

Country Status (1)

Country Link
JP (1) JPS62113245A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0276349A (en) * 1988-09-12 1990-03-15 Fujitsu Ltd Communication controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0276349A (en) * 1988-09-12 1990-03-15 Fujitsu Ltd Communication controller

Similar Documents

Publication Publication Date Title
JPS62113245A (en) Operation monitoring device for signal processor
JPS6260038A (en) Watchdog circuit
JPH01119118A (en) Clock generation circuit
JPS62113246A (en) Operation monitoring device for signal processor
JP2598547Y2 (en) Pattern generator for semiconductor test equipment
JPH06188872A (en) Synchronization protective circuit
SU868758A1 (en) Device for control of digital computer stop
JPS5965356A (en) Single-chip microcomputer
JP2517943B2 (en) Timer device
JPH08335179A (en) One-chip microcomputer
JPH04225432A (en) Interruption processing time control system for one-chip microcomputer
JPS61183745A (en) Interruption control device
KR100366800B1 (en) Apparatus for detecting error of external clock in transmission system
JPS60262252A (en) Monitor system for runaway of microprocessor
JP2804406B2 (en) Pulse measuring device
JPS60218135A (en) Data processor
JPH01283641A (en) Interruption controller
JPH01123329A (en) Interrupting circuit
JPS62180434A (en) Detecting circuit for fault of signal processor
JPH05313917A (en) Interruption control circuit
JPS59208627A (en) Data processor
JPS63306716A (en) Pulse count system
JPH0427730B2 (en)
JPH02234240A (en) Information processor
KR20020017017A (en) Monitering Apparatus of Clock of Switching System