JPH04106637A - Stall detection circuit - Google Patents

Stall detection circuit

Info

Publication number
JPH04106637A
JPH04106637A JP2224895A JP22489590A JPH04106637A JP H04106637 A JPH04106637 A JP H04106637A JP 2224895 A JP2224895 A JP 2224895A JP 22489590 A JP22489590 A JP 22489590A JP H04106637 A JPH04106637 A JP H04106637A
Authority
JP
Japan
Prior art keywords
microprogram
address
stall
signal
logic
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
JP2224895A
Other languages
Japanese (ja)
Inventor
Toshio Ishikawa
石川 俊生
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP2224895A priority Critical patent/JPH04106637A/en
Publication of JPH04106637A publication Critical patent/JPH04106637A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable an information processor itself to detect its own stall within appropriate monitoring time by monitoring the repeating time of the same microprogram operation or the waiting time for the execution of a microprogram by means of a counter. CONSTITUTION:A comparator circuit 2 compares the address 51 of the currently executed microprogram from an address register 5 with the address 11 of the microprogram executed immediately before the currently executed microprogram from an address buffer register 1. When the compared addresses do not coincide with each other, the circuit 2 sets a discordance signal 21 to logic '1' and, when the addresses coincide with each other, sets a coincidence signal 22 to logic '1'. A counter 3 is reset synchronously to a system clock 70 when the discordance signal 21 from the circuit 2 is logic '1' and counted up synchronously to the clock 70 when the coincidence signal 22 from the circuit 2 is logic '1'. The counter 3 sends a stall signal 31 when the count value overflows. Therefore, an information processor itself can detect its own stall with appropriate monitoring time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はストール検出回路に関し、特にマイクロプログ
ラム制御方式の情報処理装置においてマイクロプログラ
ムのストールを検出するストール検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a stall detection circuit, and more particularly to a stall detection circuit that detects a stall in a microprogram in a microprogram control type information processing apparatus.

〔従来の技術〕[Conventional technology]

従来、この種の情報処理装置においては、故障等により
同じマイクロプログラムの動作の繰返しが生じたり、他
装置からの応答が返らずにマイクロプログラムの実行が
待たされる状態く機能停止の状態)、即ち情報処理装置
のストールを検出する方式として、他装置、例えば診断
装置がら定期的に情報処理装置の監視を行うものがある
Conventionally, in this type of information processing device, the operation of the same microprogram may be repeated due to a malfunction or the like, or the microprogram may stop functioning due to no response from other devices and the execution of the microprogram is forced to wait). As a method for detecting a stall in an information processing device, there is a method in which the information processing device is periodically monitored by another device, for example, a diagnostic device.

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

上述した従来のストール検出方式では、一般に監視すべ
き時間の長さを正確に予測することが困難であるので、
かなり余裕を持たせた時間長を設定せざるを得なかった
。従って、情報処理装置のストール検出が遅れるばがっ
てなく、情報処理装置の機能停止の原因が不明であるた
め回復手段を講じることができないのでシステムダウン
となる可能性が高いという欠点がある。
In the conventional stall detection method described above, it is generally difficult to accurately predict the length of time to be monitored.
We had no choice but to set a time length with considerable leeway. Therefore, there is a drawback that the stall detection of the information processing apparatus is delayed, and since the cause of the functional stoppage of the information processing apparatus is unknown, recovery measures cannot be taken, and there is a high possibility that the system will go down.

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

本発明のストール検出回路は、現在実行中のマイクロプ
ログラムアドレスかセットされるアドレスバッファレジ
スタと、現在実行中のマイクロプログラムアドレスと前
記アドレスバッファレジスタの値とを比較する比較回路
と、前記比較回路の不一致出力信号によりリセットされ
且つ前記比較回路の一致出力信号か出力されている間は
カウントアツプされるカウンタとを備え、前記カウンタ
が所定の値になったときにストール信号を送出する。
The stall detection circuit of the present invention includes: an address buffer register in which a currently executed microprogram address is set; a comparison circuit that compares the currently executed microprogram address with the value of the address buffer register; and a counter that is reset by the non-coincidence output signal and counts up while the coincidence output signal of the comparator circuit is being output, and sends out a stall signal when the counter reaches a predetermined value.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図において、本発明の一実施例はアドレスバッファ
レジスタ1と、比較回路2と、カウンタ3と、制御記憶
4と、アドレスレジスタ5とを備えている。
In FIG. 1, one embodiment of the present invention includes an address buffer register 1, a comparator circuit 2, a counter 3, a control memory 4, and an address register 5.

次に本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

