[go: up one dir, main page]

JPS62272332A - Tracer system - Google Patents

Tracer system

Info

Publication number
JPS62272332A
JPS62272332A JP61116631A JP11663186A JPS62272332A JP S62272332 A JPS62272332 A JP S62272332A JP 61116631 A JP61116631 A JP 61116631A JP 11663186 A JP11663186 A JP 11663186A JP S62272332 A JPS62272332 A JP S62272332A
Authority
JP
Japan
Prior art keywords
address
memory
macro instruction
addresses
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
JP61116631A
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 JP61116631A priority Critical patent/JPS62272332A/en
Publication of JPS62272332A publication Critical patent/JPS62272332A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To efficiently use a memory by providing plural memories and storing macro instruction addresses in the same prescribed address of a memory and storing information indicating the change of the macro instruction address in another memory together with the micro instruction address for the change when the same macro instruction address continues. CONSTITUTION:Plural memories are provided, and macro instruction addresses and micro instruction addresses are stored in memories 1 and 2 independent of each other. if the same macro instruction address continues, this macro instruction address is stored over in the same address of the memory 1. Thus, macro instruction addresses for a time considerably longer than that in the conventional tracer system are stored. A bit indicating the change of the macro instruction address is inputted to the memory 2 together with the micro instruction address for the change to allow macro instruction addresses inputted to the memory 1 and micro instruction address inputted to the memory 2 to correspond to each other.

Description

【発明の詳細な説明】 3、発明の詳細な説明 1丘11 本発明はトレーサ方式に関し、特に情報処理装置の内部
状態の脂層を記憶する1〜レ一サ方式に関する。
DETAILED DESCRIPTION OF THE INVENTION 3. Detailed Description of the Invention 1 Hill 11 The present invention relates to a tracer method, and 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.

この動作は情報処理装置が障害を検出するまで続行され
る。障害を検出するとトレーサ回路は制御回路を介して
ライトアドレスの更新とメモリへの書込みとを停止し、
障害検出から遡ってメモリのワード数を最大として情報
処理装置の内部状態を示すデータをメモリ内に記憶する
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 device is stored in the memory with the maximum number of words in the memory going back from the failure detection.

このような従来のトレーサ方式では、メモリを1つしか
有していないので、変化する期間が異なるデータ、すな
わちマクロ命令アドレスとマイクロ命令アドレスとを同
じメモリに同時に入力している。一般的にこのマイクロ
命令アドレスがクロック毎に変化するのに対して、マク
ロ命令アドレスは数クロックから数十クロックの問変化
しないのが普通である。したがって、マクロ命令アドレ
スではメモリ上の複数ワードに同一アドレスが入力され
るので、メモリのマクロ命令アドレスを入力する部分が
有効に使われていないという欠点がある。
Since such a conventional tracer system has only one memory, data that change over different periods, that is, macroinstruction addresses and microinstruction addresses, are simultaneously input into the same memory. Generally, this microinstruction address changes every clock, whereas the macroinstruction address usually does not change for several to several tens of clocks. Therefore, since the same address is input to multiple words on the memory in the case of a macro instruction address, there is a drawback that the part of the memory where the macro instruction address is input is not used effectively.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、メモリを効率よく使うことができるトレ
ーサ方式の提供を目的とする。
OBJECTS OF THE INVENTION The present invention was made in order to eliminate the above-mentioned drawbacks of the conventional methods, and an object of the present invention is to provide a tracer method that can use memory efficiently.

発明の構成 本発明によるトレーサ方式は、情報処理装置の内部状態
を示すデータを記憶するトレーナ方式であって、複数の
メモリを設け、前記情報処理装置からのマクロ命令アド
レスが同一アドレスで連続する時、前記マクロ命令アド
レスを前記メモリのうちの所定の同一アドレスへ記憶し
、かつ前記マクロ命令アドレスの変化を示す情報を前記
変化時のマイクロ命令アドレスとともに他の前記メモリ
へ記憶するようにしたことを特徴とする。
Structure of the Invention The tracer method according to the present invention is a trainer method that stores data indicating the internal state of an information processing device, and is provided with a plurality of memories, and when macro instruction addresses from the information processing device are consecutive at the same address. , the macro instruction address is stored at a predetermined same address in the memory, and information indicating a change in the macro instruction address is stored in another memory together with the micro instruction address at the time of the change. Features.

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
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.2, a data register 3, a comparison circuit 4, a state holding circuit 5, an address counter circuit 6.7, and a control circuit 8. has been done.

第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はマクロプログラムを記憶した主記憶(図示せ
ず)をアクセスするマクロ命令アドレスを記憶するのに
充分なビット幅と、障害発生時のマクロ命令アドレスを
記憶するのに充分なワード数とを有し、このマクロ命令
アドレスはアドレスカウンタ回路6が出力するアドレス
により指定されるワードに、制御回路8がライト指示信
号で指示した時に書込まれる。
The memory 1 has a bit width sufficient to store a macro instruction address for accessing a main memory (not shown) in which a macro program is stored, and a sufficient number of words to store a macro instruction address when a failure occurs. This macro instruction address is written into the word specified by the address output by the address counter circuit 6 when the control circuit 8 instructs it with the write instruction signal.

メモリ2はマイクロプログラムを記憶した制御記憶(図
示せず)をアクセスするマイクロ命令アドレスと、この
制御記憶を内蔵する情報処理装置(図示せず)の状態を
示すデータと、不一致信号とを記憶するのに充分なビッ
ト幅を有し、また、障害発生時のこれらのアドレスとデ
ータと信号とを記憶するのに充分なワード数を有する。
The memory 2 stores a microinstruction address for accessing a control memory (not shown) storing a microprogram, data indicating the state of an information processing device (not shown) containing this control memory, and a mismatch signal. It also has a sufficient number of words to store these addresses, data, and signals in the event of a failure.

メモリ2にはアドレスカウンタ回路7から出力されたア
ドレスで指定されるワードに、制御回路8がライト指示
信号で指示した時にこれらのアドレスとデータと信号と
が書込まれる。
These addresses, data, and signals are written into the memory 2 in the word specified by the address output from the address counter circuit 7 when the control circuit 8 instructs it with a write instruction signal.

データレジスタ3はメモリ1に入力されるマクロ命令ア
ドレスを入力して、これを保持する。このデータレジス
タ3に保持されたマクロ命令アドレスは、比較回路4に
送出される。
The data register 3 inputs and holds the macro instruction address input to the memory 1. The macro instruction address held in the data register 3 is sent to the comparison circuit 4.

比較回路4は比較器40で構成され、メモリ1に入力さ
れるマクロ命令アドレスと、データレジスタ3に保持さ
れたマクロ命令アドレスとが入力され、これらのアドレ
スの比較を行い、これらのアドレスが不一致のとぎ不一
致信号を出力する。
The comparison circuit 4 is composed of a comparator 40, which receives the macro instruction address input to the memory 1 and the macro instruction address held in the data register 3, compares these addresses, and determines if these addresses do not match. Outputs a no-togi mismatch signal.

この不一致信号はマクロ命令アドレスが変化したことを
示す信号としてその時のマイクロ命令アドレス″と共に
メモリ2へ入力され、マクロ命令アドレスとマイクロ命
令アドレスとの対応付けが行われる。この不一致信号は
制御回路8へ送出され、アドレスカウンタ回路6のライ
トアドレスの更新条件の1つとして使用される。
This mismatch signal is input to the memory 2 together with the microinstruction address at that time as a signal indicating that the macroinstruction address has changed, and the correspondence between the macroinstruction address and the microinstruction address is established. and is used as one of the conditions for updating the write address of the address counter circuit 6.

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

