JPH01134539A - Trace system for microprogram - Google Patents

Trace system for microprogram

Info

Publication number
JPH01134539A
JPH01134539A JP62293378A JP29337887A JPH01134539A JP H01134539 A JPH01134539 A JP H01134539A JP 62293378 A JP62293378 A JP 62293378A JP 29337887 A JP29337887 A JP 29337887A JP H01134539 A JPH01134539 A JP H01134539A
Authority
JP
Japan
Prior art keywords
address
microprogram
predicted
microinstruction
executed
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
JP62293378A
Other languages
Japanese (ja)
Inventor
Shozo Iida
飯田 昌三
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 JP62293378A priority Critical patent/JPH01134539A/en
Publication of JPH01134539A publication Critical patent/JPH01134539A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce an action test process for a microprogram by extracting preliminarily the address of a microinstruction to be executed and detecting the coincidence between said address and the address of a microinstruction under execution. CONSTITUTION:Plural microinstructions to be executed are preliminarily extracted and the addresses of these microinstructions are stored successively in an estimated address storing buffer 11 in the processing order. Then the address of the microinstruction to be processed first is stored in an estimated address register 12. Then a test program is carried out and the value of an address register 6 is compared with that of the register 12 by a comparator 10. When the coincidence is obtained from said comparison, the next estimated address is stored into the register 12 via the buffer 11. These actions are repeated and it is checked whether any address remains in the register 12 or not when the program processing is through. Thus a malfunction can be detected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラムの動作試験を行なうための
マイクロプログラムトレース方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram tracing method for testing the operation of a microprogram.

〔従来の技術〕[Conventional technology]

従来のマイクロプログラムトレース方式には次のような
ものがある。
Conventional microprogram tracing methods include the following.

(1)マイクロ命令のビット数を拡張して命令の実行法
を表示するビットを設け、一つのマイクロ命令を実行し
たとき、その実行法表示ビットをセットすることにより
、1つの処理中に実行したマイクロ命令を確認する方式
(1) The number of bits of a microinstruction is expanded to include a bit that indicates the execution method of the instruction, and when one microinstruction is executed, by setting the execution method display bit, the execution method can be set during one process. A method for checking microinstructions.

(2)テストプログラムが指示する処理を実行した結果
書られるべきデータの期待値を作成し、比試験マイクロ
プログラムでテストプログラムを実際実行したとき得ら
れるデータ値と上述した期待値とを比較する方式。
(2) A method in which an expected value of the data to be written as a result of executing the processing instructed by the test program is created, and the data value obtained when the test program is actually executed using the ratio test microprogram is compared with the above-mentioned expected value. .

(3)情報処理装置の主なハードウェアの機能を代替す
るソフトウェアを作成し、そのソフトウェアを簡易な装
置に適用した上で種々の命令を実行させ、1つのステッ
プを実行したときのマイクロプログラムのアドレス、各
種レジスタが保持するデータ、ローカルメモリに格納さ
れるデータなどを実行した全マイクロ命令に対してトレ
ースする方式(シミュレーション方式、)〔発明が解決
しようとする問題点〕 上述した従来のマイクロプログラムトレース方式は、そ
れぞれ以下のような欠点がある。
(3) Create software that replaces the main hardware functions of an information processing device, apply that software to a simple device, and have it execute various instructions to determine the microprogram when executing one step. A method (simulation method) of tracing all executed micro-instructions such as addresses, data held by various registers, data stored in local memory, etc. [Problems to be solved by the invention] The above-mentioned conventional microprogram Each tracing method has the following drawbacks.

第1のトレース方式は、実行したマイクロ命令の実行済
表示ビットをセットする方式であるため、実行済表示ビ
ットがセットされている同一マイクロ命令を実行した回
数を判断することができず、2つ以上の試験を連続して
実行すると、各々の試験におけるクイクロプログラムの
動作を判別できない。
The first tracing method is a method that sets the executed indication bit of the executed microinstruction, so it is not possible to determine the number of times the same microinstruction with the executed indication bit set is executed. If the above tests are executed continuously, it is not possible to determine the operation of the microprogram in each test.

