JPS6198453A - Test device - Google Patents

Test device

Info

Publication number
JPS6198453A
JPS6198453A JP59219858A JP21985884A JPS6198453A JP S6198453 A JPS6198453 A JP S6198453A JP 59219858 A JP59219858 A JP 59219858A JP 21985884 A JP21985884 A JP 21985884A JP S6198453 A JPS6198453 A JP S6198453A
Authority
JP
Japan
Prior art keywords
address
memory
program
instruction
branch instruction
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
JP59219858A
Other languages
Japanese (ja)
Inventor
Yoshiaki Tsuda
津田 芳明
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 JP59219858A priority Critical patent/JPS6198453A/en
Publication of JPS6198453A publication Critical patent/JPS6198453A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To obtain an unpassed address in a test of software by storing a program branch instruction previously in a memory and also the address of the branch instruction of an executing program in another memory. CONSTITUTION:When the execution of a test program is indicated, a control circuit 6 indicates the execution of a microinstruction. Then an instruction executing part 12 executes a program and at the same time the contents of an address register 11 are written to a tracer memory 2. Hereafter the writing is carried out successively up to the full capacity of the memory 2. Then the contents of the memory 2 are sent to a service processor 7 by a reading circuit 4. While the contents of the memory 2 are stored in a magnetic disk device 9. Then the circuit 6 starts execution of the microinstruction, and the memory 2 stores the microbranch instruction address. This instruction address is stored also in the device 9. Then the processor 7 sets each information bit corresponding to each microinstruction address and extracts the branch instruction address stored in the memory 9 to reset the relevant information bit as long as it is within a prescribed range.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラム制御による情報処理装置あるいは
ソフトウェアの試験装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program-controlled information processing device or software testing device.

〔従来の技術〕[Conventional technology]

情報処理装置の高度化、複雑化、多機能化が進む中で、
開発された情報処理装置(以下、開発装置とする)の機
能、性能等が初期の目標を満足しているかどうかを試験
することはますます重要となり、試験のための種々の手
段が必要となっている0代表的な試験手段として試験プ
ログラムかあり、開発装置にこの試験プログラムを実行
させ。
As information processing equipment becomes more sophisticated, complex, and multifunctional,
It has become increasingly important to test whether the functions, performance, etc. of developed information processing equipment (hereinafter referred to as "developed equipment") satisfy the initial goals, and various testing methods have become necessary. A typical test method is a test program, which is executed by the development equipment.

期待通りの結果が得られるかどうかを検査することによ
り、開発装置の試験を行なっている。ところで、試験プ
ログラムで試験する項目によって開発装置の品質が大き
く左右されるため、試験項目を決定することが非常に重
要な技術となっている。従来、試験項目は技術者の経験
および勘によって開発装置の仕様から決定されていた。
The developed device is tested by checking whether it produces the expected results. Incidentally, since the quality of the developed device is greatly influenced by the items to be tested in the test program, determining the test items has become a very important technique. Conventionally, test items have been determined from the specifications of the developed equipment based on the experience and intuition of engineers.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

