JPS58182769A - State history storage device - Google Patents

State history storage device

Info

Publication number
JPS58182769A
JPS58182769A JP57065663A JP6566382A JPS58182769A JP S58182769 A JPS58182769 A JP S58182769A JP 57065663 A JP57065663 A JP 57065663A JP 6566382 A JP6566382 A JP 6566382A JP S58182769 A JPS58182769 A JP S58182769A
Authority
JP
Japan
Prior art keywords
memory
tracer
output
traced
signals
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
JP57065663A
Other languages
Japanese (ja)
Inventor
Yoshihisa Shibata
柴田 義久
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 JP57065663A priority Critical patent/JPS58182769A/en
Publication of JPS58182769A publication Critical patent/JPS58182769A/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/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Abstract

PURPOSE:To prevent an overflow of a tracer memory, by writing the writing timing to the tracer memory together with the timer value when a signal to be traced varies. CONSTITUTION:When either one of signals 201-20n to be traced has a change, the values of these signals and the count value 33 of a counter circuit 11 of that moment are written to the address of a tracer memory 12 which is shown by a memory address 28. At the same time, the output 26 of an OR gate 6 clears the count value of the circuit 11 and then starts counting time until either one of the signals 201-20n corresponding to the circuits 31-3n having an indication of validity has a change. Furthermore the input 27 of a memory address register 8 is replaced, and the reading address of the memory 12 is replaced. In such a way, the writing is carried out to the memory 12 together with the hitherto time.

Description

【発明の詳細な説明】 本発明は情報処理装置における内部状態履歴記憶装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an internal state history storage device in an information processing device.

従来、情報処理装置が動作中に異常を検出し動作が停止
した場合、その障害の原因を調査する手段の一つとして
異常を検出するまでの装置内部の適尚な信号を状態履歴
として記憶しておき、異常が起きた時点で記憶内容を取
り出し解析する事により原因を究明するトレーサメモリ
が利用されていた。このトレーサメモリのメモリへの誓
き込みは、一般にあらかじめ設定しである一定時間毎に
実行しているため、装置の動作がストールしfc場合や
、ある信号もしくは状態が規定の時間内に変化しなかっ
た場合に検出されるタイムアウトエラー等の場合、タイ
ムアウトになる直前の事象から異常を検出しトレーサが
停止するまでの時間が長いためトレーサメモリがオーバ
フローしてし1へ有効なトレーサデータすなわちタイム
アウトになる直前の事象の近辺のデータがトレーサメモ
リに残っておらず、トレーサメモリを使用したエラー解
析が出来なくなってしまうという欠点があった。
Conventionally, when an information processing device detects an abnormality during operation and stops operating, one way to investigate the cause of the failure is to store appropriate signals inside the device until the abnormality is detected as a state history. Tracer memory was used to determine the cause of an abnormality by extracting and analyzing the memory contents at the time an abnormality occurred. This writing of the tracer memory into the memory is generally executed at preset fixed time intervals, so there are cases where equipment operation stalls or a certain signal or state changes within a specified time. In the case of a timeout error, etc., which is detected when the timeout occurs, the tracer memory overflows due to the long time it takes from the event immediately before the timeout until the tracer stops, resulting in valid tracer data, i.e., the timeout. This has the drawback that data around the event immediately before the occurrence of the error does not remain in the tracer memory, making it impossible to perform error analysis using the tracer memory.

本発明の目的は、トレーサメモリへの書き込みタイミン
グを一定時間毎に書込む代シに、被トレース信号が変化
した時に、その状態をその変化時刻、すなわちタイマ値
と共に書き込む事により、トレーサメモリがオーバ7四
−するという欠点を解決し、そのタイマ値の読出しによ
り各トレース信号の間の時間関係も判別出来る様にした
状態履歴記憶装置を提供することにある。
An object of the present invention is to prevent the tracer memory from overflowing by writing the state of the traced signal together with the change time, that is, the timer value, when the traced signal changes, instead of writing to the tracer memory at regular intervals. It is an object of the present invention to provide a state history storage device which solves the disadvantage of 74- and which makes it possible to determine the time relationship between each trace signal by reading the timer value.

