JPS6022253A - State record storage device - Google Patents

State record storage device

Info

Publication number
JPS6022253A
JPS6022253A JP58129478A JP12947883A JPS6022253A JP S6022253 A JPS6022253 A JP S6022253A JP 58129478 A JP58129478 A JP 58129478A JP 12947883 A JP12947883 A JP 12947883A JP S6022253 A JPS6022253 A JP S6022253A
Authority
JP
Japan
Prior art keywords
address register
data
adder
register
address
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
JP58129478A
Other languages
Japanese (ja)
Inventor
Takashi Nishizawa
隆 西沢
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 JP58129478A priority Critical patent/JPS6022253A/en
Publication of JPS6022253A publication Critical patent/JPS6022253A/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 use effectively a storage means by returning an address value stored at a point of time in advance to the 1st address register storing a record data at a proper point of time to delete the record data in a proper range so far. CONSTITUTION:The record data of an information processing unit 1 of an information record storage device is stored in a storage section 2, to which the storage location of a trace data is indicated by the 1st address register 3. Further, an output data of the register 3 is incremented by ''1'' by an adder 4 and an output of the adder 4 is stored in the 2nd address register 5. The output of the adder 4 and the register 5 is fed to a selection circuit 6 and a microinstruction from the processor 1 is fed to a selection circuit 6 and registers 3, 5 via a control circuit 7. Then an address value stored at a point of time is returned again to the storage section 2 at a proper point of time, the record data of a proper range is deleted to use effectively the storage section 2.

Description

【発明の詳細な説明】 〔発明の属する技術分野の説明〕 本発明は、情報処理装置を状態履歴調査の対象とする状
態履歴記憶装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Description of the technical field to which the invention pertains] The present invention relates to a state history storage device that uses an information processing device as a subject of state history investigation.

〔従来技術の説明〕[Description of prior art]

従来、情報処理装置ではハードウェアの障害発生時の障
害原因追求のための情報として、障害発生時までの情報
処理装置内部の状態変化の履歴を残しておき、障害原因
の調査に用いることがある。このような目的のために用
いられるものを状態履歴記憶装置(以下「トレーサ」と
呼ぶ)と称し、これは、あらかじめ障害の原因調査に必
要と思われる内部状態を順次記憶しておき障害の発生時
に備えるようにしたものである。トレーナに用いられる
id憶部の容量は限られていて、ある限度以上の過去の
トレースデータは新たなトレースデータの格納によって
書換えられてしまうためトレースデータのサンプル方法
は重要である。
Conventionally, in information processing equipment, when a hardware failure occurs, a history of internal state changes within the information processing equipment up to the time of failure is kept and used as information to investigate the cause of the failure. . Devices used for this purpose are called state history storage devices (hereinafter referred to as ``tracers''), which sequentially memorize internal states that are considered necessary for investigating the cause of a failure. It was designed to be ready when the time comes. The capacity of the ID storage unit used in the trainer is limited, and past trace data exceeding a certain limit will be rewritten by storing new trace data, so the method of sampling trace data is important.

マイクロ命令による情報処理装置において。In information processing devices using micro instructions.

マイクロ命令のアドレスをトレースデータの一部とする
トレーサを例にとると、従来、マイクロ命令で待合せの
部分あるいは同じ動作の繰返し部分等の様に、同じマイ
クロ命令アドレスの並びが繰返されると、それだけでト
レーサの記憶部が埋め尽されてしまうことがあった。ま
た。
Taking the example of a tracer that uses microinstruction addresses as part of the trace data, conventionally, if the same sequence of microinstruction addresses is repeated, such as in a waiting part of a microinstruction or a part where the same operation is repeated, In some cases, the tracer's memory was filled up. Also.

マイクロ命令アドレスのトレースを行う場合。When tracing microinstruction addresses.

ある制御によっては、シーケンスはその出口まで来たこ
とが確認できれば十分で、必ずしもトレースデータが残
っていなくとも良い部分まで。
Depending on the control, it is sufficient to confirm that the sequence has reached its exit, and there is no need for trace data to remain.