アンド回路51はレジスタ50の3ビツトの出力と、各
ビットが指定する停止条件とをアンドして停止信号を出
力する。この停止条件には情報処理装置内の各種障害の
検出信号を使用する。レジスタ52はアンド回路51か
らの停止信号を入力し、この停止信号を格納して、これ
を保持し、また、外部からの動作開始信号によりリセッ
トされ、保持している停止信号をイニシャライズする。
The AND circuit 51 ANDs the 3-bit output of the register 50 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 52 inputs the stop signal from the AND circuit 51, stores and holds this stop signal, and is reset by an external operation start signal to initialize the held stop signal.

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

これらの信号はいずれもメモリ1.2へのデータの書込
みが停止状態であることを示す。ノット回路54はオア
回路53からの出力を反転して、メモリ1.2へのデー
タの書込みが稼動状態であることを示す信号を出力する
。この信号はアドレスカウンタ回路6のライトアドレス
の更新条件の1つとして、あるいは、アドレスカウンタ
回路7のライトアドレスの更新条件として、あるいは、
メモリ1,2のライト指示信号として使用される。
Both of these signals indicate that writing of data to memory 1.2 is stopped. NOT circuit 54 inverts the output from OR circuit 53 and outputs a signal indicating that data writing to memory 1.2 is active. This signal is used as one of the update conditions for the write address of the address counter circuit 6, or as one of the update conditions for the write address of the address counter circuit 7, or
It is used as a write instruction signal for memories 1 and 2.

また、この信号はレジスタ52に停止信号をセットする
セット信号として使用される。
Further, this signal is used as a set signal to set a stop signal in the register 52.

アドレスカウンタ回路6はレジスタ60と+17ダー6
1とアダー62と切替器63とにより構成され、レジス
タ60と+17ダー61とでメモリ1のライトアドレス
を作成するカウンタを形成する。+17ダー61はレジ
スタ60の全ビットを入力し、この入力内容に+1を加
算してレジスタ60に戻し、レジスタ60では制御回路
8からの信号をセット信号として+17ダー61からの
出力をセットする。ざらにレジスタ60はその内容をア
ダー62と切替器63とに出力する。
The address counter circuit 6 includes a register 60 and a +17 register 6.
1, an adder 62, and a switch 63, and a register 60 and a +17 adder 61 form a counter for creating a write address of the memory 1. The +17 der 61 inputs all bits of the register 60, adds +1 to the input contents, and returns the result to the register 60. The register 60 uses the signal from the control circuit 8 as a set signal to set the output from the +17 der 61. Roughly, the register 60 outputs its contents to the adder 62 and the switch 63.

アダー62はレジスタ60のライトアドレスと外部から
の減算用データとを入力し、このライトアドレスから減
算用データを減算して減算結果を出力し、メモリ1用の
リードアドレスとして、固定したライトアドレスからの
相対アドレスを作ることに使用される。切替器63はレ
ジスタ60のライトアドレスとアダー62から出力され
るリードアドレスとを状態保持回路5からの出力信号に
より切替える。この出力信号が「1」のとき、すなわち
メモリ1,2へのデータの書込みが稼動状態であること
を示すときは、切替器63がレジスタ60のライトアド
レスを選択する。この出力信号が「0」のとき、すなわ
ち障害の発生等によりメモリ1.2へのデータの書込み
が停止状態であることを示すときは、切替器63がアダ
ー62のリードアドレスを選択する。
The adder 62 inputs the write address of the register 60 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 63 switches between the write address of the register 60 and the read address output from the adder 62 based on the output signal from the state holding circuit 5. When this output signal is "1", that is, when writing data to the memories 1 and 2 is in operation, the switch 63 selects the write address of the register 60. When this output signal is "0", that is, when writing of data to the memory 1.2 is stopped due to occurrence of a failure or the like, the switch 63 selects the read address of the adder 62.

