JPH0322146A - Microprogram control device - Google Patents

Microprogram control device

Info

Publication number
JPH0322146A
JPH0322146A JP1157156A JP15715689A JPH0322146A JP H0322146 A JPH0322146 A JP H0322146A JP 1157156 A JP1157156 A JP 1157156A JP 15715689 A JP15715689 A JP 15715689A JP H0322146 A JPH0322146 A JP H0322146A
Authority
JP
Japan
Prior art keywords
microprogram
service processor
trace memory
trace
memory
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
JP1157156A
Other languages
Japanese (ja)
Inventor
Tokumitsu Nakamura
中村 徳光
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1157156A priority Critical patent/JPH0322146A/en
Publication of JPH0322146A publication Critical patent/JPH0322146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To facilitate the calculation of the inspection ratio of a microprogram and the calculation of the inspection drop-out of the same by delivering information stored in a memory to a service processor every time a trace memory becomes a full state, and tracing all the microprograms during execution. CONSTITUTION:A means to obtain a signal COP showing that the trace memory became the full state in conformity to an instruction from the service processor (SVP), a flip flop for operating clock stop control to be turned into a set state by this signal, and a circuit to set interruption to the service processor by the set output of the flip flop are provided. Then, the device is constituted so that trace data stored in the trace memory 14 is taken in the service processor (SVP) every time the trace memory 14 becomes the full state. Accordingly, all the steps of the microprocessor can be traced. Thus, the calculation of the inspection ratio and the calculation of the inspection drop-out of the microprogram can be facilitated.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は実行マイクロプログラムの全トレース機能をも
つマイクロプログラム制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a microprogram control device having a full trace function of an executed microprogram.

(従来の技術) 従来、マイクロプログラムにより制御される装置に於け
るマイクロプログラムのトレース機能は、マイクロプロ
グラムのデバック時又は不具合解析を目的として、マイ
クロアドレスマッチ機能等により、指定されたアドレス
でクロックを止め、それまでに実行されたマイクロプロ
グラムステップを遡って調べるために用意される。
(Prior Art) Conventionally, the trace function of a microprogram in a device controlled by a microprogram has been used to trace a clock at a specified address using a microaddress match function etc. for the purpose of debugging the microprogram or analyzing a problem. This is used to stop the program and trace back the microprogram steps that have been executed up to that point.

この際、トレースメモリ上には、それまでに実行された
最新の情報がそのメモリ容量分残っているが、それ以前
の情報は更新されてしまっている。
At this time, the latest information executed up to that point remains in the trace memory for the memory capacity, but the previous information has been updated.

このとき必要な情報は数ステップ〜数十ステップ程度で
あるが、使用するメモリはメモリチップのill位容量
から数キロワード以上のものが多い。
The information required at this time is about several steps to several tens of steps, but the memory used is often from the capacity of a memory chip to several kilowords or more.

一方、装置の開発時に於いては、システムのテストプロ
グラム等により、もれなく検査ができるか否かを確認す
る必要がある。
On the other hand, when developing a device, it is necessary to confirm whether thorough inspection can be performed using a system test program or the like.

そのためには検査対象となるプログラムの実行により、
そのマイクロプログラムの全ステップが実行されている
か否かを検査する必要があるが、トレースメモリの容量
等にも限界があり、このような検査に対しては上記した
ようなマイクロアドレスマッチ機能等による既存のトレ
ース手段を利用することが難しかった。
To do this, by executing the program to be inspected,
It is necessary to check whether all steps of the microprogram are being executed, but there is a limit to the capacity of trace memory, etc., and for such checks, it is necessary to check whether all steps of the microprogram are being executed. It was difficult to use existing tracing methods.

(発明が解決しようとする課題) 上記したように装置開発時等に於いて、マイクロプログ
ラムの全ステップが実行されているか否かを検査する際
に、従来では有効な検査手段が存在しなかった。
(Problem to be Solved by the Invention) As mentioned above, there has been no effective testing method in the past to check whether all steps of a microprogram are being executed during device development, etc. .

本発明は上記実情に鑑みなされたもので、マイクロプロ
グラムにより制御される装置に於いて、テストプログラ
ム等で、そのマイクロプログラムの全ステップが検査さ
れているか否かをトレースメモリを有効に利用して容易
に確認できるマイクロプログラム制御装置を提供するこ
とを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and in a device controlled by a microprogram, it is possible to effectively utilize a trace memory to check whether all steps of the microprogram have been inspected by a test program or the like. The purpose is to provide a microprogram control device that can be easily verified.

[発明の構成コ (3題を解決するための手段及び作用)本発明は、第1
図に示すように、マイクロブログラムシーケンサ11,
マイクロプログラムメモリ12.マイクロインストラク
ションレジスタ13等からなるマイクロプログラム制御
機構部に、マイクロプログラムをトレースするためのト
レースメモリ14.トレースメモリアドレスカウンタl
5、及びそれらを制御するサービスプロセッサインター
フエイス16等を備えた装置に於いて、サービスプロセ
ッサ(S V P)からの指示に従いトレースメモリが
フルになったことを示す13号(実施例ではトレースメ
モリアドレスカウンタ15のキャリーアウト信号cop
)を得る手段と、同信号によりセット状態となる動作ク
ロック停止制御用のフリップフロップと、同フリップフ
ロツブのセット出力によりサービスプロセッサへ割込み
をかける回路とを有して、トレースメモリ14がフル状
態になる度に上記トレースメモリI4に貯えられたトレ
ースデータをサービスプロセッサ(SVP)へ取り込む
構或としたもので、これにより、トレースメモリl4を
有効に用いてシステムのテストで実行されたマイクロプ
ログラムの全てのステップがトレースでき、そのテスト
により全ステップがテストされているか否かを容易に能
率良くチェックすることができる。
[Configuration of the invention (Means and effects for solving the three problems) The present invention consists of the first
As shown in the figure, a microprogram sequencer 11,
Microprogram memory 12. A trace memory 14 for tracing the microprogram is included in the microprogram control mechanism section consisting of the microinstruction register 13 and the like. Trace memory address counter l
5, and a service processor interface 16 that controls them, No. 13 (in the embodiment, the trace memory Carry-out signal cop of address counter 15
), a flip-flop for operating clock stop control that is set to a set state by the same signal, and a circuit that interrupts the service processor by the set output of the flip-flop, so that the trace memory 14 is in a full state. The trace data stored in the trace memory I4 is loaded into the service processor (SVP) each time the trace memory I4 is used. All steps can be traced and the test can easily and efficiently check whether all steps have been tested.

この際、トレースメモリl4の容量が極端に小さいとマ
イクロプログラムの全てのステップをトレースするのに
多くの時間を必要とするが、通常用いられるトレースメ
モリは前述したようにメモリチップの単位容量から数キ
ロワード以上のものを使用しており、従ってトレースメ
モリを有効に用いた簡単な構成にてシステムのテストで
実行されたマイクロプログラムの全てのステップのトレ
ースが効率よく実行できる。
At this time, if the capacity of the trace memory l4 is extremely small, it will take a long time to trace all the steps of the microprogram, but as mentioned above, the trace memory normally used is It uses more than a kiloword, and therefore, with a simple configuration that makes effective use of trace memory, it is possible to efficiently trace all steps of a microprogram executed in a system test.

(実施例) 以下図面を参照して本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図に於いて、l1はマイクロブログラムシーケンサ
であり、マイクロプログラムメモリ12のアドレスを制
御する。l2はマイクロプログラムメモリであり、マイ
クロプログラムシーケンサ11で指定されたアドレスの
データ(マイクロ命令)が読み出される。13はマイク
ロインストラクションレジスタであり、マイクロプログ
ラムメモリl2より読み出された実行すべきマイクロ命
令をセットする。このマイクロインストラクションレジ
スタ13より出力されるデータ(マイクロ命令)は装置
内の各部の制御に供される。14はマイクロプログラム
メモリl2より出力されるマイクロプログラムメモリア
ドレスをトレースするトレースメモリであり、ここでは
半導体メモリチップの単位容量によって定まる数キロワ
ードの容量をもって構成される。l5はトレースメモリ
14−のアドレスを制御するカウンタであり、トレース
メモリ14がフル状態となるカウント時に於いて“1”
レベルのキャリーアウト信号(COP)を出力する。l
6はサービスプロセッサインターフエイスであり、サー
ビスプロセッサ(svp)に接続されて装置内の診断の
ための各種制御を行なう。17はクロックストップフリ
ップフロップであり、サービスプロセッサ(SVP)の
指定により装置内のクロックを禁止制御する。尚、Aは
アンドゲート、Nはナンドゲート、Oはオアゲート、A
(一)は負論理アンドゲート、■はインバータである。
In FIG. 1, l1 is a microprogram sequencer, which controls the address of the microprogram memory 12. 12 is a microprogram memory, from which data (microinstructions) at an address specified by the microprogram sequencer 11 is read. A microinstruction register 13 sets a microinstruction to be executed read from the microprogram memory l2. The data (microinstructions) output from this microinstruction register 13 are used to control various parts within the device. Reference numeral 14 denotes a trace memory for tracing the microprogram memory address output from the microprogram memory 12, and here it is constructed with a capacity of several kilowords determined by the unit capacity of the semiconductor memory chip. l5 is a counter that controls the address of the trace memory 14-, and when counting when the trace memory 14 is full, it becomes "1".
Outputs level carry-out signal (COP). l
A service processor interface 6 is connected to a service processor (SVP) and performs various controls for diagnosis within the device. Reference numeral 17 denotes a clock stop flip-flop, which inhibits and controls the clock within the device according to the designation of the service processor (SVP). In addition, A is an AND gate, N is a NAND gate, O is an OR gate, and A
(1) is a negative logic AND gate, and ■ is an inverter.

ここで第1図を参照して本発明の一実施例に於ける動作
を説明する。
The operation of one embodiment of the present invention will now be described with reference to FIG.

マイクロプログラムメモリ12はマイクロブログラムシ
ーケンサ11によりアドレスが制御されて動作クロック
に従い実行すべきマイクロ命令を出力する。このマイク
ロプログラムメモリl2より読み出されたマイクロ命令
は動作クロックに同期してマイクロインストラクション
レジスタl3にセットされる。マイクロインストラクシ
ョンレジスタl3より出力されるデータ(マイクロ命令
)は予め定められた装置内の各部(図示せず)に供給さ
れ、各部を制御することによって、その命令が実行され
る。
The microprogram memory 12 has its address controlled by the microprogram sequencer 11 and outputs microinstructions to be executed in accordance with the operating clock. The microinstruction read from the microprogram memory l2 is set in the microinstruction register l3 in synchronization with the operating clock. Data (microinstructions) output from the microinstruction register 13 are supplied to predetermined units (not shown) in the device, and the instructions are executed by controlling each unit.

又、トレースメモリl4はトレースメモリアドレスカウ
ンタl5によりアドレス更新制御(通常はカウントアッ
プ)され、マイクロブログラムシーケンサ1lから出力
されるマイクロプログラムアドレスを書き込んでいる。
Further, the trace memory l4 is under address update control (usually counted up) by a trace memory address counter l5, and the microprogram address output from the microprogram sequencer 1l is written therein.

尚トレースメモリl4内のトレースデータはメモリ容量
をオーバすると旧いデータが捨てられて常に最新のデー
タが残るようになっている。
Note that when the trace data in the trace memory l4 exceeds the memory capacity, the old data is discarded so that the latest data always remains.

通常、トレースメモリl4はマイクロプログラムのデバ
ック又は不具合解析時に用いられる。この際はサービス
プロセッサ(SVP)が接続されたサービスプロセッサ
インターフエイス1B内のマイクロアドレスストップ機
能(図示せず)等により、サービスプロセッサ(SVP
)で指定したストップアドレスとマイクロプログラムア
ドレスとを比較照合し、そのアドレスが一致したとき、
クロックストップフリップフロップ17と同様のフリッ
プフロップ(図示せず)をセットして装置内の動作クロ
ックを止め、サービスプロセッサインターフエイスl6
を介してサービスプロセッサ(S V P)にトレース
メモリ14のトレースデータがセーブされる。
Normally, the trace memory l4 is used when debugging a microprogram or analyzing a problem. In this case, a micro address stop function (not shown) in the service processor interface 1B to which the service processor (SVP) is connected is used to
) is compared with the microprogram address, and when the addresses match,
A flip-flop (not shown) similar to the clock stop flip-flop 17 is set to stop the operating clock in the device, and the service processor interface l6
The trace data in the trace memory 14 is saved in the service processor (SVP) via the service processor (SVP).

このようなケースで必要となるトレースメモリl4のデ
ータ(実行マイクロ命令に従うマイクロプログラムアド
レス)は数ステップから数十ステップ程度であるが、使
用されるメモリはメモリチップ単位容量から数Kワード
以上のものが多い。
In such a case, the trace memory l4 data (microprogram address according to the execution microinstruction) required is from a few steps to several tens of steps, but the memory used is from a memory chip unit capacity to several kilowords or more. There are many.

本発明はこの点に着目したもので、トレースメモリl4
がフル状態になる毎に(即ちトレースメモリアドレスカ
ウンタl5からキャリーアウト信号(COP一“1”)
が出力される度に)装置西の動作クロックを止める機能
を備えて、システムのテストプログラム等により実行さ
れた全てのマイクロプログラムをトレースし、そのプロ
グラムがマイクロプログラムの全ステップをテストして
いるかを検査する手段を提供するものである。
The present invention focuses on this point, and the trace memory l4
(i.e., a carry-out signal (COP-“1”) from trace memory address counter l5)
Equipped with a function to stop the operating clock of the device (each time a system test program is output), it traces all microprograms executed by a system test program, etc., and checks whether the program tests all steps of the microprogram. It provides a means for testing.

このような全ステップのトレース時に於いて、サービス
プロセッサ(SVP)は、サービスプロセッサインター
フエイス16を介し、a−dの制御信号を所定のシーケ
ンスに従い選択的に出力して、このトレース制御を実行
する。
During tracing of all steps, the service processor (SVP) selectively outputs control signals a to d via the service processor interface 16 according to a predetermined sequence to execute this trace control. .

先ず、検査の開始に先立って、サービスプロセッサ(S
VP)の制御の下にサービスプロセッサインターフエイ
ス16は、トレースメモリl4がフル状態になったとき
(即ちトレースメモリアドレスカウンタ15からキャリ
ーアウト信号(COP−“1゜)が出力されたとき)に
装置内の動作クロックを止める制御を可能にするために
、予め“1゜レベルの制御信号aを出力する。
First, before starting the inspection, the service processor (S
Under the control of the service processor interface 16 (VP), the service processor interface 16 performs device processing when the trace memory l4 becomes full (i.e., when the carry-out signal (COP-“1°)” is output from the trace memory address counter 15). In order to enable control to stop the internal operating clock, a control signal a of "1° level" is output in advance.

マイクロプログラムメモリl2から読出されたマイクロ
命令が動作クロックに従い随時実行されると、その都度
トレースメモリアドレスカウンタl5がアドレス更新(
カウントアップ)され、これに伴いトレースメモリl4
に実行マイクロ命令に従うマイクロプログラムアドレス
のデータが貯えられてゆく。
When a microinstruction read from the microprogram memory l2 is executed at any time according to the operating clock, the trace memory address counter l5 updates the address (
count up), and accordingly the trace memory l4
The data of the microprogram address according to the executed microinstruction is stored.

そしてトレースメモリl4がフル状態になると、トレー
スメモリアドレスカウンタl5からは′1″レベルのキ
ャリーアウト信号(C O P)が出力される。
When the trace memory l4 becomes full, the trace memory address counter l5 outputs a carry-out signal (C O P) at the '1'' level.

このキャリーアウト信号(COP一“1#)はサービス
プロセッサインターフエイスl6から出刀される制御信
号a(−“1゜)とアンド条件が取られ、その条件成立
に伴う信号出力(“1゛)により動作クロックの立ち上
がりでクロックストップフリッププロップl7をセット
させる。クロックストップフリップフロップ17がセッ
トすると、そのリセット出力(0−“0”)により、マ
イクロプログラムシーケンサ11,マイクロインストラ
クションレジスタl3,トレースメモリ14,トレース
メモリアドレスカウンタl5への動作クロツク及びこれ
に伴う制御信号の出力を禁止する。更にこの際、クロッ
クストップフリップフ口ップl7のセット出力(Q一“
1″)はサービスプロセッサインターフエイス1Bから
出力される制御信号b(通常は“1”)′とアンド条件
が取られ、その条件成立に伴う出力(−“1゜)により
、クロックストップフリップフロップl7はセット状態
を保持する。
This carry-out signal (COP-1#) is ANDed with the control signal a (-1°) issued from the service processor interface l6, and when the condition is met, a signal is output (1°). The clock stop flip-flop 17 is set at the rising edge of the operating clock.When the clock stop flip-flop 17 is set, its reset output (0-“0”) causes the microprogram sequencer 11, microinstruction register 13, trace memory 14, The output of the operation clock and associated control signals to the trace memory address counter l5 is prohibited.Furthermore, at this time, the set output (Q-1) of the clock stop flip-flop l7 is prohibited.
1") is subjected to an AND condition with the control signal b (usually "1")' output from the service processor interface 1B, and when the condition is met, the output (-"1°) causes the clock stop flip-flop l7 holds the set state.

又、クロックストップフリップフロツブl7のセット出
力はサービスプロセッサインターフエイスl6に人力さ
れ、クロックストップフリップフロップl7がセット状
態にあるとき、サービスプロセッサ(SVP)に対して
割込みを発生する(図示せず)。
Further, the set output of the clock stop flip-flop l7 is inputted to the service processor interface l6, and when the clock stop flip-flop l7 is in the set state, an interrupt is generated to the service processor (SVP) (not shown). .

サービスプロセッサ(S V P)は、上記割込みが発
生すると、サービスプロセッサインターフェイスl6よ
り出力される制御信号aを“1”から“0”に切換えて
、トレースメモリアドレスカウンタ15に対し、カウン
トアップ(又はカウントダウン)のための制御信号d(
例えばカウントアップのとき“1′″ カウントダウン
のとき“O”)を指定し、マイクロブログラムシーケン
サ11に入力されるアウトプットイネーブル信号eをオ
フ状態(“1”)にする。更にその後、トレースメモリ
l4を読み出すためにサービスプロセッサインターフエ
イスl6より出力される制御信号Cを“1“にする。ト
レースメモリl4から読み出されたデータ(実行マイク
ロ命令に従うマイクロプログラムアドレス)はサービス
プロセッサインターフエイス1Bを介してサービスプロ
セッサ(SVP)に取り込まれる。この際サービスプロ
セッサインターフエイスl6より出力される″1”レベ
ルの制御信号Cはトレースメモリ14を1ワード読み出
す毎に1パルス分出力されるものとし、その制御信号C
ハitl作クロックに同期化されてトレースメモリアド
レスカウンタl5に人力され、トレースメモリアドレス
カウンタl5をカウントアップ(又はカウントダウン)
させる。
When the above interrupt occurs, the service processor (SVP) switches the control signal a output from the service processor interface l6 from "1" to "0" and causes the trace memory address counter 15 to count up (or control signal d( for countdown)
For example, specify "1'" for count-up and "O" for count-down, and turn off the output enable signal e input to the microprogram sequencer 11 ("1"). Furthermore, after that, the control signal C output from the service processor interface l6 is set to "1" in order to read the trace memory l4. Data read from the trace memory 14 (microprogram address according to the executed microinstruction) is taken into the service processor (SVP) via the service processor interface 1B. At this time, the "1" level control signal C output from the service processor interface l6 is assumed to be output for one pulse each time one word is read from the trace memory 14, and the control signal C
It is synchronized with the hitl clock and is manually input to the trace memory address counter l5 to count up (or count down) the trace memory address counter l5.
let

サービスプロセッサ(SVP)はトレースメモリl4の
トレースデータをそのメモリ容量分だけ読み取ると、ク
ロックストップフリップフロップl7を再びセットさせ
るためにサービスプロセッサインターフエイスl6より
出力される制御信号aを“1”とし、更に、マイクロプ
ログラムシーケンサ11からマイクロプログラムアドレ
スを出力させるために制御信号eを“0゜とし、装置の
ストップ状態を解除するために制御信号bを“0”にす
る。制御信号b″O″はクロックストップフリップフロ
ップ17のセット出力との条件を取れなくし、クロック
の立ち上がりでクロックストップフリップフ口ツブl7
をクリアする。
When the service processor (SVP) reads the trace data of the trace memory l4 corresponding to its memory capacity, the service processor (SVP) sets the control signal a output from the service processor interface l6 to "1" in order to set the clock stop flip-flop l7 again. Furthermore, the control signal e is set to "0°" in order to output the microprogram address from the microprogram sequencer 11, and the control signal b is set to "0" to release the stop state of the device.The control signal b"O" is The condition with the set output of the clock stop flip-flop 17 cannot be taken, and the clock stop flip-flop 17 is turned off at the rising edge of the clock.
Clear.

これによりマイクロブログラムシーケンサ11,マイク
ロインストラクションレジスタ13,トレースメモリ1
4,トレースメモリアドレスカウンタl5にそれぞれ装
置内の動作クロックが供給され、マイクロプログラムの
実iテが継続再開される。
As a result, the microprogram sequencer 11, microinstruction register 13, trace memory 1
4. The operation clock within the device is supplied to the trace memory address counter 15, and the actual execution of the microprogram is resumed.

こような動作を繰り返し実行することにより、システム
テストをしながら、そのテストで実行されたマイクロプ
ログラムの全てをトレースでき、そのテストに於けるマ
イクロプログラムの検査状態を調べることが可能となる
。これにより、システム開発時等に於いてテストプログ
ラム等によるマイクロプログラムの検査率の割り出しゃ
検査抜けの割り出しが容易に可能となり、システム開発
工期を短縮化できる。
By repeatedly performing such operations, it is possible to trace all of the microprograms executed in the system test while testing the system, and it becomes possible to examine the inspection status of the microprograms in the test. As a result, during system development, by determining the inspection rate of a microprogram using a test program or the like, it becomes possible to easily identify inspection omissions, and the system development period can be shortened.

[発明の効果] 以上詳記したように本発明によれば、マイクロプログラ
ムのトレース機能を実現するトレースメモリを有し、装
置内診断時に於いてサービスプロセッサが接続可能なマ
イクロプログラム方式の装置に於いて、上記トレースメ
モリがフル状態となったとき、装置内の動作クロックを
停止制御し、上記トレースメモリに貯えられた情報を上
記サービスプロセッサにセーブする手段と、上記サービ
スプロセッサの制御の下に装置内の動作クロックの停止
状態を解除する手段とを具備して、上記トレースメモリ
がフル状態となる度に上記トレースメモリに貯えられた
情報を上記サービスプロセッサに受渡し、実行中の全て
のマイクロプログラムのトレースを行なう検査機能を有
してなる構成としたことにより、実行中の全てのマイク
ロプログラムのトレースが可能となり、これにより、シ
ステム開発時等に於いてテストプログラム等によるマイ
クロプログラムの検査率の割り出しや検査抜けの割り出
しが容易に可能となり、開発工期の短縮化が図れる。
[Effects of the Invention] As described in detail above, according to the present invention, a microprogram type device that has a trace memory that realizes a microprogram trace function and can be connected to a service processor during in-device diagnosis can be used. means for controlling an operating clock in the device to stop and saving information stored in the trace memory in the service processor when the trace memory becomes full; and means for controlling the device under the control of the service processor. and a means for releasing the stopped state of the operating clock in the microprogram, and transmits the information stored in the trace memory to the service processor each time the trace memory becomes full, and transfers the information stored in the trace memory to the service processor to release the stopped state of the operating clock in the microprogram. By configuring the configuration to include an inspection function that performs tracing, it is possible to trace all microprograms that are being executed.This makes it possible to determine the inspection rate of microprograms using test programs, etc. during system development. It is now possible to easily identify defects and inspection omissions, and the development period can be shortened.

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

第1図は本発明の一実施例を示すブロック図である。 1l・・・マイクロブログラムシーケンサ、12・・・
マイクロプログラムメモリ、l3・・・マイクロインス
トラクションレジスタ、14・・・トレースメモリ、l
5・・・トレースメモリアドレスカウンタ、1B・・・
サービスプロセッサインターフエイス、l7・・・クロ
・ソクスト・ソプフリップフロップ、SvP・・・サー
ビスプロセッサ。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1l...Microprogram sequencer, 12...
Micro program memory, l3... Micro instruction register, 14... Trace memory, l
5...Trace memory address counter, 1B...
Service processor interface, l7...Cro-Soxt Sop flip-flop, SvP...Service processor.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムのトレース機能を実現するトレース
メモリを有し、装置内診断時に於いてサービスプロセッ
サが接続可能なマイクロプログラム方式の装置に於いて
、上記トレースメモリがフル状態となったことを検出す
る手段と、上記トレースメモリがフル状態となったとき
、装置内の動作クロックを停止制御し、上記トレースメ
モリに貯えられた情報を上記サービスプロセッサにセー
ブする手段と、上記サービスプロセッサの制御の下に装
置内の動作クロックの停止状態を解除する手段とを備え
、上記トレースメモリがフル状態となる度に上記トレー
スメモリに貯えられた情報を上記サービスプロセッサに
受渡し、実行中の全てのマイクロプログラムのトレース
を行なう検査機能を有してなることを特徴としたマイク
ロプログラム制御装置。
In a microprogram type device having a trace memory for realizing a microprogram trace function and to which a service processor can be connected during in-device diagnosis, means for detecting that the trace memory is in a full state. , a means for controlling an operating clock in the device to stop when the trace memory becomes full, and saving information stored in the trace memory in the service processor; and means for releasing the stopped state of the operating clock of the microprogram, and each time the trace memory becomes full, the information stored in the trace memory is transferred to the service processor, and all microprograms being executed are traced. A microprogram control device characterized by having an inspection function.
JP1157156A 1989-06-20 1989-06-20 Microprogram control device Pending JPH0322146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1157156A JPH0322146A (en) 1989-06-20 1989-06-20 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1157156A JPH0322146A (en) 1989-06-20 1989-06-20 Microprogram control device

Publications (1)

Publication Number Publication Date
JPH0322146A true JPH0322146A (en) 1991-01-30

Family

ID=15643410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1157156A Pending JPH0322146A (en) 1989-06-20 1989-06-20 Microprogram control device

Country Status (1)

Country Link
JP (1) JPH0322146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062684B2 (en) 2002-12-19 2006-06-13 International Business Machines Corporation Enabling tracing of a repeat instruction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062684B2 (en) 2002-12-19 2006-06-13 International Business Machines Corporation Enabling tracing of a repeat instruction

Similar Documents

Publication Publication Date Title
US6598178B1 (en) Peripheral breakpoint signaler
US4782461A (en) Logical grouping of facilities within a computer development system
US4312066A (en) Diagnostic/debug machine architecture
JPH11110254A (en) Exception identification device and method for software debugging
JPS60175152A (en) Method and apparatus for self-testing floating-point acceleration processor
JPH11110255A (en) Software debugging device and method
US7016826B2 (en) Apparatus and method of developing software for a multi-processor chip
JPH0322146A (en) Microprogram control device
JPS60124746A (en) data processing equipment
CN100375096C (en) Detection system and method for hardware description language circuit
CN119885991A (en) Debugging method, device and storage medium
JPH10260864A (en) Tracing device
JPS6214240A (en) Program inspecting system
JPS63238637A (en) Time-out detecting circuit
JPH0314148A (en) Program destruction detection device
JPS63300330A (en) Debugging method for firmware
JPS6234079A (en) Test circuit
JPS61290545A (en) Automatic output device for vertification use data
JPS62210551A (en) Microprogram tracing device
JPS5984536A (en) Integrated circuit
JPS6037043A (en) Display device for program state
JPH02150933A (en) Debug controller
JPS6225340A (en) Inspection device
JPH05173836A (en) Debugging device
JPH0373035A (en) Debugging device