JPS62272331A - Tracer system - Google Patents

Tracer system

Info

Publication number
JPS62272331A
JPS62272331A JP61116630A JP11663086A JPS62272331A JP S62272331 A JPS62272331 A JP S62272331A JP 61116630 A JP61116630 A JP 61116630A JP 11663086 A JP11663086 A JP 11663086A JP S62272331 A JPS62272331 A JP S62272331A
Authority
JP
Japan
Prior art keywords
circuit
memory
address
signal
register
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
JP61116630A
Other languages
Japanese (ja)
Inventor
Wataru Shimoda
下田 渉
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 JP61116630A priority Critical patent/JPS62272331A/en
Publication of JPS62272331A publication Critical patent/JPS62272331A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To keep back data before the occurrence of a trouble in a memory even in case of the trouble detected by a timer by stopping the write to the memory when the number of times of coincidence between current and preceding micro instruction addresses exceeds a specific value in case of continuity of the same micro instruction address. CONSTITUTION:The micro instruction address inputted to a memory 1 and that held in a data register 2 are compared with each other by a comparing circuit 3, and a coincidence signal is outputted when they coincide with each other. A counting circuit 4 counts the number of times of coincidence signal output from the comparing circuit 3 up to the specific value, and the circuit 4 outputs a carry signal when the counted value exceeds this specific value. A detecting circuit 5 detects it by the carry signal that the counting circuit 4 continues counting beyond the specific value, and the circuit 5 outputs the output to a control circuit 8. The control circuit 8 stops update of a write address counter of an address counter circuit 7 and write instruction to the memory 1.

Description

【発明の詳細な説明】 3、発明の詳細な説明 技術分野 本発明はトレーサ方式に関し、特に情報処理装置の内部
状態の脂層を記憶するトレーサ方式に関する。
DETAILED DESCRIPTION OF THE INVENTION 3. Detailed Description of the Invention Technical Field The present invention relates to a tracer method, and more particularly to a tracer method for storing a fat layer of an internal state of an information processing device.

従来技術 従来、この種のトレーサ方式では、メモリとアドレス回
路と制御回路とから構成されたトレーサ回路が、情報処
理装置の内部状態を示すデータのメモリへの書込みをラ
イトアドレスを変えながら常時行っている。このメモリ
の全ワードにデータを書込むと、ライトアドレスを最初
のアドレスへ戻して一度書込んだワードに重ねて書込ん
でいる。
Prior Art Conventionally, in this type of tracer method, a tracer circuit composed of a memory, an address circuit, and a control circuit constantly writes data indicating the internal state of an information processing device to the memory while changing the write address. There is. When data is written to all words of this memory, the write address is returned to the initial address and is written over the previously written word.

この動作は情報処理装置が障害を検出するまで続行され
る。障害を検出するとトレーサ回路は制御回路を介して
ライトアドレスの更新とメモリへの書込みとを停止し、
障害検出から遡ってメモリのワード数を最大として情報
処理VR置の内部状態を示すデータをメモリ内に記憶す
る。
This operation continues until the information processing device detects a failure. When a fault is detected, the tracer circuit stops updating the write address and writing to the memory via the control circuit,
Data indicating the internal state of the information processing VR device is stored in the memory with the maximum number of words in the memory going back from the failure detection.

このような従来のトレーサ方式では、情報処理装置の障
害を検出するまでメモリへデータの書込みを続けるが、
情報処理装置の障害の中には情報処理装置内の状態が一
定のままで進行しない障害があり、この障害の場合には
メモリへの書込みは停止することなく続行されてしまう
。そのために、タイマを使って情報処理装置内の状態が
一定期間不変であることを検出してはじめて障害と判定
している。タイマを使用して検出する期間は、一般にト
レーサ回路のメモリの全ワードにデータを書込む期間よ
りも艮いため、このような障害を検出した場合にはトレ
ーサ回路のメモリには同じデータしか残らず、この障害
の発生の原因の解明にとって有効となる、この障害の発
生より以前の情報処理装置の内部状態のデータが残らな
いという欠点があった。
In such conventional tracer methods, data continues to be written to memory until a failure in the information processing device is detected.
Among the failures of the information processing apparatus, there are failures in which the state within the information processing apparatus remains constant and does not progress, and in the case of this failure, writing to the memory continues without stopping. For this reason, a failure is determined only after a timer is used to detect that the state within the information processing device remains unchanged for a certain period of time. The detection period using a timer is generally longer than the period for writing data to all words in the tracer circuit's memory, so if such a fault is detected, only the same data remains in the tracer circuit's memory. However, there is a drawback that there is no data remaining on the internal state of the information processing device prior to the occurrence of this fault, which would be useful for elucidating the cause of this fault.

−発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、タイマにより検出されるような障害の場
合にもこの障害の発生以前のデータをメモリに残すこと
ができるトレーサ方式の提供を目的とする。
-Purpose of the Invention The present invention has been made to eliminate the drawbacks of the conventional ones as described above, and even in the case of a failure detected by a timer, data from before the occurrence of this failure can be retained in the memory. The purpose is to provide a tracer method.

発明の構成 本発明によるトレーサ方式は、情報処理装置の内部状態
を示すデータを記憶し、前記情報処理装置の障害検出に
応答して前記データの記憶動作を停止するトレーサ方式
であって、前記情報処理袋fi カラ(7)マイクロ命
令アト・レスが同一アドレスで連続する時、前記連続す
る回数が予め定められた特定値を越えたことを検出する
ことに応答して前記記憶動作を停止するようにしたこと
を特徴とする。
Structure of the Invention The tracer method according to the present invention is a tracer method that stores data indicating the internal state of an information processing device, and stops the storage operation of the data in response to detection of a fault in the information processing device, Processing bag fi Color (7) When microinstructions At and Address are consecutive at the same address, the storage operation is stopped in response to detecting that the number of consecutive times exceeds a predetermined specific value. It is characterized by the following.

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。図
において、本発明の一実施例のトレーサ回路は、メモリ
1と、データレジスタ2と、比較回路3と、計数回路4
と、検出回路5と、状態保持回路6と、アドレスカウン
タ回路7と、制御回路8とにより構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, the tracer circuit according to one embodiment of the present invention includes a memory 1, a data register 2, a comparison circuit 3, and a counting circuit 4.
, a detection circuit 5 , a state holding circuit 6 , an address counter circuit 7 , and a control circuit 8 .

第2図は本発明の一実施例を示すより詳細な回路図であ
り、第1図と同等部分には同一符号を付して示している
。第1図と第2図とを用いて、本発明の一実施例の構成
と動作とを詳細に説明する。
FIG. 2 is a more detailed circuit diagram showing an embodiment of the present invention, and parts equivalent to those in FIG. 1 are designated by the same reference numerals. The configuration and operation of an embodiment of the present invention will be explained in detail using FIG. 1 and FIG. 2.

メモリ1はマイクロプログラムを記憶した制御記憶(図
示せず)をアクセスするマイクロ命令アドレスと、この
制御記憶を内蔵する情報処理装置(図示せず)の状態を
示す複数ビットのデータとを記憶するのに充分なビット
幅を有し、また、はとlυどの障害における障害の発生
からその障害の検出までの期間のデータを記憶するのに
充分なワード数を有する。メモリ1にはアドレスカウン
タ回路7から出力されたアドレスで指定されるワードに
、制御回路8がライト指示信号で指示した時にライトデ
ータが書込まれ、また、制御回路8がライト指示信号で
指示しない場合には、アドレスカウンタ回路7から出力
されたアドレスで指定されるワードの内容がメモリ1か
ら読出される。
The memory 1 stores microinstruction addresses for accessing a control memory (not shown) that stores microprograms, and multi-bit data indicating the status of an information processing device (not shown) containing this control memory. It also has a sufficient number of words to store data for the period from the occurrence of any fault to the detection of that fault. Write data is written to the word specified by the address output from the address counter circuit 7 in the memory 1 when the control circuit 8 instructs it with a write instruction signal, and when the control circuit 8 does not instruct it with a write instruction signal. In this case, the contents of the word specified by the address output from the address counter circuit 7 are read from the memory 1.