アドレスカウンタ回路7はレジスタ70と+17ダー7
1とアダー72と切替器73とにより構成され、レジス
タ70と+17ダー71とでメモリ2のライトアドレス
を作成するカウンタを形成する。+17ダー71はレジ
スタ70の全ピットを入力し、この入力内容に+1を加
算してレジスタ70に戻し、レジスタ70では状態保持
回路5の出力信号「1」をセット信号として+17ダー
71からの出力をセットする。さらに、レジ3り70は
その内容をアダー72と切替器173とに出力する。
The address counter circuit 7 includes a register 70 and a +17 der 7.
1, an adder 72, and a switch 73, and a register 70 and a +17 adder 71 form a counter for creating a write address of the memory 2. The +17der 71 inputs all the pits of the register 70, adds +1 to this input content, and returns it to the register 70. The register 70 outputs the output signal from the +17der 71 using the output signal "1" of the state holding circuit 5 as a set signal. Set. Furthermore, the register 70 outputs the contents to the adder 72 and the switch 173.

アダー72はレジスタ70のライトアートレスと外部か
らの減算用データとを入力し、このライトアドレスから
減算用データを減算して減算結果を出力し、メモリ2用
のリードアドレスとして、固定したライトアドレスから
の相対アドレスを作ることに使用される。切替2S73
はレジスタ70のライトアドレスとアダー72から出力
されるリードアドレスとを状態保持回路5からの出力信
号により切替える。この出力信号が「1」のときは、切
替器73がレジスタ70のライトアドレスを選択し、こ
の出力信号が「0」のときは、アダー72のリードアド
レスを選択する。
The adder 72 inputs the write address of the register 70 and the subtraction data from the outside, subtracts the subtraction data from this write address, outputs the subtraction result, and uses the fixed write address as the read address for the memory 2. Used to create relative addresses from. Switching 2S73
switches between the write address of the register 70 and the read address output from the adder 72 by the output signal from the state holding circuit 5. When this output signal is "1", the switch 73 selects the write address of the register 70, and when this output signal is "0", it selects the read address of the adder 72.

制御回路8はアンド回路80で構成される。アンド回路
80は比較回路4からの不一致信号と状態保持回路5か
らの信号とをアンドして、メモリ1.2へのデータの書
込みが可能な状態であり、かつ前回メモリ1に入力した
マクロ命令アドレスと今回入力するマクロ命令アドレス
とが不一致であることを示す信号を作り、この信号によ
りアドレスカウンタ回路6のライトアドレスを更新する
The control circuit 8 is composed of an AND circuit 80. The AND circuit 80 ANDs the mismatch signal from the comparator circuit 4 and the signal from the state holding circuit 5 to ensure that the data can be written to the memory 1.2 and the macro command that was previously input to the memory 1. A signal indicating that the address and the currently input macro command address do not match is generated, and the write address of the address counter circuit 6 is updated by this signal.

比較回路4からの不一致信号がrOJのとき、すなわち
、マクロ命令アドレスが同一アドレスで連続するときに
は、アドレスカウンタ回路6のライトアドレスは更新さ
れず、マクロ命令アドレスはメモリ1の同一アドレスに
書込まれる。これは比較回路4からの不一致信号が[1
]になるまで繰返される。
When the mismatch signal from the comparator circuit 4 is rOJ, that is, when the macro instruction addresses are the same and consecutive, the write address of the address counter circuit 6 is not updated and the macro instruction address is written to the same address in the memory 1. . This means that the mismatch signal from the comparison circuit 4 is [1
] is repeated until

このように、メモリを複数設けて、マクロ命令アドレス
とマイクロ命令アドレスとを夫々別々のメモリ1.2に
記憶するようにし、マクロ命令アドレスが同一アドレス
で連続する場合に、メモリ1の同一アドレスにこのマク
ロ命令アドレスを重ねて記憶させることにより、従来の
トレーサ方式よりもはるかに長い期間のマクロ命令アド
レスを記憶することができる。また、マクロ命令アドレ
スが変化したことを示すビットを、この変化した時のマ
イクロ命令アドレスと一緒に同じメモリに入力すること
により、別々のメモリに入力したマクロ命令アドレスと
マイクロ命令アドレスとの対応付けができる。
In this way, a plurality of memories are provided so that macro instruction addresses and micro instruction addresses are stored in separate memories 1 and 2, respectively, and when macro instruction addresses are consecutive at the same address, they are stored at the same address in memory 1. By storing these macroinstruction addresses in an overlapping manner, it is possible to store macroinstruction addresses for a much longer period of time than in the conventional tracer method. In addition, by inputting a bit indicating that the macro instruction address has changed into the same memory together with the micro instruction address at the time of the change, the macro instruction address and micro instruction address input into separate memories can be correlated. Can be done.

