JPH04148274A - Testing system for information processor - Google Patents

Testing system for information processor

Info

Publication number
JPH04148274A
JPH04148274A JP26977990A JP26977990A JPH04148274A JP H04148274 A JPH04148274 A JP H04148274A JP 26977990 A JP26977990 A JP 26977990A JP 26977990 A JP26977990 A JP 26977990A JP H04148274 A JPH04148274 A JP H04148274A
Authority
JP
Japan
Prior art keywords
test
compressed
execution result
expected value
vector
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
JP26977990A
Other languages
Japanese (ja)
Inventor
Shigezo Mikoyama
三箇山 茂三
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 JP26977990A priority Critical patent/JPH04148274A/en
Publication of JPH04148274A publication Critical patent/JPH04148274A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make the capacity of an external storage device small by testing a vector arithmetic device by comparing an executed result compressed by an executed result compressing mechanism with the expected value of a compressed arithmetic result. CONSTITUTION:A testing program 11 initializes the vector arithmetic device by a preprocessing part 16 when started, and loaded a test instruction 12, test data 13 and a compressed expected value 14 from the external storage device in a main storage device. Next, the vector arithmetic device is started, and by adding the executed result in an executed result compressing part 15 at a word unit, the executed result is compressed to one word finally. And by adding preliminarily at the word unit similarly, the expected value 14 compressed to the one word and the executed result compressed to the one word are compared in a comparing part 17, and discriminating a normal/defective condition, the test of the vector arithmetic is executed. Thus, it is possible to make the capacity of the external storage device small.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置の試験方式に関し、特に、ベク
トル演算器の試験方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a test method for an information processing device, and particularly to a test method for a vector arithmetic unit.

〔従来の技術〕[Conventional technology]

従来、この種の試験方式は、期待値を圧縮されない形で
有し、実行結果と期待値を比較することにより試験を行
っている。
Conventionally, this type of testing method has an expected value in an uncompressed form and performs the test by comparing the execution result with the expected value.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように従来の試験方式では、期待値を圧縮しな
い形で有しているので、特に、ベクトル演算器の試験な
どのように大量の試験データおよび期待値が必要となる
場合は、試験データおよび期待値を格納する外部記憶装
置などの容量か大きくなるという欠点がある。
As mentioned above, conventional test methods have expected values in an uncompressed form, so especially when a large amount of test data and expected values are required, such as when testing vector arithmetic units, test data Another disadvantage is that the capacity of an external storage device for storing expected values becomes large.

また、試験時間という点でも試験時間の大きな部分を締
める試験データおよび期待値のロードに時間が掛かると
いう欠点がある。
In addition, in terms of test time, there is a drawback that it takes time to load test data and expected values, which takes up a large portion of the test time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の情報処理装置の試験方式は、ベクトル演算器と
スカラー演算器とを含む情報処理装置におけるスカラー
演算器上で試験制御を行い、ベクトル演算器に対する一
つ以上の試験命令とこの試験命令で使用する試験データ
と演算結果の期待値とを有するベクトル演算器の試験方
式において、実行結果を圧縮する実行結果圧縮機構と演
算結果の期待値が実行結果圧縮機構と同じアルゴリズム
であらかじめ圧縮された期待値とを有し、実行結果圧縮
機構で圧縮された実行結果と圧縮された演算結果の期待
値とを比較することによりベクトル演算器の試験を行っ
ている。
A test method for an information processing device according to the present invention performs test control on a scalar arithmetic unit in an information processing device including a vector arithmetic unit and a scalar arithmetic unit, and uses one or more test commands for the vector arithmetic unit and this test command. In a test method for a vector arithmetic unit that has test data to be used and an expected value of the operation result, there is an execution result compression mechanism that compresses the execution result and an expectation that the expected value of the operation result is compressed in advance using the same algorithm as the execution result compression mechanism. The vector computing unit is tested by comparing the execution result compressed by the execution result compression mechanism with the expected value of the compressed operation result.