データレジスタ2はメモリ1に入力されるマイクロ命令
アドレスを入力して、これを保持する。
The data register 2 inputs and holds the microinstruction address input to the memory 1.

このデータレジスタ2に保持されたマイク1コ命令アド
レスは、比較回路3に送出される。
The microphone 1 command address held in the data register 2 is sent to the comparator circuit 3.

比較回路3は比較器30で構成され、メモリ1に入力さ
れるマイクロ命令アドレスと、データレジスタ2に保持
されたマイクロ命令アドレスとが入力され、これらのア
ドレスの比較を行い、これらのアドレスが一致したとき
一致信号を出力する。
The comparison circuit 3 is composed of a comparator 30, which receives the microinstruction address input to the memory 1 and the microinstruction address held in the data register 2, compares these addresses, and determines whether these addresses match. When this occurs, a match signal is output.

すなわら、メモリ1に前回入力されたアドレスと今回入
力されたアドレスとが一致したとき一致信号を出力する
That is, when the address input last time to the memory 1 and the address input this time match, a match signal is output.

計数回路4はレジスタ40と+17ダー41とノット回
路42とにより構成され、レジスタ40と+17ダー4
1とによりカウンタを形成する。
The counting circuit 4 is composed of a register 40, a +17 dar 41, and a not circuit 42.
1 forms a counter.

+17ダー41はレジスタ40の全ビットを入力し、そ
の内容に+1を加算してレジスタ40に戻し、また、+
1の加算の結果最上位ピッ1−からキャリイが出力した
ことを示すキャリイ信号を出力する。レジスタ40は+
17ダー41の出力を常時セットしており、比較回路3
でアドレスの不一致を検出したとき、この+17ダー4
1の出力のセットに優先してレジスタ40の内容のリセ
ットを行う。
+17der 41 inputs all bits of register 40, adds +1 to the contents, returns to register 40, and +
As a result of the addition of 1, a carry signal indicating that a carry is output from the most significant pin 1- is output. Register 40 is +
The output of 17der 41 is always set, and the comparator circuit 3
When an address mismatch is detected, this +17 dar 4
The contents of the register 40 are reset in priority to setting the output of 1.

本実施例では、レジスタ40のビット幅を検出回路5で
検出する特定値のビット幅に合わせているので、+17
ダー41から出力するキャリイ信号は、レジスタ40と
+17ダー41とにより形成されたカウンタが比較回路
3からの一致信号の出力回数を特定値までカウントし、
この特定値を越えると出力される。すなわち、マイクロ
命令アドレスが同一アドレスで連続して、その回数が特
定値をこえると+17ダー41からキャリイ信号が出力
することとなる。
In this embodiment, since the bit width of the register 40 is matched to the bit width of the specific value detected by the detection circuit 5, +17
The carry signal output from the register 41 is obtained by a counter formed by the register 40 and the +17 register 41 counting the number of times the matching signal is output from the comparator circuit 3 up to a specific value.
If this specific value is exceeded, it will be output. That is, when the same microinstruction address continues and the number of times exceeds a specific value, the +17 der 41 outputs a carry signal.

ノット回路42は比較回路3からの一致信号を反転して
不一致信号に変え、この不一致信号はカウント値のイニ
シャライズ用としてレジスタ40のリセット信号に使わ
れ、また、検出回路5へ送出されてカウント値が特定値
以上であることを示すフリップフロップのリセットに使
われる。
The not circuit 42 inverts the match signal from the comparator circuit 3 and turns it into a mismatch signal. This mismatch signal is used as a reset signal for the register 40 to initialize the count value, and is also sent to the detection circuit 5 to change the count value. Used to reset a flip-flop that indicates that is greater than or equal to a specific value.