葺 (HLかしながら、試験プログラムに代表される試! 験手段、試験項目の決定は、技術者の経験、勘に頼る所
が大であったために、本来、欠くことのできない試験項
目が抜けてしまい、試験が不十分なまま開発装置が出荷
されるという欠へかあった。
However, because the determination of test methods and test items, such as the test program, relied heavily on the experience and intuition of engineers, essential test items were often left out. Unfortunately, the developed equipment was shipped without sufficient testing.

あるいは、試験の完全性を追求するあまりに、重複する
膨大な試験項目を設定し、不経済な試験を行なってしま
うという欠点もあった。
Another drawback was that the pursuit of completeness in testing led to a huge number of duplicate test items, resulting in uneconomical testing.

また、情報処理装置の試験ばかりでなく、オペレーティ
ングシステム等のプログラムの試験についても全く同様
な欠点を有していた。
Furthermore, not only testing of information processing devices but also testing of programs such as operating systems had exactly the same drawbacks.

本発明の目的は、マイクロプログラム制御の情報処理装
置やオペレーティングシステム等のプログラムを完全に
、しかも経済的に試験することができる試験装置を提供
することにある。
An object of the present invention is to provide a test device that can completely and economically test programs for microprogram-controlled information processing devices, operating systems, and the like.

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

本発明の試験装置は、プログラム制御の情報処理装置あ
るいはソフトウェアのプログラム分岐命令を予め第1の
記憶手段に格納し、試験プログラムにしたがって論理装
置が実行する情報処理装置あるいはソフトウェアのプロ
グラム分岐命令の7   (ドレスをトレーサメモリに
記憶し、このトレーサメモリの全容量に各アドレスが格
納されると、停止手段がプログラム命令の実行を停止さ
せ、次に読出し手段がトレーサメモリの内容を読出して
これをサービスプロセッサが第2の記憶手段に格納した
後、開始手段がプログラム命令の実行を再開して同様の
動作を繰り返すことによって、実行されたプログラム分
岐命令のアドレスがすべて第2の記憶手段に格納されて
試験が終了すると、サービスプロセッサが第1の記憶手
段と第2の記憶手段に格納されたそれぞれのアドレスか
ら実行されていないプログラム分岐命令のアドレスであ
る未通過アドレスを算出して、この未通過アドレスを出
力手段が出力することを特徴とする。
The test device of the present invention stores in advance a program branch instruction of a program-controlled information processing device or software in a first storage means, and stores seven program branch instructions of the information processing device or software that are executed by a logic device according to a test program. (The address is stored in the tracer memory, and when each address is stored in the full capacity of this tracer memory, the stopping means stops the execution of the program instruction, and then the reading means reads out the contents of the tracer memory and services it.) After the processor stores the instructions in the second storage means, the initiating means resumes execution of the program instructions and repeats the same operation, so that all the addresses of the executed program branch instructions are stored in the second storage means. When the test is completed, the service processor calculates an unpassed address, which is the address of a program branch instruction that has not been executed, from the respective addresses stored in the first storage means and the second storage means, and calculates the unpassed address. The output means outputs.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例に係る試験装置のブロー、り
図である。論理装置1は本実施例によって試験される情
報処理装置のマイクロプログラム命令を実行し、マイク
ロ命令のアドレスを指示する命令アドレスレジスタ11
と、マイクロ命令を実行する命令実行部12と、各マイ
クロ命令の実行終了ごとに命令アドレスレジスタ11の
内容を更新するアドレス更新回路13と、命令実行部1
2でマイクロ分岐命令が実行されるときにそのマイクロ
分岐命令のアドレスを出力し、マイクロ分岐命令以外の
命令が実行されるときには何も出力しないゲート回路1
4とを備えている。トレーサメモリ2は論理装置1で実
行されたマイクロ分岐命令アドレスを記憶するメモリで
、1024ワードからなる。書込み回路3、読出し回路
4は制御回路6で制御されて、それぞれトレーサメモリ
2へのマイクロ分岐命令アドレスの書込み、トレーサメ
モリ2からのマイクロ分岐命令アドレスの読出しを行な
う、アドレスレジスタ5はlOビットからなり、トレー
サメモリ2への書込み時、トレーサメモリ2からの読出
し時のトレーサメモリ2内のワードを指示する。制御回
路6はサービスプロセッサ7からの指示にしたがって命
令実行部12にマイクロ命令の実行を開始させ、アドレ
スレジスタ5の内容がオーバフローすると命令実行部1
2のマイクロ命令の実行を停止させ、さらに書込み回路
3、読出し回路4を制御してトレーサメモリ2への書込
みあるいはトレーサメモリ2からの読出しを行なうとと
もに、lワード書込みあるいは1ワード読出し終了こと
にアドレスレジスタ5の内容を1だけ加算する。サービ
スプロセッサ7は読出し回路4が読出したトレーサメモ
リ2の内容を磁気ディスク装置9に格納し、さらに命令
実行部12が実行していないマイクロ分岐命令アドレス
(以下、未通過マイクロ分岐命令アドレスとする)を算
出する0表示装置8は表示部と入力部を有し、サービス
プロセッサ7で算出された未通過マイクロ分岐命令アド
レスの表示と、外部からの命令の入力を行なう、また、
磁気ディスク装置9には、予め論理装置1で実行される
マイクロプログラム内のマイクロ分岐命令のアドレスが
格納されている。このマイクロ分岐命令アドレス群は、
マイクロプロゲラ1    ムを作る際に別の情報処理
システムでマイクロブ)パ ログラムの各命令を解読して、マイクロ分岐命令のアド
レスだけを求め、磁気ディスク装置9に格納したもので
ある。
FIG. 1 is a blow diagram of a test device according to an embodiment of the present invention. The logic device 1 executes a microprogram instruction of the information processing device to be tested according to this embodiment, and has an instruction address register 11 that specifies the address of the microinstruction.
, an instruction execution unit 12 that executes a microinstruction, an address update circuit 13 that updates the contents of the instruction address register 11 each time the execution of each microinstruction is completed, and an instruction execution unit 1
Gate circuit 1 outputs the address of a micro branch instruction when the micro branch instruction is executed in 2, and outputs nothing when an instruction other than the micro branch instruction is executed.
4. Tracer memory 2 is a memory for storing micro branch instruction addresses executed by logic device 1, and consists of 1024 words. The write circuit 3 and the read circuit 4 are controlled by a control circuit 6 to write the micro branch instruction address to the tracer memory 2 and read the micro branch instruction address from the tracer memory 2, respectively. This indicates the word in the tracer memory 2 when writing to the tracer memory 2 or when reading from the tracer memory 2. The control circuit 6 causes the instruction execution unit 12 to start executing microinstructions according to instructions from the service processor 7, and when the contents of the address register 5 overflow, the instruction execution unit 1
2, and further controls the write circuit 3 and the read circuit 4 to write to or read from the tracer memory 2, and when the writing of 1 word or reading of 1 word is completed, the address is Add 1 to the contents of register 5. The service processor 7 stores the contents of the tracer memory 2 read by the reading circuit 4 in the magnetic disk device 9, and further stores the micro branch instruction address that is not executed by the instruction execution unit 12 (hereinafter referred to as the unpassed micro branch instruction address). The display device 8 that calculates
The address of a microbranch instruction within a microprogram to be executed by the logic device 1 is stored in advance in the magnetic disk device 9. This micro branch instruction address group is
When creating a micro program, each instruction of the micro program is decoded using a separate information processing system, and only the address of the micro branch instruction is obtained and stored in the magnetic disk device 9.

以下、本実施例の動作を説明する。The operation of this embodiment will be explained below.

まず、検査者は表示装置8の入力部から試験プログラム
実行開始の指示を入カレ、この指示はサービスプロセッ
サ7を経て制御回路6に伝えられる。制御回路6はアド
レスレジスタ5の内容を0に初期値化し、書込み回路3
を有効に、読出し回路4を無効にした後、論理装置1の
命令実行部12にマイクロ命令の実行開始を指示する。
First, the inspector inputs an instruction to start executing the test program from the input section of the display device 8, and this instruction is transmitted to the control circuit 6 via the service processor 7. The control circuit 6 initializes the contents of the address register 5 to 0, and the write circuit 3
After enabling the read circuit 4 and disabling the read circuit 4, the instruction execution section 12 of the logic device 1 is instructed to start executing the microinstruction.

そして、命令実行部12では試験プログラムの各命令に
対応したマイクロプログラムが起動される。すなわち、
実行すべきマイクロ命令アドレスが命令アドレスレジス
ター1に設定され、このマイクロ命令アドレスのマイク
ロ命令が命令実行部12で解読実行される。ところで、
命令実行部12でのマイクロ命令実行と並行して、命令
アドレスレジスター1の内容がゲート回路14に伝達さ
れ命令実行部12がマイクロ分岐命令を実行したときに
、この命令アト号 レスレジスターlの内容がゲート回路14を経て書込み
回路3の制御の下においてアドレスレジスタ5で示され
るトレーサメモリ2のワードに書込まれ、さらに、アド
レスレジスタ5の内容が制御回路6によって1だけ加算
される。命令実行部12でのマイクロ命令の実行が終了
すると、アドレス更新回路13によって命令アドレスレ
ジスタ11の内容が次に実行すべきマイクロ命令のアド
レスに更新され、命令実行部12は更新されたアドレス
のマイクロ命令を実行し、この命令がマイクロ分岐命令
のときのみ書込み回路3が更新されたアドレスをアドレ
スレジスタ5で示されるトレーサメモリ2のワードへの
書込みを行なう。
Then, in the instruction execution unit 12, a microprogram corresponding to each instruction of the test program is activated. That is,
The microinstruction address to be executed is set in the instruction address register 1, and the microinstruction at this microinstruction address is decoded and executed by the instruction execution unit 12. by the way,
In parallel with the micro-instruction execution in the instruction execution section 12, the contents of the instruction address register 1 are transmitted to the gate circuit 14, and when the instruction execution section 12 executes the micro-branch instruction, the contents of the instruction address register l are transmitted to the gate circuit 14. is written to the word of the tracer memory 2 indicated by the address register 5 via the gate circuit 14 under the control of the write circuit 3, and furthermore, the contents of the address register 5 are incremented by 1 by the control circuit 6. When the instruction execution unit 12 finishes executing the microinstruction, the address update circuit 13 updates the contents of the instruction address register 11 to the address of the microinstruction to be executed next, and the instruction execution unit 12 updates the microinstruction at the updated address. The instruction is executed, and only when this instruction is a micro branch instruction, the write circuit 3 writes the updated address into the word of the tracer memory 2 indicated by the address register 5.

このようにして、実行されたマイクロ命令アドレスが順
次トレーサメモリ2の各ワードに書込まれる。そして、
トレーサメモリ2の全ワード(1024ワード)に書込
みが行なわれるとlOビットからなるアドレスレジスタ
5の内容がオーバーフローするため、制御回路6は命令
実行部12のマイクロ命令の実行を停止させるとともに
、この停止をサービスプロセッサ7に通知する0通知を
受けたサービスプロセッサ7はトレーサメモリ2の読出
し指示を制御回路6に指示し、制御回路6はアドレスレ
ジスタ5の内容をOに初期値化した後、書込み回路3を
無効に、読出し回路4を有効にする。読出し回路4がア
ドレスレジスタ5で示されるトレーサメモリ2のワード
の内容を読出してサービスプロセッサ7に送出すると、
アドレスレジスタ5の内容が制御回路6によって1だけ
加算されて、再び読出し回路4が読出しを行なう。この
ようにして、トレーサメモリ2の全ワードの内容がサー
ビスプロセッサ7に送出されると、サービスプロセッサ
7は読出されたトレーサメモリ2の内容を磁気ディスク
装置9に格納する。
In this way, the executed microinstruction addresses are sequentially written into each word of the tracer memory 2. and,
When all words (1024 words) of the tracer memory 2 are written, the contents of the address register 5 consisting of 10 bits will overflow, so the control circuit 6 stops the execution of microinstructions in the instruction execution unit 12 and The service processor 7, which received the 0 notification, instructs the control circuit 6 to read the tracer memory 2, and the control circuit 6 initializes the contents of the address register 5 to O, and then executes the write circuit. 3 is disabled and readout circuit 4 is enabled. When the read circuit 4 reads the contents of the word of the tracer memory 2 indicated by the address register 5 and sends it to the service processor 7,
The contents of the address register 5 are incremented by 1 by the control circuit 6, and the reading circuit 4 performs reading again. In this way, when the contents of all the words in the tracer memory 2 are sent to the service processor 7, the service processor 7 stores the read contents of the tracer memory 2 in the magnetic disk device 9.

次に制御回路6は再びアドレスレジスタ5の内容を0に
し、書込み回路3を有効に、読出し回路4を無効にして
、論理装置lにマイクロ命令の実行開始を指示する。そ
して前述動作と同様にして、トレーサメモリ2の全ワー
ドにマイクロ分岐命令アドレスが格納されると、これら
のマイクロ分岐命令アドレスはサービスプロセッサ7の
制御の下に磁気ディスク装置9に格納される。
Next, the control circuit 6 again sets the contents of the address register 5 to 0, enables the write circuit 3, disables the read circuit 4, and instructs the logic device 1 to start executing the microinstruction. Then, in a manner similar to the above-described operation, once the micro branch instruction addresses are stored in all words of the tracer memory 2, these micro branch instruction addresses are stored in the magnetic disk device 9 under the control of the service processor 7.

以上のようにして、論理装置1に対する試験プログラム
が実行したマイクロ分岐命令アドレスがすべて磁気ディ
スク装2f9に格納される。
As described above, all the micro branch instruction addresses executed by the test program for the logic device 1 are stored in the magnetic disk drive 2f9.

さて、論理装置1に対する試験プログラムの実行が終る
と、検査者は表示装置8の入力部から未通過マイグロ分
岐命令アドレス算出コマンドCとマイクロ命令アドレス
の上限値Hと下限値りを入力する。サービスプロセッサ
7は入力されたマイクロ命令アドレスの下限値りから上
限値Hまでの範囲内で、未通過マイクロ分岐命令アドレ
スを算出する。
Now, when the execution of the test program for the logic device 1 is completed, the examiner inputs the unpassed micro-branch instruction address calculation command C and the upper limit value H and lower limit value of the micro-instruction address from the input section of the display device 8. The service processor 7 calculates an unpassed micro-branch instruction address within the range from the lower limit value of the input micro-instruction address to the upper limit value H.

以下、サービスプロセッサ7が未通過マイクロ命令アド
レスを算出する処理について第2図の70−チャートを
参照して説明する。
The process by which the service processor 7 calculates the unpassed microinstruction address will be described below with reference to chart 70 in FIG.

まず、サービスプロセッサ7は内部にすべてのマイクロ
命令アドレスに対応する情報ビットBjを有しており、
入力された下限値りから上限値Hま1      での
範囲の各マイクロ命令アドレスに対応する各i C情報ビット日ノを”l”に設定する(処理21)0次
に、@気ディスク装置9に予め格納されていたマイクロ
分岐命令アドレスPili=0に対応スルマイクロ分岐
命令アドレスPoから取出しく処理22)、このマイク
ロ分岐命令アドレスPiが下限値りから上限値Hまでの
範囲内にあるかどうかを判別する(処理23)、そして
、範囲内であればマイクロ分岐命令アドレスPiに対応
する情報ビットB」を”O”にセットして(処理24)
 、範囲外であれば何もしないで、iの値を1だけ加算