実行すべきマイクロプログラムアドレス60は制御記憶
4のアトしス入力とアドレスレジスタ5のデータ入力と
に接続される。また、現在実行中のマイクロプログラム
アドレス51はアドレスバッファレジスタ1のデータ入
力と比較回路2の一方の入力とに接続され、直前に実行
されたマイクロブロクラムアドレス11は比較回路2の
他方の入力に接続される。比較回路2はアドレスレジス
タ5からの現在実行中のマイクロプログラムアドレス5
1と、アドレスバッファレジスタ1からの直前に実行さ
れたマイクロプログラムアドレス11とを比較し、その
結果が不一致のときに不一致信号21を論理“1′にし
、また結果か一致のときに一致信号22を論理“1°に
する。カウンタ3は比較回路2からの不一致信号21が
論理′1′であるときにシステムクロック70に同期し
てリセットされ、比較回路2からの一致信号22が論理
′1′であるときにシステムクロック70に同期してカ
ウントアツプされ、カウント値かオーバーフローしたと
きにストール信号31を送出する。
The microprogram address 60 to be executed is connected to the AT input of the control store 4 and to the data input of the address register 5. Furthermore, the microprogram address 51 currently being executed is connected to the data input of the address buffer register 1 and one input of the comparison circuit 2, and the microprogram address 11 executed immediately before is connected to the other input of the comparison circuit 2. Connected. The comparison circuit 2 receives the currently executing microprogram address 5 from the address register 5.
1 and the most recently executed microprogram address 11 from the address buffer register 1, and when the results do not match, the mismatch signal 21 is set to logic "1", and when the results match, the match signal 22 is set to logic "1". Make it logical “1°. The counter 3 is reset in synchronization with the system clock 70 when the mismatch signal 21 from the comparator circuit 2 is logic '1', and is reset in synchronization with the system clock 70 when the match signal 22 from the comparator circuit 2 is logic '1'. A stall signal 31 is sent out when the count value overflows.

なお、ストール監視時間はシステムクロック70の周波
数とカウンタ3のビット数とにより設定する。
Note that the stall monitoring time is set based on the frequency of the system clock 70 and the number of bits of the counter 3.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、現在実行中のマイクロプ
ログラムアドレスと、直前に実行したマイクロプログラ
ムアドレスが一致する時間、即ち、同一マイクロプログ
ラム動作の繰返し時間又はマイクロプログラムの実行が
待たされている時間をカウンタによって監視することに
より、情報処理装置自体が自からのストールを適正な監
視時間で検出できるという効果を有する。
As explained above, the present invention is based on the time when the currently executed microprogram address matches the immediately previously executed microprogram address, that is, the repetition time of the same microprogram operation or the time during which the execution of the microprogram is awaited. By monitoring this using a counter, there is an effect that the information processing apparatus itself can detect its own stall within an appropriate monitoring time.

レジスタ、11・・直前に実行されたマイクロプログラ
ムアドレス、21・・不一致信号、22・・・一致信号
、31・・・ストール信号、51・・・現在実行中のマ
イクロプログラムアドレス、60・・実行すべきマイク
ロプログラムアドレス、70・・・システムクロック。
Register, 11...Address of the microprogram executed just before, 21...Disagreement signal, 22...Coincidence signal, 31...Stall signal, 51...Address of the microprogram currently being executed, 60...Execution Should microprogram address, 70... system clock.

Claims (1)

【特許請求の範囲】[Claims] 現在実行中のマイクロプログラムアドレスがセットされ
るアドレスバッファレジスタと、現在実行中のマイクロ
プログラムアドレスと前記アドレスバッファレジスタの
値とを比較する比較回路と、前記比較回路の不一致出力
信号によりリセットされ且つ前記比較回路の一致出力信
号が出力されている間はカウントアップされるカウンタ
とを備え、前記カウンタが所定の値になったときにスト
ール信号を送出することを特徴とするストール検出回路
an address buffer register in which the address of the microprogram currently being executed is set; a comparison circuit that compares the address of the microprogram currently being executed with the value of the address buffer register; 1. A stall detection circuit comprising: a counter that is counted up while a coincidence output signal of a comparison circuit is being outputted; and a stall detection circuit that sends out a stall signal when the counter reaches a predetermined value.
JP2224895A 1990-08-27 1990-08-27 Stall detection circuit Pending JPH04106637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2224895A JPH04106637A (en) 1990-08-27 1990-08-27 Stall detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2224895A JPH04106637A (en) 1990-08-27 1990-08-27 Stall detection circuit

Publications (1)

Publication Number Publication Date
JPH04106637A true JPH04106637A (en) 1992-04-08

Family

ID=16820841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2224895A Pending JPH04106637A (en) 1990-08-27 1990-08-27 Stall detection circuit

Country Status (1)

Country Link
JP (1) JPH04106637A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6378078B1 (en) 1998-03-24 2002-04-23 Nec Corporation Semiconductor integrated circuit supervising an illicit address operation
JP2008117414A (en) * 2007-12-13 2008-05-22 Denso Corp Memory interface circuit device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6378078B1 (en) 1998-03-24 2002-04-23 Nec Corporation Semiconductor integrated circuit supervising an illicit address operation
JP2008117414A (en) * 2007-12-13 2008-05-22 Denso Corp Memory interface circuit device

Similar Documents

Publication Publication Date Title
JPH0346854B2 (en)
JPS5983254A (en) Watchdog timer
JPH04106637A (en) Stall detection circuit
US4862352A (en) Data processor having pulse width encoded status output signal
US6526528B1 (en) Ticket punch watchdog monitor
KR100494114B1 (en) Timer circuit
JPH064301A (en) Time division interruption control system
JP2540779B2 (en) State change detector
JPS63241622A (en) Data processor
JP2990800B2 (en) Interrupt processing device
JPS6128146B2 (en)
JPH03266110A (en) Resetting device for computer
JPH0234071B2 (en)
JPH04260910A (en) Clock stopping circuit for central processing unit
JPH01175046A (en) Operation history storage device
JPH0736735A (en) Debugging device
JPH06350677A (en) Interrupt request type switching request signal monitoring system
JPH06131209A (en) Artificial error generating system
JPH0436420B2 (en)
JPH1196019A (en) Method for controlling interruption
JPH08221301A (en) Watchdog timer circuit
JPH05191236A (en) Clock interruption detection circuit
JPH02234240A (en) Information processor
JPH086870A (en) Data transfer device
JPH02125342A (en) Information processor