JPH01213724A - Testing method for electronic computer circuit - Google Patents

Testing method for electronic computer circuit

Info

Publication number
JPH01213724A
JPH01213724A JP63037482A JP3748288A JPH01213724A JP H01213724 A JPH01213724 A JP H01213724A JP 63037482 A JP63037482 A JP 63037482A JP 3748288 A JP3748288 A JP 3748288A JP H01213724 A JPH01213724 A JP H01213724A
Authority
JP
Japan
Prior art keywords
circuit
electronic computer
service processor
test program
latch
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
JP63037482A
Other languages
Japanese (ja)
Inventor
Yukio Kobayashi
幸夫 小林
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 JP63037482A priority Critical patent/JPH01213724A/en
Publication of JPH01213724A publication Critical patent/JPH01213724A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To reduce the number of objects where analysis of trouble positions is necessary by executing a test program to confirm the normal operation of a function circuit unit after confirming that all latch circuits are normal. CONSTITUTION:A test program 40 which executes the test of latch circuits is stored in a storage device 35 of a service processor system 32. A service processor 33 reads this test program 40, and an interface device (CCI) 34 issues a command according with contents of the command to an electronic computer system 30 to confirm that all latch circuits are normal. Thereafter, the service processor 33 executes the test program to confirm that electronic computer systems 31 and 31' are normally operated.

Description

【発明の詳細な説明】 (概要) 電子計算機回路の試験方法に関し、 短時間で電子計算機回路の試験を行なうことができ、且
つ不良なラッチ回路の特定を容易に行なうことができる
ようにすることを目的として、電子計算機回路の状態を
試験する電子計算機回路の試験方法を、サービスプロセ
ッサで全てのラッチ回路の状態を確認して、全てのラッ
チ回路が正常であることを確認し、その後試験プログラ
ムを実行して、機能回路単位が正常に作動することを確
認するように構成する。
[Detailed Description of the Invention] (Summary) To provide a method for testing an electronic computer circuit, which allows the electronic computer circuit to be tested in a short time and to easily identify a defective latch circuit. The test method for electronic computer circuits is to check the status of all latch circuits with a service processor, confirm that all latch circuits are normal, and then run the test program. to confirm that the functional circuit unit operates normally.

(産業上の利用分野) 本発明は電子計算機回路の試験方法に関するものである
(Industrial Application Field) The present invention relates to a method for testing electronic computer circuits.

(従来の技術) 一般に電子計算機の出荷前においては、電子計算機の回
路が正常に機能することを確認する試験を行なうように
している。従来このような電子計算機回路の試験方法と
して次のようなものがある。これは、電子計算機のプロ
セッサでテストプログラムを実行して、計算機の各種機
能が正常に動作するかどうかを確かめるものである。こ
れは計算機のメインのプロセッサだけではなく、サービ
スプロセッサからも行なわれることがある。
(Prior Art) Generally, before a computer is shipped, a test is conducted to confirm that the circuit of the computer functions normally. Conventional testing methods for such electronic computer circuits include the following. This involves running a test program on the computer's processor to check whether the various functions of the computer are working properly. This may be done not only by the computer's main processor, but also by the service processor.

このような電子計算機回路の試験方法を第3図に基づい
て説明する。同図において1は電子計算機システム、2
は中央制御装置(CPU)の制御装置、3は主記憶装置
、4はCPUの例えば加算器乗算器のようなラッチ回路
りやゲートGの組合せからなる機能回路単位、4′同様
の乗算器のような機能回路単位、4パは他の機能回路単
位、5はサービスプロセッサシステム、6はサービスプ
ロセッサ、7は電子計算機システム1とサービスプロセ
ッサシステム5とのインターフェース装置(CCI)、
8はサービスプロセッサの記憶装置を示している。
A method for testing such an electronic computer circuit will be explained based on FIG. 3. In the figure, 1 is a computer system, 2
is a control unit of a central control unit (CPU), 3 is a main memory, 4 is a functional circuit unit of the CPU consisting of a combination of latch circuits such as adders and multipliers and gates G, and 4' is a similar multiplier. 4 is a functional circuit unit, 4 is another functional circuit unit, 5 is a service processor system, 6 is a service processor, 7 is an interface device (CCI) between the computer system 1 and the service processor system 5,
8 indicates a storage device of the service processor.

