JPH04243436A - Execution history storage device - Google Patents
Execution history storage deviceInfo
- Publication number
- JPH04243436A JPH04243436A JP3004160A JP416091A JPH04243436A JP H04243436 A JPH04243436 A JP H04243436A JP 3004160 A JP3004160 A JP 3004160A JP 416091 A JP416091 A JP 416091A JP H04243436 A JPH04243436 A JP H04243436A
- Authority
- JP
- Japan
- Prior art keywords
- execution
- microinstruction
- memory
- tracer memory
- tracer
- 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
Links
- 239000000700 radioactive tracer Substances 0.000 claims abstract description 31
- 230000005764 inhibitory process Effects 0.000 claims description 7
- 238000000034 method Methods 0.000 claims description 3
- 230000001629 suppression Effects 0.000 abstract description 3
- 230000005856 abnormality Effects 0.000 description 5
- 230000002401 inhibitory effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はマイクロプログラム制御
方式を採用したデータ処理装置の実行履歴記憶装置に関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an execution history storage device for a data processing device employing a microprogram control system.
【0002】0002
【従来の技術】マイクロプログラム制御方式のデータ処
理装置において、装置の異常や例外の原因を明かにする
手がかりとして、マイクロプログラムの実行アドレスや
特定の論理信号の履歴を記録する実行履歴記憶装置を設
けることがある。2. Description of the Related Art In a data processing device using a microprogram control system, an execution history storage device is provided to record the execution address of the microprogram and the history of specific logic signals as a clue to clarify the cause of abnormalities or exceptions in the device. Sometimes.
【0003】このようなデータ処理装置では、制御記憶
から読み出したマイクロ命令はマイクロ命令レジスタに
格納され、その一部はデコーダによりデコードされて、
マイクロ命令を実行する制御信号となる。同時に特定の
論理信号がトレーサメモリに記憶される。In such a data processing device, microinstructions read from the control memory are stored in a microinstruction register, a part of which is decoded by a decoder.
It becomes a control signal that executes a microinstruction. At the same time, specific logic signals are stored in the tracer memory.
【0004】これらの動作はマイクロプログラムのシー
ケンスを形成するように逐次的に反復されるが、異常や
例外を検出した場合にはトレーサメモリの更新も停止し
、このトレーサメモリに記憶されたマイクロプログラム
の実行履歴を解析することにより、装置の異常や例外の
原因を探ることが容易になる。These operations are sequentially repeated to form a microprogram sequence, but if an abnormality or exception is detected, updating of the tracer memory is also stopped, and the microprogram stored in this tracer memory is By analyzing the execution history of , it becomes easy to find the cause of device abnormalities and exceptions.
【0005】しかしながら、トレーサメモリの容量には
限りがあるため、異常や例外の原因究明に必要なすべて
のデータを記憶することができない。そのためトレーサ
メモリの格納領域全部にデータが記憶された場合には最
初に戻り、順次古いデータに上書きをする方法がとられ
ている。[0005] However, since the capacity of the tracer memory is limited, it is not possible to store all the data necessary for investigating the cause of an abnormality or exception. Therefore, when data is stored in the entire storage area of the tracer memory, a method is used in which the process returns to the beginning and sequentially overwrites older data.
【0006】[0006]
【発明が解決しようとする課題】上述した従来の実行履
歴記憶装置では、マイクロプログラム実行中に様々な要
因によりマイクロ命令の実行が抑止された場合にも、マ
イクロプログラムの実行アドレスや特定の論理信号がク
ロック毎にトレーサメモリに記録されるため、マイクロ
命令の実行抑止が長時間にわたると、装置の異常や例外
の原因を探ることが困難になるという問題点がある。[Problems to be Solved by the Invention] In the conventional execution history storage device described above, even if the execution of a microinstruction is inhibited due to various factors during the execution of a microprogram, the execution address of the microprogram or a specific logic signal cannot be stored. is recorded in the tracer memory every clock, so if microinstruction execution is inhibited for a long time, it becomes difficult to find the cause of device abnormalities or exceptions.
【0007】[0007]
【課題を解決するための手段】本発明の装置は、マイク
ロプログラム制御方式を採用したデータ処理装置におけ
る実行履歴記憶装置において、制御記憶から読み出した
マイクロ命令を格納するマイクロ命令レジスタと、マイ
クロ命令の実行が抑止された場合に抑止時間を計数し、
マイクロ命令の実行抑止が解除された場合にリセットさ
れるカウンタと、マイクロ命令レジスタに格納されたマ
イクロ命令のうちの次実行アドレス信号、カウント値及
び特定の論理信号を記憶するトレーサメモリと、マイク
ロ命令の実行が抑止された場合にトレーサメモリへの書
き込みを抑止する手段とを有する。[Means for Solving the Problems] The device of the present invention provides an execution history storage device for a data processing device employing a microprogram control system, which includes a microinstruction register for storing microinstructions read from a control memory, and a microinstruction register for storing microinstructions read from a control memory. Count the suppression time if execution is suppressed,
A counter that is reset when execution inhibition of a microinstruction is released, a tracer memory that stores a next execution address signal, a count value, and a specific logic signal of the microinstructions stored in the microinstruction register, and a microinstruction. means for inhibiting writing to the tracer memory when execution of the tracer memory is inhibited.
【0008】[0008]
【実施例】次に、本発明の実施例につき図面を参照して
説明する。Embodiments Next, embodiments of the present invention will be described with reference to the drawings.
【0009】図1は本発明の一実施例のブロック図を示
す。FIG. 1 shows a block diagram of one embodiment of the invention.
【0010】図1を参照すると、本実施例は、制御記憶
1,マイクロ命令レジスタ2,デコーダ3,トレーサメ
モリ4,ポインタ5,カウンタ6およびマイクロ命令実
行抑止信号500からなる。Referring to FIG. 1, this embodiment comprises a control memory 1, a microinstruction register 2, a decoder 3, a tracer memory 4, a pointer 5, a counter 6, and a microinstruction execution inhibit signal 500.
【0011】制御記憶1中に記憶されたマイクロプログ
ラムを構成するマイクロ命令は読み出されるとマイクロ
命令レジスタ2に格納される。マイクロ命令レジスタ2
に格納されたマイクロ命令の一部はデコーダ3によりデ
コードされ、マイクロ命令を実行するための制御信号1
00になる。その一方でマイクロ命令レジスタ2に格納
されたマイクロ命令の一部は次実行アドレス信号200
となり制御記憶1上のアドレスを特定し、次のマイクロ
命令をマイクロ命令レジスタ2に格納する。When the microinstructions constituting the microprogram stored in the control memory 1 are read out, they are stored in the microinstruction register 2. Microinstruction register 2
A part of the microinstruction stored in is decoded by the decoder 3, and a control signal 1 for executing the microinstruction is generated.
It becomes 00. On the other hand, some of the microinstructions stored in the microinstruction register 2 receive the next execution address signal 200.
Then, the address on the control memory 1 is specified and the next microinstruction is stored in the microinstruction register 2.
【0012】この一連の動作によりマイクロ命令の実行
シーケンスが形成される。次実行アドレス信号200及
び特定の論理信号400及びカウント値600のトレー
サメモリ4への記憶はポインタ5で示される番地に対し
て行われ、記憶と同時にポインタ5の値が1だけ増加す
る。特にポインタ5がトレーサメモリ4の最後の番地を
指している場合には記憶と同時にポインタ5にトレーサ
メモリ4の最初の番地がセットされ、これによりトレー
サメモリ4の循環利用を実現している。This series of operations forms a microinstruction execution sequence. The next execution address signal 200, specific logic signal 400, and count value 600 are stored in the tracer memory 4 at the address indicated by the pointer 5, and the value of the pointer 5 is increased by 1 at the same time as the storage. In particular, when the pointer 5 points to the last address of the tracer memory 4, the first address of the tracer memory 4 is set to the pointer 5 at the same time as storage, thereby realizing circular use of the tracer memory 4.
【0013】マイクロプログラム実行中に様々な要因に
よりマイクロ命令の実行が抑止されると、マイクロ命令
実行抑止信号500が“ON”となる。マイクロ命令抑
止信号500が“ON”になると、再びマイクロ命令抑
止信号500が“OFF”となるまでマイクロ命令レジ
スタ2をはじめマイクロ命令の実行に必要な情報が全て
HOLD状態になる。このときポインタ5もHOLD状
態となる。したがって次実行アドレス信号200及び特
定の論理信号400及びカウント値600のトレーサメ
モリ4への記憶は同一番地に対して行われることになる
。If the execution of a microinstruction is inhibited due to various factors during the execution of a microprogram, the microinstruction execution inhibition signal 500 becomes "ON". When the microinstruction inhibit signal 500 is turned "ON", all information necessary for executing the microinstruction including the microinstruction register 2 is held in a HOLD state until the microinstruction inhibition signal 500 is turned "OFF" again. At this time, pointer 5 is also in the HOLD state. Therefore, the next execution address signal 200, the specific logic signal 400, and the count value 600 are stored in the tracer memory 4 at the same location.
【0014】カウンタ6はマイクロ命令抑止信号500
が“ON”の間はクロック数を計数し、マイクロ命令抑
止信号500が“OFF”になるとリセットされる。マ
イクロ命令抑止信号500が“OFF”の間はクロック
数の計数は行わない。このカウンタの出力であるカウン
ト値600は、次実行アドレス信号200及び特定の論
理信号400と共にトレーサメモリ4へ記憶される。The counter 6 receives a microinstruction inhibit signal 500
The number of clocks is counted while the microinstruction inhibit signal 500 is "ON", and is reset when the microinstruction inhibit signal 500 becomes "OFF". The number of clocks is not counted while the microinstruction inhibit signal 500 is "OFF". The count value 600, which is the output of this counter, is stored in the tracer memory 4 together with the next execution address signal 200 and the specific logic signal 400.
【0015】トレーサメモリ4の中に記憶された一連の
次実行アドレス信号200と特定の論理信号400の履
歴を読み出すことにより、停止に至るまでのマイクロプ
ログラムの実行履歴を知ることができるが、マイクロ命
令の実行が抑止された場合、トレーサメモリ4の中に記
憶されたカウント値600からマイクロ命令の実行抑止
時間を知ることができる。By reading out the history of the series of next execution address signals 200 and specific logic signals 400 stored in the tracer memory 4, it is possible to know the execution history of the microprogram up to the stop. When execution of an instruction is inhibited, the execution inhibition time of the microinstruction can be determined from the count value 600 stored in the tracer memory 4.
【0016】[0016]
【発明の効果】本発明により、マイクロプログラム実行
中に様々な要因によりマイクロ命令の実行が抑止された
場合には、トレーサメモリへの書き込みを抑止すること
によりトレーサメモリを有効に活用することができ、ま
た実行抑止時間も知ることができるため、マイクロ命令
の実行抑止が長時間にわたる場合でも、問題発生時の原
因究明への重要な情報を得ることが可能である。[Effects of the Invention] According to the present invention, when the execution of a microinstruction is inhibited due to various factors during the execution of a microprogram, the tracer memory can be effectively utilized by inhibiting writing to the tracer memory. In addition, since the execution inhibition time can also be known, even if the execution of a microinstruction is inhibited for a long time, it is possible to obtain important information for investigating the cause of a problem when it occurs.
【図1】本発明の一実施例を示す。FIG. 1 shows an embodiment of the present invention.
1 制御記憶 2 マイクロ命令レジスタ 3 デコーダ 4 トレーサメモリ 5 ポインタ 6 カウンタ 1 Control memory 2 Microinstruction register 3 Decoder 4 Tracer memory 5 Pointer 6 Counter
Claims (1)
たデータ処理装置における実行履歴記憶装置において、
制御記憶から読み出したマイクロ命令を格納するマイク
ロ命令レジスタと、マイクロ命令の実行が抑止された場
合に抑止時間を計数し、マイクロ命令の実行抑止が解除
された場合にリセットされるカウンタと、前記マイクロ
命令レジスタに格納されたマイクロ命令のうちの次実行
アドレス信号、前記カウント値及び特定の論理信号を記
憶するトレーサメモリと、マイクロ命令の実行が抑止さ
れた場合に前記トレーサメモリへの書き込みを抑止する
手段とを有することを特徴とする実行履歴記憶装置。Claim 1: An execution history storage device in a data processing device employing a microprogram control method, comprising:
a microinstruction register that stores microinstructions read from control memory; a counter that counts the inhibition time when the execution of the microinstruction is inhibited; and a counter that is reset when the inhibition of the execution of the microinstruction is released; a tracer memory that stores a next execution address signal, the count value, and a specific logic signal of the microinstructions stored in the instruction register; and a tracer memory that inhibits writing to the tracer memory when execution of the microinstruction is inhibited. An execution history storage device comprising: means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3004160A JPH04243436A (en) | 1991-01-18 | 1991-01-18 | Execution history storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3004160A JPH04243436A (en) | 1991-01-18 | 1991-01-18 | Execution history storage device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04243436A true JPH04243436A (en) | 1992-08-31 |
Family
ID=11576993
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3004160A Pending JPH04243436A (en) | 1991-01-18 | 1991-01-18 | Execution history storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04243436A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08292904A (en) * | 1995-04-20 | 1996-11-05 | Hokkaido Nippon Denki Software Kk | Dump gathering control system |
| JP2011519100A (en) * | 2008-04-28 | 2011-06-30 | イマジネイション テクノロジーズ リミテッド | System for providing trace data in a data processor having a pipelined architecture |
-
1991
- 1991-01-18 JP JP3004160A patent/JPH04243436A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08292904A (en) * | 1995-04-20 | 1996-11-05 | Hokkaido Nippon Denki Software Kk | Dump gathering control system |
| JP2011519100A (en) * | 2008-04-28 | 2011-06-30 | イマジネイション テクノロジーズ リミテッド | System for providing trace data in a data processor having a pipelined architecture |
| US9720695B2 (en) | 2008-04-28 | 2017-08-01 | Imagination Technologies Limited | System for providing trace data in a data processor having a pipelined architecture |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4040034A (en) | Data security system employing automatic time stamping mechanism | |
| WO1979000035A1 (en) | Apparatus for use with a data processor for defining a cyclic data buffer | |
| US4040030A (en) | Computer instruction control apparatus and method | |
| JPH04243436A (en) | Execution history storage device | |
| JPH04241645A (en) | Execution history storing system | |
| JP2731047B2 (en) | Program operand check method | |
| JPS6320637A (en) | Execution history storage device | |
| JPH11219293A (en) | Address tracing method and tracer memory controller | |
| JP3490191B2 (en) | calculator | |
| JPS6011943A (en) | Inspection system for test program | |
| SU552608A1 (en) | Device for eliminating the consequences of failures | |
| JPH02204843A (en) | Execution history storage device | |
| JP2679163B2 (en) | Operation exception generation instruction information detection circuit | |
| JPS61217833A (en) | Arithmetic processor | |
| JPS5897750A (en) | Information processor having error correcting function of microinstruction | |
| JPH0566970A (en) | Preventing method for program runaway of arithmetic processor | |
| JP2636513B2 (en) | Storage device and method | |
| JPS626341A (en) | Information processor | |
| JPH0760389B2 (en) | Pipeline processing type information processing device | |
| JPH04256039A (en) | Information processor capable of counting instruction | |
| JPS64734B2 (en) | ||
| JPH0213334B2 (en) | ||
| JPS63204340A (en) | Circuit for measuring covering rate of program | |
| JPH0831054B2 (en) | History information storage method | |
| JPS6250855B2 (en) |