JP3466788B2 - Instruction sequence testing device for information processing equipment - Google Patents

Instruction sequence testing device for information processing equipment

Info

Publication number
JP3466788B2
JP3466788B2 JP20448195A JP20448195A JP3466788B2 JP 3466788 B2 JP3466788 B2 JP 3466788B2 JP 20448195 A JP20448195 A JP 20448195A JP 20448195 A JP20448195 A JP 20448195A JP 3466788 B2 JP3466788 B2 JP 3466788B2
Authority
JP
Japan
Prior art keywords
checkpoint
test
instruction sequence
comparison
error
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.)
Expired - Fee Related
Application number
JP20448195A
Other languages
Japanese (ja)
Other versions
JPH0950385A (en
Inventor
卓也 相原
信輔 寺西
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP20448195A priority Critical patent/JP3466788B2/en
Publication of JPH0950385A publication Critical patent/JPH0950385A/en
Application granted granted Critical
Publication of JP3466788B2 publication Critical patent/JP3466788B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は情報処理装置の試験
装置に関し、特に、大規模な試験命令列を有する試験に
好適な情報処理装置における命令列の試験装置に関する
ものである。近年の情報処理装置においては、多数の複
雑な機構を具備しているため、それらの機構に負荷をか
けながら試験する大規模な命令試験が有効である。一
方、新製品の早期出荷が叫ばれており、試験効率アップ
が要求されている。
TECHNICAL FIELD The present invention relates to a test of an information processing apparatus.
The present invention relates to an apparatus , and more particularly to an instruction sequence test apparatus in an information processing apparatus suitable for a test having a large-scale test instruction sequence. Since information processing apparatuses in recent years have a large number of complicated mechanisms, a large-scale instruction test for testing while applying a load to these mechanisms is effective. On the other hand, the early shipment of new products is being called for, and it is required to improve the test efficiency.

【0002】大規模な命令列試験では、命令列中の複数
のチェックポイントでデータ比較を行っており、これで
は障害修正後の確認試験においても、既に確認済のチェ
ックポイントを実行することとなり、無駄な時間を要す
る。 特に、論理シミュレーション時の試験では、1本のプロ
グラム実行時間が数十分から数時間かかり無駄な時間を
排除する必要があった。
In a large-scale instruction sequence test, data comparison is performed at a plurality of checkpoints in an instruction sequence, which means that even in a confirmation test after fault correction, already confirmed checkpoints are executed. It wastes time. In particular, in the test at the time of logic simulation, one program execution time required several tens of minutes to several hours, and it was necessary to eliminate useless time.

【0003】[0003]

【従来の技術】従来の試験方式では、上記したように大
規模な試験命令列中に複数のチェックポイントを設け、
チェックポイント通過時にその時点でのデータ、例え
ば、汎用レジスタ、制御レジスタ、演算レジスタ、アク
セスメモリ等のデータを正解値と比較している。比較で
エラーと判断した場合、テストを終了しエラーメッセー
ジを出力して試験者に伝える。 そして、障害分析、修正後再び命令列を最初から実行さ
せ、障害箇所の確認を行っていた。
2. Description of the Related Art In the conventional test method, a plurality of checkpoints are provided in a large-scale test instruction sequence as described above,
At the time of passing the checkpoint, the data at that time, for example, the data of the general-purpose register, the control register, the arithmetic register, the access memory, etc. are compared with the correct answer value. If it is judged as an error in the comparison, the test is terminated, an error message is output, and the tester is notified. Then, after the failure analysis and correction, the instruction sequence is executed again from the beginning to confirm the failure location.

【0004】[0004]

【発明が解決しようとする課題】以上のように、従来の
試験方式では、チェックポイント通過時にエラーと判断
された場合、テストを終了し、障害分析、修正後再び命
令列を最初から実行させていた。このため、複数あるチ
ェックポイントの後ろの方でエラーを起こした場合、障
害修正後の試験では、一度確認がとれているチェックポ
イントも再び実行しなければならず、無駄が生じてい
た。特に、論理シミュレーション時の試験等では、前記
したように1本のプログラム実行時間が数十分から数時
間かかり、多くの無駄な時間が生じていた。本発明の上
記した従来技術の問題点を解決するためになされたもの
であり、本発明の第1の目的は、一度確認がとれている
チェックポイントでの比較処理時間を短縮することによ
り、試験時間の短縮、試験効率の向上を図ることであ
る。本発明の第2の目的は、試験命令列の性格、試験工
程の性格に応じてチェックポイント数、チェック対象、
チェックポイント位置を選択できるようにし、試験時間
の短縮、試験効率の向上を図ることである。本発明の第
3の目的は、試験対象機構に障害が生じている場合で
も、その障害の修正を待たずに全テストを確認すること
ができ、試験工程、歩留りの向上を図ることである。
As described above, in the conventional test method, when an error is judged when the checkpoint is passed, the test is terminated, the failure analysis is performed, and the instruction sequence is executed again from the beginning. It was For this reason, when an error occurs at the back of a plurality of checkpoints, in the test after the failure correction, the checkpoint that has been confirmed once has to be executed again, resulting in waste. In particular, in the test at the time of logic simulation, as described above, one program execution time required several tens of minutes to several hours, resulting in a lot of wasted time. The present invention was made in order to solve the above-mentioned problems of the prior art, and a first object of the present invention is to reduce the comparison processing time at a checkpoint that has been confirmed once, thereby making it possible to perform a test. It is to shorten the time and improve the test efficiency. A second object of the present invention is to determine the number of checkpoints, check targets, according to the nature of the test instruction sequence, the nature of the test process,
The checkpoint position can be selected to shorten the test time and improve the test efficiency. A third object of the present invention is to make it possible to confirm all tests even if a failure occurs in the test target mechanism without waiting for the correction of the failure, and to improve the test process and the yield.

【0005】[0005]

【課題を解決するための手段】図1は本発明の原理図で
ある。同図において、101は試験命令列、102は試
験命令列がアクセスするアクセスデータ域、103はチ
ェックポイントアドレス、チェックポイントレベル等を
設定する入力手段、104は比較/判定手段、105は
チェックポイント通過時の被試験対象の状態と正解値を
比較処理し、エラーのときエラー情報の表示等を行う制
御手段である。図1において、次のようにして被試験対
象の命令列試験を行う。 (1)オペレータは入力手段103によりチェックポイ
ントアドレスを設定する。比較/判定手段104は、試
験命令列のチェックポイント(同図ではSVC命令がチ
ェックポイント用に使用されている)を通過する際、そ
のチェックポイントアドレスとオペレータが設定したチ
ェックポイントアドレスを比較する。上記アドレスが不
一致の場合、試験命令列に戻り、チェックポイントアド
レスの次のアドレスに処理が移る。また、一致した場合
には、制御手段105は被試験対象のレジスタ情報、ア
クセスデータ域のデータ等の被試験対象装置の状態を表
す情報と、正解値を比較する。そして、両者が一致して
いる場合には、試験命令列に戻り、チェックポイントア
ドレスの次のアドレスに処理が移る。また不一致の場合
には、エラー情報の表示等の処理を行い終了する。そし
て、前回のテストでエラーが発生した場合には、該エラ
ーを修復した後、エラーが発生したエラーアドレスを設
定して、再度テストを行う。
FIG. 1 shows the principle of the present invention. In the figure, 101 is a test instruction sequence, 102 is an access data area accessed by the test instruction sequence, 103 is an input unit for setting a checkpoint address, a checkpoint level, etc., 104 is a comparison / determination unit, and 105 is a checkpoint passage. It is a control means for performing a comparison process between the state of the test object at that time and the correct answer value, and displaying error information and the like when an error occurs. In FIG. 1, the instruction sequence test of the device under test is performed as follows. (1) The operator sets the checkpoint address using the input means 103. The comparison / determination means 104 compares the checkpoint address with the checkpoint address set by the operator when passing through the checkpoint of the test instruction sequence (the SVC instruction is used for the checkpoint in the figure). If the above addresses do not match, the process returns to the test instruction sequence, and the process moves to the address next to the checkpoint address. If they match, the control means 105 compares the correct value with the information indicating the state of the device under test, such as the register information of the device under test and the data in the access data area. Then, when the two match, the process returns to the test instruction sequence, and the process moves to the address next to the checkpoint address. If they do not match, processing such as displaying error information is performed and the processing ends. When an error occurs in the previous test, the error is repaired, the error address at which the error occurs is set, and the test is performed again.

【0006】(2)オペレータは入力手段103により
チェックポイントレベルを設定する(幾つおきにチェッ
クするかを設定する。例えばチェックポイントを一つお
きにチェックする場合にはチェックポイントレベルを2
に設定)。比較/判定手段104は、試験命令列のチェ
ックポイント通過数をカウントし、現チェックポイント
がオペレータが設定したチェックポイントレベルに一致
するかを判定する。チェックポイント通過数が設定され
たチェックポイントレベルに不一致の場合、試験命令列
に戻り、チェックポイントアドレスの次のアドレスに処
理が移る。また、一致した場合には、制御手段105は
被試験対象のレジスタ情報、アクセスデータ域のデータ
等の被試験対象装置の状態を表す情報と、正解値を比較
する。そして、両者が一致している場合には、試験命令
列に戻り、チェックポイントアドレスの次のアドレスに
処理が移る。また不一致の場合には、エラー情報の表示
等の処理を行い終了する。
(2) The operator sets the checkpoint level by the input means 103 (sets how many checkpoints to check. For example, when checking every other checkpoint, the checkpoint level is set to 2.
Set to). The comparison / determination means 104 counts the number of checkpoint passages of the test instruction sequence and determines whether the current checkpoint matches the checkpoint level set by the operator. If the number of checkpoint passages does not match the set checkpoint level, the process returns to the test instruction sequence and the process proceeds to the address next to the checkpoint address. If they match, the control means 105 compares the correct value with the information indicating the state of the device under test, such as the register information of the device under test and the data in the access data area. Then, when the two match, the process returns to the test instruction sequence, and the process moves to the address next to the checkpoint address. If they do not match, processing such as displaying error information is performed and the processing ends.

【0007】(3)オペレータは入力手段103によ
り、被試験装置における例えば汎用レジスタ、制御レジ
スタ、演算レジスタ等、あるいは、アクセスデータ域等
のチェック対象を設定する。比較/判定手段104は、
試験命令列のチェックポイントを通過する毎に、チェッ
ク対象が、上記設定されたチェック対象(汎用レジス
タ、制御レジスタ、演算レジスタ、アクセスデータ域)
であるかを判別し、オペレータにより設定されたチェッ
ク対象について、その情報と正解値を比較する。そし
て、両者が一致している場合には、試験命令列に戻り、
チェックポイントアドレスの次のアドレスに処理が移
る。また不一致の場合には、エラー情報の表示等の処理
を行い終了する。
(3) The operator uses the input means 103 to set a check target such as a general-purpose register, a control register, an arithmetic register, or an access data area in the device under test. The comparison / determination means 104
Each time the check point of the test instruction sequence is passed, the check target is the check target set above (general-purpose register, control register, operation register, access data area).
Then, the information is compared with the correct value for the check target set by the operator. If the two match, the test instruction sequence is returned to,
The process moves to the address next to the checkpoint address. If they do not match, processing such as displaying error information is performed and the processing ends.

【0008】(4)オペレータは入力手段103により
チェックポイント番号を設定する。比較/判定手段10
4は、試験命令列のチェックポイント通過数をカウント
し、現チェックポイントがオペレータが設定したチェッ
クポイント番号に一致するかを判定する。現チェックポ
イント番号と設定されたチェックポイント番号が不一致
の場合、試験命令列に戻り、チェックポイントアドレス
の次のアドレスに処理が移る。また、一致した場合に
は、制御手段105は被試験対象のレジスタ情報、アク
セスデータ域のデータ等の被試験対象装置の状態を表す
情報と正解値を比較する。そして、両者が一致している
場合には、試験命令列に戻り、チェックポイントアドレ
スの次のアドレスに処理が移る。また不一致の場合に
は、エラー情報の表示等の処理を行い終了する。
(4) The operator sets a checkpoint number using the input means 103. Comparison / determination means 10
4 counts the number of checkpoint passages in the test instruction sequence, and determines whether the current checkpoint matches the checkpoint number set by the operator. If the current checkpoint number and the set checkpoint number do not match, the process returns to the test instruction sequence and the process moves to the address next to the checkpoint address. If they match, the control means 105 compares the register information of the device under test, information indicating the state of the device under test, such as data in the access data area, with the correct answer value. Then, when the two match, the process returns to the test instruction sequence, and the process moves to the address next to the checkpoint address. If they do not match, processing such as displaying error information is performed and the processing ends.

【0009】()エラーが発生したときレジスタ等の
エラーのデータ源に正解値を書き込む復活処理手段と、
エラー情報をスタックする手段とを、制御手段105に
設ける。そして、エラーが発生すると、上記復活処理手
段によりエラー源を修復するとともに、スタック手段に
よりエラー情報をスタックする。そして、試験命令列に
戻り、チェックポイントアドレスの次のアドレスに処理
を移す。
( 5 ) Restoration processing means for writing a correct answer value to an error data source such as a register when an error occurs,
The control means 105 is provided with means for stacking error information. Then, when an error occurs, the restoration source restores the error source and the stacking unit stacks the error information. Then, the process returns to the test instruction sequence, and the processing is moved to the address next to the checkpoint address.

【0010】本発明の請求項1〜の発明においては、
上記(1)(2)(3)(4)のように、前回のテスト
でエラーが発生したチェックポイントアドレス、設定さ
れたチェックポイントレベル、チェックポイント番号
レジスタ情報、アクセスデータ域のデータ等の被試験対
象装置の状態を表す情報と正解値との比較処理を行うよ
うにしたので、一度確認がとれているチェックポイン
ト、チェック対象についての比較処理時間を短縮するこ
とができ、試験時間を従来に較べて大幅に短縮すること
ができる。
According to the inventions of claims 1 to 3 ,
As in (1), (2), (3) and (4) above, the checkpoint address where the error occurred in the previous test, the set checkpoint level, the checkpoint number ,
Register information. Thus the comparison process is performed with the information representing the state of the device under test such as data access data area with correct values, checkpoints once take the confirmation, comparison about the check Target The time can be shortened, and the test time can be greatly shortened compared to the conventional one.

【0011】また、試験命令列の性格、試験工程の性格
に応じてチェックポイント数、チェックポイント位置を
選択できるので、試験時間の短縮、試験効率の向上を図
ることができる。さらに、請求項のように、請求項1
の発明に復活手段と、エラー情報のスタック手段を
設けることにより、障害が発生した場合であっても、そ
の障害の修復を待たずに全テストを行うことができ、試
験工程、歩留りの向上を図ることができる。
Further, since the number of checkpoints and checkpoint positions can be selected according to the nature of the test instruction sequence and the nature of the test process, the test time can be shortened and the test efficiency can be improved. Further, as in claim 4 , claim 1
By providing the restoration means and the error information stacking means in the inventions of to 3 , even if a failure occurs, all the tests can be performed without waiting for the failure to be repaired. It is possible to improve.

【0012】[0012]

【発明の実施形態】図2は本発明の第1の実施例を説明
する図である。なお、本実施例は本発明の請求項の発
明に対応する。図2において、1は試験命令列、2は試
験命令列がアクセスするアクセスデータ域である。試験
命令列1中にはチェックポイント用のSVC命令が設け
られ、SVC命令が実行されると、割り込みによりチェ
ックポイント制御部3に処理が移され、チェックポイン
ト制御部3における比較処理後(エラー終了でない場
合)、試験命令列に戻り、上記SVC命令の次の命令が
実行される。3はチェックポイント制御部であり、チェ
ックポイント制御部3は、比較モード判定部4と、エラ
ーアドレス比較部5と、レジスタ比較部7と、アクセス
域比較部8と、アドレスデータ保持部9と、レジスタ情
報等の正解値を格納した正解値格納域10と、エラー制
御部11から構成される。12はHMI制御部(HM
I:ヒューマンインタフェース)であり、HMI制御部
12からオペレータがエラーチェックポイントのアドレ
スを入力し、該アドレスデータがアドレスデータ保持部
9に格納される。なお、最初のテストにおいては、上記
アドレスデータは初期値(0xFFFFFFFF)に設
定される。そして、最初のテストでエラーが発生した場
合、該エラーを修復した後、上記アドレスデータをエラ
ーが発生したアドレスに設定し、再度テストを行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a diagram for explaining a first embodiment of the present invention. This embodiment corresponds to the invention of claim 1 of the present invention. In FIG. 2, 1 is a test instruction sequence and 2 is an access data area accessed by the test instruction sequence. A checkpoint SVC instruction is provided in the test instruction sequence 1, and when the SVC instruction is executed, the process is transferred to the checkpoint control unit 3 by an interrupt and after the comparison process in the checkpoint control unit 3 (error end) If not), the procedure returns to the test instruction sequence, and the instruction next to the SVC instruction is executed. Reference numeral 3 is a checkpoint control unit, and the checkpoint control unit 3 includes a comparison mode determination unit 4, an error address comparison unit 5, a register comparison unit 7, an access area comparison unit 8, an address data holding unit 9, It is composed of a correct answer value storage area 10 in which correct answer values such as register information are stored, and an error control unit 11. 12 is an HMI control unit (HM
I: human interface), the operator inputs the address of the error check point from the HMI control unit 12, and the address data is stored in the address data holding unit 9. In the first test, the address data is set to the initial value (0xFFFFFFFF). If an error occurs in the first test, the error is repaired, the address data is set to the address where the error occurred, and the test is performed again.