発明の詳細 な説明したように本発明によれば、メモリを複数設けて
、マクロ命令アドレスとマイクロ命令アドレスとは別の
メモリに記憶し、このマクロ命令アドレスが同一アドレ
スで血続する場合に、メモリの同一アドレスにこのマク
ロ命令アドレスを重ねて記憶させ、マクロ命令アドレス
が変化したことを示すビットをこの変化した時のマイク
ロ命令アドレスと一緒に同じメモリに記憶させることに
より、メモリを効率よく使うことができるという効果が
ある。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, a plurality of memories are provided, macro instruction addresses and micro instruction addresses are stored in separate memories, and when the macro instruction addresses are the same address and are related, Memory is used efficiently by overlapping and storing this macro instruction address at the same address in memory and storing the bit indicating that the macro instruction address has changed together with the micro instruction address at the time of the change. It has the effect of being able to

【図面の簡単な説明】 第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例を示すより詳細な回路図である。 主要部分の符号の説明 1.2・・・・・・メモリ 3・・・・・・データレジスタ 4・・・・・・比較回路 6.7・・・・・・アドレスカウンタ回路8・・・・・
・t、II御回路
BRIEF DESCRIPTION OF THE DRAWINGS 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 1.2...Memory 3...Data register 4...Comparison circuit 6.7...Address counter circuit 8...・・・
・t, II control circuit

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置の内部状態を示すデータを記憶するトレー
サ方式であって、複数のメモリを設け、前記情報処理装
置からのマクロ命令アドレスが同一アドレスで連続する
時、前記マクロ命令アドレスを前記メモリのうちの所定
の同一アドレスへ記憶し、かつ前記マクロ命令アドレス
の変化を示す情報を前記変化時のマイクロ命令アドレス
とともに他の前記メモリへ記憶するようにしたことを特
徴とするトレーサ方式。
A tracer method for storing data indicating the internal state of an information processing device, in which a plurality of memories are provided, and when macro instruction addresses from the information processing device are consecutive at the same address, the macro instruction address is stored in one of the memories. A tracer method characterized in that information indicating a change in the macroinstruction address is stored in another of the memories together with the microinstruction address at the time of the change.
JP61116631A 1986-05-21 1986-05-21 Tracer system Pending JPS62272332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61116631A JPS62272332A (en) 1986-05-21 1986-05-21 Tracer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61116631A JPS62272332A (en) 1986-05-21 1986-05-21 Tracer system

Publications (1)

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

Family

ID=14691977

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS62272332A (en)

Similar Documents

Publication Publication Date Title
JPS6015968B2 (en) control storage
JPS58115673A (en) Storage information control method and device
JPS62272332A (en) Tracer system
JPS62272333A (en) Tracer system
JPS6148174B2 (en)
JPS6148735B2 (en)
JPS6041766B2 (en) microprogram controller
JPS62272331A (en) Tracer system
JPS586232B2 (en) memory device
JPH0743668B2 (en) Access control device
JP2581214B2 (en) Logic simulator
JP2573711B2 (en) Micro subroutine control method
SU1151961A1 (en) Microprogram control device
JPS6049334B2 (en) control storage
SU1049907A1 (en) Firmware control device
JPH01302452A (en) Microprogram control device
JPS59186048A (en) Microprogram control system
JPH0778730B2 (en) Information processing equipment
JPH07281917A (en) Cpu switchin circuit
JPH03228158A (en) Storage device
JPH0298751A (en) Tracer control circuit
JPH0553906A (en) Register access system
JPH0359637B2 (en)
JPH0378845A (en) Man storage key control system
JPH0696112A (en) Vector data processing circuit