してこれを新しいiとしく・処理25)、このiが磁気
ディスク装置9に予め格納されていたマイクロ分岐命令
アドレスPiの総数出に達したかどうかを判別する(処
理26)、まだiが総数mに達していなければ、次のマ
イクロ分岐命令アドレスPiについて前述の処理23.
24.25.28が行なわれる。このようにして、処理
23.24.25.28はiが総数mに達するまで繰り
返される。iが総数mに達し、すなわち、磁気ディスク
装置9に予め格納されていたマイクロ分岐命令7 )’
 Iy XPi#(すゝて取出86・判   (別され
て、下限値りから上限値Hまでの範囲内の各マイクロ分
岐命令アドレスPiに対応する情報ビットBjがO”に
セットされると1次に、試験プログラムの実行によって
磁気ディスク装置9に格納されたマイクロ分岐命令アド
レスQkt−k = 0に対応するマイクロ分岐命令ア
ドレスQOから取出しく処理27)、このマイクロ分岐
命令アドレスQkが下限値りから上限値Hまでの範囲内
にあるかどうかを判別する(処理28)、そして、範囲
内であればマイクロ分岐命令アドレスQkに対応する情
報ピッhBjを “l“にセットして(処理29) 、
 範囲外であれば何もしないで、にの値を1だけ加算し
