JPH03294932A - Computer diagnostic device - Google Patents

Computer diagnostic device

Info

Publication number
JPH03294932A
JPH03294932A JP2096804A JP9680490A JPH03294932A JP H03294932 A JPH03294932 A JP H03294932A JP 2096804 A JP2096804 A JP 2096804A JP 9680490 A JP9680490 A JP 9680490A JP H03294932 A JPH03294932 A JP H03294932A
Authority
JP
Japan
Prior art keywords
result
computer
inference
diagnosed
comparison
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
JP2096804A
Other languages
Japanese (ja)
Inventor
Akira Genma
源馬 顕
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2096804A priority Critical patent/JPH03294932A/en
Publication of JPH03294932A publication Critical patent/JPH03294932A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To eliminate the need for the development of a computer diagnostic program by comparing the result of execution of a computer to be diagnosed with the expected value of a result obtained by inferring a logical expression for showing the transfer expression of a register of a microprogram of a computer with regard to an arbitrary instruction, and displaying its result on a screen. CONSTITUTION:An inference means 9 infers a logical expression for showing the transfer expression of a register of a microprogram of a computer 1 to be diagnosed, outputs the result of inference, and on the other hand, the computer 1 to be diagnosed outputs the result of execution by setting input data as an instruction or data. The result of inference of the inference means 9 and the result of execution of the computer 1 to be diagnosed are transmitted to a comparing device 11, respectively. The comparing device 11 compares this result of inference with the result of execution, outputs the result of comparison to a result display device 5, and the result display device 5 displays this result of comparison on the screen. In such a manner, an arbitrary pattern can be tested and the development of a computer diagnostic program is eliminated.

Description

【発明の詳細な説明】 [産業上の利用分野コ この発明は、コンピュータが正しく動作するかどうか診
断するコンピュータ診断装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a computer diagnostic device for diagnosing whether a computer is operating correctly.

[従来の技術] コンピュータが正しく動作するかどうか診断するために
、従来は第2図に示すような構成の装置が使用されてい
る。図において、(1)は被診断コンビ、−1,(2)
itc PU、(3)は、+!モ’J、(4)LLI/
Oボード、(5)は結果表示装置、(13)はマイクロ
コンピュータである。
[Prior Art] Conventionally, a device having a configuration as shown in FIG. 2 has been used to diagnose whether a computer is operating properly. In the figure, (1) is the diagnosed combination, -1, (2)
itc PU, (3) is +! Mo'J, (4) LLI/
O board, (5) is a result display device, and (13) is a microcomputer.

次に動作について説明する。マイクロコンピュータ(1
3)からI/Oボード(4)を経由してメモリ(3)に
コンピュータ診断プログラムをローディングする。次に
マイクロコンピュータ(13)がI/Oボード(4)経
由でCP U (2)にプログラム実行スタート信号を
送信し、コンピュータ診断プログラムを起動する。コン
ピュータ診断プログラムはCPU(2)の実行結果とメ
モη上にロードされたプログラム上の期待値とを比較し
た結果をI/Oボード(4)を介して、マイクロコンピ
ュータ(13)へ送信する。マイクロコンピュータ(1
3)は結果を表示可能な型式に変換して、結果表示装置
(5)へ送信する結果表示装置(5)は結果を画面上に
表示し、被診断コンピュータ(1)の動作を診断してい
た。
Next, the operation will be explained. Microcomputer (1
3) loads a computer diagnostic program into the memory (3) via the I/O board (4). Next, the microcomputer (13) sends a program execution start signal to the CPU (2) via the I/O board (4) to start the computer diagnostic program. The computer diagnostic program compares the execution result of the CPU (2) with the expected value on the program loaded onto the memory η and transmits the result to the microcomputer (13) via the I/O board (4). Microcomputer (1
3) converts the results into a displayable format and sends them to the result display device (5). The result display device (5) displays the results on the screen and diagnoses the operation of the computer to be diagnosed (1). Ta.

[発明が解決しようとする課題] 従来のコンピュータ診断装置では7診断プログラムを実
行することにより診断を行っているので予め決めたパタ
ーンの試験しかできないという間a点、及び、コンピュ
ータのマイクロプログラムのレジスタの転送表現に従っ
た期待値を作成して予め診断プログラム内に組み込んで
おかなくてはならないという問題点があった。
[Problems to be Solved by the Invention] Conventional computer diagnostic equipment performs diagnosis by running seven diagnostic programs, so only a predetermined pattern can be tested. There was a problem in that the expected value according to the transfer expression had to be created and incorporated into the diagnostic program in advance.

[課題を解決するための手段] この発明に係わるコンピュータ診断装置は、マイクロプ
ログラムのレジスタの転送表現等のコンピュータの演算
方式を論理式として蓄えたルールベースメモリと、ルー
ルベースメモリ上の論理式を入力データに対応して推論
する推論手段と、推論結果を出力するI/Oボードと、
そのI/Oボードが出力した推論結果と被診断コンピュ
ータの実行結果を比較する比較装置を設けたものである
[作用] この発明においては、任意の命令について被診断コンピ
ュータの実行結果とコンピュータのマイクロプログラム
のレジスタの転送表現を表した論理式を推論した結果の
期待値と比較し、その結果を画面上に表示することによ
って、コンピュータの診断を行う。
[Means for Solving the Problems] A computer diagnostic device according to the present invention includes a rule base memory that stores computer arithmetic methods such as register transfer expressions of microprograms as logical expressions, and a rule base memory that stores logical expressions on the rule base memory. an inference means for inference corresponding to input data; an I/O board for outputting an inference result;
A comparison device is provided to compare the inference result output by the I/O board with the execution result of the computer to be diagnosed.[Operation] In this invention, the execution result of the computer to be diagnosed and the computer's micro A computer is diagnosed by comparing a logical expression representing a register transfer expression of a program with an expected value as a result of inference, and displaying the result on the screen.

[実施例] 第1図はこの発明による装置の構成を示す図であり、(
1)〜(5)は上記従来装置と同一または相当部分を示
す。 (6)は被診断コンピュータが実行し推論手段が
推論するための入力として用いるデータを発生するデー
タ発生装置、(7)は前記データ発生装置を起動するた
めに用いるデータ発生制御装置、(8)はマイクロプロ
グラムのレジスタの転送表現等のコンピュータの演算方
式を論理式として蓄えたルールベースメモリ、 (9)
はルールベースメモリ上の論理式を推論する推論手段、
 (IQ)は前記推論手段の推論結果を出力するための
I/Oボード(11)は被診断コンピュータの実行結果
と前記I/Oボードが出力した推論結果を比較する比較
装置(12)は本発明に係わるコンピュータ診断装置と
被診断コンピュータを接続するために用いるコネクタで
ある。
[Example] FIG. 1 is a diagram showing the configuration of an apparatus according to the present invention.
1) to (5) indicate the same or equivalent parts as the above conventional device. (6) is a data generation device that generates data that is executed by the computer to be diagnosed and used as input for inference by the inference means; (7) is a data generation control device that is used to start the data generation device; (8) is a rule-based memory that stores computer calculation methods such as microprogram register transfer expressions as logical expressions, (9)
is an inference means for inferring logical formulas on rule-based memory,
(IQ) is an I/O board (11) for outputting the inference result of the inference means, and a comparison device (12) for comparing the execution result of the computer to be diagnosed with the inference result output by the I/O board is the main unit. This is a connector used to connect a computer diagnostic device according to the invention and a computer to be diagnosed.

次に動作について説明する。データ発生制御装置(7)
がデータ発生装置(6)を起動する。データ発生装置(
6)は起動されると、被診断コンピュータの全メモリワ
ード数以内のランダムなデータ、被診断コンピュータの
入出力命令からなるデータ、及び、最後に被診断コンピ
ュータを停止させる命令を含むデータを発生する。前記
データは推論手段(9)へ送信される。また、前記デー
タは被診断コンピュータ(1)へも送信される。前記推
論手段は被診断コンピュータのマイクロプログラムのレ
ジスタの転送表現等の演算方式を表すルールが蓄えられ
たルールベースメモリ(8)上の論理式を前記入力デー
タに対応して推論し、推論結果を出力する一方、被診断
コンピュータは前記入力データを命令あるいはデータと
して実行結果を出力する。前記推論手段の推論結果はI
/Oボード(/O)を介して比較装置(11)へ送信さ
れる。一方、前記被診断コンピュータの実行結果も前記
比較装置に送信される。前記比較装置は前記推論結果及
び実行結果を比較して、結果表示装置(5)へ比較結果
を出力する。前記結果表示装置は前記比較結果を画面上
に表示する。
Next, the operation will be explained. Data generation control device (7)
starts the data generator (6). Data generator (
When activated, 6) generates random data within the total number of memory words of the computer to be diagnosed, data consisting of input/output instructions of the computer to be diagnosed, and finally data including an instruction to stop the computer to be diagnosed. . Said data is sent to the inference means (9). The data is also sent to the computer to be diagnosed (1). The inference means infers a logical formula stored in a rule base memory (8) in which rules representing arithmetic methods such as transfer expressions of registers of a microprogram of a computer to be diagnosed are stored in accordance with the input data, and outputs an inference result. On the other hand, the computer to be diagnosed outputs an execution result using the input data as a command or data. The inference result of the inference means is I
It is sent to the comparison device (11) via the /O board (/O). On the other hand, the execution results of the computer to be diagnosed are also transmitted to the comparison device. The comparison device compares the inference result and the execution result and outputs the comparison result to the result display device (5). The result display device displays the comparison results on the screen.