【0013】次に本実施例の動作について説明する。試
験命令列1を実行中にSVC命令がくると、処理がチェ
ックポイント制御部3に移される。チェックポイント制
御部3では、まず、比較モード判定部4においてアドレ
スデータ保持部9に格納されるアドレスデータを調べ
る。そして、該アドレスデータが初期値(0xFFFF
FFFF)であった場合には、レジスタ比較部7へ処理
を移し、また、該アドレスデータが初期値以外の場合に
は、エラーアドレス比較部5へ処理を移す。エラーアド
レス比較部5では、アドレスデータ保持部9に格納され
ているチェックポイントのアドレスと現在実行している
チェックポイントのアドレスを比較し、一致している場
合にはアドレスデータ保持部9に初期値(0xFFFF
FFFF)を格納し、レジスタ比較部7へ処理を移す。
また、不一致の場合には、試験命令列1に戻り、次の命
令が実行される。レジスタ比較部7においては、チェッ
クポイントにおける汎用レジスタ、制御レジスタ、演算
レジスタ等のレジスタ情報と正解値格納域10に格納さ
れた正解値を比較する。そして、レジスタ情報が正解値
に一致していれば、アクセス域比較部8に処理を移す。
また不一致であれば、エラー制御部11に処理を移す。
Next, the operation of this embodiment will be described. When an SVC instruction comes while the test instruction sequence 1 is being executed, the processing is moved to the checkpoint control unit 3. The checkpoint control unit 3 first checks the address data stored in the address data holding unit 9 in the comparison mode determination unit 4. Then, the address data has an initial value (0xFFFF
FFFF), the processing is moved to the register comparing section 7, and when the address data is other than the initial value, the processing is moved to the error address comparing section 5. The error address comparison unit 5 compares the address of the checkpoint stored in the address data holding unit 9 with the address of the currently executed checkpoint, and if they match, the address data holding unit 9 stores the initial value. (0xFFFF
FFFF) is stored and the process is transferred to the register comparison unit 7.
If they do not match, the test instruction sequence 1 is returned to and the next instruction is executed. The register comparison unit 7 compares the register information of the general-purpose register, the control register, the arithmetic register, etc. at the check point with the correct answer value stored in the correct answer value storage area 10. Then, if the register information matches the correct answer value, the processing is moved to the access area comparison unit 8.
If they do not match, the process is moved to the error control unit 11.