てこれを新しいkとしく処理30)、このkが磁気ディ
スク装置9に格納されたマイクロ分岐命令アドレスQk
の総数nに達したかどうかを判別する(処理31)、ま
だkが総数nに達していなければ、次のマイクロ分岐命
令アドレスQkについて前述の処理28.29.30.
31が行なわれる。このようにして、処理28.29.
30.31はkが総数nに達するまで繰り返される。k
が総数nに達し、すなわち、磁気ディスク装置9に格納
されたマイクロ分岐命令アドレスQkがすべて取出され
、判別されて、下限値しかう上限値Hまでの範囲内の各
マイクロ分岐命令アドレスQkに対応する情報ビットB
jが“l″にセットされると、情報ビットBjの値をマ
イクロ命令アドレスの下限値しに対応する情報ビフ)E
llから順次調べ(処理32)、この情報ビットBjの
値がOかどうかを判別する(処理33)、そして、情報
ビットBjの値が0であれば、情報ビットBjに対応す
るマイクロ命令アドレスはマイクロ分岐命令アドレスで
あり、しかも未通過マイクロ分岐命令アドレスであると
判断されて、このマイクロ分岐命令アドレスPiが表示
装置8に出力され(処理30.情報ビットBjの値が0
でなければ。
First, the service processor 7 has internal information bits Bj corresponding to all microinstruction addresses.
Each iC information bit corresponding to each microinstruction address in the input range from the lower limit value to the upper limit value H1 is set to "l" (process 21).Next, @K disk device 9 Process 22) to extract from the micro branch instruction address Po corresponding to the micro branch instruction address Pili = 0 stored in advance in 22), and whether or not this micro branch instruction address Pi is within the range from the lower limit value to the upper limit value H. (Process 23), and if it is within the range, set "information bit B" corresponding to the micro branch instruction address Pi to "O" (Process 24).
, if it is outside the range, do nothing, add 1 to the value of i, and use it as a new i. Determine whether the total number has been reached (process 26). If i has not yet reached the total number m, the above-described process 23.
24.25.28 will be held. In this way, processes 23, 24, 25, 28 are repeated until i reaches the total number m. i reaches the total number m, that is, the micro branch instruction 7 previously stored in the magnetic disk device 9)'
Iy , a process 27) of extracting from the micro branch instruction address QO corresponding to the micro branch instruction address Qkt-k = 0 stored in the magnetic disk device 9 by the execution of the test program, the micro branch instruction address Qk is changed from the lower limit value to the upper limit value. It is determined whether it is within the range up to the value H (processing 28), and if it is within the range, the information pitch hBj corresponding to the micro branch instruction address Qk is set to "l" (processing 29),
If it is outside the range, do nothing, add 1 to the value of and use this as a new k (30), and this k becomes the micro branch instruction address Qk stored in the magnetic disk device 9.
It is determined whether the total number n has been reached (processing 31). If k has not yet reached the total number n, the above-mentioned processing 28.29.30. is performed for the next micro branch instruction address Qk.
31 will be carried out. In this way, processing 28.29.
30.31 is repeated until k reaches the total number n. k
reaches the total number n, that is, all the micro branch instruction addresses Qk stored in the magnetic disk device 9 are taken out, determined, and correspond to each micro branch instruction address Qk within the range from the lower limit value to the upper limit value H. Information bit B
When j is set to "l", the value of information bit Bj is set to the lower limit value of the microinstruction address and the corresponding information bit Bj)
The microinstruction address corresponding to the information bit Bj is It is determined that it is a micro branch instruction address and an unpassed micro branch instruction address, and this micro branch instruction address Pi is output to the display device 8 (process 30. When the value of information bit Bj is 0)
If not.