検出回路5は1ピツトのフリップフロップ50で構成さ
れ、フリップフロップ50は計数回路4からのキャリイ
信号により計数回路4が特定値を越えてカウントを続け
ていることを検出する。また、フリップ70ツブ50の
セットは+17ダー41から出力されたキャリイ信号で
行い、フリップフロップ50のリセットはノット回路4
2から出力された不一致信号で行い、このリセットをセ
ットより優先させる。フリップフロップ50の負出力は
制御回路8へ送出される。
The detection circuit 5 is composed of a 1-pit flip-flop 50, and the flip-flop 50 detects, based on a carry signal from the counting circuit 4, that the counting circuit 4 continues counting beyond a specific value. Furthermore, the setting of the flip-flop 70 and the knob 50 is performed by the carry signal output from the +17 circuit 41, and the reset of the flip-flop 50 is performed by the knot circuit 4.
2, and this reset is given priority over the set. The negative output of flip-flop 50 is sent to control circuit 8.

尚、上述の特定値はメモリ1の全ワード数の 11/2
の値に設定する。これによりメモリ1の全ワード数の1
/2に障害の発生から障害の検出までの期間のデータを
記憶させることができる。
The above specific value is 11/2 of the total number of words in memory 1.
Set to the value of This results in 1 of the total number of words in memory 1.
/2 can store data for the period from the occurrence of a failure to the detection of the failure.

状態保持回路6はレジスタ60と、3つのアンド回路6
1と、レジスタ62と、オア回路63と、ノット回路6
4とにより構成されている。レジスタ60は停止条件の
内の有効な条件を指定するマスクデータを格納して、こ
れを保持する。このマスクデータは外部より与えられ、
外部からのマスクセット信号によりレジスタ60に格納
される。
The state holding circuit 6 includes a register 60 and three AND circuits 6.
1, register 62, OR circuit 63, and NOT circuit 6
4. The register 60 stores and holds mask data specifying valid conditions among the stop conditions. This mask data is given externally,
It is stored in the register 60 by a mask set signal from the outside.

アンド回路61はレジスタ60の3ビツトの出力と、各
ビットが指定する停止条件とをアンドして停止信号を出
力する。この停止条件には情報処理装置内の各種障害の
検出信号を使用する。レジスタ62はアンド回路61か
らの停止信号を入力し、この停止信号を格納して、これ
を保持し、また、外部からの動作開始信号によりリセッ
トされ、保持している停止信号をイニシャライズする。
The AND circuit 61 ANDs the 3-bit output of the register 60 and the stop condition specified by each bit and outputs a stop signal. For this stop condition, detection signals of various failures within the information processing device are used. The register 62 inputs the stop signal from the AND circuit 61, stores and holds this stop signal, and is reset by an external operation start signal to initialize the held stop signal.

オア回路63はレジスタ62の3ビツトの停止信号と、
外部からの強制停止信号とをオアする。
The OR circuit 63 receives the 3-bit stop signal of the register 62,
OR with the external forced stop signal.

これらの信号はいずれもメモリ1へのデータの書込みが
停止状態であることを示す。ノット回路64はオア回路
63からの出力を反転して、メモリ1へのデータの書込
みが稼働状態であることを示す信号を出力する。この信
号はレジスタ62に停止信号をセットするセット信号と
して使用される。
Both of these signals indicate that writing of data to memory 1 is stopped. The NOT circuit 64 inverts the output from the OR circuit 63 and outputs a signal indicating that data writing to the memory 1 is active. This signal is used as a set signal to set a stop signal in register 62.

アドレスカウンタ回路7はレジスタ70と+17ダー7
1とアダー72と切替器73とにより構成されている。
The address counter circuit 7 includes a register 70 and a +17 der 7.
1, an adder 72, and a switch 73.