このよう構成を有する電子計算機において、装置の診断
を実行するときには先ず、主記憶装置3上にテストプロ
グラム群9が用意され、このテストプログラム群9が起
動される。テストプログラムはCPU処理可能な命令で
構成されているのでCPUの制御回路で次々に取り出さ
れCPUの機能回路単位により処理動作が実行される。
In an electronic computer having such a configuration, when a device is to be diagnosed, a test program group 9 is first prepared on the main storage device 3, and this test program group 9 is activated. Since the test program is composed of instructions that can be processed by the CPU, the test program is taken out one after another by the control circuit of the CPU, and processing operations are executed by each functional circuit unit of the CPU.

ここでテストプログラムは−又は複数の命令が実行され
る毎にCPUの制御回路及び各機能単位が正常に機能し
ているかどうかを、結果と予め用意している期待値と比
較することによってチエツクする。即ち結果と期待値と
一致しないときにはCPUの制御装置またはCPUの機
能単位に障害があるものと判断するのである。
Here, the test program checks whether the CPU control circuit and each functional unit are functioning normally each time a plurality of instructions are executed by comparing the results with expected values prepared in advance. . That is, when the result does not match the expected value, it is determined that there is a failure in the CPU control device or the functional unit of the CPU.

又サービスプロセッサシステム5から試験を実行すると
きも上記の方法と略同様でありサービスプロセッサの記
憶装置8上のテストプログラム群10をサービスプロセ
ッサ6で取り出しCCl7を経由してCPUの制御回路
2に送出され、CPUの機能単位4,4”、4”°によ
って実行処理され、その結果と期待値とを比較して回路
が正常に作動するかどうかを診断するのである。
Also, when a test is executed from the service processor system 5, the method is almost the same as above, and the test program group 10 on the storage device 8 of the service processor is taken out by the service processor 6 and sent to the control circuit 2 of the CPU via the CCl 7. The results are then executed by the functional units 4, 4'', 4'' of the CPU, and the results are compared with expected values to diagnose whether the circuit is operating normally.

(発明が解決しようとする課題) ところで上述のような従来の電子計算機回路の試験方法
によると、各機能回路単位の試験は各機能回路単位毎に
夫々異なるプログラムを実行しなければならず、試験に
非常に時間がかかるという問題がある。また計算機のど
の機能回路単位部分の、どのラッチ回路が不良であると
特定をするためには、更にこれらの結果を解析しなけれ
ばならず、非常に繁雑である。
(Problem to be Solved by the Invention) According to the conventional computer circuit testing method as described above, testing of each functional circuit unit requires executing a different program for each functional circuit unit. The problem is that it takes a lot of time. Furthermore, in order to identify which latch circuit in which functional circuit unit part of the computer is defective, these results must be further analyzed, which is very complicated.

そこで、本発明は、短い時間で電子計算機回路の試験を
行なうことができ、且つ不良ラッチ回路の特定を容易に
行なうことのできる電子計算機回路の試験方法を提供す
ることを目的とする。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a method for testing an electronic computer circuit that can test the electronic computer circuit in a short period of time and that can easily identify a defective latch circuit.

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

本発明において上記の課題を解決するための手段は、第
1図に示すように、電子計算機回路の状態を試験する電
子計算機回路の試験方法において、サービスプロセッサ
で全てのラッチ回路の状態を確認21して、全てのラッ
チ回路が正常であることを確認22し、その後試験プロ
グラムを実行22して、機能回路単位が正常に作動する
ことを確認23することである。
Means for solving the above problems in the present invention is as shown in FIG. Then, it is confirmed 22 that all latch circuits are normal, and then a test program is executed 22 to confirm 23 that the functional circuit units operate normally.