本発明の状態履歴記憶装置は、情報処理装置内部の状態
履歴を記憶すべき被トレース信号の各々に対応してその
値が変化したことを検出する複数の微分回路と、これら
微分回路の各出力に前記装置からの指示によシそれら状
態をそれぞれ有効もしくは無効に判定する判定手段と、
前記装置からの刻時パルスを計数し保持するカウンタ回
路と、前記判定回路の出力に有効な状態にあるいづれか
の微分回路の出力があったとき前記被トレース信号の状
態及び前記カウンタ回路の出力と記憶する〆U/ トレー711含み構成される。
The state history storage device of the present invention includes a plurality of differentiating circuits that detect a change in value corresponding to each of the traced signals whose state history inside the information processing device is to be stored, and each output of these differentiating circuits. determining means for determining whether each of these states is valid or invalid according to an instruction from the device;
A counter circuit that counts and holds clocked pulses from the device, and when the output of any of the differentiating circuits in a valid state is present in the output of the determination circuit, the state of the traced signal and the output of the counter circuit are determined. Contains a storage tray 711.

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

第1図は本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the invention.

情報処理装置本体1から出力される記憶すべき状態の被
トレース信号201〜20nがそれぞれ対応する微分回
路31〜3n  と、トレーサメモリ12とに入力され
る。この装置本体lからの微分回路有効指示信号211
〜21nはそれぞれ対応する微分回路有効フリップフロ
ップ41〜4n へ入力され、微分回路31〜3n の
出力である信号231〜23nと、微分回路有効フリッ
プフロップ41〜4n の出力である信号241〜24
nとがそれぞれ対応するAJIDゲート51〜5n へ
入力され、各人へDゲート51〜5nの出力251〜2
5nは(JRゲート6へ入力される。
Traced signals 201 to 20n in states to be stored and outputted from the information processing device main body 1 are input to the corresponding differentiating circuits 31 to 3n and the tracer memory 12, respectively. Differential circuit enable instruction signal 211 from this device main body l
-21n are input to the corresponding differentiating circuit effective flip-flops 41-4n, and the signals 231-23n are the outputs of the differentiating circuits 31-3n, and the signals 241-24 are the outputs of the differentiating circuit-enabled flip-flops 41-4n.
n are input to the corresponding AJID gates 51 to 5n, and the outputs 251 to 2 of the D gates 51 to 5n are sent to each person.
5n is input to the JR gate 6.

装置本体1からのトレーサ豊き込み有効信号29はAN
Dゲート9.10の第1入力となり、装置本体lからの
刻時パルス信号31はANDゲー)10の第2人力とな
シ、ORゲート6の出力26は加算器7の入力、AND
ゲート9の第2人力及びカウンタ回路11のリセット入
力となる。着た、加算器7の出力27はアドレスレジス
タ8の入力とナリ、アドレスレジスタ8の出力28はト
レーサメモリ12のアドレス入力及び加算器7のもう一
方の入力となる。ANDゲート9の出力3oはトレーサ
メモリ12のライトパルスとして入力され、ANDゲー
)10の出力32はカウンタ回路11の入力となシその
出力33は被トレース信号201〜2011 とともに
トレーサメモリ120入カデータとなる。又トレーサメ
モリ120出力34は装置本体1へ読み出しデータとし
て供給される。
The tracer enrichment enable signal 29 from the device main body 1 is AN
The clock pulse signal 31 from the device body 1 is the first input of the D gate 9 and 10, and the output 26 of the OR gate 6 is the input of the adder 7, and
This serves as the second input for the gate 9 and a reset input for the counter circuit 11. The output 27 of the adder 7 becomes the input of the address register 8, and the output 28 of the address register 8 becomes the address input of the tracer memory 12 and the other input of the adder 7. The output 3o of the AND gate 9 is input as a write pulse to the tracer memory 12, and the output 32 of the AND gate 10 is input to the counter circuit 11. Become. Further, the tracer memory 120 output 34 is supplied to the device main body 1 as read data.

次に本発明の詳細な説明する。Next, the present invention will be explained in detail.