また、不良を検出した場合に、試験命令をスカラー演算
器上の命令でシミュレーションするシミュレーション機
構を有し、シミュレーション機構により正解値を求め、
この正解値とベクトル演算器の実行結果とを比較するこ
とにより不良の詳細な解析を行っている。
In addition, when a defect is detected, it has a simulation mechanism that simulates the test instruction with instructions on the scalar arithmetic unit, and calculates the correct value using the simulation mechanism.
A detailed analysis of the defect is performed by comparing this correct value with the execution result of the vector arithmetic unit.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例の試験プログラムの構成図、
第2図は第1図の試験プログラムが適用される情報処理
装置の一実施例のブロック図、第3図は第1図の試験プ
ログラムの動作の概略を示すフローチャートである。
FIG. 1 is a configuration diagram of a test program according to an embodiment of the present invention.
FIG. 2 is a block diagram of an embodiment of an information processing apparatus to which the test program shown in FIG. 1 is applied, and FIG. 3 is a flowchart outlining the operation of the test program shown in FIG. 1.

第1図に示すように、本実施例の試験プログラム11は
、試験命令12、試験データ13、圧縮された期待値1
4、実行結果圧縮部15、前処理部16、比較部17よ
り構成されている。
As shown in FIG. 1, the test program 11 of this embodiment includes test commands 12, test data 13, compressed expected values 1
4, an execution result compression section 15, a preprocessing section 16, and a comparison section 17.

また、第2図に示すように、本試験プログラム11が適
用しされる情報処理装置21は、スカラー演算器22、
ベクトル演算器23、システム制御装置24、主記憶装
置25、入出力制御装置26、外部記憶装!27から構
成されている。
Further, as shown in FIG. 2, the information processing device 21 to which the main test program 11 is applied includes a scalar arithmetic unit 22,
Vector calculator 23, system control device 24, main storage device 25, input/output control device 26, external storage device! It consists of 27.

ここで、試験プログラム11の動作について図面を参照
して説明する。
Here, the operation of the test program 11 will be explained with reference to the drawings.

第3図において、試験プログラム11は、起動されると
前処理部16でベクトル演算器23を初期化しくステッ
プ32)、試験命令12と試験データ13と圧縮された
期待値14を外部記憶装置27から主記憶装置25にロ
ードする〈ステップ33)。次に、ベクトル演算器23
を起動しくステップ34)、その実行結果を実行結果圧
縮部15でワード単位に加算することにより最終的に実
行結果を1ワードに圧縮する(ステップ35)。そして
、予め同様にワード単位に加算することにより1ワード
に圧縮されている期待値14と1ワードに圧縮された実
行結果を比較部17で比較し、良否を判定することによ
りベクトル演算23の試験を行う(ステップ36)。
In FIG. 3, when the test program 11 is started, the preprocessing unit 16 initializes the vector arithmetic unit 23 (step 32), and stores the test command 12, test data 13, and compressed expected value 14 in the external storage device 27. from there to the main storage device 25 (step 33). Next, the vector calculator 23
is started (step 34), and the execution result is added word by word in the execution result compression section 15, thereby finally compressing the execution result into one word (step 35). Then, the comparison unit 17 compares the expected value 14, which has been compressed into one word by adding each word in advance, and the execution result, which has been compressed into one word, and tests the vector calculation 23 by determining whether it is good or bad. (Step 36).

第4図は本発明の第二の実施例の試験プログラムの構成
図、第5図は第4図の試験プログラムの動作の概略を示
すフローチャートである。
FIG. 4 is a configuration diagram of a test program according to a second embodiment of the present invention, and FIG. 5 is a flowchart showing an outline of the operation of the test program of FIG.

第4図に示すように、第二の実施例の試験プログラム4
1は、試験命令42、試験データ43、圧縮された期待
値44、実行結果圧縮部45、前処理部46、比較部4
7、シミュレーション部48より構成されている。
As shown in FIG. 4, test program 4 of the second embodiment
1 includes a test command 42, test data 43, compressed expected value 44, execution result compression section 45, preprocessing section 46, comparison section 4
7. It is composed of a simulation section 48.

ここで、試験プログラム41の動作について図面を参照
して説明する。
Here, the operation of the test program 41 will be explained with reference to the drawings.

