JPS63163641A - Test system for data processor - Google Patents

Test system for data processor

Info

Publication number
JPS63163641A
JPS63163641A JP61310750A JP31075086A JPS63163641A JP S63163641 A JPS63163641 A JP S63163641A JP 61310750 A JP61310750 A JP 61310750A JP 31075086 A JP31075086 A JP 31075086A JP S63163641 A JPS63163641 A JP S63163641A
Authority
JP
Japan
Prior art keywords
test
instruction
executed
data
execution
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.)
Granted
Application number
JP61310750A
Other languages
Japanese (ja)
Other versions
JPH0664539B2 (en
Inventor
Hiroshi Kadota
門田 博志
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61310750A priority Critical patent/JPH0664539B2/en
Publication of JPS63163641A publication Critical patent/JPS63163641A/en
Publication of JPH0664539B2 publication Critical patent/JPH0664539B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a time for manual investigation, by taking out and accumulating instructions one by one from a test instruction string and a test data, executing the instruction string accumulated until then by both a test object data processor and a simulation processing part, and comparing executed results. CONSTITUTION:The instructions are taken out and accumulated one by one from the test instruction string, and each time, the instruction strings accumulated until then are executed by both the test object data processor 12 and the simulation processing part 8, and the executed results are compared. And when abnormality is detected in the executed results of the test instruction string accumulated until a certain time is generated, no abnormality exists in the result of the instruction string accumulated and executed until just before, and the abnormality is detected by the accumulation of the said instruction in the instruction string. In such a way, it is possible to analyze the content of the abnormality by limiting the generation of an abnormal state on the said instruction.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置に係り、特に加速論理を有する
大規模データ処理装置のテスト命令列によるテストにお
いて、エラーとなった命令を局所化することにより、解
析時間の短縮を可能とするのに好適なデータ処理装置の
テスト方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a data processing device, and in particular, to localizing an instruction that causes an error in a test using a test instruction sequence of a large-scale data processing device having an acceleration logic. Accordingly, the present invention relates to a data processing device testing method suitable for reducing analysis time.

〔従来の技術〕[Conventional technology]

データ処理装置における機能の正常性を確認する試験シ
ステムでは、ある1つのテストデータに1つの期待値を
用意して、試験対象装置でテストデータを実行し、その
処理結果を期待値と比較するのが一般的であった。
In a test system that confirms the normality of functions in a data processing device, one expected value is prepared for one set of test data, the test data is executed on the device under test, and the processing results are compared with the expected value. was common.

しかし、データ処理装置の大規模化に伴い、順序性をも
つ複数の命令の集合であるテスト命令列とこれに対する
1つの期待値によりテスト・データを構成する方式が採
られるようになってきている。この場合、従来のテスト
方式は次の如くであった。各テスト命令列を試験対象装
置上で実行し、当該装置の正常性を確認する。各テスト
命令列実行の処理結果とその期待値とを比較し、不一致
であれば、そのテスト命令列内のテスト命令にエラーが
生じていることになる。あるテスト命令列の実行結果に
異常が検出されたならば、そのテスト命令列内にどのテ
スト命令でエラーとなったのかを人手によって調査する
However, as data processing devices have become larger in scale, methods have been adopted in which test data is composed of a sequence of test instructions, which is a set of ordered instructions, and an expected value for the sequence of instructions. . In this case, the conventional test method was as follows. Each test instruction sequence is executed on the device under test to confirm the normality of the device. The processing result of each test instruction string execution is compared with its expected value, and if they do not match, it means that an error has occurred in the test instruction in that test instruction string. If an abnormality is detected in the execution result of a certain test instruction string, it is manually investigated which test instruction in the test instruction string caused the error.

このテスト方式では、人手によって調査するため、多く
の調査時間を要したり、調査結果も調査者の能力に依存
するという問題があった。また、エラーとなったテスト
命令を判別するには、アセンブル・リストを参照したり
、異常結果となったテスト命令列を複数回実行したり、
またパッチして命令およびデータを変更する必要があっ
た。
This testing method has problems in that it takes a lot of time to conduct the survey manually, and that the survey results also depend on the abilities of the researcher. In addition, to determine the test instruction that resulted in an error, refer to the assemble list, execute the test instruction sequence that resulted in the abnormal result multiple times, or
It also required patches to change instructions and data.

上記の問題を解決するテスト方式として、試験システム
内に試験対象装置のソフトシミュレータを設け、まずテ
ストデータに従ってテスト命令列を試験対象装置で実行
し、それが正常に終了しない場合、次にエラー解析処理
においてテスト命令列から1命令づつ切出しながらソフ
トシミュレータと試験対象装置の両方で実行し、その結
果を比較する方式がある。第4図はこの方式の処理フロ
ー例を示したものである。これによれば、テスト命令列
のどのテスト命令が正常に処理されなかったかを認識す
ることが容易に可能である。なお、このテスト方式に関
しては5例えば特開昭61−43351号公報に詳述さ
れている。
As a test method to solve the above problem, a software simulator of the device under test is installed in the test system, and first a sequence of test instructions is executed on the device under test according to the test data, and if it does not finish normally, then an error analysis is performed. In processing, there is a method in which each instruction is extracted from a test instruction string and executed on both the software simulator and the device under test, and the results are compared. FIG. 4 shows an example of the processing flow of this method. According to this, it is possible to easily recognize which test instruction in the test instruction sequence was not processed normally. This test method is described in detail in, for example, Japanese Unexamined Patent Publication No. 61-43351.

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

一般に大規模データ処理装置などでは、処理の高速化を
実現するために、先行制御論理やパイプライン制御に代
表される加速論理が使用される。
Generally, in large-scale data processing devices, acceleration logic, typified by advance control logic and pipeline control, is used to achieve faster processing.

この種のデータ処理装置では、順序性を有する命令列が
シリアルに実行されるのではなく、先行する命令の実行
途中でこれに引続く命令の実行が開始されるというよう
に、ある時間軸で複数の命令が並列に実行される。
In this type of data processing device, an ordered instruction sequence is not executed serially, but at a certain time axis, such as starting execution of a subsequent instruction in the middle of execution of a preceding instruction. Multiple instructions are executed in parallel.

このような加速論理を有するデータ処理装置の試験に上
記テスト方式を適用しようとすると、次のような問題が
生じる。テスト時の試験対象装置でのテスト命令列の実
行は、テスト命令列を構成する命令が互いに有機的に結
合されて並列的に実行されるのに対し、エラー解析処理
においては、テスト命令列から1命令ずつ切出して逐一
実行するため、テスト命令列の実行環境が変化する。例
えば、テスト命令列のうち、先行する命令で引続き実行
される命令を書替えたり、または先行する゛命令の実行
結果を引続き実行する命令で使用する等、先行する命令
の実行結果が引続き実行される命令の実行に影響を及ぼ
す(コンフリクト条件)ような有機的に結合された命令
列の実行でエラーを検出した場合も、エラー解析処理で
は、このテスト命令列を構成する各命令の有機的な結合
を無視して1命令ずつ切出して実行すること−なる。
When trying to apply the above test method to testing a data processing device having such acceleration logic, the following problems arise. During a test, a test instruction sequence is executed on the device under test. The instructions that make up the test instruction sequence are organically combined with each other and executed in parallel. However, in error analysis processing, the test instruction sequence is Since each instruction is extracted and executed one by one, the execution environment of the test instruction sequence changes. For example, in a test instruction sequence, the execution result of the preceding instruction is continuously executed, such as rewriting the instruction to be executed subsequently by the preceding instruction, or using the execution result of the preceding instruction in the subsequently executed instruction. Even if an error is detected in the execution of an organically combined instruction sequence that affects the execution of instructions (conflict condition), the error analysis process will detect the organic combination of each instruction that makes up this test instruction sequence. This means that the commands are ignored and executed one by one.

このため、テスト命令を構成する命令を個別に逐次実行
した場合と同じ結果を得てしまい、エラーを正確に指摘
できないという問題が発生する。
For this reason, the same result as when the instructions constituting the test instruction are executed individually and sequentially is obtained, resulting in a problem that errors cannot be accurately pointed out.

本発明の目的は、上記問題点の解決を図り、加速論理を
有するデータ処理装置においても、その加速論理特有の
処理によりテスト命令列の実行で異常を検出した場合に
、エラーとなったテスト命令を直接的に判断できるよう
にして1人手による調査時間の短縮を可能とするデータ
処理装置のテスト方式を提供することにある。
An object of the present invention is to solve the above-mentioned problems, and even in a data processing device having an acceleration logic, when an abnormality is detected in the execution of a test instruction sequence due to processing specific to the acceleration logic, the test instruction that has caused an error can be detected. An object of the present invention is to provide a test method for a data processing device that enables direct judgment of the data processing apparatus and reduces the time required for one-man investigation.

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

本発明は、テスト命令列、テストデータから1命令分ず
つ取り出して蓄積していき、蓄積の過程において、順次
、それまで蓄積した分の命令列を試験対象データ処理装
置とシミュレーション処理部の両方で実行し、その実行
結果を比較することを特徴とする。
The present invention extracts and stores test command sequences and test data one instruction at a time, and in the process of storage, sequentially stores the stored command sequences in both the test target data processing device and the simulation processing unit. The feature is that the execution results are compared.

〔作 用〕[For production]

テスト命令列から1命令ずつ取り出して蓄積していき、
その都度、それまでの蓄積分の命令列を試験対象装置と
シミュレーション処理部の両方で実行し、その実行結果
を比較して、ある時点までに蓄積されたテスト命令列の
実行結果に異常を検出した場合、直前までに蓄積・実行
した命令列の結果に異常がなく、当該命令を命令列に蓄
積したことで異常を検出していることから、異常状態の
発生を当該命令に限定して異常内容を解析することが可
能となる。
Extract and accumulate instructions one by one from the test instruction string,
Each time, the accumulated instruction sequences up to that point are executed by both the test target device and the simulation processing unit, and the execution results are compared to detect abnormalities in the execution results of the test instruction sequences accumulated up to a certain point. In this case, there is no abnormality in the result of the instruction sequence that was accumulated and executed just before, and the abnormality is detected by accumulating the instruction in the instruction sequence, so the occurrence of the abnormal condition is limited to the instruction in question and the error is detected. It becomes possible to analyze the contents.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により詳細に説明
する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明による試験システムの一実施例の構成図
を示す、第1図において、試験システム1はテストデー
タ格納部5及び制御部11から構成される。テストデー
タ格納部5には、乱数値2゜テスト命令列とテストデー
タ3、期待値データ4等が格納される。制御部11はテ
スト命令列、テストデータを生成し、テストの実行を制
御するもので、テストデータ生成部6.テストデータ設
定部7、シミュレーション処理部8、テスト結果判定部
9、エラー出力部10を有する。
FIG. 1 shows a configuration diagram of an embodiment of a test system according to the present invention. In FIG. 1, a test system 1 is composed of a test data storage section 5 and a control section 11. The test data storage unit 5 stores a random value 2° test command sequence, test data 3, expected value data 4, and the like. The control unit 11 generates a test instruction sequence and test data and controls test execution, and the test data generation unit 6. It has a test data setting section 7, a simulation processing section 8, a test result determination section 9, and an error output section 10.

テストデータ生成部6は乱数値2をもとにテスト命令列
3a、テストデータ3bを生成するものである。テスト
データ設定部7はテスト命令列3a、テストデータ3b
をシミュレーション処理部8と試験対電装1置12に供
給するものである。試験対象装置12上のテスト命令及
びテストデータは、テスト命令列3a、テストデータ3
bから1命令分づつ蓄積しながら設定される。シミュレ
ーション処理部8は、テストデータ設定部7から受けと
ったテスト命令列及びテストデータをもとに試験対象装
置12の機能を擬似的に実行し、実行結果を期待値デー
タ4として作成する。テスト結果判定部9は、シミュレ
ーション処理部7においてテスト命令列の実行結果作成
された期待値と、試験対象装置12で実行されたテスト
命令列の実行結果との比較を行い、不一致が生じたとき
異常を検出するものである。エラー出力部10はテスト
結果判定部9で異常を検出したとき、エラーメツセージ
としてテスト命令列、テストデータを期待値と試験対象
装置12での実行結果とに分離して出力するものである
The test data generation section 6 generates a test instruction sequence 3a and test data 3b based on the random number value 2. The test data setting section 7 includes a test instruction sequence 3a and test data 3b.
is supplied to the simulation processing section 8 and the test electrical device 1 12. The test commands and test data on the device under test 12 are the test command sequence 3a and the test data 3.
It is set while accumulating one instruction at a time from b. The simulation processing section 8 executes the functions of the device under test 12 in a pseudo manner based on the test command sequence and test data received from the test data setting section 7, and creates the execution results as expected value data 4. The test result determination unit 9 compares the expected value created by the simulation processing unit 7 as an execution result of the test instruction sequence with the execution result of the test instruction sequence executed by the device under test 12, and when a discrepancy occurs. It detects abnormalities. The error output unit 10 separates the test command sequence and test data into an expected value and an execution result in the device under test 12 and outputs them as an error message when an abnormality is detected by the test result determination unit 9.

試験対象装置であるデータ処理装置12は、一般的なデ
ータ処理装置で、試験システム1がら渡されたテスト命
令列13a、テストデータ13bを格納するテストデー
タ・メモリエリア13と、テスト命令列13aをテスト
データ13bに従って実行するテスト実行部14を含ん
でいる。一般にテストデータ・メモリエリア13は主記
憶装置上にあり、また、テスト実行部14は中央処理装
置自体である。
The data processing device 12, which is the device to be tested, is a general data processing device, and has a test data memory area 13 that stores the test command sequence 13a and test data 13b passed from the test system 1, and a test data memory area 13 that stores the test command sequence 13a. It includes a test execution unit 14 that executes according to test data 13b. Generally, the test data memory area 13 is located on the main memory, and the test execution unit 14 is the central processing unit itself.

第2図は本実施例の処理フローを示す、まず。First, FIG. 2 shows the processing flow of this embodiment.

試験の開始に先立って、処理201によりテスト命令列
3a、テストデータ3bを生成するが、このテスト命令
列3a、テストデータ3bは乱数値2をもとにテストデ
ータ生成部5で生成される。
Prior to the start of the test, a test instruction sequence 3a and test data 3b are generated in process 201, and the test instruction sequence 3a and test data 3b are generated by the test data generation section 5 based on the random number value 2.

処理202では、テストデータ設定部6によりテスト命
令列とテストデータ3から1命令分ずつ取り出し、試験
対象装置12のテストデータ・メモリエリア13に設定
する。処理203では、試験対象装置12のテストデー
タ・メモリエリア13に設定された命令分をテストデー
タ設定部6によりテスト命令列・テストデータ3から取
り出し、シミュレーション処理部8で実行する。処理2
04では、シミュレーション処理部8での実行結果を期
待値データ4として退避する。処理205では、試験対
象装置12のテストデータ・メモリエリア13に設定さ
れたテスト命令列13aをテストデータ13bに従いテ
スト実行部14上で実行する。処理206では、テスト
結果判定部9により、処理204で退避しておいた期待
値と処理206によって実行した結果を比較し、試験対
象装置12のメモリエリア13に設定された命令列によ
るテスト実行部14での実行の正常性を確認する。正常
の場合、処理207でテスト命令列の全命令の実行を終
了したかチェックし、終了していない場合には処理20
2へ戻る。
In process 202 , the test data setting unit 6 extracts one instruction from the test command sequence and the test data 3 and sets them in the test data memory area 13 of the device under test 12 . In process 203, the instructions set in the test data memory area 13 of the device under test 12 are extracted from the test instruction sequence/test data 3 by the test data setting section 6, and executed by the simulation processing section 8. Processing 2
In step 04, the execution results in the simulation processing unit 8 are saved as expected value data 4. In process 205, the test instruction sequence 13a set in the test data memory area 13 of the device under test 12 is executed on the test execution unit 14 according to the test data 13b. In process 206, the test result determination unit 9 compares the expected value saved in process 204 with the result executed in process 206, and executes the test using the instruction sequence set in the memory area 13 of the device under test 12. Check the normality of execution in 14. If it is normal, it is checked in step 207 whether execution of all instructions in the test instruction sequence has been completed, and if not completed, processing is performed in step 20.
Return to 2.

上記処理202〜207を繰り返すことにより、試験対
象袋[12のメモリエリア13にテスト命令列が蓄積さ
れていき、順次、その蓄積された分のテスト命令列の実
行がテスト実行部14上で縁り返されると共に、それと
全く同一のテスト命令列が試験システム1のシミュレー
ション処理部8で実行され、正常性の確認が行われる。
By repeating the above processes 202 to 207, test instruction strings are accumulated in the memory area 13 of the test target bag [12, and the execution of the accumulated test instruction strings is executed one after another on the test execution unit 14. At the same time, the same test instruction sequence is executed in the simulation processing unit 8 of the test system 1 to confirm normality.

このことについて、第3図により更に詳しく説明する。This will be explained in more detail with reference to FIG.

第3図は処理202〜207を繰り返して実行した場合
の試験対象装置12におけるテストデータ・メモリエリ
ア13上のテスト命令列13aの遷移を示したものであ
る。処理202の1回目の実行では、メモリエリア13
には220に示すように1命令のみの命令列が設定され
、残りのエリアにはテスト命令の終了を示すためにトラ
ップ(一般的にはソフトウェア制御可能な割込み)を発
生させる命令コードが埋められる。処理202の2回目
の実行では、メモリエリア13には221に示すように
順序性を有する2命令列が設定され、残りのエリアには
テスト命令列の終了を示すためにトラップを発生させる
命令コードが埋められる。処理202をn回実行した状
態では、メモリエリア13には222に示すように順序
性を有するn個の命令による命令列が設定され、残りの
エリアにはテスト命令列の終了を示すためにトラップを
発生させる命令コードが埋められる。
FIG. 3 shows the transition of the test command sequence 13a on the test data memory area 13 in the device under test 12 when the processes 202 to 207 are repeatedly executed. In the first execution of process 202, memory area 13
As shown in 220, an instruction sequence containing only one instruction is set, and the remaining area is filled with an instruction code that generates a trap (generally a software-controllable interrupt) to indicate the end of the test instruction. . In the second execution of process 202, two ordered instruction sequences as shown in 221 are set in the memory area 13, and an instruction code for generating a trap to indicate the end of the test instruction sequence is set in the remaining area. is filled in. When the process 202 has been executed n times, an instruction sequence consisting of n instructions with order is set in the memory area 13 as shown in 222, and a trap is set in the remaining area to indicate the end of the test instruction sequence. The instruction code that generates is filled in.

処理202により試験対象装置12のメモリエリア13
に蓄積されていくのと全く同一のテスト命令列が、処理
203のシミュレーションモードにより試験システム1
のシミュレーション処理部8で実行され、その実行結果
は処理204により期待値データとして退避される。次
に処理203のシミュレーションモードにより実行した
のと全く同一のテストデータによるテスト命令列が、処
理205により試験対電装R12のメモリエリア13の
命令列を用いてテスト実行部14上で実行される。
By processing 202, the memory area 13 of the device under test 12 is
The exact same test command sequence accumulated in the test system 1 is executed in the simulation mode of process 203.
The execution result is saved as expected value data in process 204. Next, in step 205, a test instruction string based on the same test data as that executed in the simulation mode in step 203 is executed on the test execution unit 14 using the instruction string in the memory area 13 of the test electrical equipment R12.

このようにして、第3図の222の状態では、n個のテ
スト命令からなる命令列の試験対象装置12での実行の
正常性が、処理206でテスト結果判定部9においてチ
ェックされる。この結果。
In this way, in the state 222 in FIG. 3, the normality of the execution of the instruction string consisting of n test instructions in the device under test 12 is checked in the test result determination unit 9 in step 206. As a result.

異常を検出した場合は、n個のデスl−命令を蓄積した
命令列を実行した結果のエラーであることを処理209
でエラー出力部10により出力し、処理210により原
因の調査を実施する。この場合。
If an abnormality is detected, a process 209 is performed to determine that the error is a result of executing an instruction sequence in which n instructions are accumulated.
In step 210, the error output section 10 outputs the error, and in step 210, the cause is investigated. in this case.

r> −1個までのテスト命令で構成された命令列での
実行は正常であったことから、n番目に蓄積したテスト
命令nに局所化して、異常の原因を追求することができ
る。
Since the execution of an instruction sequence consisting of up to r>-1 test instructions was normal, it is possible to localize to the nth accumulated test instruction n and pursue the cause of the abnormality.

n個のテスト命令を蓄積したテスト命令の実行でも異常
が検出されない場合は、処理208で全命令を含むテス
ト命令列の実行を終了したかチェックし、終了していな
いならば処理202に戻り。
If no abnormality is detected even after the execution of the test instruction that has accumulated n test instructions, it is checked in step 208 whether the execution of the test instruction sequence including all the instructions has been completed, and if it has not been completed, the process returns to step 202.

さらにn+1個というように次の順序性のあるテスト命
令列を試験対象装置12のテストデータ・メモリエリア
13に作成する。
Furthermore, the next sequence of sequential test instructions, such as n+1, is created in the test data memory area 13 of the device under test 12.

以上の処理を繰返すことにより、複数の順序性のあるテ
スト命令によりテスト命令列を構成した状態での試験対
象装置12の動作の正常性を、テスト命令数を1命令づ
つ蓄積しながら確認することが可能となり、異常を検出
した場合にも当該蓄積命令に限定して異常内容を解析す
ることが可能になる。
By repeating the above process, it is possible to check the normality of the operation of the device under test 12 in a state where a test instruction sequence is composed of a plurality of sequential test instructions while accumulating the number of test instructions one instruction at a time. Even if an abnormality is detected, it becomes possible to analyze the contents of the abnormality by limiting it to the storage instruction concerned.

さらに処理201から処理207及び処理209.21
0を所定の回数実行したことを処理208でチェックし
、所定回数に達していなければ繰返し実行するが、テス
ト命令列、テストデータを乱数値から生成する際、テス
ト開始の乱数値を変えることにより、常に異った内容で
テストすることが可能である。
Furthermore, processing 201 to processing 207 and processing 209.21
It is checked in process 208 that 0 has been executed a predetermined number of times, and if the predetermined number of times has not been reached, the execution is repeated. , it is possible to always test with different content.

なお、上記処理において、テスト命令列、テストデータ
35期待値4は乱数値から生成するのではなく、試験シ
ステムに予め組込んでおくことも可能である。この場合
は、処理201のテスト命令列、テストデータの生成処
理を設ける必要はない。また、シミュレーション処理部
8は、擬似的にテスト命令列を実行し期待値を求めるた
めものであり、試験システム1内に試験対象装置12の
個々の命令仕様を満足するソフトシミュレータを設ける
方式、試験対象装置以外の動作の正常性が確認されてい
る実データ処理装置の実行による方式、または試験対象
装置の動作モードを固定することにより正常動作が保証
されるならば、試験対象装置1lt12のモードを固定
して実行する方式の、いずれの方式も可能である。さら
にテスト命令列を実行し異常を検出した場合の、エラー
解析処理として利用することも可能である。
In addition, in the above process, the test instruction sequence, the test data 35, and the expected value 4 may be incorporated into the test system in advance, instead of being generated from random values. In this case, there is no need to provide the test instruction sequence and test data generation process of process 201. Further, the simulation processing unit 8 is used to execute a test instruction sequence in a pseudo manner to obtain an expected value, and is a method in which a software simulator that satisfies the individual instruction specifications of the test target device 12 is provided in the test system 1. If normal operation is guaranteed by using an actual data processing device whose normal operation has been confirmed for devices other than the target device, or by fixing the operation mode of the device under test, the mode of the device under test 1lt12 may be changed. Either method of fixed execution is possible. Furthermore, it can also be used for error analysis processing when an abnormality is detected by executing a test instruction sequence.

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

以上の説明から明らかなように、本発明によれば、n個
のテスト命令を蓄積してテスト命令列の実行結果異常を
検出した場合は、n−1個までのテスト命令の蓄積での
実行は正常であったことから、n番目に蓄積したテスト
命令に局所化して、異常の原因を追求することができる
。また、順序性を有する複数の連続したテスト命令によ
り構成するテスト命令列を実行することが可能なため、
加速論理を有するデータ処理装置のテストとしてより一
層の効果を得ることができる。
As is clear from the above description, according to the present invention, when an abnormality is detected in the execution result of a test instruction sequence after accumulating n test instructions, execution is performed by accumulating up to n-1 test instructions. Since it was normal, the cause of the abnormality can be investigated by localizing it to the nth accumulated test instruction. In addition, it is possible to execute a test instruction sequence consisting of multiple consecutive test instructions with order.
Further effects can be obtained as a test of a data processing device having acceleration logic.

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

第1図は本発明による試験システムの一実施例を示す構
成図、第2図は第1図の処理を説明するためのフローチ
ャート、第3図は試験対象装置のテストデータ・メモリ
エリアに蓄積されるテスト命令列の遷移を示す図、第4
図は従来のテスト方式を説明するためのフローチャート
である。 1・・・試験システム、 5・・・テストデータ格納部
、6・・・テストデータ生成部、 7・・・テストデー
タ設定部、 8・・・シミュレーション処理部、9・・
・テスト結果判定部、  10・・・エラー出力部、1
1・・・制御部、 12・・・試験対象装置。 13・・・テストデータ・メモリエリア、14・−・テ
スト実行部。 窮 1 図 第  2  図 第3図 副L/Izz・く。
FIG. 1 is a block diagram showing an embodiment of a test system according to the present invention, FIG. 2 is a flowchart for explaining the process shown in FIG. 1, and FIG. Figure 4 shows the transition of the test instruction sequence.
The figure is a flowchart for explaining a conventional test method. DESCRIPTION OF SYMBOLS 1... Test system, 5... Test data storage section, 6... Test data generation section, 7... Test data setting section, 8... Simulation processing section, 9...
・Test result determination section, 10...Error output section, 1
1... Control unit, 12... Test target device. 13...Test data memory area, 14...Test execution unit. Figure 1 Figure 2 Figure 3 Sub L/Izz.

Claims (1)

【特許請求の範囲】[Claims] (1)順序性を有するテスト命令列やテストデータによ
ってデータ処理装置の正常性をテストする試験システム
において、テスト命令列を擬似的に実行するためのシミ
ュレーション処理部を設けると共に、テスト命令列から
1命令ずつ取り出して蓄積していき、該蓄積毎に順次、
それまで蓄積した分の命令列を試験対象データ処理装置
とシミュレーション処理部で実行して比較することを特
徴とするデータ処理装置のテスト方式。
(1) In a test system that tests the normality of a data processing device using an ordered test instruction sequence or test data, a simulation processing unit is provided to execute the test instruction sequence in a pseudo manner, and Extract and accumulate instructions one by one, and for each accumulation, sequentially,
A test method for a data processing device characterized by executing and comparing a sequence of instructions accumulated up to that point in a data processing device under test and a simulation processing unit.
JP61310750A 1986-12-26 1986-12-26 Data processing device testing method Expired - Fee Related JPH0664539B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61310750A JPH0664539B2 (en) 1986-12-26 1986-12-26 Data processing device testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61310750A JPH0664539B2 (en) 1986-12-26 1986-12-26 Data processing device testing method

Publications (2)

Publication Number Publication Date
JPS63163641A true JPS63163641A (en) 1988-07-07
JPH0664539B2 JPH0664539B2 (en) 1994-08-22

Family

ID=18009031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61310750A Expired - Fee Related JPH0664539B2 (en) 1986-12-26 1986-12-26 Data processing device testing method

Country Status (1)

Country Link
JP (1) JPH0664539B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5181699B2 (en) * 2008-01-31 2013-04-10 富士通株式会社 Computer test method, program, and information processing apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62203240A (en) * 1986-03-04 1987-09-07 Nec Corp Test system for information processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62203240A (en) * 1986-03-04 1987-09-07 Nec Corp Test system for information processor

Also Published As

Publication number Publication date
JPH0664539B2 (en) 1994-08-22

Similar Documents

Publication Publication Date Title
US9342441B2 (en) Methodology and tool support for test organization and migration for embedded software
US6615379B1 (en) Method and apparatus for testing a logic device
CA2326248A1 (en) Methods and apparatus for generating maintenance messages
CN112100085B (en) Android application program stability testing method, device and equipment
JPS63163641A (en) Test system for data processor
US20130074023A1 (en) Test Functionality Integrity Verification for Integrated Circuit Design
US5870316A (en) Methods of using simultaneous test verification software
JPH05298204A (en) Test circut for input/output processor
JPH08166892A (en) Method for testing data processor
JPH01134539A (en) Trace system for microprogram
JPH07334385A (en) Verifying method for maintenance diagnostic function
JPH0887429A (en) Programmable controller
JPH0214734B2 (en)
JPH04102931A (en) Testing system for information processor
CN111666213A (en) Task online method and device, computer equipment and storage medium
CN116205184A (en) Chip verification method, chip verification platform and readable storage medium
Vedeshenkov A route-oriented self-diagnosis method for digital systems
JP3428235B2 (en) Self-monitoring device and self-monitoring method
CN117233581A (en) Chip testing method, device, equipment and medium
JP2001051864A (en) Test conducting system for data processor
JPH04241640A (en) Testing method for information processor
JP2549690B2 (en) Pseudo-fault test method for channel processor
Suneja Review on practices in Software Testing
JPH0135370B2 (en)
JPS60226132A (en) Semiconductor device tester

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees