JPS60204044A - Fault searching circuit - Google Patents

Fault searching circuit

Info

Publication number
JPS60204044A
JPS60204044A JP59059152A JP5915284A JPS60204044A JP S60204044 A JPS60204044 A JP S60204044A JP 59059152 A JP59059152 A JP 59059152A JP 5915284 A JP5915284 A JP 5915284A JP S60204044 A JPS60204044 A JP S60204044A
Authority
JP
Japan
Prior art keywords
address
circuit
stall
signal line
comparing
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
JP59059152A
Other languages
Japanese (ja)
Inventor
Toru Kanazawa
亨 金澤
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
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59059152A priority Critical patent/JPS60204044A/en
Publication of JPS60204044A publication Critical patent/JPS60204044A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To detect automatically a stall state without requiring a manual operation or an inference, and to display a stall address of a microprogram by comparing a micro-address and a comparing address. CONSTITUTION:An address setting circuit 20 inputs an executing address of that time point by an external input signal line 102, informs it to a comparing address circuit 40, and also indicates a start of a time monitor to a timer circuit 30. The address comparing circuit 40 compares a value of a micro-address of a signal line 101, and a comparing address of a signal line 201, and in case they coincide with each other, the coincidence is informed to a counter circuit 50. When the contents of the counter circuit 50 reach a prescribed value, a display is indicated to a displaying circuit 60, a suspension of the operation is indicated to the address setting circuit 20, and also the operation of the timer circuit 30 is suspended. The displaying circuit 60 displays a stall and also displays a stall address.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はマイクロプログラム評価装置における障害探索
回路に関し、特にマイクロプログラムのストールを自動
的に検出する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a fault detection circuit in a microprogram evaluation device, and more particularly to a system for automatically detecting a stall in a microprogram.

(従来技術) 従来、マイクロプログラムの評価ならびに障害調査にお
いては、そのマイクロプログラムを実行する装置に備え
である保守盤、葦たはアナライザ、あるいは実装された
装置に接続可能な保守アダプタのような保守手段を使用
して、ソフトウェアの評価や障害の探索が行われていた
(Prior Art) Conventionally, in microprogram evaluation and fault investigation, maintenance equipment such as a maintenance panel, reed or analyzer that is provided for the device that executes the microprogram, or a maintenance adapter that can be connected to the installed device has been used. The tools were used to evaluate software and search for faults.

一般に、マイクロプログラムの実行中においては、抜出
し口のないループを生ずることがある。
Generally, during the execution of a microprogram, a loop with no exit exit may occur.

すなわち、いわゆるストールを起すことがある。In other words, a so-called stall may occur.

従来は、このようなストール現象を調査するために、成
る一定の時間を経過しても処理装置の動作に変化がみら
れない場合には、上記保守手段に備えであるストップス
イッチでマイクロプログラム確認するか、あるいは上記
保守手段に通常装備されているマイクロブジグラムアド
レス表示回路の表示を、経験的な感覚でおおよその値と
してマイクロブ四グラムの実行中に読取ってストールア
ドレスを推定していた。このため、従来方式ではストー
ルアドレスが確定できないと云う欠点があった。
Conventionally, in order to investigate such a stall phenomenon, if there is no change in the operation of the processing unit after a certain period of time, a stop switch is used as a precautionary measure to check the microprogram. Alternatively, the stall address has been estimated by reading the display of the microbuzigram address display circuit, which is usually installed in the above-mentioned maintenance means, as an approximate value based on experience. For this reason, the conventional method has the disadvantage that the stall address cannot be determined.