まず、本体装置1からの指示により有効にした微分回路
31〜3n に対応する微分回路有効指示信号211〜
2Inが「1」になると、対応する微分回路有効指示7
リツプ70ツブ41〜4nが「l」にセットされる。次
に、トレーサが有効になると、信号29がI−IJにな
り、ANDゲート9.1010C1入力が「1」となる
。本体からの刻時パルス信号31が「1」になるたびに
、ANDゲー)10の出力31が11」となりカウンタ
回路11の入力が「l」となり、カウント値が更新され
る。今、被トレース信号201〜20nのいづれかに変
化があると、対応ず5− る微分回路31〜3n の出力231〜23mのいづれ
かが[Jとなる。ここでrlJとなった微分回路出力2
31〜23nに対応する微分回路有効指示フリップフロ
ップ41〜4n の出力241〜24nが「1」である
と、対応するANDゲー1−51〜5n の出力251
〜251が「1」となり、(JRゲート6の出力26が
rlJとな5.ANDゲート9のトレーサメモリライト
パルス30が「IJとなり、その結果その時の被トレー
ス信号201〜2Onの値、カウンタ回路11のカウン
ト値33がメモリアドレス28で示されるトレーサメモ
リ12の番地へ書き込まれる。同時にORゲート6の出
力26はカウンタ回路11のカウント値をクリアし、次
にORゲート6の出力26が「1」になるまでの間、す
なわち有効を指示されている微分回路31〜3n に対
応する被トレース信号20!〜2Onのいづれかが変化
するまでの時間をカウントし始める。更に、メモリアド
レスレジスタ8の入力27を更新し、トレーサメモリ1
2の誉き込みアドレスを更新する。この様にしてトレー
サ有効信号29が「1」の間、すなわち異常を6− 検出するまで被トレース信号201〜2Onは、指定さ
れた被トレース信号のいづれかに変化がある毎に、それ
までの時間(カウンタ値)と共にトレーサメモリ12へ
書き込普れる。
First, the differentiating circuit enable instruction signals 211 to 3n corresponding to the differentiating circuits 31 to 3n enabled by an instruction from the main device 1
When 2In becomes "1", the corresponding differential circuit valid instruction 7
Lip 70 knobs 41-4n are set to "l". Then, when the tracer is enabled, signal 29 becomes I-IJ and AND gate 9.1010C1 input becomes "1". Every time the clock pulse signal 31 from the main body becomes "1", the output 31 of the AND game 10 becomes "11", the input of the counter circuit 11 becomes "l", and the count value is updated. Now, when there is a change in any one of the traced signals 201 to 20n, one of the outputs 231 to 23m of the corresponding differentiating circuits 31 to 3n becomes [J. Differential circuit output 2 becomes rlJ here
When the outputs 241 to 24n of the differential circuit valid indicating flip-flops 41 to 4n corresponding to the differential circuits 31 to 23n are "1", the outputs 251 of the corresponding AND games 1-51 to 5n
~251 becomes "1", (the output 26 of the JR gate 6 becomes rlJ), and the tracer memory write pulse 30 of the AND gate 9 becomes "IJ," and as a result, the value of the traced signal 201-2On at that time, the counter circuit The count value 33 of 11 is written to the address of the tracer memory 12 indicated by the memory address 28. At the same time, the output 26 of the OR gate 6 clears the count value of the counter circuit 11, and then the output 26 of the OR gate 6 becomes "1". '', that is, the time until any of the traced signals 20!-2On corresponding to the differentiating circuits 31-3n that are instructed to be enabled changes.Furthermore, the input of the memory address register 8 starts counting. 27 and tracer memory 1
Update the 2nd honor address. In this way, while the tracer valid signal 29 is "1", that is, until an abnormality is detected, the traced signals 201 to 2On are changed every time there is a change in any of the specified traced signals. (counter value) and is written to the tracer memory 12.

本発明においては、記憶すべき被トレース信号201〜
2Onを、装置によって指定された鳴動指示信号211
〜2111によって任意に選択できるので、被トレース
信号を全て記憶する必要がないので、メモリを効率的に
利用できる%徴がある。
In the present invention, the traced signals 201 to 201 to be stored are
2On, the ringing instruction signal 211 specified by the device
.about.2111, it is not necessary to store all the signals to be traced, so the memory can be used efficiently.

本発明は、以上説明したように、指定した信号が変化し
た時だけタイマ値とともにトレーサメモリへ書き込む様
に構成することによQ、トレーサメモリがオーバフロー
し難く有効な解析用トレースデータを得られるという効
果がある。
As explained above, the present invention is configured such that the tracer memory is written to the tracer memory together with the timer value only when the specified signal changes, thereby preventing the tracer memory from overflowing and obtaining effective trace data for analysis. effective.

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

第1図は本発明の実施例を示すブロック図である。図に
おいて、 1・・・・・・本体装置、31〜3n ・・・・・・微
分回路、41〜4n ・・・・・・7リツプンロツプ、
51〜5n、9.IO−−−−°−ANDゲート、6・
・・・・・ORゲート、7・・・・・・加譜器、8・・
・・・・アドレスレジスタ、11・・・・・・カウンタ
回路、12・・・・・・トレーサメモリ、201〜20
B・・・・・・被トレース信号、211〜21r+・・
・・・・有効/無効指示信号、29・・・・・・トレー
サ有効信号、30・・・・・・メモリライト信号、31
・・・・・・刻時パルス、28・・・・・・メモリライ
トアドレス信号、 である。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 1... Main unit, 31-3n... Differential circuit, 41-4n... 7 Rip-n-lop,
51-5n, 9. IO---°-AND gate, 6.
...OR gate, 7...music adder, 8...
... Address register, 11 ... Counter circuit, 12 ... Tracer memory, 201 to 20
B... Traced signal, 211 to 21r+...
... Valid/invalid instruction signal, 29... Tracer valid signal, 30... Memory write signal, 31
. . . Clock pulse, 28 . . . Memory write address signal.

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置内部の′状態履歴を記憶すべき被トレース
信号の各々に対応してその値が変化したことを検出する
複数の微分回路と、これら微分回路の各出力に前記装置
からの指示によりそれら状態をそれぞれ有効もしくは無
効に判定する判定手段と、前記装置からの刻時パルスを
計数し保持するカウンタ回路と、前記判定回路の出力に
有効な状態にあるいづれかの微分回路の出力があったと
き前記被トレース信号の状態及び前記カウンタ回路の出
力とを記憶するトレーサメモリとを含むことを特徴とす
る状態履歴記憶装置。
A plurality of differentiating circuits detect changes in values corresponding to each of the traced signals whose state history is to be stored inside the information processing device, and the outputs of these differentiating circuits are a determining means for determining whether each state is valid or invalid; a counter circuit for counting and holding clocked pulses from the device; and when the output of the determining circuit is an output from any of the differentiating circuits in a valid state. A state history storage device comprising: a tracer memory that stores the state of the traced signal and the output of the counter circuit.
JP57065663A 1982-04-20 1982-04-20 State history storage device Pending JPS58182769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57065663A JPS58182769A (en) 1982-04-20 1982-04-20 State history storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57065663A JPS58182769A (en) 1982-04-20 1982-04-20 State history storage device

Publications (1)

Publication Number Publication Date
JPS58182769A true JPS58182769A (en) 1983-10-25

Family

ID=13293450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57065663A Pending JPS58182769A (en) 1982-04-20 1982-04-20 State history storage device

Country Status (1)

Country Link
JP (1) JPS58182769A (en)

Similar Documents

Publication Publication Date Title
US4169289A (en) Data processor with improved cyclic data buffer apparatus
JPS58182769A (en) State history storage device
JPS5840772B2 (en) Data comparison match display method
JP2789900B2 (en) State history storage device
JPS58182770A (en) State history storage device
JPH0750452B2 (en) Bus trace mechanism
JP2998279B2 (en) Logic simulation equipment
CN109614148B (en) Data logic operation method, monitoring method and device
JP3546013B2 (en) Signal processing device
JPH0635998B2 (en) Capture device
JPS6411977B2 (en)
JP2940000B2 (en) Single chip microcomputer
JPS6122334B2 (en)
JPS60235252A (en) Status log storage device
SU1280636A1 (en) Device for debugging programs
JPH0226068Y2 (en)
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU1163328A1 (en) Device for checking microcomputer
JPH02245846A (en) Memory protecting circuit
JPH0282334A (en) Bus cycle trace circuit
SU1541624A1 (en) Device for buffering information
JPS626341A (en) Information processor
JPS6320637A (en) Execution history storage device
JPS62130436A (en) Trace controller
JPS6020250A (en) Program delay tracing system