すべてトレースしていた。従って、出来る限り過去のし
かも障害の原因調査に有効な状態変化を記憶するという
、トレーサの機能を満足出来ない場合があった。
Everything was traced. Therefore, the function of the tracer, which is to memorize as much past state changes as possible and which are effective in investigating the cause of a failure, may not be fulfilled.

〔発明の詳細な説明〕[Detailed description of the invention]

本発明の目的は、上記欠点に鑑み、情報処理装置から得
られるトレースデータを記憶手段に記憶する際のアドレ
スを格納する第1のアドレスレジスタのある時点の値を
、マイクロ命令によって第2のアドレスレジスタに保存
しておき。
SUMMARY OF THE INVENTION In view of the above drawbacks, an object of the present invention is to transfer a value at a certain point in time of a first address register that stores an address when storing trace data obtained from an information processing device in a storage means to a second address by a microinstruction. Save it in the register.

さらにトレース動作が進んだ後、再び、前記第2のアド
レスレジスタに保存しておいたアドレスデータを、マイ
クロ命令によって前記第1のアドレスレジスタに戻し、
それまでの適切な範囲のトレースデータを削除すること
により、前記記憶手段の有効利用を可能とした状態履歴
記憶装置を提供することにある。
After the trace operation has further progressed, the address data stored in the second address register is returned to the first address register by a microinstruction,
It is an object of the present invention to provide a state history storage device that enables effective use of the storage means by deleting trace data in an appropriate range up to that point.

により制御される情報処理装置を状態履歴調査の対象と
する状態履歴記憶装置において、前記情報処理装置の履
歴データを記憶する手段と。
means for storing history data of the information processing device in a state history storage device in which an information processing device controlled by the information processing device is subjected to state history investigation;

該記憶手段に履歴データの記憶位置を与える第1のアド
レスレジスタと、該第1のアドレスレジスタの出力デー
タを入力として蓄える第2のアドレスレジスタと、前記
第1のアドレスレジスタの出力データに+1加算を行う
加算器と。
a first address register that provides a storage location of history data to the storage means; a second address register that stores the output data of the first address register as input; and +1 addition to the output data of the first address register. with an adder that does.

該加算器の出力データ及び前記第2のアドレスレジスタ
の出力データのうち、いずれかを選択して前記第1のア
ドレスレジスタに格納する選択回路と、前記第1のアド
レスレジスタのデータを前記第2のアドレスレジスタへ
格納させる信号と、前記選択回路に前記第2のアドレス
レジスタの出力及び前記加算器の出力のいずれを選択さ
せるかを指示し、該選択回路によって選択されたデータ
を前記第1のアドレスレジスタへ格納させる信号とを、
前記マイクロ命令の指示により送出する制御回路とを有
することを特徴とする状態履歴記憶装置が得られる。
a selection circuit that selects one of the output data of the adder and the output data of the second address register and stores it in the first address register; a signal to be stored in the address register of the address register, and an instruction to the selection circuit to select either the output of the second address register or the output of the adder, and the data selected by the selection circuit is stored in the first address register. The signal to be stored in the address register is
A state history storage device characterized in that it has a control circuit that sends data according to instructions from the microinstruction is obtained.

〔この発明の詳細な説明〕[Detailed description of the invention]

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

第1図を参照すると9本発明の一実施例にょる状態履歴
記憶装置(即ち、トレーサ)は、マイクロ命令(二より
制御される情報処理装置1を状態履歴調査(トレース)
の対象とするものである。本実施例のトレーサは、情報
処理装置1の履歴データ(トレースデータ)を記憶する
記憶部2と、記憶部2(二対しトレースデータの記憶位
置を示す第1のアドレスレジスタ3と、第1のアドレス
レジスタ3の出力データを受けて+1加算を行う加算器
4と、加算器4からの出力データを受けて保持する第2
のアドレスレジスタ5と、加算器4および第2のアドレ
スレジスタ5の出力データを受け、そのいづれかを選択
して第1のアドレスレジスタ3に格納する選択回路6と
、情報処理装置1において実行されるマイクロ命令の指
示により、第2のアドレスレジスタ5に対して加算器4
からのデータを格納させる信号を、また選択回路乙に対
して加算器4あるいはレジスタ5のいづれを選択させる
かを指示し、該選択回路乙によって選択されたデータを
第1のアドレスレジスタ6に格納させ ゛る信号を送出
する制御回路7とを有している。
Referring to FIG. 1, a state history storage device (i.e., a tracer) according to an embodiment of the present invention performs a state history investigation (tracing) of an information processing device 1 controlled by a microinstruction (2).
This is the subject of the following. The tracer of this embodiment includes a storage unit 2 that stores history data (trace data) of the information processing device 1, a first address register 3 that indicates the storage location of the trace data, and a first address register 3 that indicates the storage location of the trace data. An adder 4 that receives output data from the address register 3 and adds +1 to it, and a second adder that receives and holds output data from the adder 4.
and a selection circuit 6 that receives the output data of the adder 4 and the second address register 5 and selects one of them and stores it in the first address register 3. The adder 4 is added to the second address register 5 according to the instructions of the microinstruction.
It also instructs the selection circuit B to select either the adder 4 or the register 5, and stores the data selected by the selection circuit B in the first address register 6. It has a control circuit 7 that sends out a signal to cause the change.

記憶部2は情報処理装置1からパス51を介して送られ
るトレースデータを該装置の基本クロック毎にトレース
するもので、障害発生時等にはトレース動作は凍結され
る様に制御されている。
The storage unit 2 traces the trace data sent from the information processing device 1 via the path 51 for each basic clock of the device, and is controlled so that the tracing operation is frozen in the event of a failure or the like.

次に第2図に示す様なマイクロプログラムが実行された
場合のトレース動作を説明する。第2図のマイクロ命令
のプログラムは、ステップaおよびステップfにトレー
サ制御命令を有している。
Next, a trace operation when a microprogram as shown in FIG. 2 is executed will be explained. The microinstruction program of FIG. 2 has tracer control instructions in step a and step f.

ステップa、ステップfに示す様なトレーサ制御命令を
持たないステップb、 c、 d、、 eでのトレース
動作は以下の様になる。あるステップでの情報処理装置
1のトレースデータはアドレスレジスタ3で示される記
憶部2の記憶位置に書込まれ、それと共にアドレスレジ
スタ3のデ二りは加算器4により+1され、パス53を
通って選択回路6に入力される。選択回路6は通常パス
53を介して送られるデータを選択しており、従って、
アドレスレジスタ3(二は+1されたアドレスデータが
格納される。この様にしてステップ毎(二、トレースデ
ータはアドレスレジスタ6で示される記憶部2の記憶位
置に順次格納される。
The tracing operations at steps b, c, d, . The trace data of the information processing device 1 at a certain step is written to the storage location of the storage section 2 indicated by the address register 3, and at the same time, the digit of the address register 3 is incremented by 1 by the adder 4, and is passed through the path 53. and is input to the selection circuit 6. The selection circuit 6 normally selects the data sent via the path 53, and therefore:
The address register 3 (2) stores the address data incremented by 1. In this way, the trace data is sequentially stored in the storage location of the storage unit 2 indicated by the address register 6 for each step (2).

次にステップaでのトレーサの動作について説明する。Next, the operation of the tracer in step a will be explained.

ステップaのマイクロ命令の゛レジスタ5←アドレスレ
ジスタ6″は、このステップでアドレスレジスタ3のデ
ータを加算器4で+1した後、レジスタ5に格納する動
作を行うことを示している。従って、ステップaの動作
終了後、記憶部2にはアドレスレジスタ3で示される記
憶位置にトレースデータが書込まれると同時に、レジス
タ5に次の記憶位置に対応するアドレスが格納される。
"Register 5 ← Address register 6" of the microinstruction in step a indicates that in this step, the data in address register 3 is incremented by 1 in adder 4 and then stored in register 5. Therefore, step After the operation a is completed, the trace data is written to the storage location indicated by the address register 3 in the storage unit 2, and at the same time, the address corresponding to the next storage location is stored in the register 5.

ステップb、 c、 dと通常のトレース動作が行なわ
れ9条件Xが成立せず、ステップfに進んだ場合のトレ
ーサの動作について説明する。アドレスレジスタ3で示
される記憶部2の記憶位置へのトレースデータ書込み後
、マイクロ命令0アドレスレジスタ3←レジスタ5”が
実行される。本命令はレジスタ5のデータを〕くス54
を介して選択回路乙に送り、さらに選択回路6でパス5
4を選択してパス55を通してアドレスレジスタ3に格
納する制御を行なう。
The operation of the tracer in the case where normal tracing operations are performed in steps b, c, and d and 9 conditions X are not satisfied and the process proceeds to step f will be described. After writing the trace data to the storage location of the storage unit 2 indicated by the address register 3, the microinstruction 0 address register 3←register 5'' is executed.
is sent to selection circuit B via
4 is selected and stored in the address register 3 through a path 55.

次にステップfからステップb(二移った時の動作につ
いて説明する。この時、アドレスレジスタ6にはステッ
プaで格納されたアドレス。
Next, we will explain the operation when moving from step f to step b (2).At this time, the address register 6 stores the address stored in step a.

すなわち前回ステップbが実行された際、トレースデー
タが書込まれた記憶位置を示すアドレスが格納されてい
る。従って9本ステップでは前記の記憶位置に新たに今
回のステップbが実行された際のトレースデータが書込
まれる。ステップc、dについても同様に、前回のそれ
ぞれの記憶位置に今回のトレースデータが書込まれる。
That is, the address indicating the storage location where trace data was written when step b was executed last time is stored. Therefore, in the ninth step, the trace data obtained when the current step b was executed is newly written to the storage location. Similarly, for steps c and d, the current trace data is written to each previous storage location.

また1条件Xが成立しなければ、ステップfでマイクロ
命令゛アドレスレジスタ6←レジスタ5″が実行され、
前述の動作が繰返される。
Furthermore, if one condition
The above operations are repeated.

この様に第2図で示す様なマイクロ命令のル−プに於い
て、2つのトレーサ制御命令を用いることによって、ル
ープに入る前の記憶部2に書込まれたトレースデータを
壊すことなく、ループのトレースを行なうことができる
In this way, by using two tracer control instructions in a microinstruction loop as shown in FIG. 2, the trace data written in the storage unit 2 before entering the loop can be You can trace loops.

条件Xが成立し、ステップe(=移った後は。After condition X is satisfied and step e (= moves to.

通常のトレース動作が行なわれる。従って、記憶部2に
はループ内の最後の1回分のトレースデータが残ること
になる。
Normal tracing operations occur. Therefore, the trace data for the last one in the loop remains in the storage unit 2.

第2図に示したマイクロ命令のプログラムはループの例
であ4るが、一連のマイクロ命令のプログラムンーケン
スに於いても、あるポイントまで来れば、過去のあるポ
イントから現在までのトレースデータは不要になるとい
った様な場合、前述の2つのトレーサ制御命令を置くこ
とにより、不要部分を削除することが出来、記憶部2の
容量を有効に使うことができる。
The microinstruction program shown in Figure 2 is an example of a loop, but even in a series of microinstruction programming sequences, when a certain point is reached, the trace data from a certain point in the past to the present is If it becomes unnecessary, by placing the two tracer control commands described above, the unnecessary part can be deleted and the capacity of the storage section 2 can be used effectively.

〔発明の詳細な説明〕[Detailed description of the invention]

本発明は以上説明したように、情報処理装置の履歴デー
タを記憶手段に記憶する際のアドレスを格納する第1の
アドレスレジスタに、あらかじめある時点で保存してお
いたアドレス値を適当な時点で再び前記第1のアドレス
レジスタに戻すことによって、それまでの適切な範囲の
叶データを削除することにより、前記記憶手段を有効に
使用できるという効果がある。
As explained above, the present invention stores an address value previously stored at a certain point in time at an appropriate point in time in a first address register that stores an address for storing historical data of an information processing device in a storage means. By returning the data to the first address register and deleting the previous leaf data in an appropriate range, the storage means can be effectively used.

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

第1図は本発明の一実施例による状態履歴記憶装置を示
したブロック図、第2図は第1図の装置によるトレース
動作の一例を説明するためのマイクロプログラムを示し
た図である。 1・・・情報処理装置、2・・・記憶部、3・・・第1
のアドレスレジスタ、4・・・加算器、5・・・第2の
アドレスレジスタ、6・・・選択回路、7・・・制御回
路。 第1図
FIG. 1 is a block diagram showing a state history storage device according to an embodiment of the present invention, and FIG. 2 is a diagram showing a microprogram for explaining an example of a tracing operation by the device shown in FIG. 1... Information processing device, 2... Storage unit, 3... First
address register, 4... adder, 5... second address register, 6... selection circuit, 7... control circuit. Figure 1

Claims (1)

【特許請求の範囲】[Claims] 1、マイクロ命令により制御される情報処理装置を状態
履歴調査の対象とする状態履歴調査装 6゜置において
、前記情報処理装置の履歴データを記憶する手段と、該
記憶手段に履歴データの記憶位置を与える第1のアドレ
スレジスタと、該第1のアドレスレジスタの出力データ
を入力として蓄える第2のアドレスレジスタと、前記第
1のアドレスレジスタの出力データに+1加算 □を行
う加算器と、該加算器の出力データ及び前 ・記憶2の
アドレスレジスタの出力データのうち、jいずれかを選
択して前記第1のアドレスレジメタに格納する選択回路
と、前記第1のアドレスレジスタのデータを前記第2の
アドレスレジメタへ格納させる信号と、前記選択回路に
前記第2のアドレスレジスタの出力及び前記加算器の出
力のいずれを選択させるかを指示し、該選択回路によっ
て選択されたデータを前記第1のアドレスレジスタへ格
納させる信号とを、前記マイクロ命令の指示により送出
する制御回路とを有することを特徴とする状態履歴記憶
装置。
1. A state history investigation device that targets an information processing device controlled by microinstructions for state history investigation. 6. A device for storing history data of the information processing device, and a storage location of the history data in the storage device. a first address register that stores the output data of the first address register as input; an adder that adds +1 □ to the output data of the first address register; a selection circuit that selects one of the output data of the address register of memory 2 and stores it in the first address register; a signal to be stored in the second address register; and an instruction to the selection circuit to select either the output of the second address register or the output of the adder; 1. A state history storage device comprising: a control circuit that sends out a signal to be stored in one address register according to an instruction of the microinstruction.
JP58129478A 1983-07-18 1983-07-18 State record storage device Pending JPS6022253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58129478A JPS6022253A (en) 1983-07-18 1983-07-18 State record storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58129478A JPS6022253A (en) 1983-07-18 1983-07-18 State record storage device

Publications (1)

Publication Number Publication Date
JPS6022253A true JPS6022253A (en) 1985-02-04

Family

ID=15010473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58129478A Pending JPS6022253A (en) 1983-07-18 1983-07-18 State record storage device

Country Status (1)

Country Link
JP (1) JPS6022253A (en)

Similar Documents

Publication Publication Date Title
US3686641A (en) Multiprogram digital processing system with interprogram communication
US4852092A (en) Error recovery system of a multiprocessor system for recovering an error in a processor by making the processor into a checking condition after completion of microprogram restart from a checkpoint
JPS6255736A (en) Digital processor control
JPS63291134A (en) Logically integrated circuit
US4937780A (en) Single instruction updating of processing time field using software invisible working registers
US4453093A (en) Multiple comparison circuitry for providing a software error trace signal
US4093983A (en) Fast and normal rate instruction fetching
JPS6022253A (en) State record storage device
JPH02148339A (en) Tracer control circuit
JPH0399380A (en) Method for storing collected data
JPS5472909A (en) Recording method for program passing trace of electronic switchboard
JP2758624B2 (en) Speed control method of micro program
JPS60237503A (en) High-speed processing system of sequence controller
JPH03113646A (en) Trace circuit
JPS6142301B2 (en)
SU591076A1 (en) Electronic digital serial computer
JPH046024B2 (en)
JP2003050717A (en) Device and method for program tracing
JP2767817B2 (en) Simulated operation method of sequencer contacts
JPS6250854B2 (en)
JPS626341A (en) Information processor
JPH02244342A (en) Trace for branch instruction
KR890008681A (en) Processor control unit
JPS58205256A (en) Data processor
JPH0831054B2 (en) History information storage method