JPS628828B2 - - Google Patents

Info

Publication number
JPS628828B2
JPS628828B2 JP56048550A JP4855081A JPS628828B2 JP S628828 B2 JPS628828 B2 JP S628828B2 JP 56048550 A JP56048550 A JP 56048550A JP 4855081 A JP4855081 A JP 4855081A JP S628828 B2 JPS628828 B2 JP S628828B2
Authority
JP
Japan
Prior art keywords
fault
diagnostic
circuit
diagnosed
simulation
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
Application number
JP56048550A
Other languages
Japanese (ja)
Other versions
JPS57162044A (en
Inventor
Takeo Seki
Yasuo Yokoyama
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 JP56048550A priority Critical patent/JPS57162044A/en
Publication of JPS57162044A publication Critical patent/JPS57162044A/en
Publication of JPS628828B2 publication Critical patent/JPS628828B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は情報処理装置の診断辞書作成方法に関
するものであり、特に診断方法として機能診断を
用い、故障シミユレータを用いて診断辞書を作成
する場合に、診断対象回路を複数の個別ブロツク
に分割し、その個別ブロツク毎の故障発生範囲を
複数個に分割して、各々の故障発生範囲に対する
診断辞書を作成する場合の故障シミユレータの効
率的な使用方法を提供するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for creating a diagnostic dictionary for an information processing device, and in particular, when a functional diagnosis is used as the diagnostic method and a diagnostic dictionary is created using a fault simulator, the present invention relates to a method for creating a diagnostic dictionary for an information processing device. This invention provides an efficient method for using a fault simulator in the case where a fault simulator is divided into individual blocks, the fault range of each individual block is divided into a plurality of parts, and a diagnostic dictionary is created for each fault range. .

近年、あらゆる分野での情報処理装置の使用が
拡大し、その装置が故障した場合の社会的影響も
ますます大きくなつている。このため装置が故障
したときにはすばやくその故障位置を指摘する故
障診断技術も増々重要になつてきている。
2. Description of the Related Art In recent years, the use of information processing devices has expanded in all fields, and the social impact when such devices break down has become increasingly large. For this reason, failure diagnosis technology that quickly points out the location of a failure in a device is becoming increasingly important.

情報処理装置の故障診断方法の一つに機能診断
と呼ばれるものがあり、これはハードウエアの機
能を通常のプログラム走行時と同じように動作さ
せ、ハードウエアに故障が有るときと無いときの
ハードウエア状態を監視し、その結果から故障位
置を求めるという診断方法であり、この診断方法
による場合は、装置に付加される診断制御のため
のハードウエア量が少ないという利点がある。
One of the methods for diagnosing failures in information processing equipment is called function diagnosis, which involves operating the hardware functions in the same way as when running a normal program, and checking whether there is a hardware failure or not. This is a diagnostic method that monitors the wear condition and determines the location of the failure from the results. This diagnostic method has the advantage that the amount of hardware added to the device for diagnostic control is small.

機能診断を行うには ハードウエアの機能を十分にテストするため
の入力データ の入力データにより検出しうる故障群の対
応リストが必要であり、一般には、をテスト
入力、を診断辞書、とを合せたものを診
断データを呼ぶ。
In order to perform functional diagnosis, a correspondence list of failure groups that can be detected by the input data is required to fully test the functionality of the hardware. call the diagnostic data.

例えば中央処理装置CPUを機能診断する場
合、 メモリ、及び汎用レジスタあるいは保守診断
装置とCPUとのインターフエースにテスト入
力を設定する。
For example, when functionally diagnosing the central processing unit CPU, test inputs are set in the memory and general registers, or the interface between the maintenance/diagnosis device and the CPU.

複数に分割した回路の内の当該診断対象回路
(以降は、添字iを付与して特定する)に到達
するまでクロツクを歩進する。
The clock is incremented until it reaches the circuit to be diagnosed (hereinafter identified by adding a subscript i) among the circuits divided into a plurality of parts.

診断対象回路i内でクロツクを歩進する。 Step the clock in the circuit i to be diagnosed.

診断対象回路iの論理状態を監視する(以
下、このことをスキヤンアウトと記す)。
The logic state of the circuit i to be diagnosed is monitored (hereinafter, this will be referred to as scan-out).

論理状態が正常(無故障)論理状態と異なつ
ていれば診断辞書を索引する。
If the logical state is different from the normal (fault-free) logical state, the diagnostic dictionary is indexed.

という一連の手続きがあり、〜については診
断設計書が指定し、に必要な正常論理状態及び
診断辞書は〜の手続きをもとにハードウエア
シミユレーシヨンあるいはソフトウエア・シミユ
レーシヨンにより求められる。
There is a series of procedures, where ~ is specified by the diagnostic design document, and the normal logical state and diagnostic dictionary required for ~ are determined by hardware simulation or software simulation based on the ~ procedure.

一般に、正常論理状態と診断辞書を含めて診断
辞書とすることが多い。
In general, a diagnostic dictionary often includes a normal logic state and a diagnostic dictionary.

診断辞書の作成方法としては 正常な診断対象装置に擬似故障を挿入した状
態でテスト入力を与え、そのときの応答状態か
ら診断辞書を作成するハードウエア・シミユレ
ーシヨン方法。
A method for creating a diagnostic dictionary is a hardware simulation method in which a test input is applied to a normal device to be diagnosed with a simulated fault inserted, and a diagnostic dictionary is created from the response state at that time.

コンピユータシステム内に診断対象装置の回
路情報を展開し、テスト入力に対して故障シミ
ユレーシヨンを行い、そのテスト入力が検出す
る故障群を求めることから診断辞書を作成する
ソフトウエア・シミユレーシヨン方法があり、
大形の装置ではの方法を用いるのが一般的で
ある。
There is a software simulation method that creates a diagnostic dictionary by deploying circuit information of a device to be diagnosed in a computer system, performing fault simulation on test input, and finding a group of faults detected by the test input.
It is common to use this method for large-scale equipment.

以下では、の方法で診断辞書を作成するシス
テムを故障シミユレータと呼び、テスト入力に対
する論理演算処理を論理シミユレーシヨン、検出
故障の生成処理(故障演算処理)を故障シミユレ
ーシヨンと呼ぶことにする。
In the following, a system that creates a diagnostic dictionary using the method described above will be referred to as a fault simulator, logical calculation processing for test input will be referred to as logic simulation, and detection fault generation processing (fault calculation processing) will be referred to as fault simulation.

故障シミユレータの一般的な構成としては、ハ
ードウエアとして、中央処理装置、チヤネル制御
装置、記憶装置、入出力装置から成り、ソフトウ
エアとして、回路情報テーブル、故障リストテー
ブル、論理シミユレーシヨンプログラム、故障シ
ミユレーシヨンプログラム及びシミユレーシヨン
管理プログラムから成る。回路情報テーブルは
DA(設計自動化)システムからの素子情報、接
続情報と素子の論理値を格納する領域から成る。
故障リストテーブルは故障シミユレーシヨンプロ
グラムの処理結果である検出故障群が格納される
領域である。シミユレーシヨン管理プログラムは
自身以外のプログラム及びテーブルを用いて診断
設計者が診断実行及び診断辞書作成用に指定する
一連の手続きの処理を行うものである。
The general configuration of a fault simulator is that the hardware consists of a central processing unit, channel control unit, storage device, and input/output device, and the software includes a circuit information table, a fault list table, a logic simulation program, Consists of a failure simulation program and a simulation management program. The circuit information table is
It consists of an area that stores element information from the DA (Design Automation) system, connection information, and element logical values.
The fault list table is an area in which a group of detected faults that are the processing results of a fault simulation program are stored. The simulation management program uses programs and tables other than itself to process a series of procedures specified by the diagnostic designer for executing diagnosis and creating a diagnostic dictionary.

一般に、故障シミユレーシヨンを行うには厖大
な記憶容量を必要とする。
Generally, fault simulation requires a huge amount of storage capacity.

ある診断対象回路の診断辞書を故障シミユレー
シヨンにより作成する場合診断対象回路が空間的
(論理素子数)、時間的(故障シミユレーシヨンを
必要とする論理段数一以下クロツク数として説明
する)に大きければ大きい程、検出故障群が多く
なり、それを格納する故障リストテーブルも指数
関数的に増大していく。現実の故障リストテーブ
ルに使用される記憶領域は有限であるため、数万
ゲート、数クロツクの大きさの診断対象回路を故
障シミユレーシヨンしようとすると故障リストテ
ーブルがオーバーフローしてしまう。このため、
故障発生範囲を複数個に分割して、各々の故障発
生範囲毎に故障シミユレーシヨンを実行して、
各々の診断辞書を作成し、故障シミユーレータと
は別な処理によつて各々の診断辞書を重ね合わせ
て、その診断対象回路の診断辞書としている。
When creating a diagnostic dictionary for a circuit to be diagnosed by fault simulation, the larger the circuit to be diagnosed is both spatially (number of logic elements) and temporally (described as the number of logic stages that require fault simulation, less than or equal to 1 and the number of clocks). As the number of detected fault groups increases, the fault list table that stores them also grows exponentially. Since the storage area used for the actual fault list table is limited, the fault list table will overflow if a fault simulation is attempted for a circuit to be diagnosed that has a size of several tens of thousands of gates and several clocks. For this reason,
Divide the failure range into multiple parts and run failure simulation for each failure range.
Each diagnostic dictionary is created, and the diagnostic dictionaries are superimposed by a process separate from the failure simulator to form a diagnostic dictionary for the circuit to be diagnosed.

経験によれば、大形情報処理装置のCPU(10
万〜15万ゲート)の回路を約100の診断対象回路
iに分けて、それぞれを、6メガバイトの記憶容
量をもつコンピユータ・システムを故障シミユレ
ータとして用いて、故障シミユレーシヨンにより
診断辞書を作成すると、3割以上の診断対象回路
iに対して故障発生範囲の分割が必要であり、
CPUの診断辞書作成に要する計算機使用時間の
うちの3/4以上が故障発生範囲を分割した診断対
象回路iの診断辞書作成に費された。
Experience shows that the CPU of large information processing equipment (10
If a circuit with 100,000 to 150,000 gates is divided into approximately 100 diagnostic target circuits i, and a diagnostic dictionary is created by fault simulation using a computer system with a storage capacity of 6 MB as a fault simulator, then 3 It is necessary to divide the fault occurrence range for more than 30% of the circuits to be diagnosed, i.
More than 3/4 of the computer usage time required to create a diagnostic dictionary for the CPU was spent creating a diagnostic dictionary for the circuit i to be diagnosed in which the failure range was divided.

従つて、本発明では故障発生範囲を分割しなけ
ればならない場合の診断辞書作成に要する計算機
使用時間を削減することを目的としている。
Therefore, an object of the present invention is to reduce the computer usage time required to create a diagnostic dictionary when a failure range must be divided.

そしてそのために本発明は、主メモリ上に回路
情報テーブル、故障のリストテーブル、論理シミ
ユレーシヨンプログラム、故障シミユレーシヨン
プログラムおよびシミユレーシヨン管理プログラ
ムを有する故障シミユレータを用いた機能診断に
よつて診断される情報処理装置の診断辞書を作成
する方法であつて、該情報処理装置内の診断対象
とする全回路を複数の個別ブロツクに分割すると
ともに、上記個別ブロツクの診断対象回路毎の故
障発生範囲を複数個に分割して各故障発生範囲毎
の診断事象を作成し、上記故障シミユレータとは
別な処理により各故障発生範囲毎の診断辞書を重
ね合わせて当該個別ブロツクの診断対象回路の診
断辞書とする診断辞書作成方法において、中間論
理フアイルをもうけ、第1番目の故障発生範囲に
対する診断辞書作成のための第1回目の故障シミ
ユレータ処理時には、入力データの影響が当該診
断対象回路に至る直前のクロツク歩進までは論理
シミユレーシヨンを行ない、当該時点の該情報処
理装置内の全論理状態を上記回路情報テーブルよ
り上記中間論理フアイルに格納してから、当該診
断対象回路内において故障シミユレーシヨンを行
ない上記第1番目の故障発生範囲に対する診断辞
書を作成し、次に第2番目以後の故障発生範囲に
対する診断辞書作成のための第2回目以後の故障
シミユレータ処理時には、上記第1回目の故障シ
ミユレータ処理時に上記中間論理フアイルに格納
しておいた該情報処理装置内の全論理状態を読出
し、上記回路情報テーブルに設定し、当該クロツ
ク歩進された論理状態から故障シミユレーシヨン
を行なうことにより、第2番目以後の故障発生範
囲に耐する診断辞書を作成するようにしたことを
特徴とする。
To this end, the present invention provides functional diagnosis using a fault simulator that has a circuit information table, a fault list table, a logic simulation program, a fault simulation program, and a simulation management program in its main memory. A method for creating a diagnostic dictionary for an information processing device, which divides all circuits to be diagnosed in the information processing device into a plurality of individual blocks, and determines the fault occurrence range for each circuit to be diagnosed in the individual blocks. is divided into multiple parts to create a diagnostic event for each fault range, and the diagnostic dictionary for each fault range is superimposed by a process different from the above fault simulator to create a diagnostic dictionary for the circuit to be diagnosed in the individual block. In the diagnostic dictionary creation method, an intermediate logic file is created, and during the first fault simulator processing to create a diagnostic dictionary for the first fault occurrence range, the effect of input data is calculated immediately before reaching the circuit to be diagnosed. A logic simulation is performed until the clock increments, and after storing all the logic states in the information processing device at that time in the intermediate logic file from the circuit information table, a fault simulation is performed in the circuit to be diagnosed. A diagnostic dictionary for the second fault occurrence range is created, and then during the second and subsequent fault simulator processing to create a diagnostic dictionary for the second and subsequent fault ranges, the above intermediate fault simulator processing is performed during the first fault simulator processing. All the logic states in the information processing device stored in the logic file are read out, set in the circuit information table, and a fault simulation is performed from the logic state whose clock has been incremented, thereby preventing the second and subsequent faults. The present invention is characterized in that a diagnostic dictionary that can withstand the range of occurrence is created.

以下、本発明を図面により説明する。 Hereinafter, the present invention will be explained with reference to the drawings.

第1図は本発明による実施例の診断辞書作成シ
ステムのブロツク構成図であり、図中、1は処理
装置、2は主メモリ、3は外部メモリ、4は外
部メモリ、5は回路情報テーブル、6は故障シ
ミユレーシヨンプログラム、7は故障リストテー
ブル、8は論理シミユレーシヨンプログラム、9
はシミユレーシヨン管理プログラム、10は手続
き文テーブル、11は診断辞書フアイル、12は
手続き文フアイル、13は中間論理フアイルであ
る。図中、処理装置1、主メモリ2および外部メ
モリ4の各内部構成要素(テーブル、フアイ
ル、プログラム類)の相互関係は従来例と同一で
あり、本発明においては、新たに中間論理フアイ
ル13がもうけられたものと考えてよい。図中、
実線は制御の方向、太線はデータの流れの方向で
ある。
FIG. 1 is a block configuration diagram of a diagnostic dictionary creation system according to an embodiment of the present invention, in which 1 is a processing unit, 2 is a main memory, 3 is an external memory, 4 is an external memory, 5 is a circuit information table, 6 is a fault simulation program, 7 is a fault list table, 8 is a logic simulation program, 9
10 is a simulation management program, 10 is a procedure statement table, 11 is a diagnostic dictionary file, 12 is a procedure statement file, and 13 is an intermediate logic file. In the figure, the mutual relationships among the internal components (tables, files, programs, etc.) of the processing device 1, main memory 2, and external memory 4 are the same as in the conventional example, and in the present invention, an intermediate logical file 13 is newly added. You can think of it as a profit. In the diagram,
The solid line is the direction of control, and the thick line is the direction of data flow.

第2図は診断実行時の具体的なハードウエア構
成例を示す図であり、図中、20は診断対象装
置、21は保守診断装置、22は保守診断装置外
部メモリ、23は診断データフアイル、24は保
守診断装置主メモリ、25は診断対象回路、26
は診断対象回路i、27は汎用レジスタ、28は
内部メモリ、29はクロツク制御回路、30はス
キヤンアウト回路、31はスキヤン値保持回路、
32は比較回路、33は手続き文(テスト入力)
データ保持部、34は正常値データ保持部、35
は診断辞書保持部である。
FIG. 2 is a diagram showing a specific example of the hardware configuration at the time of diagnosis execution, and in the figure, 20 is a diagnosis target device, 21 is a maintenance diagnosis device, 22 is an external memory of the maintenance diagnosis device, 23 is a diagnosis data file, 24 is the maintenance diagnostic device main memory, 25 is the circuit to be diagnosed, 26
27 is a general-purpose register, 28 is an internal memory, 29 is a clock control circuit, 30 is a scan out circuit, 31 is a scan value holding circuit,
32 is a comparison circuit, 33 is a procedural statement (test input)
A data holding section 34 is a normal value data holding section 35
is a diagnostic dictionary holding unit.

図中、保守診断装置主メモリ24内に設けられ
た各保持部33〜35内の各種診断データ類は、
診断対象回路i26に対するものであり、前記診
断対象回路i26以外の診断対象回路に対する診
断データは類は保守診断装置外部メモリ22内に
格納されている。そして、診断対象回路j(j≠
i)に変更される毎に、各保持部33〜35内の
各診断データ類は外部メモリ22の内容と置き換
えられるようにされている。なお、第2図図示の
診断データフアイル23は第1図図示の手続き文
フアイル12と診断辞書フアイル11を別処理に
よつて結合したものである。
In the figure, various diagnostic data in each holding section 33 to 35 provided in the main memory 24 of the maintenance diagnostic device are as follows.
The diagnostic data for the circuit to be diagnosed i26 is stored in the external memory 22 of the maintenance/diagnosis device. Then, the circuit to be diagnosed j (j≠
i), each diagnostic data type in each of the holding sections 33 to 35 is replaced with the contents of the external memory 22. The diagnostic data file 23 shown in FIG. 2 is obtained by combining the procedure statement file 12 and the diagnostic dictionary file 11 shown in FIG. 1 through separate processing.

また、第2図図示のハードウエア構成例自体は
従来方式のものと同一である。
Further, the hardware configuration example itself shown in FIG. 2 is the same as that of the conventional system.

以下、実施例にもとづいて、本発明を説明す
る。
Hereinafter, the present invention will be explained based on Examples.

第3図は診断対象回路iの診断辞書を作成する
場合の診断動作様態を説明するための図であり、
図中、(1〜1)〜(δ〜n)は保守診断装置か
ら読出しうる診断対象装置内部の論理状態監視ポ
イント、は診断対象装置、は保守診断装置、
はテスト入力が設定される汎用レジスタ、診断
対象装置内部メモリ、保守診断装置とのインタフ
エース、はその内部に前出の監視ポイント(y
〜1、w〜n)を含み診断辞書を作成しようとし
ている診断対象回路i、は故障発生範囲(=
でもよいが正確なの大きさが不明な場合は
>にした方がよい)でA〜Fはその分割範囲、
N1はテスト入力を設定してから診断対象回路i
の直前に到達するに要するクロツク数、N2
N3,N4はそれぞれ監視ポイントxとy、yと
z、zとw間のクロツク数の差であり、例えば、
N2は監視ポイント(通常、フリツプフロツプで
あることが多い)xの内容が監視ポイントyに到
達するまでのクロツク数である。
FIG. 3 is a diagram for explaining the diagnostic operation mode when creating a diagnostic dictionary for the circuit i to be diagnosed.
In the figure, (1 to 1) to (δ to n) are logical state monitoring points inside the diagnostic target device that can be read from the maintenance diagnostic device, are the diagnostic target device, are the maintenance diagnostic device,
are general-purpose registers where test inputs are set, the internal memory of the equipment to be diagnosed, and the interface with the maintenance/diagnosis equipment.
~1, w~n), and the circuit to be diagnosed, i, for which a diagnostic dictionary is to be created, is within the fault occurrence range (=
(but if the exact size is unknown, it is better to use >), and A to F are the division ranges,
N 1 is the circuit to be diagnosed after setting the test input.
The number of clocks required to arrive immediately before , N 2 ,
N 3 and N 4 are the differences in the number of clocks between monitoring points x and y, y and z, and z and w, respectively; for example,
N2 is the number of clocks it takes for the contents of watchpoint x (usually a flip-flop) to reach watchpoint y.

第3図に示される診断対象回路iに対する具体
的な手続きは例えば第4図に示す手続き文によつ
て記述される。
The specific procedure for the circuit to be diagnosed i shown in FIG. 3 is described by the procedure statement shown in FIG. 4, for example.

第4図において、UNITiは一テスト入力に対
する一連の手続きの開始及びテスト入力の区切を
示し、パラメータiをユニツト番号と呼ぶ、〜
は前提条件及びテスト入力の設定を示し、
SETREGは汎用レジスタへのデータ設定を示
し、SETMENは装置の内部メモリへのデータ
設定を示し、SETCSLは保守診断装置とのイ
ンタフエースへのデータ設定を示し、CL
CKxはテスト入力が診断対象回路iの直前に到
達までに必要なクロツク歩進数を示し、パラメー
タxが歩進数である、FSIMLS Aはこの位置
から診断対象回路iであること、すなわち診断辞
書作成の開始を示すと共に、パラメータにより故
障発生範囲がAであることを示し、CLCK
yは診断対象回路i内でのクロツク歩進数がyで
あることを示し、SCANUT(y〜)〜
(y〜n)は診断対象回路iの論理監視ポイント
(y〜)〜(y〜n)の論理状態を読出すこと
を示し、、と、はクロツク歩進と監視ポ
イントが異なるだけで、に同じであり、
FSIMLEはここまでが診断対象回路iであるこ
と、即ち、ユニツト番号の入力および故障発生範
囲Aにおける診断辞書作成の終了を示し、〜
は次のテスト入力に対する一連の手続きであり、
TENDは診断対象回路iにおける故障発生範囲
Aに対するテスト入力がこれ以上ないことを示
す。
In FIG. 4, UNITi indicates the start of a series of procedures for one test input and the delimitation of test inputs, and the parameter i is called the unit number.
indicates the prerequisite and test input settings,
SETREG indicates setting data to a general-purpose register, SETMEN indicates setting data to the device's internal memory, SETCSL indicates setting data to the interface with the maintenance/diagnosis device, and CL
CKx indicates the number of clock steps necessary for the test input to arrive immediately before the circuit to be diagnosed i, and the parameter x is the number of steps. Indicates the start, and also indicates that the failure range is A according to the parameter, and CLCK
y indicates that the number of clock steps in the circuit i to be diagnosed is y, and SCANUT(y~ 1 )~
(y~n) indicates that the logic states of the logic monitoring points (y~ 1 ) to (y~n) of the circuit i to be diagnosed are to be read out; is the same as
FSIMLE indicates that the circuit to be diagnosed is the circuit i up to this point, that is, the input of the unit number and the completion of the creation of the diagnostic dictionary in the failure range A.
is a set of procedures for the following test inputs,
TEND indicates that there are no more test inputs for the failure range A in the circuit i to be diagnosed.

なお、手続き文FSIMLS―及びFSIMLEは診断
辞書作成時のみ意味をもつものである。
Note that the procedural statements FSIMLS- and FSIMLE have meaning only when creating a diagnostic dictionary.

第4図の手続きを故障シミユレータで実行させ
るためのシミユレーシヨン管理プログラムの従来
の一般的な処理フローを第5図A,Bに示す。
A conventional general processing flow of a simulation management program for executing the procedure shown in FIG. 4 in a failure simulator is shown in FIGS. 5A and 5B.

その処理は、 (i) UNITであれば、そのユニツト番号を記憶
しておく。
The process is as follows: (i) If it is UNIT, remember the unit number.

(ii) SETREG、SETMEM、SETCSLであ
れば、回路情報テーブルの該素子の入出力ピン
にパラメータで示される論理値を設定し、論理
シミユレーシヨンを行う。
(ii) If it is SETREG, SETMEM, or SETCSL, set the logic value indicated by the parameter to the input/output pin of the element in the circuit information table, and perform logic simulation.

(iii) CLOCKであれば、故障シミユレータフラ
グビツトがオフでパラメータxだけクロツクを
歩進し論理シミユレーシヨンを行う。
(iii) If it is CLOCK, the fault simulator flag bit is off and the clock is incremented by parameter x to perform logic simulation.

(iv) FSIMLSであれば故障シミユレーシヨンフ
ラグなるビツトをオンにする。また、回路情報
テーブルに故障発生範囲がAであることを知ら
せる。
(iv) For FSIMLS, turn on the failure simulation flag bit. Also, it is notified that the failure occurrence range is A in the circuit information table.

(v) CLOCKであれば、故障シミユレータフラ
グビツトがオンでパラメータyだけクロツクを
歩進し故障シミユレーシヨンを行う。
(v) If it is CLOCK, the fault simulator flag bit is on and the clock is incremented by parameter y to perform fault simulation.

(vi) SCANUTであれば、パラメータ(y―
1)〜(y―n)で示される論理素子の論理状
態及び(y〜1)〜(y〜n)で検出される故
障群を故障リストテーブルに格納する。
(vi) For SCANUT, the parameter (y-
1) Store the logical states of the logic elements shown by (y-n) and the fault groups detected by (y-1)-(y-n) in a fault list table.

なお、このとき、このユニツト番号、このユ
ニツトでの一回目のスキヤンアウトであること
も一緒に格納しておく。
At this time, this unit number and the fact that this is the first scan-out for this unit are also stored.

(vii) CLCKであればクロツク数zとなるだけ
(v)に同じ (viii) SCANUTであれば、パラメータが(z
)〜(z〜n)となり、2回目のスキヤン
アウトであることを除いて、(vi)に同じ (ix) CLCKであればクロツク数がwとなるだ
けで(v)と同じ (x) SCANUTであれば、パラメータが(w
)〜(w〜n)となり、3回目のスキヤン
アウトであることを除いて、(vi)に同じ () FSIMLEであれば故障シミユレーシヨ
ンフラグビツトをオフにする。
(vii) If it is CLCK, it will just be the clock number z
Same as (v) (viii) If SCANUT, the parameter is (z
~ 1 )~(z~n), which is the same as (vi) except that it is the second scan out (ix) If it is CLCK, the number of clocks is w, but it is the same as (v) (x ) SCANUT, the parameter is (w
~ 1 )~(w~n), which is the same as (vi) except that it is the third scan out.If ()FSIMLE, the failure simulation flag bit is turned off.

() UNITからFSIMLEまでは(i)〜(
)のくり返しでありパラメータ等が異なつて
いるだけである。
() From UNIT to FSIMLE is (i) ~ (
) is repeated, only the parameters etc. are different.

(viii) TENDであれば、故障発生範囲Aにおける
診断対象回路iに対する処理を終了する。手続
き文として規定された以外の文が入力されたと
きは手続きエラーとする。
(viii) If TEND, the process for the circuit to be diagnosed i in the failure range A is ended. If a sentence other than the one specified as a procedural sentence is input, a procedural error will occur.

上記手順を故障発生範囲Aについては終了する
が、この診断対象回路iの診断辞書作成ではA〜
Fまでに故障発生範囲を分割しているため、さら
に、故障発生範囲を第3図図示B〜Fに変えて手
続き文の〜を5回くり返す必要があつた。
The above procedure is completed for the failure range A, but in creating the diagnostic dictionary for this circuit i to be diagnosed, A~
Since the fault occurrence range has been divided up to F, it was necessary to change the fault occurrence range to B to F shown in FIG. 3 and repeat the procedure statement ~ five times.

しかし、1回目と2回目以降では故障発生範囲
が範囲A、範囲B〜Fと異なつているため検出故
障群は異なるが、クロツク毎の論理状態としては
同じであることに着目し、第1番目の故障発生範
囲Aに対する診断辞書作成時に故障シミユレーシ
ヨンに入る直前の診断対象装置の全論理状態を記
憶しておけば、第2番目以後の故障発生範囲B〜
Fに対する診断辞書作成時には前に記憶されてい
る診断対象装置の全論理状態を回路情報テーブル
に再設定し、その後は故障シミユレーシヨン以後
の処理を行えばよく、故障シミユレーシヨン以前
の手続き文に対する処理を省略できることにな
る。すなわち第4図の手続きで、1回目(故障発
生範囲A)は〜までの全ての手続きを実行す
るが、2回目以後(故障発生範囲B〜F)は
UNITと、FSIMLSからのFSIMLEと、次に
UNITと、FSIMLSからFSIMLEと、
TENDを実行すればよいことになる。
However, since the fault occurrence range is different from range A to range B to F from the first time to the second time onwards, the detected fault groups are different, but we focused on the fact that the logical state of each clock is the same. When creating a diagnostic dictionary for failure range A, if all logical states of the device to be diagnosed immediately before entering the failure simulation are memorized, then the second and subsequent failure ranges B ~
When creating a diagnostic dictionary for F, all the previously stored logical states of the device to be diagnosed are reset in the circuit information table, and then the processing after the failure simulation can be performed, omitting the processing for the procedure statements before the failure simulation. It will be possible. In other words, in the procedure shown in Figure 4, the first time (fault occurrence range A), all procedures up to ~ are executed, but from the second time onwards (fault occurrence range B to F),
UNIT and FSIMLE from FSIMLS and then
UNIT, FSIMLS to FSIMLE,
All you have to do is run TEND.

上記方法を実現するために、本発明では論理状
態を記憶する中間論理フアイルなるものを設け、
中間論理フアイル内の論理状態を使用するか否か
(前述文で1回目か2回目以後かに相当する)を
示すモードをシミユレーシヨン管理プログラムの
制御文のパラメータとして設け、使用するという
ことを再ランを名付けた。
In order to realize the above method, the present invention provides an intermediate logic file that stores logic states,
A mode indicating whether to use the logical state in the intermediate logical file (corresponds to the first or second time in the above statement) is set as a parameter in the control statement of the simulation management program, and the use is determined by re-run. named.

中間論理フアイルの構成は第6図に示すように
ユニツト番号、論理状態及びFSIMLSの手続きア
ドレスを一組として、UNIT文の数だけである。
As shown in FIG. 6, the structure of the intermediate logical file consists of a set of unit number, logical state, and FSIMLS procedure address, and only the number of UNIT statements.

また、上記方法を実現するためのシミユレーシ
ヨン管理プログラムの処理フローを第7図A,B
に示す。
In addition, the processing flow of the simulation management program for realizing the above method is shown in Figure 7 A and B.
Shown below.

第7図において、従来方法第5図と異なる点を
説明する。
In FIG. 7, points different from the conventional method shown in FIG. 5 will be explained.

1回目の処理、すなわち再ランがオフであると
きは、FSIMLS文であれば、中間論理フアイルに
論理状態、このユニツト番号及びFSIMLSのアド
レスカウンタ値を格納する。
When processing for the first time, that is, rerun is off, if it is an FSIMLS statement, the logical state, this unit number, and the FSIMLS address counter value are stored in the intermediate logical file.

2回目以後の処理、すなわち再ランがオンであ
るときは、UNIT文であれば、中間論理フアイル
より、このユニツト番号に一致するユニツトの論
理状態を回路情報テーブルに設定する。
In the second and subsequent processing, that is, when rerun is on, if it is a UNIT statement, the logic state of the unit matching this unit number is set in the circuit information table from the intermediate logic file.

また、手続きアドレスをアドレスカウンタに設
定し、FSIMLS文までの手続き文を実行しないよ
うにしている。
In addition, the procedure address is set in the address counter so that the procedure statements up to the FSIMLS statement are not executed.

以下に診断対象とされた装置の診断辞書作成時
の標準的な診断対象回路iについて、従来方法と
本発明による方法との故障シミユレータの走行時
間を比較してみる。
Below, we will compare the running times of the failure simulators of the conventional method and the method according to the present invention for a standard circuit i to be diagnosed when creating a diagnostic dictionary for a device to be diagnosed.

手続き文の処理時間を比較すると、CLCK文
に比べて他の文は無視できる程小さい。従つて、
故障シミユレータの走行時間はCLCK文の処理
時間として求めることにする。
Comparing the processing time of procedural statements, the processing time of other statements is so small that it can be ignored compared to the CLCK statement. Therefore,
The running time of the failure simulator is determined as the processing time of the CLCK statement.

条件として、 診断対象回路iの直前に到達までのクロツク
数=10 診断対象回路i内のクロツク数=3 故障発生範囲の分割数=6 1クロツク分の論理シミユレーシヨン時間=
t 1クロツク分の故障シミユレーシヨン時間=
5t 故障シミユレータの走行時間T とすれば、従来方法では T=(10t+3×5t)×6=150t 本発明による方法では T=(10t+3×5t)+3×5t×5=100t となり、従来方法に比べて本発明による方法は、
約2/3となり、従来方法に比べて本発明による方
法は、1/3の故障シミユレータ走行時間=計算機
使用時間が削減されることになる。
The conditions are: Number of clocks to reach immediately before diagnosis target circuit i = 10 Number of clocks in diagnosis target circuit i = 3 Number of divisions of fault occurrence range = 6 Logic simulation time for 1 clock =
t 1 clock failure simulation time =
5t If the running time of the failure simulator is T, then in the conventional method T = (10t + 3 × 5t) × 6 = 150t In the method according to the present invention, T = (10t + 3 × 5t) + 3 × 5t × 5 = 100t, compared to the conventional method. The method according to the invention is
This is approximately 2/3, and compared to the conventional method, the method according to the present invention reduces the failure simulator running time = computer usage time by 1/3.

今、ある装置の診断辞書作成に要する計算機使
用時間が、400Hであつたとすれば、その3/4、
300Hが故障発生範囲を分割した診断対象回路i
の診断辞書作成に費される。
Now, if the computer usage time required to create a diagnostic dictionary for a certain device is 400 hours, then 3/4 of that time is 400 hours.
Diagnosis target circuit i where 300H divides the failure range
spent on creating a diagnostic dictionary.

300Hのうち100Hが本発明により削減されるた
め、この装置の故障辞書作成に要する計算機使用
時間が1/4削減されることになる。
Since 100H out of 300H is reduced by the present invention, the computer usage time required to create a fault dictionary for this device is reduced by 1/4.

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

第1図は本発明による実施例の診断辞書作成シ
ステムのブロツク構成図、第2図は診断実行時の
具体的なハードウエア構成例を示す図、第3図は
診断動作状態を説明するための図、第4図は手続
き文の記述例、第5図A,Bはシミユレーシヨン
管理プログラムの従来の一般的な処理フロー、第
6図は中間論理フアイルの構成、第7図A,Bは
実施例におけるシミユレーシヨン管理プログラム
の処理フローである。 第1図において、5は回路情報テーブル、6は
故障シミユレーシヨンプログラム、7は故障リス
トテーブル、8は論理シミユレーシヨンプログラ
ム、9はシミユレーシヨン管理プログラム、10
は手続き文テーブル、11は診断辞書フアイル、
12は手続き文フアイル、13は中間論理フアイ
ルである。
FIG. 1 is a block configuration diagram of a diagnostic dictionary creation system according to an embodiment of the present invention, FIG. 2 is a diagram showing a specific hardware configuration example at the time of diagnosis execution, and FIG. 3 is a diagram for explaining the diagnostic operation state. Figure 4 is a description example of a procedure statement, Figures 5A and B are the conventional general processing flow of a simulation management program, Figure 6 is the structure of an intermediate logical file, and Figure 7A and B are examples of implementation. 3 is a processing flow of a simulation management program in FIG. In FIG. 1, 5 is a circuit information table, 6 is a fault simulation program, 7 is a fault list table, 8 is a logic simulation program, 9 is a simulation management program, and 10 is a fault simulation program.
is a procedural statement table, 11 is a diagnostic dictionary file,
12 is a procedural statement file, and 13 is an intermediate logic file.

Claims (1)

【特許請求の範囲】 1 主メモリ上に回路情報テーブル、故障のリス
トテーブル、論理シミユレーシヨンプログラム、
故障シミユレーシヨンプログラムおよびシミユレ
ーシヨン管理プログラムを有する故障シミユレー
タを用いた機能診断によつて診断される情報処理
装置の診断辞書を作成する方法であつて、 該情報処理装置内の診断対象とする全回路を複
数の個別ブロツクに分割するとともに、上記個別
ブロツクの診断対象回路毎の故障発生範囲を複数
個に分割して各故障発生範囲毎の診断事象を作成
し、上記故障シミユレータとは別な処理により各
故障発生範囲毎の診断辞書を重ね合わせて当該個
別ブロツクの診断対象回路の診断辞書とする診断
辞書作成方法において、 中間論理フアイルをもうけ、第1番目の故障発
生範囲に対する診断辞書作成のための第1回目の
故障シミユレータ処理時には、入力データの影響
が当該診断対象回路に至る直前のクロツク歩進ま
では論理シミユレーシヨンを行ない、当該時点の
該情報処理装置内の全論理状態を上記回路情報テ
ーブルより上記中間論理フアイルに格納してか
ら、当該診断対象回路内において故障シミユレー
シヨンを行ない上記第1番目の故障発生範囲に対
する診断辞書を作成し、 次に第2番目以後の故障発生範囲に対する診断
辞書作成のための第2回目以後の故障シミユレー
タ処理時には、上記第1回目の故障シミユレータ
処理時に上記中間論理フアイルに格納しておいた
該情報処理装置内の全論理状態を読出し、上記回
路情報テーブルに設定し、当該クロツク歩進され
た論理状態から故障シミユレーシヨンを行なうこ
とにより、第2番目以後の故障発生範囲に対する
診断辞書を作成するようにしたことを特徴とする
診断辞書作成方法。
[Claims] 1. A circuit information table, a fault list table, a logic simulation program,
A method for creating a diagnostic dictionary for an information processing device to be diagnosed by functional diagnosis using a fault simulator having a fault simulation program and a simulation management program, the method comprising: In addition to dividing the circuit into a plurality of individual blocks, the fault occurrence range for each circuit to be diagnosed in the individual blocks is divided into a plurality of parts, and a diagnostic event is created for each fault occurrence range, and processing that is different from the above fault simulator is performed. In the method for creating a diagnostic dictionary in which diagnostic dictionaries for each failure range are superimposed to form a diagnostic dictionary for the circuit to be diagnosed in the individual block, an intermediate logic file is created to create a diagnostic dictionary for the first fault range. During the first failure simulator processing, logic simulation is performed until the clock step immediately before the influence of input data reaches the circuit to be diagnosed, and the entire logic state in the information processing device at that time is calculated from the circuit information table above. After storing it in the intermediate logic file, a fault simulation is performed in the circuit to be diagnosed to create a diagnostic dictionary for the first fault range, and then a diagnostic dictionary for the second and subsequent fault ranges is created. During the second and subsequent fault simulator processing, all logic states in the information processing device stored in the intermediate logic file during the first fault simulator processing are read out and set in the circuit information table. A method for creating a diagnostic dictionary, characterized in that a diagnostic dictionary for the second and subsequent failure ranges is created by performing a fault simulation from the logic state whose clock has been incremented.
JP56048550A 1981-03-31 1981-03-31 Diagnostic dictionary generating method Granted JPS57162044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56048550A JPS57162044A (en) 1981-03-31 1981-03-31 Diagnostic dictionary generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56048550A JPS57162044A (en) 1981-03-31 1981-03-31 Diagnostic dictionary generating method

Publications (2)

Publication Number Publication Date
JPS57162044A JPS57162044A (en) 1982-10-05
JPS628828B2 true JPS628828B2 (en) 1987-02-25

Family

ID=12806475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56048550A Granted JPS57162044A (en) 1981-03-31 1981-03-31 Diagnostic dictionary generating method

Country Status (1)

Country Link
JP (1) JPS57162044A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2803926B1 (en) * 2000-01-14 2002-04-05 Thomson Csf Sextant METHOD FOR AUTOMATICALLY GENERATING A SYMBOL TABLE OF A REAL-TIME COMPUTER

Also Published As

Publication number Publication date
JPS57162044A (en) 1982-10-05

Similar Documents

Publication Publication Date Title
US4766595A (en) Fault diagnostic system incorporating behavior models
US3715573A (en) Failure activity determination technique in fault simulation
US8555234B2 (en) Verification of soft error resilience
Debouk et al. A modular architecture for diagnosis of discrete event systems
CN107516546B (en) Online detection device and method for random access memory
CN108572895B (en) Stability test method for automatically checking software and hardware configuration under Linux
CN112560269A (en) Rhapbody state machine-based high fault tolerance electronic system task reliability simulation analysis method
Maling et al. A computer organization and programming system for automated maintenance
Bennetts et al. Fault diagnosis of digital systems-a review
US6675323B2 (en) Incremental fault dictionary
CN115757099A (en) Automatic test method and device for platform firmware protection recovery function
JPS628828B2 (en)
CN113986618B (en) Cluster brain fracture automatic repair method, system, device and storage medium
Bowman et al. 1A processor: Maintenance software
Li et al. Board-level Functional Test Selection Based on Fault Tree Analysis
JP3206096B2 (en) Input data processing device
CN113127324B (en) Automatic test report generation method and device, computer equipment and storage medium
Huang et al. Software FMEA approach based on failure modes database
Xujun et al. Reliability simulation and analysis of phased-mission system with multiple states
US20030233504A1 (en) Method for detecting bus contention from RTL description
Chen et al. Physical-aware diagnosis of multiple interconnect defects
CN107707402B (en) Management system and management method for service arbitration in distributed system
CN117370168A (en) Method for setting simulation restoration point of logic system design and related equipment
Bernstein et al. Testing network management software
CN114328228A (en) Software error verification method, device and system based on test case extension