レジスタ70と+17ダー71とでメモリ1のライトア
ドレスを作成するカウンタを形成する。+17ダー71
はレジスタ7oの仝ピッI−を入力し、この入力内容に
+1を加算してレジスタ70に戻し、レジスタ70では
制御回路8からの信号をセット信号として+17ダー7
1からの出力をセットする。ざらに、レジスタ70はそ
の内容をアダー72と切替器73とに出力する。
The register 70 and the +17 register 71 form a counter for creating the write address of the memory 1. +17dar71
inputs the pin I- of the register 7o, adds +1 to this input content, and returns it to the register 70. In the register 70, the signal from the control circuit 8 is set as a set signal and +17 is input.
Set the output from 1. Roughly speaking, the register 70 outputs its contents to the adder 72 and the switch 73.

アダー72はレジスタ70のライトアドレスと外部から
の減算用データとを入力し、このライトアドレスから減
算用データを減算して減算結果を出力し、メモリ1用の
リードアドレスとして、固定したライトアドレスからの
相対アドレスを作ることに使用される。切替器73はレ
ジスタ70のライトアドレスとアダー72から出力され
るリードアドレスとを状態保持回路6からの出力信号に
より切替える。この出力信号が「1」のとき、すなわち
メモリ1へのデータの書込みが稼動状態であることを示
すときは、切替器73がレジスタ70のライトアドレス
を選択し、「O」のときはアダー72のリードアドレス
を選択する。
The adder 72 inputs the write address of the register 70 and external subtraction data, subtracts the subtraction data from this write address, outputs the subtraction result, and uses the fixed write address as a read address for memory 1. used to create relative addresses. The switch 73 switches between the write address of the register 70 and the read address output from the adder 72 based on the output signal from the state holding circuit 6. When this output signal is "1", that is, when writing data to the memory 1 is in operation, the switch 73 selects the write address of the register 70, and when it is "O", the switch 73 selects the write address of the register 70. Select a lead address.

制御回路8はアンド回路80で構成される。アンド回路
80は検出回路5からの信号と状態保持回路6からの信
号とをアンドして、メモリ1へのデータの書込みが可能
な状態で−あり、かつ31数回路4でのカウント値が特
定値以上でないことを示す信号を作り、この信号により
アドレスカウンタ回路7のライトアドレス用カウンタの
更新とメモリ1へのライト指示とを行う。検出回路5′
からの信号が計数回路4でのカウント値が特定値を越え
たことを示す負出力であるとき、または、状態保持回路
6からの信号が情報処理装置の障害による停止信号を示
すときには、制御回路8からの信号によりアドレスカウ
ンタ回路7のライトアドレス用カウンタの更新とメモリ
1へのライト指示との停止を行う。
The control circuit 8 is composed of an AND circuit 80. The AND circuit 80 ANDs the signal from the detection circuit 5 and the signal from the state holding circuit 6, so that data can be written to the memory 1 and the count value in the 31 number circuit 4 is specified. A signal indicating that the value is not greater than the value is generated, and based on this signal, the write address counter of the address counter circuit 7 is updated and a write instruction to the memory 1 is issued. Detection circuit 5'
When the signal from the control circuit 4 is a negative output indicating that the count value in the counting circuit 4 has exceeded a specific value, or when the signal from the state holding circuit 6 indicates a stop signal due to a failure in the information processing device, the control circuit 8 updates the write address counter of the address counter circuit 7 and stops writing instructions to the memory 1.

このように、メモリ1に書込まれる情報処理装置からの
データの中からマイクロ命令アドレスを取出し、このマ
イクロ命令アドレスが同一アドレスで連続する場合にこ
の連続する回数をカウントし、そのカウント値が特定値
を越えた時点でメモリ1へのデータの書込みを停止する
ことにより、タイマにより検出されるような障害の場合
にもこの障害の発生以前のデータをメモリに残すことが
できる。
In this way, a microinstruction address is extracted from the data from the information processing device written to memory 1, and when the microinstruction address continues at the same address, the number of consecutive times is counted, and the count value is specified. By stopping writing data to the memory 1 when the value exceeds the value, even in the case of a fault detected by a timer, data before the occurrence of this fault can be left in the memory.

11と弧里 以上説明したように本発明によれば、マイクロ命令アド
レスが同一アドレスで連続する場合に、この連続する回
数が特定値を越えた時点でメモリへの書込みを停止する
ことにより、タイマにより検出されるような障害の場合
にもこの障害の発生以前のデータをメモリに残すことが
できるという効果がある。
11. As explained above, according to the present invention, when microinstruction addresses are consecutive at the same address, writing to the memory is stopped when the number of consecutive microinstruction addresses exceeds a specific value. Even in the case of a failure detected by , data from before the occurrence of the failure can be left in the memory.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例を示すより詳細な回路図である。 主要部分の符号の説明 2・・・・・・データレジスタ 3・・・・・・比較回路 4・・・・・・計数回路 5・・・・・・検出回路 8・・・・・・制御回路
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a more detailed circuit diagram showing one embodiment of the present invention. Explanation of symbols of main parts 2... Data register 3... Comparison circuit 4... Counting circuit 5... Detection circuit 8... Control circuit

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置の内部状態を示すデータを記憶し、前記情
報処理装置の障害検出に応答して前記データの記憶動作
を停止するトレーサ方式であって、前記情報処理装置か
らのマイクロ命令アドレスが同一アドレスで連続する時
、前記連続する回数が予め定められた特定値を越えたこ
とを検出することに応答して前記記憶動作を停止するよ
うにしたことを特徴とするトレーサ方式。
A tracer method that stores data indicating an internal state of an information processing device and stops the storage operation of the data in response to detection of a failure in the information processing device, wherein the microinstruction address from the information processing device is the same address. 2. A tracer method characterized in that, when the number of consecutive times exceeds a predetermined specific value, the storage operation is stopped in response to detecting that the number of consecutive times exceeds a predetermined specific value.
JP61116630A 1986-05-21 1986-05-21 Tracer system Pending JPS62272331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61116630A JPS62272331A (en) 1986-05-21 1986-05-21 Tracer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61116630A JPS62272331A (en) 1986-05-21 1986-05-21 Tracer system

Publications (1)

Publication Number Publication Date
JPS62272331A true JPS62272331A (en) 1987-11-26

Family

ID=14691951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61116630A Pending JPS62272331A (en) 1986-05-21 1986-05-21 Tracer system

Country Status (1)

Country Link
JP (1) JPS62272331A (en)

Similar Documents

Publication Publication Date Title
US4961161A (en) Arithmetic processor performing mask and trap operations for exceptions
US5146586A (en) Arrangement for storing an execution history in an information processing unit
US5422862A (en) Computer system employing an improved real time clock alarm
JPS607812B2 (en) Data buffering device
JPS62272331A (en) Tracer system
JPS6031643A (en) Storage circuit of state history
JPS62272333A (en) Tracer system
JPS5826043B2 (en) Processor reset method
JPS62272332A (en) Tracer system
JPS58103037A (en) Queue memory device
JP2600376B2 (en) Memory controller
JPH03184135A (en) Data processor
JPH11338712A (en) Interruption sequence saving circuit
JPS6041766B2 (en) microprogram controller
JPS61110245A (en) Operation history device
SU1049907A1 (en) Firmware control device
JPH01302452A (en) Microprogram control device
JPS5621251A (en) Retrial control system
JPS63123140A (en) History information storage device
JPH02245846A (en) Memory protecting circuit
JPS6155137B2 (en)
JPS588360A (en) Microprogram controller
JPS62168241A (en) Microprogram controller
JPS6113609B2 (en)
JPH0427574B2 (en)