【0014】アクセス域比較処理部8では、試験命令列
1がアクセスするアクセスデータ域2の内容と、正解値
格納域10に格納された正解値を比較する。そして、ア
クセス域が正解値に一致していれば、試験命令列1の次
の命令に戻り、また不一致であれば、エラー制御部11
に処理を移す。エラー制御部11においては、エラー情
報の表示を行うとともに、エラーチェックポイントのア
ドレス表示を行い処理を終了する。すなわち、最初のテ
ストにおいては、アドレスデータ保持部9には初期値
(0xFFFFFFFF)が設定され、各チェックポイ
ントについてレジスタ比較部7、アドレス域比較部8で
比較処理が行われる。上記最初のテストでエラーが発生
した場合には、該エラーを修復した後、HMI制御部1
2から、上記エラーが発生したエラーアドレスをアドレ
スデータ保持部11に設定し、再度テストを行う。
The access area comparison processing section 8 compares the contents of the access data area 2 accessed by the test instruction sequence 1 with the correct answer value stored in the correct answer value storage area 10. If the access area matches the correct answer value, the next instruction of the test instruction sequence 1 is returned. If the access areas do not match, the error control unit 11
Transfer processing to. The error control unit 11 displays the error information and the address of the error check point, and ends the process. That is, in the first test, the initial value (0xFFFFFFFF) is set in the address data holding unit 9, and the comparison process is performed by the register comparison unit 7 and the address area comparison unit 8 for each checkpoint. If an error occurs in the first test, the error is repaired and then the HMI control unit 1
From 2, the error address in which the above error has occurred is set in the address data holding unit 11 and the test is performed again.