(作用) 本発明にあっては、先ず電子計算機の全てのラッチ回路
の状態を試験するからラッチ回路の不良なものはこの段
階で発見することができる。そのため、その後の試験プ
ログラムの実行によらず不良を発見することができるた
め、電子計算機回路の試験を効率よく実行することがで
きる。
(Function) In the present invention, since the states of all latch circuits of the electronic computer are tested first, defective latch circuits can be discovered at this stage. Therefore, it is possible to discover defects without depending on the subsequent execution of the test program, and therefore it is possible to efficiently test electronic computer circuits.

(実施例) 以下本発明に係る電子計算機回路の試験方法の実施例を
図面に基づいて説明する。
(Example) Hereinafter, an example of the method for testing an electronic computer circuit according to the present invention will be described based on the drawings.

第2図は本発明に係る電子計算機回路の試験方法の実施
例を示すものである。本実施例が適用される電子計算機
システムは第2図に示すような構成を有している。同図
において、30は電子計算機システム、31.31′は
CPUの例えば加算器乗算器のような機能回路単位、3
2はサービスプロセッサシステム、33はサービスプロ
セッサ、34は電子計算機システムとサービスプロセッ
サシステムとのインターフェース装置(CCI)、35
はサービスプロセッサの記憶装置を示している。また、
36はCPUのラッチ回路を設計時に設定した「0」ま
たは「1」の状態にセットするスキャンインリセットコ
マンドを発生するスキャンインリセット制御回路、37
はCPUのラッチ回路の状態を設計時に設定した状態か
ら反転させるスキャンインコマンドを発生するスキャン
イン制御回路、38はスキャンインリセットコマンド及
びスキャンインコマンドを発生するラッチ回路のアドレ
スを次々と指定するキャンアドレスデータレジスタ、3
9はCPUのラッチ回路の状態を読出すスキャンアウト
コマンドを発生するスキャンアウト制御回路を示してい
る。
FIG. 2 shows an embodiment of the method for testing an electronic computer circuit according to the present invention. The electronic computer system to which this embodiment is applied has a configuration as shown in FIG. In the same figure, 30 is an electronic computer system, 31.31' is a CPU functional circuit unit such as an adder/multiplier, and 3
2 is a service processor system, 33 is a service processor, 34 is an interface device (CCI) between the computer system and the service processor system, 35
indicates the storage device of the service processor. Also,
36 is a scan-in reset control circuit that generates a scan-in reset command to set the latch circuit of the CPU to the "0" or "1" state set at the time of design; 37;
38 is a scan-in control circuit that generates a scan-in command to invert the state of the latch circuit of the CPU from the state set at the time of design, and 38 is a scan-in control circuit that sequentially specifies addresses of the latch circuit that generates scan-in reset commands and scan-in commands. Address data register, 3
Reference numeral 9 indicates a scan-out control circuit that generates a scan-out command to read the state of the latch circuit of the CPU.

ここで電子計算機回路内のラッチ回路はサービスプロセ
ッサ33と電子計算機回路との間にあるインタフェース
装置(CCI)34のこれらの制御回路等36〜39の
機能によりサービスプロセッサシステム32からその状
態を操作することができる。この操作はCCIコマンド
指令によって行なわれるものである。
Here, the latch circuit in the computer circuit operates its state from the service processor system 32 by the functions of these control circuits 36 to 39 of an interface device (CCI) 34 located between the service processor 33 and the computer circuit. be able to. This operation is performed by a CCI command.