[発明の効果] 以上のように、この発明によれば、任意のパターンの試
験ができるし、コンピュータ診断プログラムの開発が不
要になるという効果を有する。
[Effects of the Invention] As described above, according to the present invention, an arbitrary pattern can be tested, and there is no need to develop a computer diagnostic program.

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

第1図はこの発明による装置の構成を示す同第2図は従
来装置の構成を示す図である。(1)は被診断コンピュ
ータ、(2)はCPU、(3)はメモリ(4)はI/O
ボード、(5)は結果表示装置、(6)はデータ発生装
置、(7)はデータ発生制御装置、(8)はルールベー
スメモリ、(9)は推論手段、 (/O)は推論結果を
出力するために用いるI/Oボード、 (/Oは比較装
置、 (12)は本発明に係わるコンピュータ診断装置
と被診断コンピー・−夕を接続するためのコネクタ、 
 (13)はマイクロコンピュータを示す。 なお2図中、同一符号は、同一または相当部分を示す。
FIG. 1 shows the configuration of a device according to the present invention, and FIG. 2 shows the configuration of a conventional device. (1) is the computer to be diagnosed, (2) is the CPU, (3) is the memory (4) is the I/O
board, (5) is a result display device, (6) is a data generation device, (7) is a data generation control device, (8) is a rule base memory, (9) is an inference means, (/O) is an inference result I/O board used for output, (/O is a comparison device, (12) is a connector for connecting the computer diagnostic device according to the present invention and the computer to be diagnosed,
(13) indicates a microcomputer. Note that the same reference numerals in the two figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 制御信号を発生するデータ発生制御装置、前記データ発
生制御装置から制御信号を入力し、データを発生するデ
ータ発生装置、マイクロプログラムのレジスタの転送表
現等のコンピュータの演算方式を論理式として蓄えたル
ールベースメモリ、前記データ発生装置からデータを入
力し、前記ルールベースメモリ上のルールに基づいた入
力データに対応する推論を行う推論手段、前記推論手段
の推論結果を出力するI/Oボード、前記推論結果を出
力するI/Oボードと被診断コンピュータから入力した
推論結果と実行結果を比較し比較結果を出力する比較装
置、前記比較装置から比較結果を入力し結果を表示する
結果表示装置、及び被診断コンピュータと前記比較装置
及び前記データ発生装置とを接続するためのコネクタか
ら構成されるコンピュータ診断装置。
A data generation control device that generates control signals, a data generation device that receives control signals from the data generation control device and generates data, and rules that store computer calculation methods such as register transfer expressions of microprograms as logical expressions. a base memory, an inference unit that inputs data from the data generation device and performs inference corresponding to the input data based on rules on the rule base memory, an I/O board that outputs the inference result of the inference unit, and the inference A comparison device that compares the inference results and execution results input from an I/O board that outputs the results and the computer to be diagnosed and outputs the comparison results, a result display device that inputs the comparison results from the comparison device and displays the results, and A computer diagnostic device comprising a connector for connecting a diagnostic computer to the comparison device and the data generation device.
JP2096804A 1990-04-12 1990-04-12 Computer diagnostic device Pending JPH03294932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2096804A JPH03294932A (en) 1990-04-12 1990-04-12 Computer diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2096804A JPH03294932A (en) 1990-04-12 1990-04-12 Computer diagnostic device

Publications (1)

Publication Number Publication Date
JPH03294932A true JPH03294932A (en) 1991-12-26

Family

ID=14174806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2096804A Pending JPH03294932A (en) 1990-04-12 1990-04-12 Computer diagnostic device

Country Status (1)

Country Link
JP (1) JPH03294932A (en)

Similar Documents

Publication Publication Date Title
JP4564110B2 (en) Computer-implemented method and signal processor simulator for simulating the operation of dual processor circuits
JPH0571974B2 (en)
JPH03294932A (en) Computer diagnostic device
JP2001195275A (en) Program execution system for semiconductor testing device
JP2924392B2 (en) Microcomputer system
JPS6045812A (en) Microcomputer control system for high frequency heating device
JPS6028985Y2 (en) Fault diagnosis display device
JP2887515B2 (en) Recorder simulator
JPS6014351A (en) Automatic test system
JP3124846B2 (en) Air conditioning diagnostic system
JPH02244232A (en) Information processor
Anderson et al. Integrated FASTBUS, VME and CAMAC diagnostic software at Fermilab
JPH096641A (en) Information processor
JPH02122336A (en) Controllability diagnostic device
JPH0281235A (en) Evaluation chip
JPH05204792A (en) Self-diagnostic display device
JPH01126740A (en) Pseudo circuit
JPS62261970A (en) Diagnosis device
JPS58121461A (en) Debugging device for diagnostic program
JPS61233840A (en) Diagnosis system of display processor
JPH0844583A (en) Diagnostic system for information processor
JPS60114943A (en) Self diagnosis circuit
JPH0496143A (en) Random test reproduction processing system and diagnostic system
JPH021032A (en) Emulation chip
JPS629939B2 (en)