【0015】上記テストの実行中、チェックポイント制
御部3のエラーアドレス比較部5でチェックポイントの
アドレスと、上記エラーアドレスが比較され、チェック
ポイントのアドレスがエラーアドレスと不一致である場
合には、レジスタ比較およびアクセス域比較処理が行わ
れず、処理は試験命令列1の次の命令に移される。そし
て、チェックポイントのアドレスがアドレスデータ保持
部9に設定されたエラーアドレスに一致すると、処理が
レジスタ比較部7、アクセス域比較部8に移され前記比
較処理が行われる。一方、チェックポイントのアドレス
がエラーアドレスに一致すると、前記したように、アド
レスデータ保持部9に初期値(0xFFFFFFFF)
が格納されるので、エラーが修復され上記比較処理によ
りエラーが発生しない場合には、試験命令列1の次の命
令に処理が移り、以降、各チェックポイントについて、
レジスタ比較部7、アクセス域比較部8における比較処
理が行われる。そして再度エラーが発生すると、上記と
同様、該エラーを修復した後、HMI制御部12から、
上記エラーが発生したエラーアドレスをアドレスデータ
保持部9に設定し、再度テストを行う。以上のように、
本実施例においては、アドレスデータ保持部9にエラー
アドレスを設定し、該エラーアドレスにチェックポイン
トのアドレスが一致するまで、比較処理を行わないよう
にしているので、一度確認がとれているチェックポイン
トでの比較処理は行なわれず、未確認チェックポイント
のみ比較処理を行うことができ、試験時間の短縮、試験
効率の向上を図ることができる。
During the execution of the test, the error address comparison unit 5 of the checkpoint control unit 3 compares the checkpoint address with the error address. If the checkpoint address does not match the error address, the register The comparison and access area comparison processing is not performed, and the processing is moved to the next instruction of the test instruction sequence 1. Then, when the address of the checkpoint matches the error address set in the address data holding unit 9, the process is moved to the register comparing unit 7 and the access area comparing unit 8 and the comparison process is performed. On the other hand, when the address of the check point matches the error address, the initial value (0xFFFFFFFF) is stored in the address data holding unit 9 as described above.
Is stored, so when the error is repaired and no error occurs in the comparison process, the process moves to the next instruction in the test instruction sequence 1, and thereafter, for each checkpoint,
Comparison processing is performed in the register comparison unit 7 and the access area comparison unit 8. When an error occurs again, the error is repaired as described above, and then the HMI control unit 12
The error address in which the above error has occurred is set in the address data holding unit 9 and the test is performed again. As mentioned above,
In this embodiment, an error address is set in the address data holding unit 9 and the comparison process is not performed until the address of the checkpoint matches the error address. Therefore, the checkpoint once confirmed The comparison process is not performed, and the comparison process can be performed only for the unconfirmed check points, and the test time can be shortened and the test efficiency can be improved.

【0016】図3は本発明の第2の実施例を説明する図
である。なお、本実施例は本発明の請求項の発明に対
応する。図3において、1は試験命令列、2はアクセス
データ域であり、第1の実施例と同様、試験命令列1中
にはチェックポイント用のSVC命令が設けられ、SV
C命令が実行されると、チェックポイント制御部3に処
理が移され、チェックポイント制御部における比較処理
後(エラー終了でない場合)、試験命令列に戻り、上記
SVC命令の次の命令が実行される。3はチェックポイ
ント制御部であり、チェックポイント制御部3は、チェ
ックポイント・レベル判定部21と、チェックポイント
・カウンタ22と、チェックポイント・レベル保持部2
3と、レジスタ比較部7と、アクセス域比較部8と、正
解値格納域10と、エラー制御部11から構成される。
12はHMI制御部であり、HMI制御部12からオペ
レータがチェックポイント・レベルを入力し(幾つおき
にチェックポイントの比較処理をするかを入力)、該チ
ェックポイント・レベルがチェックポイント・レベル保
持部23に格納される。例えば、偶数番目のチェックポ
イントについてレジスタ比較処理、アクセス域比較処理
を行う場合には、オペレータはHMI制御部12から
「2」をチェックポイント・レベル保持部23に入力す
る。また、チェックポイント・レベル保持部23には、
初期値として1が設定される。
FIG. 3 is a diagram for explaining the second embodiment of the present invention. The present embodiment corresponds to the invention of claim 2 of the present invention. In FIG. 3, 1 is a test instruction sequence and 2 is an access data area. As in the first embodiment, a SVC instruction for checkpoint is provided in the test instruction sequence 1, and SV
When the C instruction is executed, the processing is moved to the checkpoint control unit 3, after the comparison processing in the checkpoint control unit (when it is not an error end), the process returns to the test instruction sequence, and the instruction next to the SVC instruction is executed. It Reference numeral 3 is a checkpoint control unit, and the checkpoint control unit 3 includes a checkpoint level determination unit 21, a checkpoint counter 22, and a checkpoint level holding unit 2.
3, a register comparison unit 7, an access area comparison unit 8, a correct value storage area 10, and an error control unit 11.
Reference numeral 12 denotes an HMI control unit, and an operator inputs a checkpoint level from the HMI control unit 12 (inputs how often to perform checkpoint comparison processing), and the checkpoint level is a checkpoint level holding unit. 23. For example, when performing register comparison processing and access area comparison processing for even-numbered checkpoints, the operator inputs “2” from the HMI control unit 12 to the checkpoint / level holding unit 23. In addition, the checkpoint level holding unit 23,
1 is set as the initial value.

【0017】次に本実施例の動作について説明する。試
験命令列1を実行中にSVC命令がくると、処理がチェ
ックポイント制御部3に移される。チェックポイント制
御部3のチェックポイント判定部21では、まず、チェ
ックポイント・カウンタ22(初期値は0)に「1」を
足してから、チェックポイント・カウンタ22の値を読
み込み、読み込んだチェックポイント・カウンタ22の
値をチェックポイントレベル保持部23に格納された値
で割り算する。そして、余りが0なら、そのチェックポ
イントがレジスタ比較、アクセス域比較の対象となるチ
ェックポイントであるとして、レジスタ比較部7、アク
セス域比較部8へ処理を移す。また、余りが0以外な
ら、試験命令列1に戻り次の命令を実行する。レジスタ
比較部7においては、第1の実施例と同様、チェックポ
イントにおける汎用レジスタ、制御レジスタ、演算レジ
スタ等のレジスタ情報と正解値格納域10に格納された
正解値を比較する。そして、レジスタ情報が正解値に一
致していれば、アクセス域比較部8に処理を移す。また
不一致であれば、エラー制御部11に処理を移す。
Next, the operation of this embodiment will be described. When an SVC instruction comes while the test instruction sequence 1 is being executed, the processing is moved to the checkpoint control unit 3. In the checkpoint determination unit 21 of the checkpoint control unit 3, first, "1" is added to the checkpoint counter 22 (initial value is 0), the value of the checkpoint counter 22 is read, and the read checkpoint The value of the counter 22 is divided by the value stored in the checkpoint level holding unit 23. Then, if the remainder is 0, it is determined that the checkpoint is a target checkpoint for register comparison and access area comparison, and the processing is transferred to the register comparison unit 7 and the access area comparison unit 8. If the remainder is other than 0, the test instruction sequence 1 is returned to and the next instruction is executed. Similar to the first embodiment, the register comparison unit 7 compares the register information of the general-purpose register, the control register, the arithmetic register, etc. at the checkpoint with the correct answer value stored in the correct answer value storage area 10. Then, if the register information matches the correct answer value, the processing is moved to the access area comparison unit 8. If they do not match, the process is moved to the error control unit 11.

【0018】アクセス域比較処理部8では、試験命令列
1がアクセスするアクセスデータ域2の内容と、正解値
格納域10に格納された正解値を比較する。そして、ア
クセス域が正解値に一致していれば、試験命令列1の次
の命令に戻り、また不一致であれば、エラー制御部11
に処理を移す。エラー制御部11においては、エラー情
報の表示を行い処理を終了する。以上のように、本実施
例においては、チェックポイント・レベル保持部23に
チェックポイント・レベルを設定し、該当するチェック
ポイントのみでレジスタ比較、アクセス域比較処理を行
うようにしているので、必要なチェックポイントのみ比
較処理を行うことができ、試験時間の短縮、試験効率の
向上を図ることができる。
The access area comparison processing section 8 compares the contents of the access data area 2 accessed by the test instruction sequence 1 with the correct answer value stored in the correct answer value storage area 10. If the access area matches the correct answer value, the next instruction of the test instruction sequence 1 is returned. If the access areas do not match, the error control unit 11
Transfer processing to. The error control unit 11 displays error information and ends the process. As described above, in the present embodiment, the checkpoint level is set in the checkpoint level holding unit 23, and the register comparison and the access area comparison processing are performed only at the corresponding checkpoints. The comparison processing can be performed only at the check points, and the test time can be shortened and the test efficiency can be improved.