そしてラッチ回路の試験を行なうには、サービスプロセ
ッサの記憶装置35にこのCCIコマンドによりラッチ
回路の試験を実行するテストプログラム40を格納して
、このテストプログラム40をサービスプロセッサ33
が読み取り、CCIコマンドをサービスプロセッサ33
がCCl34に発行し、CCl34はそのコマンドの内
容に従った指令を電子計算機システム30に発行する。
To test the latch circuit, a test program 40 for testing the latch circuit using this CCI command is stored in the storage device 35 of the service processor, and this test program 40 is transferred to the service processor 33.
reads the CCI command and sends it to the service processor 33.
issues the command to the CCl 34, and the CCl 34 issues a command to the computer system 30 according to the contents of the command.

このテストプログラムは第3図に示すフローチャートに
従って作動する。
This test program operates according to the flowchart shown in FIG.

即ち、まずスキャンアドレスデータレジスタ38を初期
値に設定しくSl)、そのアドレスのラッチ回路にスキ
ャンインリセットをかける(S2)。そしてこのアドレ
スのラッチ回路にスキャンアウトをかけ、この出力なA
に記録する(S3)。この作業を全てのアドレスのラッ
チ回路に実行しく54)(S5)、全てのアドレスの出
力がAに格納されたら、予め用意した期待値とを比較し
て(S6)(S7)不一致の個所があればこのラッチ回
路のアドレスを記録する(S8)。全てのアドレスのラ
ッチ回路の出力が、期待値と一致している場合には、上
述の場合と同様に次に全てのアドレスのラッチ回路にス
キャンインをかけて(S9)〜(313)、Bに記録さ
れた全てのアドレスのラッチ回路の出力と期待値とを比
較して(S14)(S15)、不一致の場合には不良ラ
ッチ回路のアドレスを記録する(S16)。そして全て
のアドレス回路において出力と期待値とが一致した場合
には、記録Aと記録Bとを比較(S17)(318)す
る。これらの値は正常の場合には各アドレスにおいて不
一致となるから、−数個所があればそのアドレスを記録
しておき(S19)、全てのアドレスにおいて不一致で
ある場合には電子計算機の全てのラッチ回路は正常であ
るとして(S20)このラッチ回路に関する試験は終了
する。
That is, first, the scan address data register 38 is set to an initial value (S1), and a scan-in reset is applied to the latch circuit at that address (S2). Then, scan out the latch circuit at this address, and this output will be A.
(S3). This operation is executed for the latch circuits of all addresses54) (S5), and when the output of all addresses is stored in A, it is compared with the expected value prepared in advance (S6) (S7). If so, the address of this latch circuit is recorded (S8). If the outputs of the latch circuits at all addresses match the expected values, scan-in is performed on the latch circuits at all addresses (S9) to (313) in the same way as in the case described above. The outputs of the latch circuits of all the addresses recorded in are compared with the expected values (S14) (S15), and if they do not match, the address of the defective latch circuit is recorded (S16). If the outputs and expected values match in all address circuits, records A and B are compared (S17) (318). If these values are normal, they do not match at each address, so if there are several addresses, record the addresses (S19), and if they do not match at all addresses, write all the latches of the computer. Assuming that the circuit is normal (S20), the test regarding this latch circuit ends.

この段階においてラッチ回路に障害が有る装置は、どの
アドレスに関して不良が発生しているかが記録されてい
るから、この記録を出力して参照することにより容易に
修理等の対処を行なうことができる。またこのラッチ回
路に関する試験は、例えばラッチ回路の数が10万個程
度であるときでも数秒で終了することができ、比較的短
時間で実行することができるものである。
At this stage, in a device with a latch circuit failure, the address at which the failure has occurred is recorded, so by outputting and referring to this record, it is possible to easily take measures such as repair. Further, this test regarding latch circuits can be completed in a few seconds even when the number of latch circuits is about 100,000, for example, and can be executed in a relatively short time.

そして本実施例において、次にこのラッチ回路の試験に
合格した装置にのみ従来と同様の試験プログラムによる
回路試験を実行する。この試験の詳細は従来で説明した
ものと同一であるので、その詳細な説明については省略
する。
In this embodiment, a circuit test using a conventional test program is performed only on devices that pass the latch circuit test. Since the details of this test are the same as those described previously, detailed explanation thereof will be omitted.

従って本実施例にかかる電子計算機回路の試験方法によ
れば、ラッチ回路の障害がある電子計算機は予めラッチ
回路の試験で、その障害を有するラッチのアドレスを知
ることができるから、迅速に対処をすることができる。
Therefore, according to the method for testing computer circuits according to the present embodiment, if an electronic computer has a latch circuit failure, the address of the latch with the failure can be known by testing the latch circuit in advance, so that measures can be taken quickly. can do.

また、次の試験プログラムを実行する電子計算機は、少
なくともラッチ回路に関しては障害は無いものであるか
ら、回路の故障が少ないものとなり、故障率が低いもの
を検査することとなる。よって回路の不良により実行し
なければならない故障個所の解析を行なう必要がある対
象が少なくなり、全体として試験の所要時間を短いもの
とすることができる。またラッチ回路に関する障害であ
れば前段のラッチ回路に関する試験で、その障害個所の
アドレスを短時間で正確に知ることができその対処も迅
速に実行することができる。
Furthermore, since the electronic computer that executes the next test program has no failures at least with respect to the latch circuit, circuits with fewer failures and low failure rates are tested. Therefore, the number of targets that need to be analyzed for faulty parts due to circuit defects is reduced, and the overall time required for testing can be shortened. Furthermore, if the fault is related to a latch circuit, the address of the fault can be accurately determined in a short time by testing the latch circuit at the previous stage, and countermeasures can be taken quickly.

尚、上記の実施例にあっては、ラッチ回路の出力を一旦
全てのアドレスについて格納して、それを期待値と比較
するようにしていたが、全てのラッチ回路の出力につい
て格納するのではなく、出力を得るたびに、そのアドレ
スの期待値と比較するようにしてもよい。又さらに、単
に同一アドレスのラッチ回路のスキャンインリセットの
出力とスキャンインに対する出力との排他的論理和をと
り、その値が「1」になることを確認するようにして試
験を行なうこともできる。この場合においては、上述し
た期待値を格納しておく必要はなくなり、サービスプロ
セッサの記憶装置を他の目的に使用することができるよ
うになる。
In the above embodiment, the output of the latch circuit is once stored for all addresses and compared with the expected value, but instead of storing the output of all the latch circuits. , each time the output is obtained, it may be compared with the expected value of that address. Furthermore, the test can be carried out by simply performing an exclusive OR of the scan-in reset output and the scan-in output of the latch circuit at the same address and confirming that the value becomes "1". . In this case, there is no need to store the above-mentioned expected value, and the storage device of the service processor can be used for other purposes.

(発明の効果) 以上説明したように、本発明によれば電子計算機回路の
試験方法を、サービスプロセッサで全てのラッチ回路の
状態を確認して、全てのラッチ回路が正常であることを
確認し、その後試験プログラムを実行して、機能回路単
位が正常に作動することを確認するようにしたから、ラ
ッチ回路の障害がある電子計算機は予めラッチ回路の試
験で、その障害を有するラッチを正確に知ることができ
るから迅速に対処をすることができる。また、次の試験
プログラムを実行する電子計算機は、少なくともラッチ
回路に関しては障害は無いものであるから、回路の故障
が少ないものとなり、故障率が低いものを検査すること
となる。よって回路の不良により実行しなければならな
い故障個所の解析を行なう必要がある対象が少なくなり
、全体として試験の所要時間を短いものとすることがで
きるという効果を奏する。
(Effects of the Invention) As explained above, according to the present invention, a method for testing an electronic computer circuit is such that a service processor checks the status of all latch circuits to confirm that all latch circuits are normal. After that, a test program is run to confirm that the functional circuit unit operates normally, so if a computer has a latch circuit failure, a latch circuit test is performed in advance to accurately identify the latch with the failure. Knowing this allows you to take prompt action. Furthermore, since the electronic computer that executes the next test program has no failures at least with respect to the latch circuit, circuits with fewer failures and low failure rates are tested. Therefore, the number of targets that need to be analyzed for faulty parts due to circuit defects is reduced, and the overall time required for testing can be shortened.

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

第1図は本発明の原理図、第2図は本発明に係る電子計
算機回路の試験方法の実施例のラッチの試験の状態を示
す図、第3図は試験プログラムによる電子計算機回路試
験方法の状態を示す図、第4図は第2図に示したラッチ
の試験方法を示すフローチャートを示す図である。 オζj6日月の原理itz 第1図 第 4 図 ■
Fig. 1 is a diagram showing the principle of the present invention, Fig. 2 is a diagram showing the state of a latch test in an embodiment of the computer circuit testing method according to the invention, and Fig. 3 is a diagram showing the computer circuit testing method using a test program. FIG. 4 is a flowchart showing a test method for the latch shown in FIG. 2. ζj6 day moon principle itz Figure 1 Figure 4 ■

Claims (1)

【特許請求の範囲】 電子計算機回路の状態を試験する電子計算機回路の試験
方法において、 サービスプロセッサで全てのラッチ回路の状態を確認(
21)して、 全てのラッチ回路が正常であることを確認 (22)し、 その後試験プログラムを実行(22)して、機能回路単
位が正常に作動することを確認 (23)することを特徴とする電子計算機回路の試験方
法。
[Claims] In an electronic computer circuit testing method for testing the state of an electronic computer circuit, a service processor checks the states of all latch circuits (
21), confirm that all latch circuits are normal (22), then run a test program (22), and confirm that the functional circuit units operate normally (23). Test method for electronic computer circuits.
JP63037482A 1988-02-22 1988-02-22 Testing method for electronic computer circuit Pending JPH01213724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63037482A JPH01213724A (en) 1988-02-22 1988-02-22 Testing method for electronic computer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63037482A JPH01213724A (en) 1988-02-22 1988-02-22 Testing method for electronic computer circuit

Publications (1)

Publication Number Publication Date
JPH01213724A true JPH01213724A (en) 1989-08-28

Family

ID=12498741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63037482A Pending JPH01213724A (en) 1988-02-22 1988-02-22 Testing method for electronic computer circuit

Country Status (1)

Country Link
JP (1) JPH01213724A (en)

Similar Documents

Publication Publication Date Title
EP0556826B1 (en) Microprocessor with self-diagnostic test function
JPS6229827B2 (en)
JPS6134639A (en) Electronic circuit tester
JPS59114649A (en) Inspection of processor
JPH04178580A (en) Self diagnostic device for semiconductor memory
JP2002323993A (en) Single chip microcomputer, testing method therefor and test program
JPH01213724A (en) Testing method for electronic computer circuit
TW202209118A (en) Chip, designing method and failure analysis method thereof
Alanen et al. Comparing software design for testability to hardware DFT and BIST
JP3210527B2 (en) Redundant computer system
JP2000322330A (en) Failure diagnosing circuit for storage device
JPS5951023B2 (en) Diagnostic method
JP2878014B2 (en) RAM test method
JPH0997194A (en) Data acquisition device for fail memory
JPH0238879A (en) Logical circuit
JPH04125753A (en) On-lined diagnostic system for memory
JP2833928B2 (en) Diagnostic initialization method
JPS6032213B2 (en) Logical unit diagnostic method
JP2004302727A (en) Operation check system of fpga
JPH02140678A (en) Testing method for integrated circuit
JPH096685A (en) Memory device and its error test method
JPH03226842A (en) Failure circuit block detecting system
JPH04318628A (en) Central processing unit
JPH01263738A (en) Information processing system
JPS63245751A (en) Method for testing main storage device