第5図において、試験プログラム41は、起動されると
前処理部46でベクトル演算器23を初期化しくステッ
プ52)、試験命令42と試験データ43と圧縮された
期待値44を外部記憶装置27から主記憶装置25にロ
ードする(ステップ53)0次に、ベクトル演算器23
を起動しくステップ54)、その実行結果を実行結果圧
縮部45でワード単位に加算することにより最終的に実
行結果を1ワードに圧縮する(ステップ55)。そして
、予め同様にワード単位に加算することにより1ワード
に圧縮されている期待値44と1ワードに圧縮された実
行結果を比較部47で比較し、良否を判定を行う(ステ
ップ56)。
In FIG. 5, when the test program 41 is started, the preprocessor 46 initializes the vector calculator 23 (step 52), and stores the test command 42, test data 43, and compressed expected value 44 in the external storage device 27. 0 to the main storage device 25 (step 53). Next, the vector arithmetic unit 23
is started (step 54), and the execution result is added word by word in the execution result compression section 45, thereby finally compressing the execution result into one word (step 55). Then, the comparison unit 47 compares the expected value 44, which has been compressed into one word by adding each word in advance, with the execution result, which has been compressed into one word, to determine whether it is good or bad (step 56).

このように比較部47までの動作については、試験プロ
グラム11の動作と同様である。
In this way, the operations up to the comparison section 47 are similar to those of the test program 11.

比較部47で不良を検出すると、ベクトル演算器23の
動作をスカラー演算器22の命令シミュレーションする
ように作られたシミュレーション部48で試験命令42
と試験データ43を用いて正解値を求め、この正解値と
ベクトル演算器2つの実行結果を比較出力する(ステッ
プ57)。
When the comparator 47 detects a defect, the simulation unit 48, which is designed to simulate the operation of the vector arithmetic unit 23 with the instructions of the scalar arithmetic unit 22, uses the test instruction 42.
A correct value is obtained using the test data 43 and the correct value is compared and outputted with the execution results of the two vector computing units (step 57).

また、試験プログラム11.41において、複数の試験
命令、試験データ、期待値を持ち、ロードから良否判定
まで繰り返し実行することも可能である。
Further, the test program 11.41 can have a plurality of test commands, test data, and expected values, and can be repeatedly executed from loading to pass/fail determination.

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

以上説明したように本発明によれば、期待値を圧縮して
保持することにより外部記憶装置の容量を小さくできる
という効果がある。
As explained above, according to the present invention, the capacity of the external storage device can be reduced by compressing and retaining the expected value.

特に、ベクトル演算器における試験のように試験データ
、期待値を大量に持つ必要のある試験では効果が大きい
This is particularly effective in tests that require a large amount of test data and expected values, such as tests on vector arithmetic units.

また、試験時間の多くは、外部装置からの試験データ、
期待値のロードに必要なものであり、試験時間を短縮で
きるという効果がある。
Also, much of the test time is spent on test data from external devices,
This is necessary for loading expected values, and has the effect of shortening test time.

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

第1図は本発明の一実施例の試験プログラムの構成図、
第2図は第1図の試験プログラムが適用される情報処理
装置の一実施例のブロック図、第3図、第4図は本発明
の第二の実施例の試験プログラムの構成図、第5図は第
4図の試験プログラムの動作の概略を示すフローチャー
トである。 11.41・・・試験プログラム、12.42・・・試
験命令、13.43・・・試験データ、14゜44・・
・圧縮された期待値、15.45・・・実行結果圧縮部
、16.46・・・前処理部、17.47・・・比較部
、21・・・情報処理装置、22・・・スカラー演算器
、23・・・ベクトル演算器、24・・・システム制御
装置、25・・・主記憶装置、26・・・入出力制御装
置、27・・・外部記憶装置、48・・・シミュレーシ
ョン部。
FIG. 1 is a configuration diagram of a test program according to an embodiment of the present invention.
FIG. 2 is a block diagram of an embodiment of an information processing device to which the test program shown in FIG. 1 is applied; FIGS. This figure is a flowchart showing an outline of the operation of the test program of FIG. 4. 11.41...Test program, 12.42...Test command, 13.43...Test data, 14°44...
- Compressed expected value, 15.45... Execution result compression section, 16.46... Preprocessing section, 17.47... Comparison section, 21... Information processing device, 22... Scalar Arithmetic unit, 23... Vector computing unit, 24... System control device, 25... Main storage device, 26... Input/output control device, 27... External storage device, 48... Simulation section .

Claims (1)