【0019】図4は本発明の第3の実施例を説明する図
である。図4において、1は試験命令列、2はアクセス
データ域であり、第1、第2の実施例と同様、試験命令
列1中にはチェックポイント用のSVC命令が設けら
れ、SVC命令が実行されると、チェックポイント制御
部3に処理が移される。3はチェックポイント制御部で
あり、チェックポイント制御部3は、比較モード保持部
24と、レジスタ比較部7と、アクセス域比較部8と、
正解値格納域10と、エラー制御部11から構成され
る。また、レジスタ比較部7は汎用レジスタ比較モード
判定部71と汎用レジスタ比較処理部72と、制御レジ
スタ比較モード判定部73と、制御レジスタ比較処理部
74と、演算レジスタ比較モード判定部75と演算レジ
スタ比較処理部76から構成され、また、アクセス域比
較部8はアクセス・データ域比較モード判定部81とア
クセス・データ域比較処理部82から構成されている。
FIG. 4 is a diagram for explaining the third embodiment of the present invention. In FIG. 4, 1 is a test instruction sequence and 2 is an access data area. As in the first and second embodiments, a SVC instruction for checkpoint is provided in the test instruction sequence 1 and the SVC instruction is executed. Then, the process is transferred to the checkpoint control unit 3. 3 is a checkpoint control unit, and the checkpoint control unit 3 includes a comparison mode holding unit 24, a register comparison unit 7, an access area comparison unit 8,
The correct value storage area 10 and the error control unit 11 are included. The register comparison unit 7 includes a general-purpose register comparison mode determination unit 71, a general-purpose register comparison processing unit 72, a control register comparison mode determination unit 73, a control register comparison processing unit 74, an arithmetic register comparison mode determination unit 75, and an arithmetic register. The access area comparison section 8 includes an access data area comparison mode determination section 81 and an access data area comparison processing section 82.

【0020】12はHMI制御部であり、HMI制御部
12からオペレータは、比較モードを入力し、入力され
た比較モードは比較モード保持部24に格納される。比
較モード保持部24は例えば4ビットのレジスタから構
成され、この実施例の場合には、第1番目のビット(以
下ビット1という)が汎用レジスタ、第2番目のビット
(以下ビット2という)が制御レジスタ、第3番目のビ
ット(以下ビット3という)が演算レジスタ、第4番目
のビット(以下ビット4という)がアクセス・データ域
の比較モードに割り付けられ、ビットの内容が0だった
ら比較せず、ビットの内容が1だったら比較するとす
る。
Reference numeral 12 denotes an HMI control unit. An operator inputs a comparison mode from the HMI control unit 12, and the input comparison mode is stored in the comparison mode holding unit 24. The comparison mode holding unit 24 is composed of, for example, a 4-bit register. In the case of this embodiment, the first bit (hereinafter referred to as bit 1) is a general-purpose register and the second bit (hereinafter referred to as bit 2) is. The control register, the third bit (hereinafter referred to as bit 3) are assigned to the operation register, and the fourth bit (hereinafter referred to as bit 4) is assigned to the access data area comparison mode. If the bit content is 1, compare them.

【0021】次に本実施例の動作について説明する。試
験命令列1を実行中にSVC命令がくると、処理がチェ
ックポイント制御部3に移される。チェックポイント制
御部3のレジスタ比較部7では、汎用レジスタ比較モー
ド判定部71で比較モード保持部24のレジスタのビッ
ト1の判定を行い、1なら汎用レジスタ比較処理部72
で正解値格納部10に格納された正解値と汎用レジスタ
の内容を比較する。同様に、制御レジスタ比較モード判
定部73で比較モード保持部24のレジスタのビット2
の判定を行い、ビット2が1なら制御レジスタ比較処理
部74で、正解値格納部10に格納された正解値と制御
レジスタの内容を比較する。同様に、演算レジスタ比較
モード判定部75で比較モード保持部24のレジスタの
ビット3の判定を行い、ビット3が1なら演算レジスタ
比較処理部76で、正解値格納部10に格納された正解
値と演算レジスタの内容を比較する。アクセス域比較部
8では、アクセス・データ域比較モード判定部81で比
較モード保持部24のレジスタのビット4の判定を行
い、ビット4が1ならアクセス・データ域比較処理部8
2で、正解値格納部10に格納された正解値とアクセス
・データ域の内容を比較する。
Next, the operation of this embodiment will be described. When an SVC instruction comes while the test instruction sequence 1 is being executed, the processing is moved to the checkpoint control unit 3. In the register comparison unit 7 of the checkpoint control unit 3, the general-purpose register comparison mode determination unit 71 determines the bit 1 of the register of the comparison mode holding unit 24, and if it is 1, the general-purpose register comparison processing unit 72.
Then, the correct value stored in the correct value storage unit 10 is compared with the contents of the general-purpose register. Similarly, in the control register comparison mode determination unit 73, bit 2 of the register of the comparison mode holding unit 24 is
If bit 2 is 1, the control register comparison processing unit 74 compares the correct value stored in the correct value storage unit 10 with the content of the control register. Similarly, the arithmetic register comparison mode determination unit 75 determines the bit 3 of the register of the comparison mode holding unit 24, and if the bit 3 is 1, the arithmetic register comparison processing unit 76 causes the correct value stored in the correct value storage unit 10. And compare the contents of the operation register. In the access area comparison unit 8, the access / data area comparison mode determination unit 81 determines the bit 4 of the register of the comparison mode holding unit 24. If the bit 4 is 1, the access / data area comparison processing unit 8
In step 2, the correct answer value stored in the correct answer value storage unit 10 is compared with the contents of the access data area.

【0022】また、比較モード保持部24のレジスタの
ビット1〜ビット4がいずれも0の場合には、試験命令
列1に処理を移し、次の命令を実行する。汎用レジスタ
比較処理部72、制御レジスタ比較処理部74、演算レ
ジスタ比較処理部76、アクセス・データ域比較処理部
82で正解値と比較した結果、一致しなかった場合に
は、処理をエラー制御部11に移し、エラー情報の表示
を行い終了する。また、正解値に一致した場合には、試
験命令列1に処理を移し、次の命令を実行する。以上の
ように本実施例においては、比較モード保持部24に比
較モードを設定し、設定されたモードについてのみ、レ
ジスタ比較処理、アクセス・データ域比較処理を行うよ
うにしているので、設定されたレジスタ、アクセス・デ
ータ域のみの比較処理を行うことができ、試験時間の短
縮、試験効率の向上を図ることができる。
When all of the bits 1 to 4 of the register of the comparison mode holding unit 24 are 0, the processing is shifted to the test instruction sequence 1 and the next instruction is executed. If the general-purpose register comparison processing unit 72, the control register comparison processing unit 74, the arithmetic register comparison processing unit 76, and the access / data area comparison processing unit 82 compare with the correct answer value, and if they do not match, the process is performed by the error control unit. The process moves to step 11, the error information is displayed, and the process ends. If the answer is correct, the process moves to the test instruction sequence 1 and the next instruction is executed. As described above, in the present embodiment, the comparison mode is set in the comparison mode holding unit 24, and the register comparison processing and the access / data area comparison processing are performed only for the set mode. It is possible to perform comparison processing only on the register and access data area, and it is possible to shorten the test time and improve the test efficiency.