第2のトレース方式はテストプログラムを実行した結果
と期待値とを照合することにより動作の正常性を確認す
るものなので、テストプログラムの実行開始から終了ま
でのマイクロプログラムの詳細な動作を確認することが
できない。
The second tracing method confirms the normality of the operation by comparing the results of executing the test program with the expected values, so it is necessary to check the detailed operation of the microprogram from the start of execution to the end of the test program. I can't.

第3のトレース方式はソフト的手法を用いたシュミレー
ションによる試験であるため1ステツプ毎の詳細なデー
タを得ることはできるがソフトウェアのステップ数が膨
大なものとなり、1つの処理をシュミレートするのに長
時間かかり、更に、その結果をトレース及び解析するの
にも多くの工数を要する。
The third tracing method is a simulation test using a software method, so it is possible to obtain detailed data for each step, but the number of software steps is enormous, and it takes a long time to simulate one process. It is time consuming, and furthermore, it takes a lot of man-hours to trace and analyze the results.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のマイクロプログラムトレース方式は。 The microprogram tracing method of the present invention is as follows.

テストプログラムが指示する試験内容にしたがって、前
記マイクロプログラム内で実行されることが予測される
マイクロ命令の記憶装置内におけるアドレスを、あらか
じめ複数個抽出し、抽出された予測アドレスを記憶して
おき、テストプログラムを起動して試験内容の処理、を
開始し、記憶されている予測アドレスを処理順序が早い
ものから取出して、実行中のマイクロ命令のアドレスと
比較し、予測アドレスと実行中のマイクロ命令のアドレ
スとの一致が検出されると1次の予測アト−レスを取出
して実行中のマイクロ命令と比較し、この比較動作を順
次繰返して全予測アドレスと実行されたマイクロ命令の
アドレスとが一致するか否かを検出することにより、マ
イクロプログラムの動作の正常/異常を判定する。
Extracting in advance a plurality of addresses in a storage device of microinstructions that are predicted to be executed in the microprogram according to test contents instructed by a test program, and storing the extracted predicted addresses; Start the test program and start processing the test contents, retrieve the stored predicted addresses from the earliest in the processing order, compare them with the address of the microinstruction being executed, and compare the predicted address with the address of the microinstruction being executed. When a match with the address of the executed microinstruction is detected, the first predicted address is extracted and compared with the currently executed microinstruction, and this comparison operation is sequentially repeated until all the predicted addresses match the address of the executed microinstruction. By detecting whether or not the operation of the microprogram is normal or abnormal, it is determined whether the operation of the microprogram is normal or abnormal.

〔作 用〕[For production]

予測アドレスのマイクロ命令がすべて正常な動作シーケ
ンスで実行されるか否かを判定することによりマイクロ
プログラムの動作試験を行なうので、試験結果を即座に
得ることができ、さらに。
Since the operation of the microprogram is tested by determining whether all the microinstructions at the predicted addresses are executed in a normal operation sequence, the test results can be obtained immediately.

従来のシュミレーション法のようなソフトウェア的手法
を用いた試験ではないため工数が、大幅に削減でき、ま
た、複数の処理を連続して試験することが可能となる。
Since the test does not use a software method like the conventional simulation method, the number of man-hours can be significantly reduced, and it is also possible to test multiple processes in succession.

〔実施例〕〔Example〕

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

第1図は本発明のマイクロプログラムトレース方式を実
施するための入出力装置のブロック図、第2図は第1図
の入出力装置が用いられている情報処理システムの構成
を示すブロック図、第3図は第1図の入出力装置におけ
るマイクロプログラムの動作シーケンスの一例を示す図
、第4図は主記憶装置に格納される予測アドレス群の形
式を示す図、第5図は本発明のマイクロプログラムトレ
ース方式の手順を示すフローチャートである。
FIG. 1 is a block diagram of an input/output device for implementing the microprogram tracing method of the present invention, FIG. 2 is a block diagram showing the configuration of an information processing system in which the input/output device of FIG. 1 is used, and FIG. 3 is a diagram showing an example of the operation sequence of the microprogram in the input/output device of FIG. 1, FIG. 4 is a diagram showing the format of a predicted address group stored in the main memory, and FIG. 3 is a flowchart showing the procedure of a program trace method.