(発明の目的ン 本発明の目的は、マイクロアドレスバスかも実行中のマ
イクロアドレスを取込んで比較アドレスを生成し、マイ
クロアドレス信号線上のマイクロアドレスと上記比較ア
ドレスとを比較し、上記両アドレスの一致が報告される
ごとにアドレスを増分し、実行のスタートの指示が送出
された時間を起点として時間を監視しながらストール報
告を送出してストールの生起の表示とストールアドレス
の表示とを同時に行うことにより上記欠点を除去し、人
手による操作、あるbは推測を必要とせず、自動的にス
トール状態を検知し、マイクロプログラムの実行を止め
ることなぐ上記スト−ルア゛ドレ。
(Object of the invention) The object of the present invention is to generate a comparison address by capturing the microaddress being executed on the microaddress bus, and to compare the microaddress on the microaddress signal line with the above comparison address, and to compare the microaddress on the microaddress signal line with the above comparison address. The address is incremented each time a match is reported, and a stall report is sent out while monitoring the time starting from the time when the instruction to start execution is sent out, thereby simultaneously displaying the occurrence of a stall and the stall address. This method eliminates the above disadvantages by automatically detecting the stall condition without requiring any manual operation or guesswork, and the above mentioned stall address without stopping the execution of the microprogram.

ス′を表示することができる評価ツールとして構成。It is configured as an evaluation tool that can display the

した障害探索回路を提供することにある。The object of the present invention is to provide a fault search circuit with improved performance.

(発生の構成ン 本発明による障害探索回路はアドレス設定回路と、アド
レス比較回路と、カウンタ回路と、タイマ回路と2表示
回路とを具備して構成したものである・ アドレス設定回路暖、マイクロアドレスバスから実行中
のマイクロアドレスを取込んで比較アドレスを生成する
ためのものである。
(The fault search circuit according to the present invention includes an address setting circuit, an address comparison circuit, a counter circuit, a timer circuit, and a 2-display circuit.) Address setting circuit heating, micro address This is to generate a comparison address by taking in the microaddress being executed from the bus.

アドレス比較回路は、マイクロアドレスバス上のマイク
ロアドレスと、アドレス設定回路から出力され之比較ア
ドレスとを比較し、上記両アドレスの一致を検知するた
めのものでるる。
The address comparison circuit compares the microaddress on the microaddress bus with the comparison address output from the address setting circuit and detects whether the two addresses match.

カウンタ回路は、アドレス比較回路からの上記両アドレ
スの一致を報告するごとに内容を増分するためのもので
ある。
The counter circuit increments its contents each time the address comparison circuit reports a match between the two addresses.

タイマ回路は、アドレス設定回路からの実行スタート指
示を起点として経過時間を監視し、ストールの発生によ
シ動作を停止してストールの発生全報告するためのもの
である。
The timer circuit monitors the elapsed time starting from the execution start instruction from the address setting circuit, stops the operation when a stall occurs, and reports all occurrences of the stall.

表示回路は、カウンタ回路からストールの発生が報告さ
れた時点でストールの生起の表示とストールアドレスの
表示とを同時に行うためのものである。
The display circuit is for simultaneously displaying the occurrence of a stall and the stall address at the time when the counter circuit reports the occurrence of a stall.

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

第1図は、本発明による障害探索回路の一実施例を示す
ブロック図である。第1図において、20はアドレス設
定回路、60はタイマ回路、40はアドレス比較回路、
50はカウンタ回路、60は表示回路である。第1図に
おいで、外部入力信号線102によシ動作開始の指示を
受付けたアドレス設定回路20は、マイクロアドレスノ
(ス信号fIJ101から、その時点での実行アドレス
を取込魯、信号線20,1上に比較アドレスとして送出
してアドレス比較回路40へ通知し、さらに指示信号線
202を介してタイマ回路60へ時間監ネ騨の1飴を指
示する。
FIG. 1 is a block diagram showing an embodiment of a fault search circuit according to the present invention. In FIG. 1, 20 is an address setting circuit, 60 is a timer circuit, 40 is an address comparison circuit,
50 is a counter circuit, and 60 is a display circuit. In FIG. 1, the address setting circuit 20, which has received an instruction to start an operation via the external input signal line 102, takes in the current execution address from the micro address signal fIJ101 and transfers it to the signal line 20. .

アドレス比較回路40は、信号線101上のマイクロア
ドレスの値と信号線201上の比較アドレスとを比較し
、上記両者が一致すると指示信号線401を介してカウ
ンタ回路50へ一致を報告する。
The address comparison circuit 40 compares the value of the microaddress on the signal line 101 and the comparison address on the signal line 201, and if the two match, it reports the match to the counter circuit 50 via the instruction signal line 401.

カウンタ回路50は上記一致報告ごとにカウント値を増
分し、カウンタ回路50の内容が規定値に到達すると信
号線501上の指示によle示回路60へ表示を指示し
、信号會502上の指示によシアドレス設定回路20に
動作の中止を指示すると共に、指示信号線506により
タイマ回路60の動作の中止を指示する。
The counter circuit 50 increments the count value for each match report, and when the contents of the counter circuit 50 reach a specified value, the instruction on the signal line 501 instructs the LED display circuit 60 to display, and the instruction on the signal line 502 At the same time, it instructs the driver address setting circuit 20 to stop its operation, and also instructs the timer circuit 60 to stop its operation via the instruction signal line 506.

表示回路60は、カウンタ回路50からの指示により、
マイクロプログラムがストールしたものと判断し、スト
ールを表示すると共に、信号線201上の比較アドレス
をストールアドレスとして表示する。また、アドレス設
定回路20は信号線502上の指示にしたがって動作を
中止する。
The display circuit 60 operates according to instructions from the counter circuit 50.
It is determined that the microprogram has stalled, the stall is displayed, and the comparison address on the signal line 201 is displayed as the stall address. Further, the address setting circuit 20 stops operating according to the instruction on the signal line 502.

一方、タイマ回路30は信号線202上の指示にしたが
って実行時間の監視を開始し、この時間が規定値VC到
達すると信号線602上の指示にしたがってカウンタ回
路50のカウントの中止を指示し、信号線601上の指
示にしたがってアドレス設定回路20にアドレス設定の
やシ直しを指示する。
On the other hand, the timer circuit 30 starts monitoring the execution time according to the instruction on the signal line 202, and when this time reaches the specified value VC, it instructs the counter circuit 50 to stop counting according to the instruction on the signal line 602, and In accordance with the instruction on line 601, the address setting circuit 20 is instructed to correct the address setting.

上記によシ、アドレス設定回路20は、再び外部入力信
号線102よシ指示が到来したのと同様にマイクロプロ
グラムの再取込みを行う、以下、同様にして上記動作を
繰返して実行する。
According to the above, the address setting circuit 20 re-captures the microprogram in the same manner as when the instruction arrives again through the external input signal line 102. Thereafter, the above operation is repeated in the same manner.

(発明の効果ン 以上説明したように本発明では、マイクロアドレスバス
から実行中のマイクロアドレスを取込んで比較アドレス
を生成し、iイクロアドレス信号線上のマイクロアドレ
スと上記比較アドレスとを比較し、上記両アドレスの一
致が報告されるごとにアドレスの値を増分し、実行スタ
ートの指示が送出された時点會起点として時間を監視し
ながらストールの報告を送出することによシ、ストール
の生起の表示とストールアドレスの表示とを同時に行う
ことによシ、自動的にストール状態を検知し、マイクロ
プログラムの実行を止めることなく上記ストールアドレ
スを表示するための評価ツールを提供し、処理に影響を
与えることなく有効に障害の探索を行うことができると
云う効果がある。
(Effects of the Invention) As explained above, in the present invention, the microaddress being executed is taken from the microaddress bus to generate a comparison address, and the microaddress on the i microaddress signal line is compared with the comparison address, By incrementing the address value each time a match between the above two addresses is reported and sending a stall report while monitoring the time as the starting point when the instruction to start execution is sent, it is possible to detect the occurrence of a stall. By displaying the stall address at the same time, it automatically detects the stall state and provides an evaluation tool to display the stall address without stopping the execution of the microprogram. This has the effect that it is possible to effectively search for obstacles without having to do so.

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

第1図は、本発明による障害探索回路の一実施例を示す
ブロック図である。 20・・・アドレス設定回路 60・・・タイマ回路 40・・・アドレス比較回路 50・・・カウンタ回路 60・・・表示回路 101.102,201,202,301゜502*4
01−501−S503・・・・・Φ・・・・・信号線 特許出願人 日本電気株式会社 代理人 弁理士 井 ) ロ 壽
FIG. 1 is a block diagram showing an embodiment of a fault search circuit according to the present invention. 20...Address setting circuit 60...Timer circuit 40...Address comparison circuit 50...Counter circuit 60...Display circuit 101.102,201,202,301゜502*4
01-501-S503...Φ...Signal line patent applicant NEC Corporation representative Patent attorney Hisashi I) Ro

Claims (1)

【特許請求の範囲】[Claims] マイクロアドレスバスから実行中のマイクロアドレスを
取込んで比較アドレスを生成するためのアドレス設定回
路と、前記マイクロアドレスバス上のマイクロアドレス
と前記アドレス設定回路から出力された前記比較アドレ
スとを比較してアドレス一致そ検知するためのアドレス
比較回路と、前記アドレス比較回路からの前記アドレス
一致を報告するごとに内容を増分するためのカウンタ回
路と、前記アドレス設定回路からのスタート指示を起点
として経過時間を監視し、ストールの発生により動作を
停止して前記ストールの発生を報告するためのタイマ回
路と、前記カウンタ回路から前記ストールの発生が報告
されたときに前記ストールの表示とストールアドレスの
表示とを行うための表示回路とを具備して構成したこと
を特徴と
an address setting circuit for taking in a microaddress being executed from a microaddress bus and generating a comparison address; and comparing the microaddress on the microaddress bus with the comparison address output from the address setting circuit. an address comparison circuit for detecting an address match; a counter circuit for incrementing contents each time the address match is reported from the address comparison circuit; and a counter circuit for incrementing the contents each time the address match is reported from the address comparison circuit; a timer circuit for monitoring, stopping operation when a stall occurs and reporting the occurrence of the stall; and displaying the stall and displaying the stall address when the counter circuit reports the occurrence of the stall. It is characterized by being configured with a display circuit for performing
JP59059152A 1984-03-27 1984-03-27 Fault searching circuit Pending JPS60204044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59059152A JPS60204044A (en) 1984-03-27 1984-03-27 Fault searching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59059152A JPS60204044A (en) 1984-03-27 1984-03-27 Fault searching circuit

Publications (1)

Publication Number Publication Date
JPS60204044A true JPS60204044A (en) 1985-10-15

Family

ID=13105087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59059152A Pending JPS60204044A (en) 1984-03-27 1984-03-27 Fault searching circuit

Country Status (1)

Country Link
JP (1) JPS60204044A (en)

Similar Documents

Publication Publication Date Title
JPS63302238A (en) Apparatus to diagnose trouble in air conditioner
JPS60204044A (en) Fault searching circuit
JP3348479B2 (en) Error processing device and error processing method
JPS62276991A (en) Testing system for measurement control system
JP2568760Y2 (en) Auxiliary equipment monitoring device
JPH0721060A (en) Abnormality detecting system for central processing unit
JPS61193236A (en) Self-runaway handling device of microcomputer
JPS62276638A (en) System monitor
JPS63310047A (en) Error detection system for input/output device
JPH0575705A (en) Normalness monitor of external information processor
JPH0721093A (en) Abnormality monitor system for direct memory access device
JPS63172306A (en) Programmable controller
JPH09305217A (en) Equipment management network system
JPS5819097B2 (en) Computer system monitoring method
JPH01233503A (en) Fault diagnostic method for numerical controller
JPS6258743A (en) Abnormality detecting device for remote supervisory data
JPH07202990A (en) Debugging device
JPH02170733A (en) Testing device
JPH03167610A (en) System trouble monitoring device
JPH06139111A (en) Fault position segmenting system
JPH02208744A (en) Testing device for computer
JPS61193237A (en) Self-runaway handling device of microcomputer
JPH02281301A (en) Trouble diagnostic device
JP2000112506A (en) Sequence controller and method for monitoring the same
JPH08202587A (en) Digital processor provided with software self-diagnostic function