【0023】図5は本発明の第4の実施例を説明する図
である。なお、本実施例は本発明の請求項の発明に対
応する。図5において、1は試験命令列、2はアクセス
データ域であり、上記実施例と同様、試験命令列1中に
はチェックポイント用のSVC命令が設けられ、SVC
命令が実行されると、チェックポイント制御部3に処理
が移される。3はチェックポイント制御部であり、チェ
ックポイント制御部3は、チェックポイント番号保持部
ポインタ31と、指定チェックポイント判定部32と、
指定チェックポイント番号保持部33と、チェックポイ
ント・カウンタ34(初期値は1)と、レジスタ比較部
7と、アクセス域比較部8と、正解値格納域10と、エ
ラー制御部11から構成される。 12はHMI制御部
であり、HMI制御部12からオペレータは、比較処理
を行うチェックポイント番号を入力し、指定されたチェ
ックポイント番号は指定チェックポイント番号保持部3
3に保持される。
FIG. 5 is a diagram for explaining a fourth embodiment of the present invention. The present embodiment corresponds to the invention of claim 3 of the present invention. In FIG. 5, 1 is a test instruction sequence and 2 is an access data area. As in the above embodiment, the test instruction sequence 1 is provided with an SVC instruction for checkpoint.
When the instruction is executed, the process is transferred to the checkpoint control unit 3. 3 is a checkpoint control unit, and the checkpoint control unit 3 includes a checkpoint number holding unit pointer 31, a designated checkpoint determination unit 32,
It comprises a designated checkpoint number holding unit 33, a checkpoint counter 34 (initial value is 1), a register comparison unit 7, an access area comparison unit 8, a correct value storage area 10, and an error control unit 11. . Reference numeral 12 denotes an HMI control unit. From the HMI control unit 12, the operator inputs a checkpoint number for performing comparison processing, and the designated checkpoint number is the designated checkpoint number holding unit 3
Held at 3.

【0024】次に本実施例の動作について説明する。試
験命令列1を実行中にSVC命令がくると、処理がチェ
ックポイント制御部3に移される。チェックポイント制
御部3の指定チェックポイント判定部31では、まず、
指定チェックポイント番号保持部ポインタ31に格納さ
れているチェックポイント番号を参照して、指定チェッ
クポイント番号保持部33から指定チェックポイント番
号を取り出し、チェックポイント・カウンタ34の値と
比較を行う。指定チェックポイント番号保持部33から
取り出された指定チェックポイント番号と、チェックポ
イント・カウンタ34の値が一致していたら、レジスタ
比較部7へ処理を移す。また、不一致の場合には、指定
チェックポイント番号保持部ポインタ31とチェックポ
イント・カウンタ34の値を一つ増やし、試験命令列1
の戻り、次の試験命令に処理を移す。
Next, the operation of this embodiment will be described. When an SVC instruction comes while the test instruction sequence 1 is being executed, the processing is moved to the checkpoint control unit 3. In the designated checkpoint determination unit 31 of the checkpoint control unit 3, first,
By referring to the checkpoint number stored in the designated checkpoint number holding unit pointer 31, the designated checkpoint number is taken out from the designated checkpoint number holding unit 33 and compared with the value of the checkpoint counter 34. If the designated checkpoint number fetched from the designated checkpoint number holding unit 33 and the value of the checkpoint counter 34 match, the process proceeds to the register comparison unit 7. If they do not match, the values of the designated checkpoint number holding unit pointer 31 and the checkpoint counter 34 are incremented by 1, and the test instruction sequence 1
Return to and move processing to the next test instruction.

【0025】レジスタ比較部7においては、上記実施例
と同様、チェックポイントにおける汎用レジスタ、制御
レジスタ、演算レジスタ等のレジスタ情報と正解値格納
域10に格納された正解値を比較する。そして、レジス
タ情報が正解値に一致していれば、アクセス域比較部8
に処理を移す。また不一致であれば、エラー制御部11
に処理を移す。アクセス域比較処理部8では、試験命令
列1がアクセスするアクセスデータ域2の内容と、正解
値格納域10に格納された正解値を比較する。そして、
アクセス域が正解値に一致していれば、チェックポイン
ト番号保持部ポインタ31とチェックポイント・カウン
タ34の値をそれぞれ1つ増やし、試験命令列1の次の
試験命令に処理を移す。また、不一致であれば、エラー
制御部11に処理を移す。エラー制御部11において
は、エラー情報の表示を行い処理を終了する。以上のよ
うに、本実施例においては、チェックポイント番号保持
部33にチェックポイント番号を設定し、該当するチェ
ックポイントのみでレジスタ比較、アクセス域比較処理
を行うようにしているので、必要なチェックポイントの
み比較処理を行うことができ、試験時間の短縮、試験効
率の向上を図ることができる。
In the register comparing section 7, as in the above embodiment, the register information of the general-purpose register, the control register, the arithmetic register, etc. at the checkpoint is compared with the correct answer value stored in the correct answer value storage area 10. Then, if the register information matches the correct answer value, the access area comparison unit 8
Transfer processing to. If they do not match, the error control unit 11
Transfer processing to. The access area comparison processing unit 8 compares the contents of the access data area 2 accessed by the test instruction sequence 1 with the correct answer value stored in the correct answer value storage area 10. And
If the access area matches the correct answer value, the value of the checkpoint number holding unit pointer 31 and the value of the checkpoint counter 34 are incremented by one, and the process is moved to the next test instruction in the test instruction sequence 1. If they do not match, the process is transferred to the error control unit 11. The error control unit 11 displays error information and ends the process. As described above, in this embodiment, since the checkpoint number is set in the checkpoint number holding unit 33 and the register comparison and the access area comparison processing are performed only by the corresponding checkpoint, the necessary checkpoints are set. Only the comparison process can be performed, and the test time can be shortened and the test efficiency can be improved.

【0026】図は本発明の第の実施例を説明する図
である。なお、本実施例は本発明の請求項の発明に対
応する。図において、1は試験命令列、2はアクセス
データ域であり、上記実施例と同様、試験命令列1中に
はチェックポイント用のSVC命令が設けられ、SVC
命令が実行されると、チェックポイント制御部3に処理
が移される。3はチェックポイント制御部であり、チェ
ックポイント制御部3は、レジスタ比較部7と、アクセ
ス域比較部8と、正解値格納域10と、エラー制御部1
1から構成され、エラー制御部11には、エラー情報を
スタックする手段111とエラーの復活処理をする手段
112が設けられている。55はエラースタックを表示
する手段であり、エラー制御部11でスタックされたエ
ラー情報は試験命令列1の処理が最後まで終了したら上
記表示手段55に表示される。
FIG. 6 is a diagram for explaining the fifth embodiment of the present invention. This embodiment corresponds to the invention of claim 4 of the present invention. In FIG. 6 , 1 is a test instruction sequence and 2 is an access data area. As in the above embodiment, the test instruction sequence 1 is provided with an SVC instruction for checkpoint.
When the instruction is executed, the process is transferred to the checkpoint control unit 3. Reference numeral 3 is a checkpoint control unit, and the checkpoint control unit 3 includes a register comparison unit 7, an access area comparison unit 8, a correct value storage area 10, and an error control unit 1.
The error control unit 11 is provided with a unit 111 for stacking error information and a unit 112 for performing error recovery processing. Reference numeral 55 denotes a means for displaying an error stack, and the error information stacked by the error control unit 11 is displayed on the display means 55 when the processing of the test instruction sequence 1 is completed.