第2図の情報処理システムは、主記憶装置17と、CP
 U 1Bと、主記憶制御装置t19と、マイクロプロ
グラムの動作の正常性を診断する診断装置20と、入出
力処理装置21とで構成されている。なお1本実施例に
おいて入出力装置ということばは、チャネル装置および
チャネル制御装置も含む広い概念として用いる。木実流
側では、入出力装置21におけるマイクロプログラムの
動作試験について説明する。
The information processing system in FIG. 2 includes a main storage device 17, a CP
The main memory controller t19, a diagnostic device 20 that diagnoses the normality of the operation of the microprogram, and an input/output processing device 21. Note that in this embodiment, the term input/output device is used as a broad concept that includes channel devices and channel control devices. On the Kinomi side, an operation test of the microprogram in the input/output device 21 will be explained.

入出力装置21において、マイクロプログラム格納用メ
モリ1には、試験対象であるマイクロプログラムが格納
され、アドレスレジスタ6はマイクロプログラム格納用
メモリlから読出すマイクロ命令のアドレスを保持し、
マイクロ命令レジスタ2はマイクロプログラム格納用メ
モリlから読出されたマイクロ命令を保持する。ネクス
トアドレスレジスタ3はマイクロ命令に既述された飛び
先アドレスを保持し、インクリメントアドレスレジスタ
4は演算器7によりインクリメントされたアドレスを保
持し、セレクタ5はネクストアドレスレジスタ3および
インクリメントアドレスレジスタ4が保持するアドレス
のいずれか選択して、アドレスレジスタ6および演算器
7へ送出する。予測アドレス格納用アドレスパー/2ア
11には、主記憶装置17から読出された予測アドレス
が格納され、予測アドレスレジスタ12は予測アドレス
格納用アドレスバッファ11から読出された予測アドレ
スを保持す、最終予測アドレスレジスタ13には予測ア
ドレスのうちの最終の予測アドレスが格納される。アド
レスレジスタ8は予測アドレス格納用アドレスバッファ
11の書込み/読出しアドレスを保持する。比較回路1
0はアドレスレジスタ6の値と予測アドレスレジスタ1
2の値とを比較し、両者が一致したとき演算器9ヘイン
クリメント信号を、アンド回路15へ一致信号をそれぞ
れ送出する。演算器9は比較回路10からのインクリメ
ント信号が入力されると、アドレスレジスタ8の値をイ
ンクリメントして、再びアドレスレジスタ8にセットす
る。比較回路14は予測アドレスレジスタ12の値と最
終予測アドレスレジスタ13の値を比較し1両者が一致
したとき一致信号をアンド回路15へ送出し、アンド回
路15は比較回路lOおよび14の出力の論理積をとり
、両比較回路から一致信号が送出されていれば正常シー
ケンス表示フラグ18をセットする。
In the input/output device 21, a microprogram to be tested is stored in a microprogram storage memory 1, an address register 6 holds the address of a microinstruction to be read from the microprogram storage memory 1,
Microinstruction register 2 holds microinstructions read from microprogram storage memory l. The next address register 3 holds the jump destination address already stated in the microinstruction, the increment address register 4 holds the address incremented by the arithmetic unit 7, and the selector 5 holds the address that the next address register 3 and increment address register 4 hold. One of the addresses is selected and sent to the address register 6 and the arithmetic unit 7. The predicted address par/2a 11 for storing predicted addresses stores the predicted address read from the main memory 17, and the predicted address register 12 holds the predicted address read from the address buffer 11 for storing predicted addresses. The predicted address register 13 stores the final predicted address among the predicted addresses. Address register 8 holds write/read addresses of address buffer 11 for storing predicted addresses. Comparison circuit 1
0 is the value of address register 6 and predicted address register 1
2 and when they match, an increment signal is sent to the arithmetic unit 9 and a match signal is sent to the AND circuit 15, respectively. When the arithmetic unit 9 receives the increment signal from the comparison circuit 10, it increments the value of the address register 8 and sets it in the address register 8 again. The comparison circuit 14 compares the value of the predicted address register 12 and the value of the final predicted address register 13, and when the two match, it sends a match signal to the AND circuit 15. The product is calculated, and if a matching signal is sent from both comparison circuits, a normal sequence display flag 18 is set.

次に、マイクロツムログラム格納用メモリlに格納され
ているマイクロプログラムの動作試験の手順および入出
力装置21の回路動作を説明する。
Next, the procedure for testing the operation of the microprogram stored in the microprogram storage memory 1 and the circuit operation of the input/output device 21 will be explained.

マイクロプログラムの動作試験の開始に先立ち、まず1
診断装置20は、第4図に示すような形式の予測アドレ
ス群22を作成し、主記憶装置19を介して主記憶装@
17に記憶させる。この予測アドレス群22は、5つの
イベント(入出力要求30.コマンド送出40.データ
転送50.ステータス報告60、終了割込70:これら
のイベントは30〜70の順に実行される)からなる被
試験マイクロプログラム中の各イベントを構成するマイ
クロ命令31〜7nのうちから適当なものを複数個抽出
し、その抽出された各マイクロ命令の物理アドレスa−
nを初利潤所が早いもの順に配列して構成され、この順
に主記憶装置17内に記憶される。
Before starting the microprogram operation test, first
The diagnostic device 20 creates a predicted address group 22 in the format shown in FIG.
17 to memorize it. This predicted address group 22 consists of five events (input/output request 30, command sending 40, data transfer 50, status report 60, end interrupt 70: these events are executed in the order of 30 to 70). A plurality of appropriate microinstructions are extracted from among the microinstructions 31 to 7n that constitute each event in the microprogram, and the physical address a- of each extracted microinstruction is
n are arranged in descending order of first profit, and are stored in the main storage device 17 in this order.

次に、診断装置20は、テストプログラムを起動するた
めに、入出力装置21に対して入出力要求を送出する。
Next, the diagnostic device 20 sends an input/output request to the input/output device 21 in order to start the test program.

入出力処理装置21はこの要求を受信すると、イベント
30に対する処理(入出力要求処理)を開始し、まず、
主記憶装置17に記憶されている予測アドレス群22を
予測アドレス格納用アドレスバッファ11に格納し、最
終予測アドレスnを最終予測アドレスレジスタ13に格
納する(ステー2ブ100 ) 、この予測アドレス格
納用アドレスバッファ11への格納に際しては、マイク
ロプログラムの制御によりアドレスレジスタ8は零番地
からアドレス指定を開始し、最終予測アドレス群22(
a〜n)は、零番地から順次格納される。また、予測ア
ドレス群22の格納が終了すると、アドレスレジスタ8
はクリアされて最初の番地(零番地)をポイントする状
態となる。
When the input/output processing device 21 receives this request, it starts processing for the event 30 (input/output request processing), and first,
The predicted address group 22 stored in the main storage device 17 is stored in the address buffer 11 for storing predicted addresses, and the final predicted address n is stored in the final predicted address register 13 (stave 100), for storing this predicted address. When storing data in the address buffer 11, the address register 8 starts specifying an address from address zero under the control of the microprogram, and the final predicted address group 22 (
a to n) are stored sequentially starting from address zero. Furthermore, when the storage of the predicted address group 22 is completed, the address register 8
is cleared and points to the first address (zero address).

次に、入出力装置21はテストプログラムを実行し、マ
イクロプログラム格納用メモリlから順次読出され、マ
イクロ命令レジスタ2から送出されるマイクロ命令によ
り、全ハードウェナが制御されて所定の処理が行なわれ
るこのとき、アドレスレジスタ6の値と予測アドレスレ
ジスタ12の値とが比較回路10で比較され(ステップ
101)、両レジスタ6.12の値が一致するとインク
リメント@号および一致信号が発生し、インクリメント
信号一致信号はアンド回路15、演算器9にそれぞれ送
出され、これを受けてアドレスレジスタ8の値がインク
リメントされる。これにより、予測アドレスレジスタ1
2に次の予測アドレスがセットされる、(ステップ10
3 ) 、これと同時にアドレスレジスタ6の値も更新
され、次のマイクロ命令がマイクロ命令レジスタ2にセ
ットされる。この場合1通常は、演算器7によりインク
リメントされインクリメントアドレスレジスタ4に保持
される値がセレクタ5を介してアドレスレジスタ6にセ
ットされるが、マイクロ命令に飛び先きアドレスが指定
されている場合は、その飛び先きアドレスがれくた5を
介してアドレスレジスタ6にセットされる6以上の動作
が順次繰返されるが、比較回路14は、予測アドレスレ
ジステ12の値と最終予測アドレスジスタ13の値とが
一致するかどうかを検出しくステップ102 ) 、一
致が検出されると比較回路14から一致信号が送出され
、比較回路10および!4から共に一致信号が発生して
いる場合に、アンド回路15は正常シーケンス表示フラ
グIBをオンさせる(ステップ104 ) 、全マイク
ロ命令の実行が終了したにもかかわらず、予測アドレス
がすべて正常な動作シーケンスで行なわれていない場合
は、誤動作が発生した予測アドレスが予測アドレス12
中に格納されているので、これを主記憶袋2117に記
憶させる(ステップ105 ) 、診断装置20は、1
つのテストプログラムの処理が終了した時点で、正常シ
ーケンス表示フラグ1Bがオン状態であるか否かをチエ
ツクしくステップtoe ) 、オン状態であれば正常
メタセージを出力する(ステップ107)か、次の入出
力要求を送出し、オフ状態であればエラーメツセージを
表示するとともに主記憶装置17に記憶された予測アド
レスレジスタ12の最終値を読出して表示しくステップ
108 ”) 、動作試験を終了する。
Next, the input/output device 21 executes the test program, which is sequentially read from the microprogram storage memory l, and is controlled by the microinstructions sent from the microinstruction register 2 to perform predetermined processing. At this time, the value of the address register 6 and the value of the predicted address register 12 are compared in the comparison circuit 10 (step 101), and when the values of both registers 6 and 12 match, an increment @ sign and a match signal are generated, and an increment signal The coincidence signal is sent to the AND circuit 15 and the arithmetic unit 9, and in response to this, the value of the address register 8 is incremented. This allows predicted address register 1
2 is set to the next predicted address (step 10
3) At the same time, the value of the address register 6 is updated, and the next microinstruction is set in the microinstruction register 2. In this case 1, normally, the value incremented by the arithmetic unit 7 and held in the increment address register 4 is set in the address register 6 via the selector 5, but if a jump address is specified in the microinstruction, , the jump address is set in the address register 6 via the junk 5, and six or more operations are sequentially repeated. It is detected whether or not the values match (step 102), and when a match is detected, a match signal is sent from the comparison circuit 14, and the comparison circuit 10 and ! If a match signal is generated from 4 to 4, the AND circuit 15 turns on the normal sequence display flag IB (step 104), indicating that all predicted addresses operate normally even though all microinstructions have been executed. If not in sequence, the predicted address where the malfunction occurred is predicted address 12.
The diagnostic device 20 stores this in the main memory bag 2117 (step 105).
When the processing of the two test programs is completed, check whether the normal sequence display flag 1B is on (step toe), and if it is on, output a normal meta message (step 107) or start the next input. An output request is sent, and if it is in the off state, an error message is displayed and the final value of the predicted address register 12 stored in the main memory 17 is read and displayed (step 108''), and the operation test is completed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、テストプログラムが指示
する試験内容により、被試験マイクロプログラム内で実
行することが予測されるマイクロ命令のアドレスを複数
個抽出し、動作試験を実行すると同時に、実際に予測ア
ドレスのマイクロ命令のすべてが正常なシーケンスで実
行されるか否かを確認し、その結果を診断装置を通して
表示あるいは出力することにより1次の効果がある。
As explained above, the present invention extracts a plurality of addresses of microinstructions that are predicted to be executed in the microprogram under test according to the test contents instructed by the test program, executes the operation test, and simultaneously executes the actual The primary effect is to check whether all microinstructions at the predicted addresses are executed in a normal sequence and to display or output the results through a diagnostic device.

(1)マイクロプログラムの動作シーケンスをトレース
する目的で一つの処理が終了するごとに、実行したマイ
クロ命令のアドレスをトレースする必要がなく、複数の
処理を連続して試験することができる。
(1) For the purpose of tracing the operation sequence of a microprogram, it is not necessary to trace the address of the executed microinstruction every time one process is completed, and a plurality of processes can be tested in succession.

(2)実行結果と期待値との照合だけでは確認すること
ができないマイクロプログラムの動作シーケンスの正常
性を診断装置からのエラーメツセージ等により瞬時に判
別することができる。
(2) The normality of the operating sequence of a microprogram, which cannot be confirmed simply by comparing the execution result with an expected value, can be instantly determined based on an error message or the like from the diagnostic device.

(3)シミュレーションによるマイクロプログラムの動
作シーケンスの確認に要した多くの工数を削減すること
ができる。
(3) Many man-hours required for checking the operation sequence of a microprogram through simulation can be reduced.

(4)動作試験中にマイクロプログラムの動作が期待し
ていたシーケンスから外れた場合、診断装置が被試験装
置(主記憶装置)から引き取るアドレスを参照すること
により、どこまで正常なシーケンスで作動していたかを
判断することができる。
(4) If the microprogram's operation deviates from the expected sequence during an operation test, the diagnostic equipment can determine how far it is operating in the normal sequence by referring to the address retrieved from the device under test (main memory). You can judge whether

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

第1図は本発明のマイクロプログラムトレース方式を実
施するための入出力装置のブロー、り図、第2図は第1
図の入出力装置が用いられている情報処理システムの構
成を示すブロック図、第3図は第1図の入出力装置にお
けるマイクロプログラムの動作シーケンスの一例を示す
図、第4図は主記憶装置に格納される予測アドレス群の
形式を示す図、第5図は本発明のマイクロプログラムト
レース方式の手順を示すフローチャートである。 l・・・・・・・・・マイクロプログラム格納用メモリ
、2・・・・・・・・・マイクロ命令レジスタ、3・・
・・・・・・・ネクストアドレスレジスタ、4・・・・
・・・・・インクリメントアドレスレジスタ、5・・・
・・・・・・セレクタ、 6.8・・・アドレスレジスタ、 7.9・・・演算器、 10.14・・・比較回路。 11・・・・・・・・・予測アドレス格納用アドレスバ
ッファ12・・・・・・・・・予測アドレスレジスタ、
13・・・・・・・・・最終予測アドレスレジスタ、1
5・・・・・・・・・アンド回路、 1B・・・・・・・・・正常シーケンス表示フラグ。 17・・・・・・・・・主記憶装置。 18・・・・・・・・・CPU、 19・・・・・・・・・主記憶制御装置、20・・・・
・・・・・診断装置、 21・・・・・・・・・入出力処理装置、22・・・・
・・・・・予測アドレス群。 30.40.50,80.70・・・・・・イベント、
31〜7n・・・マイクロ命令、 aNn・・・・・・予測アドレス、 100〜108・・・ステップ。 特許出願人  日木電気株式会社 代 理 人  弁理士 内 原  晋 M2図
Figure 1 is a flow diagram of an input/output device for implementing the microprogram tracing method of the present invention, and Figure 2 is a
A block diagram showing the configuration of an information processing system in which the input/output device shown in the figure is used, FIG. 3 is a diagram showing an example of the operation sequence of a microprogram in the input/output device shown in FIG. FIG. 5 is a flowchart showing the procedure of the microprogram tracing method of the present invention. l...Memory for storing microprograms, 2...Micro instruction register, 3...
...Next address register, 4...
...Increment address register, 5...
... Selector, 6.8... Address register, 7.9... Arithmetic unit, 10.14... Comparison circuit. 11... Address buffer for storing predicted address 12... Predicted address register,
13...Final prediction address register, 1
5......AND circuit, 1B.......Normal sequence display flag. 17... Main memory. 18...CPU, 19...Main memory control device, 20...
...Diagnostic device, 21...Input/output processing device, 22...
...Predicted address group. 30.40.50,80.70...event,
31-7n...Microinstruction, aNn...Predicted address, 100-108...Step. Patent applicant: Hiki Electric Co., Ltd. Agent: Susumu Uchihara, patent attorney M2 diagram

Claims (1)

【特許請求の範囲】 マイクロプログラム制御により動作する情報処理装置上
でテストプログラムを実行させることにより該マイクロ
プログラムの動作試験を行なうマイクロプログラムトレ
ース方式であって、 前記テストプログラムが指示する試験内容にしたがって
前記マイクロプログラム内で実行されることが予測され
るマイクロ命令の記憶装置内におけるあどれすを、あら
かじめ複数個抽出し、抽出された予測アドレスを記憶し
ておき、テストプログラムを起動して試験内容の処理を
開始し、記憶されている予測アドレスを処理順序が早い
ものから取出して実行中のマイクロ命令のアドレスと比
較し、予測アドレスと実行中のマイクロ命令のアドレス
との一致が検出されると、次の予測アドレスを取出して
実行中のマイクロ命令と比較し、この比較動作を順次繰
返して全予測アドレスと実行されたマイクロ命令のアド
レスとが一致するか否かを検出することにより、マイク
ロプログラムの動作の正常/異常を判定するマイクロプ
ログラムトレース方式。
[Claims] A microprogram tracing method for testing the operation of a microprogram by executing a test program on an information processing device that operates under microprogram control, the method comprising: A plurality of addresses in the storage device of microinstructions that are predicted to be executed in the microprogram are extracted in advance, the extracted predicted addresses are stored, and the test program is started to check the test content. starts processing, extracts the stored predicted addresses from the earliest in the processing order and compares them with the address of the microinstruction being executed. When a match between the predicted address and the address of the microinstruction being executed is detected, , the next predicted address is retrieved and compared with the microinstruction being executed, and this comparison operation is sequentially repeated to detect whether all predicted addresses match the address of the executed microinstruction. A microprogram trace method that determines whether the operation is normal or abnormal.
JP62293378A 1987-11-19 1987-11-19 Trace system for microprogram Pending JPH01134539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62293378A JPH01134539A (en) 1987-11-19 1987-11-19 Trace system for microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62293378A JPH01134539A (en) 1987-11-19 1987-11-19 Trace system for microprogram

Publications (1)

Publication Number Publication Date
JPH01134539A true JPH01134539A (en) 1989-05-26

Family

ID=17794000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62293378A Pending JPH01134539A (en) 1987-11-19 1987-11-19 Trace system for microprogram

Country Status (1)

Country Link
JP (1) JPH01134539A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7658434B2 (en) 2006-12-26 2010-02-09 Honda Motor Co., Ltd. Structure of rear part in vehicle body

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7658434B2 (en) 2006-12-26 2010-02-09 Honda Motor Co., Ltd. Structure of rear part in vehicle body

Similar Documents

Publication Publication Date Title
US5280626A (en) Multi-process emulator suitable for testing software under multi-process environments
JPH01134539A (en) Trace system for microprogram
JP3206096B2 (en) Input data processing device
JPH1049206A (en) Sequence control generating device
JPH01120644A (en) Trace system for microprogram
JPH1091477A (en) Control microcomputer device and maintenance tool for the same
JPH05233323A (en) Debug supporting device for parallel program
JP2523692B2 (en) Electronic computer adjustment failure analysis support system
JPH0214734B2 (en)
JP2001051864A (en) Test conducting system for data processor
JP2967741B2 (en) CPU compatibility test equipment
JP3428235B2 (en) Self-monitoring device and self-monitoring method
JPH01214950A (en) System for testing pseudo fault of channel processor
JPH0253143A (en) Pseudo fault generating system
JPH0887426A (en) Self-diagnosis state display system
JPH0844583A (en) Diagnostic system for information processor
JPH04316131A (en) Fault identifying method
JPH02294740A (en) Inspection system for computer
JPS63157244A (en) Debugging system for test program of peripheral device
JPH05324756A (en) Display system for logic simulation result
JPS6339048A (en) Executing system for diagnosis program
JPS6336011B2 (en)
JP2002055846A (en) System and method for fault detection
JPH02122352A (en) Diagnostic method for input/output operation
JPH01184551A (en) System for debugging program