情報ビットBjに対応するマイクロ命令アドレスはマイ
クロ分岐命令以外の命令のアドレスあるいはすでに実行
されたマイクロ分岐命令のアドレスであると判断されて
そのまま次の処理に移る。jの値を1だけ加算してこれ
を新しいjとしく処理35)、このjが上限値Hに対応
する情報ピッ)Bhの添字りより大きいかどうかを判別
する(処理3B)、まだjがhより大きくなければ、次
の情報ビットBjについて前述の処理33.34.35
.36が行なわれる、このようにして、処理33.34
.35.36はjがhより大きくなるまで繰り返される
。モしてjがhより大きくなると1下限値りに対応する
情報ビットBlから上限値Hに対応する情報ビットRh
までのすべての情報ビーy)Bjの値が調べられたと判
断され、未通過マイクロ分岐命令アドレスの算出処理が
終了する。
It is determined that the microinstruction address corresponding to information bit Bj is the address of an instruction other than a microbranch instruction or the address of an already executed microbranch instruction, and the process proceeds directly to the next process. Add 1 to the value of j and make it a new j (Process 35), and determine whether this j is greater than the subscript of information Pick) Bh corresponding to the upper limit value H (Process 3B). If not greater than h, perform the above process 33.34.35 for the next information bit Bj
.. 36 is performed, thus processing 33.34
.. Steps 35 and 36 are repeated until j becomes greater than h. When j becomes larger than h, the information bit B1 corresponding to the lower limit value changes to the information bit Rh corresponding to the upper limit value H.
It is determined that all the values of the information Bj) up to y) have been checked, and the process of calculating the unpassed micro branch instruction address is completed.