【0027】次に本実施例の動作を説明する。試験命令
列1を実行中にSVC命令がくると、処理がチェックポ
イント制御部3に移される。チェックポイント制御部3
のレジスタ比較部7では、汎用レジスタ、制御レジス
タ、演算レジスタ等のレジスタ情報を正解値格納域10
に格納された正解値と比較する。そして、一致していれ
ば、アクセス域比較部8に処理を移し、また、不一致で
あれば、エラー制御部11へ処理を移す。アクセス域比
較部8においては、アクセス域の内容と正解値格納域1
0に格納された正解値と比較し、一致していれば、試験
命令列1に戻り、次の命令に処理を移し、また、不一致
であれば、エラー制御部11へ処理を移す。エラー制御
部11では、エラー情報をスタックする手段111によ
りエラー情報をスタックするとともに、エラーの復活処
理をする手段112によりエラーを起こした箇所のデー
タを正解値に書き換えて次の比較処理に処理を移す。上
記のようにエラーが発生したとき、その復活処理を行い
ながらテストを行う、試験命令列1が最後まで終了した
ら、スタックされたエラー情報をエラースタックを表示
する手段55により表示させる。
Next, the operation of this embodiment will be described. When an SVC instruction comes while the test instruction sequence 1 is being executed, the processing is moved to the checkpoint control unit 3. Checkpoint control unit 3
In the register comparison unit 7 of the general-purpose register, the control register, the arithmetic register, etc., the correct value storage area 10
Compare with the correct answer value stored in. Then, if they match, the processing is moved to the access area comparison unit 8, and if they do not match, the processing is moved to the error control unit 11. In the access area comparison unit 8, the contents of the access area and the correct value storage area 1
The value is compared with the correct answer value stored in 0, and if they match, the procedure returns to the test instruction sequence 1 to move the processing to the next instruction, and if they do not match, the processing moves to the error control unit 11. The error control unit 11 stacks the error information by the means 111 for stacking the error information, and rewrites the data at the location where the error has occurred to the correct value by the means 112 for recovering the error and performs the processing for the next comparison processing. Transfer. When an error occurs as described above, a test is performed while performing the restoration process. When the test instruction sequence 1 is completed to the end, the stacked error information is displayed by the error stack display unit 55.

【0028】なお、本実施例は、前記した第1〜第
実施例に適用することができ、第1〜第の実施例に適
用する場合には、エラー制御部11に上記したエラー情
報をスタックする手段111、エラーの復活処理をする
手段112を設け、試験命令列1が最後まで終了した
ら、スタックされたエラー情報をエラースタックを表示
する手段55により表示させるように構成すればよい。
このようにすることにより、指定されたチェックポイン
ト、比較モードのテストをエラー終了させることなく、
最後まで実行させることができる。以上のように本実施
例においては、エラーが発生したとき、その復活処理を
行いながらテストを行っているので、試験対象に障害が
存在している場合でも、その障害の修正を待たずに全テ
ストを行い確認を行うことができ、試験工程の短縮、歩
留りの向上に寄与することができる。
This embodiment can be applied to the above-mentioned first to fourth embodiments, and in the case of applying to the first to fourth embodiments, the error control section 11 can detect the above-mentioned error. A means 111 for stacking information and a means 112 for recovering an error are provided, and when the test instruction sequence 1 is completed to the end, the stacked error information may be displayed by the means 55 for displaying an error stack. .
By doing so, the specified checkpoint without error termination test comparison mode,
Can be run to the end. As described above, in the present embodiment, when an error occurs, the test is performed while performing the restoration process, so that even if there is a failure in the test target, it is not necessary to wait for the failure to be corrected. A test can be performed and confirmed, which can contribute to shortening the test process and improving the yield.

【0029】[0029]

【発明の効果】以上説明したように本発明においては、
以下の効果を得ることができる。 (1)前回のテストでエラーが発生したチェックポイン
トアドレス、設定されたチェックポイントレベル、チェ
ックポイント番号のみについて、レジスタ情報、アクセ
スデータ域のデータ等の被試験対象装置の状態を表す情
報と正解値との比較処理を行うようにしたので、一度確
認がとれている、チェックポイント等についての比較処
理時間を短縮することができる。このため、未確認チェ
ックポイント等のみのテストを行うことができ、試験時
間を従来に較べて大幅に短縮することができる。 (2)試験命令列の性格、試験工程の性格に応じてチェ
ックポイント数、チェックポイント位置等を選択できる
ので、試験効率の向上を図ることができる。 (3)エラー源に正解値を書き込むエラーの復活処理手
段と、エラー情報のスタック手段を設けることにより、
障害が発生した場合であっても、その障害の修復を待た
ずに全テストを行うことができ、試験工程、歩留りの向
上を図ることができる。
As described above, in the present invention,
The following effects can be obtained. (1) correct checkpoint address where the error occurred in the previous test, set checkpoint level, the only checkpoint number, register information, and information indicating the state of the device under test such as data access data area since to perform the comparison processing between the value it may be once confirmed is taken, to reduce the comparison processing time for checkpoint like. Therefore, it is possible to test the unconfirmed checkpoint, etc. only, the test time can be greatly shortened compared to the conventional. (2) test instruction sequence personality checkpoint number depending on the nature of the testing process, it is possible to select a checkpoint position 置等, it is possible to improve the test efficiency. (3) By providing error recovery processing means for writing the correct answer value to the error source and error information stacking means,
Even if a failure occurs, the entire test can be performed without waiting for the failure to be repaired, and the test process and the yield can be improved.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】本発明の第1の実施例を説明する図である。FIG. 2 is a diagram illustrating a first embodiment of the present invention.

【図3】本発明の第2の実施例を説明する図である。FIG. 3 is a diagram illustrating a second embodiment of the present invention.

【図4】本発明の第3の実施例を説明する図である。FIG. 4 is a diagram illustrating a third embodiment of the present invention.

【図5】本発明の第4の実施例を説明する図である。FIG. 5 is a diagram illustrating a fourth embodiment of the present invention.