【特許請求の範囲】 1、ベクトル演算器とスカラー演算器とを含む情報処理
装置における前記スカラー演算器上で試験制御を行い、
前記ベクトル演算器に対する一つ以上の試験命令と該試
験命令で使用する試験データと演算結果の期待値とを有
する前記ベクトル演算器の試験方式において、 実行結果を圧縮する実行結果圧縮機構と前記演算結果の
期待値が前記実行結果圧縮機構と同じアルゴリズムであ
らかじめ圧縮された期待値とを有し、前記実行結果圧縮
機構で圧縮された実行結果と前記圧縮された演算結果の
期待値とを比較することにより前記ベクトル演算器の試
験を行うことを特徴とする情報処理装置の試験方式。 2、請求項1記載の情報処理装置の試験方式において、 不良を検出した場合に、前記試験命令をスカラー演算器
上の命令でシミュレーションするシミュレーション機構
を有し、前記シミュレーション機構により正解値を求め
、該正解値と前記ベクトル演算器の実行結果とを比較す
ることにより不良の詳細な解析を行うことを特徴とする
情報処理装置の試験方式。
[Claims] 1. Performing test control on the scalar arithmetic unit in an information processing device including a vector arithmetic unit and a scalar arithmetic unit,
In the test method for the vector computing unit, the vector computing unit has one or more test instructions for the vector computing unit, test data used in the test instructions, and an expected value of the computed result, comprising: an execution result compression mechanism that compresses the execution result; and the computing unit. The expected value of the result has an expected value compressed in advance using the same algorithm as the execution result compression mechanism, and the execution result compressed by the execution result compression mechanism is compared with the expected value of the compressed operation result. A test method for an information processing device, characterized in that the vector arithmetic unit is tested by: 2. The testing method for an information processing device according to claim 1, further comprising a simulation mechanism for simulating the test instruction with an instruction on a scalar arithmetic unit when a defect is detected, and calculating a correct value by the simulation mechanism; A testing method for an information processing device, characterized in that a detailed analysis of a defect is performed by comparing the correct value with an execution result of the vector arithmetic unit.
JP26977990A 1990-10-08 1990-10-08 Testing system for information processor Pending JPH04148274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26977990A JPH04148274A (en) 1990-10-08 1990-10-08 Testing system for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26977990A JPH04148274A (en) 1990-10-08 1990-10-08 Testing system for information processor

Publications (1)

Publication Number Publication Date
JPH04148274A true JPH04148274A (en) 1992-05-21

Family

ID=17477044

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26977990A Pending JPH04148274A (en) 1990-10-08 1990-10-08 Testing system for information processor

Country Status (1)

Country Link
JP (1) JPH04148274A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218277A (en) * 2009-03-17 2010-09-30 Toyota Motor Corp Failure diagnostic system, electronic control unit, failure diagnostic method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218277A (en) * 2009-03-17 2010-09-30 Toyota Motor Corp Failure diagnostic system, electronic control unit, failure diagnostic method

Similar Documents

Publication Publication Date Title
US5347647A (en) Method of predicting the performance of an emulated computer system
US20030208710A1 (en) Method and apparatus for determining the failing operation of a device-under-test
CN107391334A (en) Digital simulation method based on complete autonomous Row control
US6226406B1 (en) Method and apparatus for hybrid sampling image verification
JPH04148274A (en) Testing system for information processor
US6021359A (en) Method and apparatus for determining an inspection schedule for a production line
CN110609786A (en) Software testing method and device, computer equipment and storage medium
JPH01297738A (en) Computer testing device
JPH06301570A (en) Emulator with normality checking function for test program
JP2001051864A (en) Test conducting system for data processor
JP4569011B2 (en) Programmable controller and peripheral device thereof
JP2549655B2 (en) Testing equipment
JP3087282B2 (en) Software development support equipment
JPH03263134A (en) Test processing system for test processor
JPS63300330A (en) Debugging method for firmware
JPH0231245A (en) Program test system
CN111324523A (en) Data processing method and device
Bojanowicz How faults can be simulated in self-testable VLSI digital circuits?
JPH05108407A (en) System for debugging computer program
JPS6299837A (en) Check system for input and output processor
JPH11110998A (en) Ic testing device
JPH0895817A (en) Method for testing information processor
JPH0619631A (en) Initialization system for storage device
JPH01304559A (en) Input/output function test system
JPH06138911A (en) Programming device