最後に、以上のようにして算出された未通過マイクロ分
岐命令アドレスが表示装置8の表示部に表示される。
Finally, the unpassed micro branch instruction address calculated as described above is displayed on the display section of the display device 8.

ところで、分岐命令以外の命令ではアドレスが分岐され
ないので、各マイクロ分岐命令アドレスを通過したか否
かを調べれば、プログラム命令の中で試験された命令と
試験されていない命令との判別を行なうことかでさ、前
記の未通過マイクロ分岐命令アドレスは論理装置1の試
験プログラム(で試験されていないマイクロ分岐命令の
アドレス>□゛    2イいい、。、検査者、l過=
イヶ。分岐命令7ド1/スを通過する新しい試験プログ
ラムを追加したり、あるいは他の代替手段1例えば論理
装置lに具備されたパネルからの試験や論理装置lに擬
似故障を挿入して試験する等の処理を行なうことにより
、情報処理装置の品質を高めることができる。
By the way, since addresses are not branched by instructions other than branch instructions, by checking whether each micro-branch instruction address has been passed, it is possible to distinguish between tested instructions and untested instructions among the program instructions. The unpassed micro-branch instruction address is the address of the micro-branch instruction that has not been tested in the test program of logic device 1.
Iga. Adding a new test program that passes the branch instruction 7 dos 1/s, or using other alternative methods 1, such as testing from a panel installed in the logic device l or testing by inserting a pseudo fault into the logic device l. By performing this processing, the quality of the information processing device can be improved.

本実施例では論理装置1が情報処理装置のマイクロプロ
グラム命令を実行したが、一般のソフトウェアのプログ
ラム命令を実行することにより。
In this embodiment, the logic device 1 executes the microprogram instructions of the information processing device, but by executing the program instructions of general software.

ソフトウェアの試験を行なうこともでさる。It is also possible to test software.

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

以上説明したように本発明によれば、マイクロプログラ
ム制御の情報処理装置あるいはオペレーティングシステ
ム等のソフトウェアを完全に、しかも経済的に試験する
ことができるので、情報処理装置やソフトウェアの品質
向上を図ることが可能となる。
As explained above, according to the present invention, it is possible to completely and economically test microprogram-controlled information processing devices or software such as operating systems, thereby improving the quality of information processing devices and software. becomes possible.

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

第”1′5発明0一実施例′″g″6′験装置07  
   !ロック図、第2図は第1図のサービスプロセッ
サ7の未通過マイクロ分岐命令アドレス算出処理のフロ
ーチャートである。 l・・・論理装置 2・・・トレーサメモリ 3・・・書込み回路 4・・・読出し回路 5・・・アドレスレジスタ 6・・・制御回路 7・・・サービスプロセッサ 8・・・表示装置 9・・・磁気ディスク装置 11・・・命令アドレスレジスタ 12・・・命令実行部 13・・・アドレス更新回路 14・・・ゲート回路 第1図
No. 1'5 Invention 0-1 Embodiment'''g''6' Testing device 07
! The lock diagram, FIG. 2 is a flowchart of the untraversed micro branch instruction address calculation process of the service processor 7 of FIG. Logic device 2... Tracer memory 3... Write circuit 4... Read circuit 5... Address register 6... Control circuit 7... Service processor 8... Display device 9... ...Magnetic disk device 11...Instruction address register 12...Instruction execution unit 13...Address update circuit 14...Gate circuit FIG.

Claims (1)

【特許請求の範囲】 プログラム制御の情報処理装置あるいはソフトウェアの
試験を行なう試験装置において、 前記情報処理装置あるいはソフトウェアのプログラム命
令を実行する論理装置と、 前記情報処理装置あるいはソフトウェアのプログラム分
岐命令のアドレスを予め記憶する第1の記憶手段と、 前記論理装置で前記プログラム分岐命令が実行される毎
に該プログラム分岐命令のアドレスを記憶する複数エン
トリからなるメモリと、 該メモリの全エントリに前記プログラム分岐命令の各ア
ドレスが記憶されると前記論理装置のプログラム命令の
実行を停止させる停止手段と、前記メモリの全エントリ
の内容を読出す読出し手段と、 前記メモリの全エントリの内容を記憶する第2の記憶手
段と、 前記論理装置のプログラム命令の実行を開始させる開始
手段と、 前記停止手段が前記論理装置のプログラム命令の実行を
停止させると、前記読出し手段により前記メモリの全エ
ントリの内容を読出して前記第2の記憶手段に格納し、
前記開始手段および前記停止手段によって同様の動作を
繰り返して試験終了後、前記第1の記憶手段に予め格納
され、かつ前記記憶手段には格納されていない前記プロ
グラム分岐命令のアドレスをプログラム分岐命令の未通
過アドレスとして算出するサービスプロセッサと、 該サービスプロセッサで算出された前記未通過アドレス
を出力する出力手段とを有することを特徴とする試験装
置。
[Scope of Claims] A test device for testing a program-controlled information processing device or software, comprising: a logic device that executes a program instruction of the information processing device or software; and an address of a program branch instruction of the information processing device or software. a first storage means for storing in advance the program branch; a memory comprising a plurality of entries for storing the address of the program branch instruction each time the program branch instruction is executed in the logic device; stopping means for stopping the execution of a program instruction of the logic device when each address of an instruction is stored; reading means for reading the contents of all entries of the memory; and a second means for storing the contents of all entries of the memory. storage means for starting the execution of the program instructions of the logic device; and when the stop means stops the execution of the program instructions of the logic device, the reading means reads the contents of all entries in the memory. and storing it in the second storage means,
After the test is completed by repeating the same operation by the start means and the stop means, the address of the program branch instruction stored in advance in the first storage means and not stored in the storage means is stored in the program branch instruction. A test device comprising: a service processor that calculates an unpassed address; and an output means that outputs the unpassed address calculated by the service processor.
JP59219858A 1984-10-19 1984-10-19 Test device Pending JPS6198453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59219858A JPS6198453A (en) 1984-10-19 1984-10-19 Test device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59219858A JPS6198453A (en) 1984-10-19 1984-10-19 Test device

Publications (1)

Publication Number Publication Date
JPS6198453A true JPS6198453A (en) 1986-05-16

Family

ID=16742157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59219858A Pending JPS6198453A (en) 1984-10-19 1984-10-19 Test device

Country Status (1)

Country Link
JP (1) JPS6198453A (en)

Similar Documents

Publication Publication Date Title
GB2249414A (en) Predicting the performance of a computer system
US6212493B1 (en) Profile directed simulation used to target time-critical crossproducts during random vector testing
US4995037A (en) Adjustment method and apparatus of a computer
JPS6198453A (en) Test device
US7720669B2 (en) Method, system and computer program product for register management in a simulation environment
Cantoro et al. On the optimization of SBST test program compaction
JPS6198451A (en) Test device
JPS6198454A (en) Test device
JPS6198452A (en) Test device
JPH07253909A (en) Microprogram verifying method
JPS59183434A (en) Prefetch control system of instruction
JP3073848B2 (en) Test method for data processing equipment
JPS63300330A (en) Debugging method for firmware
JPS6123248A (en) Test system of data processor
JPS61153737A (en) Data processor
JP2001236247A (en) Software simulator and simulation processing method
JPS6042968B2 (en) information processing equipment
JPH0361211B2 (en)
SU1524055A1 (en) Device for checking programs
JPS59195751A (en) Diagnostic system of information processing device
JPH02166531A (en) Microprogram verifying system
JPS59151250A (en) Debugging device
JPS61231607A (en) Simulation system for iron and steel rolling control system
JPS5984536A (en) Integrated circuit
JP2000222243A (en) Device and method for debugging