【図6】本発明の第5の実施例を説明する図である。FIG. 6 is a diagram illustrating a fifth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 試験命令列 2 アクセスデータ域 3 チェックポイント制御部 4 比較モード判定部 5 エラーアドレス比較部 7 レジスタ比較部 8 アクセス域比較部 9 アドレスデータ保持部 10 正解値格納域 11 エラー制御部 12 HMI制御部 21 チェックポイント・レベル判定部 22 チェックポイント・カウンタ 23 チェックポイント・レベル保持部 24 比較モード保持部 31 チェックポイント番号保持部ポインタ 32 指定チェックポイント判定部 33 指定チェックポイント番号保持部 34 チェックポイント・カウンタ 71 汎用レジスタ比較モード判定部 72 汎用レジスタ比較処理部 73 制御レジスタ比較モード判定部 74 制御レジスタ比較処理部 75 演算レジスタ比較モード判定部 76 演算レジスタ比較処理部 81 アクセス・データ域比較モード判定部 82 アクセス・データ域比較処理部 101 試験命令列 102 アクセスデータ域 103 入力手段 104 比較/判定手段 105 制御手段 1 Test instruction sequence 2 Access data area 3 Checkpoint control unit 4 Comparison mode determination unit 5 Error address comparison unit 7 Register comparison unit 8 access area comparison section 9 Address data storage 10 Correct value storage area 11 Error control section 12 HMI control unit 21 Checkpoint / level judgment section 22 Checkpoint counter 23 Checkpoint / level holding unit 24 Comparison mode holding unit 31 Checkpoint number holding unit pointer 32 Designated checkpoint judgment section 33 Designated checkpoint number storage 34 Checkpoint counter 71 General-purpose register comparison mode determination unit 72 General-purpose register comparison processing unit 73 Control Register Comparison Mode Judgment Unit 74 Control Register Comparison Processing Unit 75 Operation register comparison mode determination unit 76 Operation register comparison processing unit 81 Access / data area comparison mode determination unit 82 Access / data area comparison processing unit 101 test instruction sequence 102 access data area 103 input means 104 comparison / determination means 105 control means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 寺西 信輔 神奈川県横浜市港北区新横浜二丁目15番 16 株式会社富士通コンピュータテクノ ロジ内 (56)参考文献 特開 平5−81069(JP,A) 特開 平7−28663(JP,A) 特開 平7−141218(JP,A) 特開 平6−177944(JP,A) 特開 昭64−3750(JP,A) 特開 昭64−55653(JP,A) 特開 平2−10442(JP,A) 特開 平5−241887(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shinsuke Teranishi 2-15-16 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa FUJITSU COMPUTER TECHNOLOGY INC. (56) Reference JP-A-5-81069 (JP, A) Kaihei 7-28663 (JP, A) JP 7-141218 (JP, A) JP 6-177944 (JP, A) JP 64-3750 (JP, A) JP 64-55653 ( JP, A) JP 2-10442 (JP, A) JP 5-241887 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 11/22

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 チェックポイントが設定されている試験
命令列を実行し、被試験対象装置の試験を行う情報処理
装置における命令列試験装置であって、 前回のテストでエラーが発生した試験命令列のチェック
ポイントのアドレスを入力する手段と、 入力されたチェックポイントのアドレスと現チェックポ
イントのアドレスを比較する比較手段と、 上記比較手段における比較結果が一致したとき、上記チ
ェックポイントにおける被試験対象装置の状態を示す情
報を正解値と比較し、該情報が正解値と不一致のときエ
ラー処理を行い、一致したとき、上記入力されたチェッ
クポイントアドレスを初期値に戻し、試験命令列の上記
チェックポイントの次の命令に処理を移す制御手段を備
えた ことを特徴とする情報処理装置における命令列試験装
置。
1. An instruction sequence test apparatus in an information processing apparatus for executing a test instruction sequence set with a checkpoint to test a device under test, the test instruction sequence having an error in a previous test. Means for inputting the address of the checkpoint, comparison means for comparing the input address of the checkpoint with the address of the current checkpoint, and the device under test at the checkpoint when the comparison results of the comparison means match. The information indicating the state of is compared with the correct answer value, error processing is performed when the information does not match the correct answer value, and when they match, the input checkpoint address is returned to the initial value and the checkpoint of the test instruction string is returned. An instruction sequence test apparatus in an information processing apparatus, comprising: a control unit that shifts processing to the next instruction.
【請求項2】 チェックポイントが設定されている試験
命令列を実行し、被試験対象装置の試験を行う情報処理
装置における命令列試験装置であって、 試験命令列のチェックポイントのうち、幾つおきにチェ
ックポイントの比較処理をするかを示すチェックポイン
トレベル・コードを入力する手段と、 現チェックポイントが上記チェックポイントレベル・コ
ードにより定まるチェックポイントと一致するか否かを
判定する判定手段と、 上記判定手段により一致すると判定されたチェックポイ
ントについて、被試験対象装置の状態を示す情報を正解
値と比較し、該情報が正解値と不一致のときエラー処理
を行い、一致したとき、試験命令列の上記チェックポイ
ントの次の命令に処理を移す制御手段を備えたことを特
徴とする情報処理装置における命令列試験装置。
2. An instruction sequence test apparatus in an information processing apparatus for executing a test instruction sequence for which a checkpoint is set and testing a device under test, wherein every few checkpoints of the test instruction sequence. Means for inputting a checkpoint level code that indicates whether to perform checkpoint comparison processing, and a means for determining whether the current checkpoint matches the checkpoint determined by the checkpoint level code, and For the checkpoint determined to match by the determination means, information indicating the state of the device under test is compared with the correct answer value, error processing is performed when the information does not match the correct answer value, and when the information matches, the test instruction string In an information processing apparatus characterized by comprising a control means for shifting the processing to the next instruction of the checkpoint. Instruction sequence test equipment.
【請求項3】 チェックポイントが設定されている試験
命令列を実行し、被試験対象装置の試験を行う情報処理
装置における命令列試験装置であって、 比較処理の対象となる試験命令列のチェックポイント番
号を入力する手段と、 現チェックポイントが上記チェ
ックポイント番号と一致するか否かを判定する手段と、 上記判定手段により一致すると判定されたチェックポイ
ントについて、被試験対象装置の状態を示す情報を正解
値と比較し、該情報が正解値と不一致のときエラー処理
を行い、一致したとき、試験命令列の上記チェックポイ
ントの次の命令に処理を移す制御手段を備えたことを特
徴とする情報処理装置における命令列試験装置。
3. An instruction sequence test apparatus in an information processing apparatus for executing a test instruction sequence set with check points to test a device under test, the test instruction sequence being a target of comparison processing. Information indicating the state of the device under test for the means for inputting the point number, the means for judging whether or not the current checkpoint matches the above checkpoint number, and the checkpoints judged to match by the above judging means Is compared with a correct answer value, error processing is performed when the information does not match the correct answer value, and when the information is matched, the control means is provided for moving the processing to the instruction next to the check point of the test instruction sequence. Instruction sequence testing device in information processing device.
【請求項4】 制御手段が、被試験対象装置の状態を示
す情報と正解値が不一致のとき、上記被試験装置のデー
タ源に正解値を書き込むエラー復活処理手段と、エラー
情報をスタックするスタック手段を備えた ことを特徴とする請求項1,2または請求項3の情報処
理装置における命令列試験装置。
4. The error recovery processing means for writing the correct value to the data source of the device under test, and the stack for stacking the error information, when the control device does not match the correct value with the information indicating the state of the device under test. An instruction sequence test apparatus in an information processing apparatus according to claim 1, 2 or 3, further comprising a means.
JP20448195A 1995-08-10 1995-08-10 Instruction sequence testing device for information processing equipment Expired - Fee Related JP3466788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20448195A JP3466788B2 (en) 1995-08-10 1995-08-10 Instruction sequence testing device for information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20448195A JP3466788B2 (en) 1995-08-10 1995-08-10 Instruction sequence testing device for information processing equipment

Publications (2)

Publication Number Publication Date
JPH0950385A JPH0950385A (en) 1997-02-18
JP3466788B2 true JP3466788B2 (en) 2003-11-17

Family

ID=16491246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20448195A Expired - Fee Related JP3466788B2 (en) 1995-08-10 1995-08-10 Instruction sequence testing device for information processing equipment

Country Status (1)

Country Link
JP (1) JP3466788B2 (en)

Also Published As

Publication number Publication date
JPH0950385A (en) 1997-02-18

Similar Documents

Publication Publication Date Title
US8145961B2 (en) Fast ECC memory testing by software including ECC check byte
US5576955A (en) Method and apparatus for proofreading in a computer system
US4520440A (en) Test verification of processor architecture having a partial instruction set
JPH11134235A (en) Method for supporting recovery from fault of external storage device
JP3173855B2 (en) How to edit digital test vectors
JP3466788B2 (en) Instruction sequence testing device for information processing equipment
US5504862A (en) Logic verification method
US6311266B1 (en) Instruction look-ahead system and hardware
JPH0577143A (en) Failure diagnosis device for automated line
US5146458A (en) Data transfer checking system
CN111367816B (en) Mobile test method and device, computer equipment and storage medium
JP3248433B2 (en) Program linkage verification method
JPH05342113A (en) Fault detecting method for ram for built in system
JPH04316131A (en) Fault identifying method
JPH10214205A (en) Module checking device
US5951699A (en) Method and apparatus for verifying integrity of predefined data structures in a computer system
JPH02284248A (en) Memory contents checking method
JPS59218556A (en) Microprogram controlling system
JPH01123345A (en) Self-diagnosing circuit for error correcting device
JP3115428B2 (en) Pipeline control method
JPS62224833A (en) Suitability inspecting system of data form
JPH029370B2 (en)
JPH0561935A (en) Logical simulation system
JPH03263134A (en) Test processing system for test processor
JPS63204438A (en) Device test system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011009

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100829

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees