JPH056409A - Logic circuit generation device and logic circuit generation method - Google Patents
Logic circuit generation device and logic circuit generation methodInfo
- Publication number
- JPH056409A JPH056409A JP3211159A JP21115991A JPH056409A JP H056409 A JPH056409 A JP H056409A JP 3211159 A JP3211159 A JP 3211159A JP 21115991 A JP21115991 A JP 21115991A JP H056409 A JPH056409 A JP H056409A
- Authority
- JP
- Japan
- Prior art keywords
- logic
- test vector
- circuit
- logic circuit
- fault
- 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.)
- Withdrawn
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
(57)【要約】
【目的】 十分高いテスタビリティを持ち、テスト回路
によるコストの増大が少ない論理回路の自動生成を可能
にする。
【構成】 入力された機能記述をもとに与えられた機能
を満たす論理回路を合成する論理合成手段1と、この論
理合成手段1が合成した論理回路を解析して故障検出用
のテストベクタを生成するとともに、この生成したテス
トベクタの故障検出率及びテスタビリティ解析結果を出
力する論理レベルテストベクタ生成手段2と、この論理
レベルテストベクタ生成手段2が出力する故障検出率が
十分に高いかどうかを判定する判定手段3と、この判定
手段3により故障検出率が不十分であることが判明した
場合には、論理レベルテストベクタ生成手段2が出力し
たテスタビリティ解析結果をもとに論理合成手段1が合
成した論理回路を変形する回路変換手段4とを設ける。
(57) [Summary] [Purpose] To enable automatic generation of logic circuits with sufficiently high testability and with little increase in cost due to test circuits. [Structure] A logic synthesizing means 1 for synthesizing a logic circuit satisfying a given function based on an input function description, and a logic circuit synthesized by the logic synthesizing means 1 are analyzed to generate a test vector for fault detection. The logic level test vector generating means 2 for generating the fault detection rate and the testability analysis result of the generated test vector, and whether or not the fault detection rate output by the logic level test vector generating means 2 is sufficiently high. And the synthesizing means based on the testability analysis result output from the logic level test vector generating means 2 when the failure detecting rate is found to be insufficient by the deciding means 3. And circuit conversion means 4 for transforming the logic circuit synthesized by 1.
Description
【0001】[0001]
【産業上の利用分野】本発明は論理回路の設計を自動化
する自動論理合成技術に関し、特にテスト容易な論理回
路を生成するための論理回路生成装置及び論理回路生成
方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic logic synthesis technique for automating the design of a logic circuit, and more particularly to a logic circuit generation device and a logic circuit generation method for generating a testable logic circuit.
【0002】[0002]
【従来の技術】従来の典型的な論理回路生成装置では、
生成された論理回路のテスタビリティは通常特に考慮さ
れていない。従ってそのままではテスタビリティが十分
でない場合が多く、論理設計終了後に回路を修正する必
要があった。2. Description of the Related Art In a typical conventional logic circuit generator,
The testability of the generated logic circuit is usually not particularly considered. Therefore, the testability is often insufficient as it is, and it is necessary to modify the circuit after the logic design is completed.
【0003】図22に典型的なテスト設計の処理フロー
図を示す。テスト設計は論理設計に引続いて行われる。
同図において、41は論理回路生成装置により生成され
たり、あるいは人手により設計された論理回路にテスト
回路を挿入するステップである。代表的なものとしては
スキャンパスの挿入がある。このステップは人手により
行われる場合もあるし、計算機により自動的に実行され
る場合もある。42はテスト回路が挿入された論理回路
を解析して、テストベクタを作成するステップである。
このステップも論理検証用のテストベクタをもとに人手
により実行される場合と、計算機上で自動実行される場
合とがある。43は前記テスト回路が挿入された論理回
路に対して、前記テストベクタを用いて故障シミュレー
ションを行い、故障検出率を評価するステップである。
44は前記故障検出率が十分高いかどうかを判定するス
テップである。判定の結果、故障検出率が十分高いこと
がわかればテスト設計はこれで終了する。故障検出率が
不十分であることがわかれば、もう一度テストベクタ作
成ステップ42に戻ってテストベクタを追加するか、あ
るいはテスト回路挿入ステップ41に戻って論理回路を
修正する。FIG. 22 shows a process flow chart of a typical test design. The test design follows the logic design.
In the figure, reference numeral 41 denotes a step of inserting a test circuit into a logic circuit generated by a logic circuit generation device or manually designed. A typical example is the insertion of a scan path. This step may be performed manually or may be automatically performed by a computer. 42 is a step of analyzing the logic circuit in which the test circuit is inserted and creating a test vector.
This step may be manually executed based on the test vector for logic verification, or may be automatically executed on the computer. Reference numeral 43 is a step of evaluating a fault coverage by performing a fault simulation on the logic circuit in which the test circuit is inserted using the test vector.
Step 44 is a step of judging whether or not the failure detection rate is sufficiently high. If the judgment result shows that the fault coverage is sufficiently high, the test design is finished. If it is found that the fault coverage is insufficient, the process returns to the test vector creating step 42 to add a test vector again, or the process returns to the test circuit inserting step 41 to modify the logic circuit.
【0004】図23にテスタビリティを考慮した従来の
論理回路生成装置の第1の例のブロック図を示す。同図
において、51は入力された機能記述をもとに与えられ
た機能を満たす論理回路を合成する論理合成手段、52
は論理合成手段51が合成した論理回路にテスト用のス
キャンパスを挿入するスキャンパス挿入手段、53はス
キャンパスを挿入したことにより発生した論理回路の冗
長性を取り除く回路最適化手段である。FIG. 23 shows a block diagram of a first example of a conventional logic circuit generation device in consideration of testability. In the figure, 51 is a logic synthesizing means for synthesizing a logic circuit satisfying a given function based on the input function description, 52
Is a scan path inserting means for inserting a test scan path into the logic circuit synthesized by the logic synthesizing means 51, and 53 is a circuit optimizing means for removing redundancy of the logic circuit generated by inserting the scan path.
【0005】スキャンパス挿入手段52では、論理回路
に含まれるフリップフロップをシフトレジスタの機能を
持つスキャンパス用フリップフロップに置き換え、それ
らを順番に接続して1本のスキャンパスを構成する。ま
たスキャンデータ入出力ポート及びスキャン用クロック
入力ポートを挿入する。このようにしてスキャンパスが
挿入された論理回路では、テスト時にスキャンパスを通
してフリップフロップにデータを設定したり読み出した
りすることにより、テストが容易になることが知られて
いる。The scan path inserting means 52 replaces the flip-flops included in the logic circuit with scan path flip-flops having a shift register function, and connects them in order to form one scan path. Also, a scan data input / output port and a scan clock input port are inserted. It is known that the logic circuit having the scan path inserted therein can be easily tested by setting or reading data in the flip-flop through the scan path during the test.
【0006】図24にテスタビリティを考慮した従来の
論理回路生成装置の第2の例のブロック図を示す。同図
において、61は入力された機能記述をもとに機能レベ
ルで回路のテスタビリティを解析する機能レベルテスタ
ビリティ解析手段、62は得られた解析結果をもとに、
必要であればスキャンパスを含むように元の機能記述を
変形する機能レベルスキャンパス挿入手段、63はこの
ようにしてスキャンパスが追加された機能記述から論理
回路を合成する論理合成手段である。FIG. 24 shows a block diagram of a second example of a conventional logic circuit generation device in consideration of testability. In the figure, reference numeral 61 is a function level testability analysis means for analyzing the testability of the circuit at the function level based on the input function description, and 62 is based on the obtained analysis result.
If necessary, a function level scan path inserting means for modifying the original function description to include the scan path, and 63 is a logic synthesizing means for synthesizing a logic circuit from the function description to which the scan path is added in this way.
【0007】この第2の従来例(図24)の論理回路生
成装置により生成された論理回路は前記第1の従来例
(図23)のものと同じくスキャンパスを含んでいるた
め、テストが容易である。さらにその上、機能レベルで
のテスタビリティの解析結果に基づいて必要な場合にだ
けスキャンパスを挿入しているため、第1の従来例と比
べるとテスト回路に必要なコストが少なくて済むという
メリットもある。Since the logic circuit generated by the logic circuit generating device of the second conventional example (FIG. 24) includes the scan path as in the first conventional example (FIG. 23), the test is easy. Is. Furthermore, since the scan path is inserted only when necessary based on the testability analysis result at the functional level, the cost required for the test circuit is less than that of the first conventional example. There is also.
【0008】[0008]
【発明が解決しようとする課題】従来のテスタビリティ
を考慮していない論理回路生成装置を用いる場合には、
入力の機能記述を作成する段階で設計者がテスタビリテ
ィを考慮しておく必要がある。ところが、機能レベルで
そこから生成される回路のテスタビリティを正確に知る
ことは困難であるために、この装置で高い故障検出率が
得られるという保証はなかった。When using a conventional logic circuit generator which does not consider testability,
It is necessary for the designer to consider testability at the stage of creating the functional description of the input. However, since it is difficult to know the testability of the circuit generated from it at the functional level, there is no guarantee that a high fault coverage will be obtained with this device.
【0009】また図22に示す典型的なテスト設計フロ
ーに従って、生成された論理回路にテスト回路を挿入す
る方法では、自動生成された論理回路を設計者が修正す
ることは困難である。また、計算機により自動的にテス
ト回路を挿入した場合には、テスタビリティのみを考慮
した機械的置き換えにより、変換後の論理回路に冗長性
が発生したり、変換前には満たされていた設計制約が満
たされなくなったりするという問題点があった。Further, according to the method of inserting the test circuit into the generated logic circuit according to the typical test design flow shown in FIG. 22, it is difficult for the designer to correct the automatically generated logic circuit. Also, when a test circuit is automatically inserted by a computer, mechanical replacement that considers only testability may cause redundancy in the converted logic circuit, or design constraints that were satisfied before conversion. There was a problem that was not satisfied.
【0010】また、図23に示すテスタビリティを考慮
した論理回路生成装置の第1の従来例では、合成された
論理回路のテスタビリティの解析を行っていないため、
全てのフリップフロップをスキャンパス用フリップフロ
ップに置き換えなければならず、生成される論理回路の
コストが大幅に増大するという問題点があった。Further, in the first conventional example of the logic circuit generation device considering the testability shown in FIG. 23, the testability of the synthesized logic circuit is not analyzed.
All the flip-flops must be replaced with scan-path flip-flops, which causes a problem that the cost of the generated logic circuit increases significantly.
【0011】また、図24に示すテスタビリティを考慮
した論理回路生成装置の第2の従来例では、テスタビリ
ティの評価を論理レベルではなく機能レベルで行ってい
るが、機能レベルでは生成される論理回路の正確なテス
タビリティの解析が困難であるために、十分高い故障検
出率が得られなかったり、テスト回路に伴うコストの増
大が大きくなりすぎるという問題点があった。Further, in the second conventional example of the logic circuit generation device considering the testability shown in FIG. 24, the testability is evaluated not at the logic level but at the function level, but the logic generated at the function level is generated. Since it is difficult to accurately analyze the testability of the circuit, there are problems that a sufficiently high fault coverage cannot be obtained, and the cost increase associated with the test circuit becomes too large.
【0012】本発明はかかる点に鑑み、十分高いテスタ
ビリティを持ち、テスト回路によるコストの増大が少な
い論理回路の自動生成を可能にすることを目的とする。In view of the above points, the present invention has an object to enable automatic generation of a logic circuit having a sufficiently high testability and having a small increase in cost due to a test circuit.
【0013】[0013]
【課題を解決するための手段】前記目的を達成するため
に、請求項1の発明の論理回路生成装置は、図1に示す
ように、入力された機能記述をもとに与えられた機能を
満たす論理回路を合成する論理合成手段1と、この論理
合成手段1が合成した論理回路を解析して故障検出用の
テストベクタを生成するとともに、この生成したテスト
ベクタの故障検出率及びテスタビリティ解析結果を出力
する論理レベルテストベクタ生成手段2と、この論理レ
ベルテストベクタ生成手段2が出力する故障検出率が十
分に高いかどうかを判定する判定手段3と、この判定手
段3により故障検出率が不十分であることが判明した場
合には、前記論理レベルテストベクタ生成手段2が出力
したテスタビリティ解析結果をもとに前記論理合成手段
1が合成した論理回路を変形する回路変換手段4とを備
えたものである。In order to achieve the above-mentioned object, the logic circuit generating device of the invention of claim 1 has a function given based on an inputted function description as shown in FIG. The logic synthesizing means 1 for synthesizing the logic circuits to be satisfied and the logic circuit synthesized by the logic synthesizing means 1 are analyzed to generate a test vector for fault detection, and the fault detection rate and testability analysis of the generated test vector are performed. The logic level test vector generating means 2 for outputting the result, the judging means 3 for judging whether or not the fault detection rate output by the logic level test vector generating means 2 is sufficiently high, and the fault detecting rate is judged by the judging means 3. If it is found to be insufficient, the logic synthesized by the logic synthesizing means 1 based on the testability analysis result output by the logic level test vector generating means 2. It is obtained by a circuit converting means 4 for deforming the road.
【0014】また、請求項2の発明の論理回路生成装置
は、図2に示すように、入力された機能記述をもとに与
えられた機能を満たす論理回路を合成する論理合成手段
1と、入力された機能記述から故障検出用のテストベク
タを生成する機能レベルテストベクタ生成手段5と、こ
の機能レベルテストベクタ生成手段5が生成したテスト
ベクタを用いて前記論理合成手段1が合成した論理回路
に対して故障シミュレーションを行い、前記テストベク
タの故障検出率及びテスタビリティ解析結果を出力する
故障シミュレーション手段6と、この故障シミュレーシ
ョン手段6が出力する故障検出率が十分に高いかどうか
を判定する判定手段3と、この判定手段3により故障検
出率が不十分であることが判明した場合には、前記故障
シミュレーション手段6が出力したテスタビリティ解析
結果をもとに前記論理合成手段1が合成した論理回路を
変形する回路変換手段4とを備えたものである。Further, as shown in FIG. 2, the logic circuit generation device according to the second aspect of the present invention includes logic synthesizing means 1 for synthesizing a logic circuit satisfying a given function based on the input function description. A functional level test vector generating means 5 for generating a test vector for fault detection from the input functional description, and a logic circuit synthesized by the logic synthesizing means 1 using the test vector generated by the functional level test vector generating means 5. A failure simulation is performed for the test vector, and the failure simulation unit 6 that outputs the failure detection rate of the test vector and the testability analysis result, and the determination that determines whether or not the failure detection rate that the failure simulation unit 6 outputs is sufficiently high If the failure detection rate is found to be insufficient by the means 3 and the determination means 3, the failure simulation is performed. In which the based on testability analysis results stage 6 has an output logic synthesis unit 1 and a circuit converting means 4 for modifying the logic circuit synthesis.
【0015】また、請求項3の発明の論理回路生成装置
は、図3に示すように、入力された機能記述をもとに与
えられた機能を満たす論理回路を合成する論理合成手段
1と、入力された機能記述から故障検出用の第1のテス
トベクタを生成する機能レベルテストベクタ生成手段5
と、この機能レベルテストベクタ生成手段5が生成した
第1のテストベクタを用いて前記論理合成手段1が合成
した論理回路に対して故障シミュレーションを行い、前
記第1のテストベクタに関する第1の故障検出率及び未
検出故障リストを出力する故障シミュレーション手段6
と、故障検出率が十分に高いかどうかを判定する判定手
段3と、この判定手段3により前記故障シミュレーショ
ン手段6が出力する第1の故障検出率が不十分であるこ
とが判明した場合には、前記故障シミュレーション手段
6が出力した未検出故障リストをもとに前記論理合成手
段1が合成した論理回路を解析して故障検出用の第2の
テストベクタを生成するとともに、この生成した第2の
テストベクタと前記第1のテストベクタとを合わせた場
合に関する第2の故障検出率及びテスタビリティ解析結
果を出力する論理レベルテストベクタ生成手段2と、前
記判定手段3によりこの論理レベルテストベクタ生成手
段2が出力する第2の故障検出率が不十分であることが
判明した場合には、前記論理レベルテストベクタ生成手
段2が出力したテスタビリティ解析結果をもとに前記論
理合成手段1が合成した論理回路を変形する回路変換手
段4とを備えたものである。Further, as shown in FIG. 3, the logic circuit generation device according to the third aspect of the present invention includes logic synthesizing means 1 for synthesizing a logic circuit satisfying a given function based on the input function description. Functional level test vector generation means 5 for generating a first test vector for fault detection from the input functional description.
And the first test vector generated by the functional level test vector generating means 5 is used to perform a failure simulation on the logic circuit synthesized by the logic synthesizing means 1 to obtain a first fault relating to the first test vector. Fault simulation means 6 for outputting a detection rate and an undetected fault list
And a determination means 3 for determining whether or not the failure detection rate is sufficiently high, and when it is determined by the determination means 3 that the first failure detection rate output by the failure simulation means 6 is insufficient. The logic circuit synthesized by the logic synthesizing unit 1 is analyzed based on the undetected fault list output by the fault simulating unit 6 to generate a second test vector for fault detection, and the generated second test vector is generated. Logic level test vector generation means 2 for outputting a second fault coverage and testability analysis result in the case of combining the test vector and the first test vector, and the logic level test vector generation by the judgment means 3. When it is found that the second fault coverage output by the means 2 is insufficient, the test output by the logic level test vector generating means 2 is output. The Tabiriti analysis results in which the based logic synthesis unit 1 and a circuit converting means 4 for modifying the logic circuit synthesis.
【0016】また、請求項4の発明の論理回路生成方法
は、図4に示すように、入力された機能記述をもとに与
えられた機能を満たす論理回路を合成する論理合成ステ
ップ132と、この論理合成ステップ132で合成した
論理回路を解析して故障検出用のテストベクタを生成す
るとともに、この生成したテストベクタの故障検出率及
びテスタビリティ解析結果を出力する論理レベルテスト
ベクタ生成ステップ133と、この論理レベルテストベ
クタ生成ステップ133で出力された故障検出率が十分
に高いかどうかを判定する判定ステップ134と、この
判定ステップ134で故障検出率が不十分であることが
判明した場合には、前記論理合成ステップ132で合成
された論理回路を前記論理レベルテストベクタ生成ステ
ップ133で出力されたテスタビリティ解析結果から求
まるテスト困難の原因となる箇所に限定して、テスト容
易化のために変形するとともに、冗長部分削除のための
回路最適化と設計制約を満たすための回路調整とを行う
回路変換ステップ136とを備えたものである。Further, as shown in FIG. 4, the logic circuit generating method of the invention of claim 4 comprises a logic synthesizing step 132 for synthesizing a logic circuit satisfying a given function based on the input function description. A logic level test vector generating step 133 for analyzing the logic circuit synthesized in the logic synthesizing step 132 to generate a test vector for fault detection and outputting a fault coverage and a testability analysis result of the generated test vector. , A judgment step 134 for judging whether or not the failure detection rate output in the logic level test vector generation step 133 is sufficiently high, and if it is found in this judgment step 134 that the failure detection rate is insufficient, , The logic circuit synthesized in the logic synthesis step 132 is output in the logic level test vector generation step 133 Restricted to the part that causes the test difficulty obtained from the testability analysis result, it is modified for testability, and circuit optimization for eliminating redundant parts and circuit adjustment for satisfying design constraints are performed. And a circuit conversion step 136 to be performed.
【0017】また、請求項5の発明の論理回路生成方法
は、図5に示すように、入力された機能記述をもとに与
えられた機能を満たす論理回路を合成する論理合成ステ
ップ132と、入力された機能記述から故障検出用のテ
ストベクタを生成する機能レベルテストベクタ生成ステ
ップ138と、この機能レベルテストベクタ生成ステッ
プ138で生成されたテストベクタを用いて前記論理合
成ステップ132で合成された論理回路に対して故障シ
ミュレーションを行い、前記テストベクタの故障検出率
及びテスタビリティ解析結果を出力する故障シミュレー
ションステップ139と、この故障シミュレーションス
テップ139で出力された故障検出率が十分に高いかど
うかを判定する判定ステップ134と、この判定ステッ
プ134で故障検出率が不十分であることが判明した場
合には、前記論理合成ステップ132で合成された論理
回路を前記故障シミュレーションステップ139で出力
されたテスタビリティ解析結果から求まるテスト困難の
原因となる箇所に限定して、テスト容易化のために変形
するとともに、冗長部分削除のための回路最適化と設計
制約を満たすための回路調整とを行う回路変換ステップ
136とを備えたものである。According to a fifth aspect of the logic circuit generating method of the present invention, as shown in FIG. 5, a logic synthesizing step 132 for synthesizing a logic circuit satisfying a given function based on the input functional description, A function level test vector generation step 138 for generating a test vector for fault detection from the input function description, and a synthesis in the logic synthesis step 132 using the test vector generated in the function level test vector generation step 138 A failure simulation is performed on the logic circuit, and a failure simulation step 139 for outputting the failure detection rate of the test vector and a testability analysis result and whether or not the failure detection rate output in the failure simulation step 139 is sufficiently high. Judgment step 134 and the failure detection in this judgment step 134. If it is found that the ratio is insufficient, the logic circuit synthesized in the logic synthesis step 132 is limited to a portion that causes a test difficulty obtained from the testability analysis result output in the failure simulation step 139. Then, the circuit conversion step 136 is performed, which is modified for testability, and which performs circuit optimization for eliminating redundant parts and circuit adjustment for satisfying design constraints.
【0018】また、請求項6の発明の論理回路生成方法
は、図6に示すように、入力された機能記述をもとに与
えられた機能を満たす論理回路を合成する論理合成ステ
ップ132と、入力された機能記述から故障検出用の第
1のテストベクタを生成する機能レベルテストベクタ生
成ステップ138と、この機能レベルテストベクタ生成
ステップ138で生成された第1のテストベクタを用い
て前記論理合成ステップ132で合成された論理回路に
対して故障シミュレーションを行い、前記第1のテスト
ベクタに関する第1の故障検出率及び未検出故障リスト
を出力する故障シミュレーションステップ139と、こ
の故障シミュレーションステップ139で出力された第
1の故障検出率が十分に高いかどうかを判定する第1の
判定ステップ134aと、この第1の判定ステップ13
4aで第1の故障検出率が不十分であることが判明した
場合には、前記故障シミュレーションステップ139で
出力された未検出故障リストをもとに前記論理合成ステ
ップ132で合成された論理回路を解析して故障検出用
の第2のテストベクタを生成するとともに、この生成し
た第2のテストベクタと前記第1のテストベクタとを合
わせた場合に関する第2の故障検出率及びテスタビリテ
ィ解析結果を出力する論理レベルテストベクタ生成ステ
ップ133と、この論理レベルテストベクタ生成ステッ
プ133で出力された第2の故障検出率が十分に高いか
どうかを判定する第2の判定ステップ134bと、この
第2の判定ステップ134bで第2の故障検出率が不十
分であることが判明した場合には、前記論理合成ステッ
プ132で合成された論理回路を前記論理レベルテスト
ベクタ生成ステップ133で出力されたテスタビリティ
解析結果から求まるテスト困難の原因となる箇所に限定
して、テスト容易化のために変形するとともに、冗長部
分削除のための回路最適化と設計制約を満たすための回
路調整とを行う回路変換ステップ136とを備えたもの
である。Further, as shown in FIG. 6, the logic circuit generating method according to the invention of claim 6 comprises a logic synthesizing step 132 for synthesizing a logic circuit satisfying a given function based on the input function description. A functional level test vector generation step 138 for generating a first test vector for fault detection from the input functional description, and the logic synthesis using the first test vector generated in the functional level test vector generation step 138. A failure simulation is performed on the logic circuit synthesized in step 132, and a failure simulation step 139 of outputting a first failure detection rate and an undetected failure list for the first test vector, and an output of this failure simulation step 139. First determination step 13 for determining whether the detected first failure detection rate is sufficiently high And a, the first determination step 13
If it is found that the first fault coverage is insufficient in 4a, the logic circuit synthesized in the logic synthesis step 132 is determined based on the undetected fault list output in the fault simulation step 139. A second test vector for failure detection is analyzed to generate a second failure detection rate and a testability analysis result regarding the case where the generated second test vector and the first test vector are combined. A logic level test vector generation step 133 for outputting, a second determination step 134b for determining whether or not the second failure detection rate output in this logic level test vector generation step 133 is sufficiently high, and a second determination step 134b If it is found in the judgment step 134b that the second failure detection rate is insufficient, it is combined in the logic combining step 132. The limited logic circuit is limited to a portion that causes a test difficulty obtained from the testability analysis result output in the logic level test vector generation step 133, and is modified for test facilitation, and the redundant portion is deleted. And circuit conversion step 136 for performing circuit optimization and circuit adjustment for satisfying design constraints.
【0019】[0019]
【作用】これにより、請求項1の発明の論理回路生成装
置においては、入力された機能記述から論理合成手段1
によって合成された論理回路が、論理レベルテストベク
タ生成手段2によって解析され、故障検出率が評価され
る。そして、判定手段3がこの故障検出率が十分高いか
どうかを判定し、十分高ければ前記論理合成手段1によ
って合成された論理回路をそのまま、論理レベルテスト
ベクタ生成手段2が生成するテストベクタとともに出力
する。もしも、故障検出率が不十分であれば、前記論理
レベルテストベクタ生成手段2が出力するテスタビリテ
ィ解析結果をもとに、前記論理合成手段1が合成した論
理回路に対して、回路変換手段4がテスタビリティを向
上させるための回路変換を行うので、テスト容易な論理
回路を生成することが可能となる。As a result, in the logic circuit generating apparatus according to the first aspect of the present invention, the logic synthesizing means 1 uses the input functional description.
The logic circuit thus synthesized is analyzed by the logic level test vector generation means 2 to evaluate the fault coverage. Then, the judging means 3 judges whether or not the fault detection rate is sufficiently high, and if it is sufficiently high, the logic circuit synthesized by the logic synthesizing means 1 is output as it is together with the test vector generated by the logic level test vector generating means 2. To do. If the fault coverage is insufficient, the circuit converting means 4 is applied to the logic circuit synthesized by the logic synthesizing means 1 based on the testability analysis result output by the logic level test vector generating means 2. Since circuit conversion is performed to improve testability, a testable logic circuit can be generated.
【0020】また、請求項2の発明の論理回路生成装置
においては、入力された機能記述から論理合成手段1に
よって合成された論理回路が、前記入力された機能記述
から機能レベルテストベクタ生成手段5によって生成さ
れたテストベクタを用いて故障シミュレーションされ、
故障検出率が評価される。そして、判定手段3がこの故
障検出率が十分高いかどうかを判定し、十分高ければ前
記論理合成手段1によって合成された論理回路をそのま
ま、前記機能レベルテストベクタ生成手段5が生成する
テストベクタとともに出力する。もしも、故障検出率が
不十分であれば、故障シミュレーション手段6が出力す
るテスタビリティ解析結果をもとに、前記論理合成手段
1が合成した論理回路に対して、回路変換手段4がテス
タビリティを向上させるための回路変換を行うので、テ
スト容易な論理回路を生成することが可能となる。Further, in the logic circuit generating device of the present invention, the logic circuit synthesized by the logic synthesizing means 1 from the input function description, the function level test vector generating means 5 from the input function description. Fault simulation using the test vector generated by
The fault coverage is evaluated. Then, the judging means 3 judges whether or not the failure detection rate is sufficiently high, and if it is sufficiently high, the logic circuit synthesized by the logic synthesizing means 1 is used as it is along with the test vector generated by the function level test vector generating means 5. Output. If the fault coverage is insufficient, the circuit conversion unit 4 determines the testability of the logic circuit synthesized by the logic synthesis unit 1 based on the testability analysis result output by the fault simulation unit 6. Since the circuit conversion for improvement is performed, it becomes possible to generate a logic circuit that is easy to test.
【0021】また、請求項3の発明の論理回路生成装置
においては、入力された機能記述から論理合成手段1に
よって合成された論理回路が、前記入力された機能記述
から機能レベルテストベクタ生成手段5によって生成さ
れた第1のテストベクタを用いて故障シミュレーション
され、第1の故障検出率が評価される。そして、判定手
段3がこの第1の故障検出率が十分高いかどうかを判定
し、十分高ければ前記論理合成手段1によって合成され
た論理回路をそのまま、前記機能レベルテストベクタ生
成手段5が生成するテストベクタとともに出力する。も
しも、第1の故障検出率が不十分であれば、故障シミュ
レーション手段6が出力する未検出故障リストをもと
に、論理レベルテストベクタ生成手段2が、前記論理合
成手段1によって合成された論理回路を解析し、前記第
1のテストベクタを補完する第2のテストベクタを生成
するとともに、前記第1のテストベクタと第2のテスト
ベクタとを合わせた場合の第2の故障検出率が評価され
る。そして、前記判定手段3がこの第2の故障検出率が
十分高いかどうかを判定し、十分高ければ前記論理合成
手段1によって合成された論理回路をそのまま、前記第
1及び第2のテストベクタとともに出力する。もしも、
第2の故障検出率が不十分であれば、前記論理レベルテ
ストベクタ生成手段2が出力するテスタビリティ解析結
果をもとに、前記論理合成手段1が合成した論理回路に
対して、回路変換手段4がテスタビリティを向上させる
ための回路変換を行うので、テスト容易な論理回路を生
成することが可能となる。Further, in the logic circuit generating apparatus according to the third aspect of the present invention, the logic circuit synthesized by the logic synthesizing means 1 from the input function description is converted into the function level test vector generating means 5 from the input function description. A fault simulation is performed using the first test vector generated by, and the first fault coverage is evaluated. Then, the judging means 3 judges whether or not the first failure detection rate is sufficiently high, and if it is sufficiently high, the functional level test vector generating means 5 generates the logic circuit synthesized by the logic synthesizing means 1 as it is. Output with test vector. If the first fault coverage is insufficient, the logic level test vector generation means 2 based on the undetected fault list output by the fault simulation means 6 causes the logic synthesized by the logic synthesis means 1 to be combined. A circuit is analyzed to generate a second test vector that complements the first test vector, and a second fault coverage is evaluated when the first test vector and the second test vector are combined. To be done. Then, the judging means 3 judges whether or not the second fault detection rate is sufficiently high. If the second failure detection rate is sufficiently high, the logic circuit synthesized by the logic synthesizing means 1 is used as it is together with the first and second test vectors. Output. If,
If the second failure detection rate is insufficient, the circuit conversion means for the logic circuit synthesized by the logic synthesis means 1 based on the testability analysis result output by the logic level test vector generation means 2. Since 4 performs circuit conversion for improving testability, a testable logic circuit can be generated.
【0022】また、請求項4の発明の論理回路生成方法
においては、入力された機能記述から論理合成ステップ
132で合成された論理回路が、論理レベルテストベク
タ生成ステップ133で解析され、故障検出率が評価さ
れる。そして、判定ステップ134でこの故障検出率が
十分高いかどうかを判定し、十分高ければ前記論理合成
ステップ132で合成された論理回路をそのまま、論理
レベルテストベクタ生成ステップ133で生成されたテ
ストベクタとともに出力する。もしも、故障検出率が不
十分であれば、前記論理合成ステップ132で合成され
た論理回路を、前記論理レベルテストベクタ生成ステッ
プ133で出力されたテスタビリティ解析結果から求ま
るテスト困難の原因となる箇所に限定して、回路変換ス
テップ136で、テスト容易化のために変形するととも
に、冗長部分削除のための回路最適化と設計制約を満た
すための回路調整とを行うので、十分高いテスタビリテ
ィを持ちながら、冗長でなく、しかも設計制約を満たし
た論理回路を生成することが可能となる。Further, in the logic circuit generating method according to the present invention, the logic circuit synthesized from the input functional description in the logic synthesizing step 132 is analyzed in the logic level test vector generating step 133, and the fault detection rate is detected. Is evaluated. Then, in the judgment step 134, it is judged whether or not the fault detection rate is sufficiently high. If the failure detection rate is sufficiently high, the logic circuit synthesized in the logic synthesis step 132 is used as it is together with the test vector generated in the logic level test vector generation step 133. Output. If the fault coverage is insufficient, the logic circuit synthesized in the logic synthesizing step 132 causes a test difficulty obtained from the testability analysis result output in the logic level test vector generating step 133. In the circuit conversion step 136, the circuit conversion step 136 is modified for testability, and circuit optimization for eliminating redundant parts and circuit adjustment for satisfying design constraints are performed. However, it is possible to generate a logic circuit that is not redundant and that satisfies the design constraint.
【0023】また、請求項5の発明の論理回路生成方法
においては、入力された機能記述から論理合成ステップ
132で合成された論理回路が、前記入力された機能記
述から機能レベルテストベクタ生成ステップ138で生
成されたテストベクタを用いて故障シミュレーションさ
れ、故障検出率が評価される。そして、判定ステップ1
34でこの故障検出率が十分高いかどうかを判定し、十
分高ければ前記論理合成ステップ132で合成された論
理回路をそのまま、前記機能レベルテストベクタ生成ス
テップ138で生成されたテストベクタとともに出力す
る。もしも、故障検出率が不十分であれば、前記論理合
成ステップ132で合成された論理回路を、前記故障シ
ミュレーションステップ139で出力されたテスタビリ
ティ解析結果から求まるテスト困難の原因となる箇所に
限定して、回路変換ステップ136で、テスト容易化の
ために変形するとともに、冗長部分削除のための回路最
適化と設計制約を満たすための回路調整とを行うので、
十分高いテスタビリティを持ちながら、冗長でなく、し
かも設計制約を満たした論理回路を生成することが可能
となる。Further, in the logic circuit generating method according to the present invention, the logic circuit synthesized in the logic synthesizing step 132 from the input functional description is generated from the input functional description in the function level test vector generating step 138. A fault simulation is performed by using the test vector generated in (1), and the fault coverage is evaluated. And determination step 1
At 34, it is judged whether or not this fault detection rate is sufficiently high. If it is sufficiently high, the logic circuit synthesized at the logic synthesis step 132 is output as it is together with the test vector generated at the function level test vector generation step 138. If the fault coverage is insufficient, the logic circuit synthesized in the logic synthesizing step 132 is limited to a portion which causes a test difficulty obtained from the testability analysis result output in the fault simulating step 139. Then, in the circuit conversion step 136, the circuit is modified for testability, and the circuit optimization for eliminating the redundant portion and the circuit adjustment for satisfying the design constraint are performed.
It is possible to generate a logic circuit that has sufficiently high testability, is not redundant, and satisfies the design constraint.
【0024】また、請求項6の発明の論理回路生成方法
においては、入力された機能記述から論理合成ステップ
132で合成された論理回路が、前記入力された機能記
述から機能レベルテストベクタ生成ステップ138で生
成された第1のテストベクタを用いて故障シミュレーシ
ョンされ、第1の故障検出率が評価される。そして、第
1の判定ステップ134aでこの第1の故障検出率が十
分高いかどうかを判定し、十分高ければ前記論理合成ス
テップ132で合成された論理回路をそのまま、前記機
能レベルテストベクタ生成ステップ138で生成された
テストベクタとともに出力する。もしも、第1の故障検
出率が不十分であれば、故障シミュレーションステップ
139で出力された未検出故障リストをもとに、論理レ
ベルテストベクタ生成ステップ133で、前記論理合成
ステップ132で合成された論理回路を解析し、前記第
1のテストベクタを補完する第2のテストベクタを生成
するとともに、前記第1のテストベクタと第2のテスト
ベクタとを合わせた場合の第2の故障検出率が評価され
る。そして、第2の判定ステップ134bでこの第2の
故障検出率が十分高いかどうかを判定し、十分高ければ
前記論理合成ステップ132で合成された論理回路をそ
のまま、前記第1及び第2のテストベクタとともに出力
する。もしも、第2の故障検出率が不十分であれば、前
記論理合成ステップ132で合成された論理回路を、前
記論理レベルテストベクタ生成ステップ133で出力さ
れたテスタビリティ解析結果から求まるテスト困難の原
因となる箇所に限定して、回路変換ステップ136で、
テスト容易化のために変形するとともに、冗長部分削除
のための回路最適化と設計制約を満たすための回路調整
とを行うので、十分高いテスタビリティを持ちながら、
冗長でなく、しかも設計制約を満たした論理回路を生成
することが可能となる。Further, in the logic circuit generating method of the present invention, the logic circuit synthesized in the logic synthesizing step 132 from the input functional description is generated from the input functional description in the functional level test vector generating step 138. A fault simulation is performed using the first test vector generated in step S1 to evaluate the first fault coverage. Then, in a first determination step 134a, it is determined whether or not this first failure detection rate is sufficiently high. If it is sufficiently high, the logic circuit synthesized in the logic synthesis step 132 is left as it is, and the functional level test vector generation step 138. Output with the test vector generated in. If the first fault coverage is insufficient, it is synthesized in the logic synthesis step 132 in the logic level test vector generation step 133 based on the undetected fault list output in the fault simulation step 139. The logic circuit is analyzed to generate a second test vector that complements the first test vector, and a second failure detection rate is obtained when the first test vector and the second test vector are combined. To be evaluated. Then, in a second determination step 134b, it is determined whether or not the second fault detection rate is sufficiently high. If it is sufficiently high, the logic circuit synthesized in the logic synthesis step 132 is left as it is, and the first and second tests are performed. Output with vector. If the second fault coverage is insufficient, the reason why the logic circuit synthesized in the logic synthesizing step 132 is the test difficulty obtained from the testability analysis result output in the logic level test vector generating step 133 is caused. In the circuit conversion step 136,
While transforming for testability, it performs circuit optimization for eliminating redundant parts and circuit adjustment for satisfying design constraints, so while having sufficiently high testability,
It is possible to generate a logic circuit that is not redundant and that satisfies the design constraint.
【0025】[0025]
【実施例】以下、図面を参照しながら3つの実施例につ
いて順次説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Three embodiments will be sequentially described below with reference to the drawings.
【0026】[第1の実施例]図1は請求項1の発明に
係る論理回路生成装置の一実施例の構成を示すブロック
図である。同図において、1は入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成手段、2は論理合成手段1が合成した論理回路を解析
して故障検出用のテストベクタを生成するとともに、こ
の生成したテストベクタの故障検出率とテスタビリティ
解析結果としての未検出故障リストとを出力する論理レ
ベルテストベクタ生成手段、3は論理レベルテストベク
タ生成手段2が出力する故障検出率が十分に高いかどう
かを判定する判定手段、4は判定手段3により故障検出
率が不十分であることが判明した場合に、前記論理レベ
ルテストベクタ生成手段2が出力した未検出故障リスト
をもとに前記論理生成手段1が合成した論理回路を変形
する回路変換手段である。[First Embodiment] FIG. 1 is a block diagram showing the configuration of an embodiment of a logic circuit generating apparatus according to the first aspect of the present invention. In the figure, 1 is a logic synthesizing means for synthesizing a logic circuit satisfying a given function based on the input function description, and 2 is a test for detecting a failure by analyzing the logic circuit synthesized by the logic synthesizing means 1. A logic level test vector generating means for generating a vector and outputting a fault detection rate of the generated test vector and an undetected fault list as a testability analysis result, 3 is a fault output by the logic level test vector generating means 2. The judging means 4 for judging whether or not the detection rate is sufficiently high, the undetected failure list outputted by the logic level test vector generating means 2 when the judging means 3 finds that the failure detection rate is insufficient. It is a circuit conversion means for modifying the logic circuit synthesized by the logic generation means 1 based on the above.
【0027】10は前記論理合成手段1、論理レベルテ
ストベクタ生成手段2、判定手段3及び回路変換手段4
の各々の機能を実現するための論理回路生成プログラム
を記憶し、このプログラムを必要に応じて実行するプロ
グラム実行部、11は機能記述の作成を支援し、作成さ
れた機能記述をプログラム実行部10に渡す入力部、1
2はプログラム実行部10により生成された論理回路を
論理図やネットリスト等のような利用可能な形に変換し
て出力する出力部、13はプログラム実行部10が生成
する中間データを一時記憶するための作業記憶部、14
は前記論理合成手段1で参照する論理合成知識や前記回
路変換手段4で参照する回路変換知識等を記憶しておく
知識記憶部である。Reference numeral 10 is the logic synthesizing means 1, the logic level test vector generating means 2, the judging means 3 and the circuit converting means 4.
A program execution unit that stores a logic circuit generation program for realizing each function of the program and executes the program as necessary, 11 supports the creation of the function description, and the created function description is executed by the program execution unit 10 Input section to pass to, 1
Reference numeral 2 denotes an output unit that converts the logic circuit generated by the program execution unit 10 into a usable form such as a logic diagram or netlist and outputs the output. Reference numeral 13 temporarily stores intermediate data generated by the program execution unit 10. Working storage for, 14
Is a knowledge storage unit for storing the logic synthesis knowledge referred to by the logic synthesis means 1 and the circuit conversion knowledge referred to by the circuit conversion means 4.
【0028】以上のように構成された本実施例の動作に
ついて、以下に説明する。まず、入力された機能記述及
び設計制約から論理合成手段1によって合成された論理
回路が、論理レベルテストベクタ生成手段2によって解
析され、故障検出率が評価される。そして、判定手段3
がこの故障検出率が十分高いかどうかを判定し、十分高
ければ前記論理合成手段1によって合成された論理回路
をそのまま、論理レベルテストベクタ生成手段2が生成
するテストベクタとともに出力する。もしも、判定手段
3の判定の結果、故障検出率が不十分であれば、前記論
理レベルテストベクタ生成手段2が出力するテスタビリ
ティ解析結果としての未検出故障リストをもとに、前記
論理合成手段1が合成した論理回路に対して、回路変換
手段4がテスタビリティを向上させるための回路変換を
行い、テスト容易な論理回路を生成する。The operation of this embodiment configured as described above will be described below. First, the logic circuit synthesized by the logic synthesizing means 1 from the input functional description and design constraint is analyzed by the logic level test vector generating means 2 to evaluate the fault coverage. And the judging means 3
Judges whether the fault detection rate is sufficiently high. If it is sufficiently high, the logic circuit synthesized by the logic synthesizing means 1 is output as it is together with the test vector generated by the logic level test vector generating means 2. If the failure detection rate is insufficient as a result of the determination by the determination means 3, the logic synthesis means is based on the undetected failure list as the testability analysis result output by the logic level test vector generation means 2. The circuit converting means 4 performs circuit conversion for improving the testability on the logic circuit synthesized by 1 to generate a testable logic circuit.
【0029】テスト容易化された論理回路は、再び論理
レベルテストベクタ生成手段2により解析され、故障検
出率が評価される。十分高い故障検出率が得られるか、
繰り返し回数が最大値を越えるまで以上の処理が繰り返
される。また、回路変換の結果、どうしても与えられた
設計制約を満たすことができなくなった場合には、論理
合成に関連するパラメータを変更して、もう一度論理合
成手段1に戻って、論理回路を新たなパラメータのもと
で合成し直すこともできる。The testable logic circuit is analyzed again by the logic level test vector generating means 2 to evaluate the fault coverage. Is it possible to obtain a sufficiently high fault coverage?
The above processing is repeated until the number of repetitions exceeds the maximum value. Further, as a result of the circuit conversion, when the given design constraint cannot be satisfied, the parameters related to the logic synthesis are changed, the process returns to the logic synthesis means 1 again, and the logic circuit is set to the new parameter. It can also be re-synthesized under.
【0030】図4に以上の本実施例の処理フローを示
す。同図は、請求項4の発明に係る論理回路生成方法の
一実施例の構成を示したものでもある。FIG. 4 shows the processing flow of the above embodiment. This figure also shows the configuration of an embodiment of the logic circuit generating method according to the invention of claim 4.
【0031】さて、以下では本実施例の論理合成、論理
レベルテストベクタ生成、判定及び回路変換の各々の処
理について、順次一層詳細に説明する。Now, the respective processes of the logic synthesis, the logic level test vector generation, the judgment and the circuit conversion of this embodiment will be described in more detail in order below.
【0032】(論理合成処理)図7に本実施例の論理回
路生成装置の入力となるハードウェア記述言語による機
能記述の例を示す。ハードウェア記述言語を用いれば、
ソフトウェアの高級言語風の構文を用いて論理回路の動
作を記述することができる。図7の記述例は、2ビット
の信号aが0の場合には信号rに0を代入し、信号aが
1の場合には信号rに信号dの値を代入し、信号aが2
の場合には信号rに信号eの値を代入する回路の動作を
表現している。(Logic Synthesizing Process) FIG. 7 shows an example of a function description in a hardware description language which is an input to the logic circuit generator of this embodiment. With a hardware description language,
The behavior of a logic circuit can be described using a high-level language-like syntax of software. In the description example of FIG. 7, when the 2-bit signal a is 0, 0 is substituted for the signal r, and when the signal a is 1, the value of the signal d is substituted for the signal r, and the signal a is 2
In the case of, the operation of the circuit that substitutes the value of the signal e into the signal r is expressed.
【0033】図8に本実施例における論理合成手段1の
処理フロー図を示す。同図において、71は言語に依る
機能記述を構文解析して、記述に対応する解析木に変換
する構文解析ステップ、72は得られた解析木からテク
ノロジーに依存しない抽象的な論理レベルの回路を生成
する論理レベル回路生成ステップ、73は論理レベルの
回路を特定のテクノロジーの制約を満たした論理回路に
変換するテクノロジーマッピングステップである。FIG. 8 shows a processing flow chart of the logic synthesizing means 1 in this embodiment. In the figure, 71 is a parsing step for parsing a functional description depending on a language and converting it into a parse tree corresponding to the description, and 72 is an abstract logic level circuit independent of technology from the obtained parse tree. A logic level circuit generation step 73 for generating is a technology mapping step for converting a logic level circuit into a logic circuit satisfying the constraint of a specific technology.
【0034】図7の機能記述例を入力として、本実施例
の論理合成手段1により生成された論理回路を表す論理
図を図9に示す。ここで論理回路は特定のセルライブラ
リに含まれるセルを相互に接続することにより表現され
る。FIG. 9 is a logic diagram showing a logic circuit generated by the logic synthesizing means 1 of this embodiment, using the example of the function description of FIG. 7 as an input. Here, the logic circuit is represented by interconnecting cells included in a specific cell library.
【0035】なお、本実施例の論理合成手段1において
は、機能記述として前記のとおりハードウェア記述言語
を採用したものであるが、それ以外に論理式、真理値
表、機能図等による機能記述も可能である。In the logic synthesizing means 1 of this embodiment, the hardware description language is adopted as the function description as described above, but other than that, the function description by the logical expression, truth table, functional diagram, etc. Is also possible.
【0036】(論理レベルテストベクタ生成処理)論理
合成手段1により合成された論理回路は、次に論理レベ
ルテストベクタ生成手段2に入力されて故障検出率が評
価される。(Logic Level Test Vector Generating Process) The logic circuit synthesized by the logic synthesizing means 1 is next inputted to the logic level test vector generating means 2 to evaluate the fault coverage.
【0037】論理レベルでのテストベクタ生成は、論理
回路上に縮退故障を仮定してそれを検出するための入力
を求めるものである。本実施例における論理レベルテス
トベクタ生成手段2は、経路活性化に基づくアルゴリズ
ムを採用している。この手法は、故障を仮定した時の信
号値と正常な値との違いを出力に伝搬させる経路を求め
るものである。The test vector generation at the logic level is to assume an stuck-at fault on a logic circuit and obtain an input for detecting it. The logic level test vector generating means 2 in this embodiment employs an algorithm based on path activation. This method seeks a path for propagating a difference between a signal value assuming a failure and a normal value to an output.
【0038】図10に本実施例における論理レベルテス
トベクタ生成手段2の処理フロー図を示す。同図におい
て、81は故障集合の中から1つの故障を選択する故障
選択ステップ、82は選択された故障に対して故障基本
Dキューブを設定し、それを満足する入力値を求めるD
設定操作ステップ、83はある信号線の値が決まったこ
とによって決定される信号線の値を求める含意操作ステ
ップ、84は故障基本Dキューブを出力方向に伝搬させ
るD駆動操作ステップ、85は与えられた信号線の値と
矛盾しないようにその入力側の値を設定する一致操作ス
テップである。ここで故障基本Dキューブとは故障が存
在する場合と存在しない場合とで値が異なることを示す
信号線の状態である。本実施例ではD駆動操作ステップ
84と含意操作ステップ83とを繰り返すことにより、
この故障基本Dキューブをいずれかの出力に伝搬させ、
その後一致操作ステップ85により、このような伝搬を
実現する入力パターンを求める。求められた入力パター
ンは選択した故障に対するテストベクタとなっている。FIG. 10 shows a processing flow chart of the logic level test vector generating means 2 in this embodiment. In the figure, 81 is a fault selection step for selecting one fault from the fault set, and 82 is a fault basic D-cube for the selected fault, and D is an input value satisfying it.
A setting operation step, 83 is an implication operation step for obtaining the value of a signal line determined by the value of a certain signal line being determined, 84 is a D drive operation step for propagating the failed basic D cube in the output direction, and 85 is given. It is a matching operation step for setting the value on the input side so as not to contradict the value of the signal line. Here, the failure basic D-cube is a state of the signal line indicating that the value is different when the failure exists and when the failure does not exist. In this embodiment, by repeating the D drive operation step 84 and the implication operation step 83,
Propagate this failed basic D-cube to either output,
Then, in the matching operation step 85, an input pattern that realizes such propagation is obtained. The obtained input pattern is the test vector for the selected fault.
【0039】例えば図11に示すような回路を考える。
c/0故障(cが0に固定される縮退故障)を検出する
ためにはcが1となる入力が必要であり、yは0でなけ
ればならない。正常時1かつ故障時0となる状態をDと
書くと、fをDにするためにはxを0にする必要があ
る。次に、iをDにするためにはuを1にする必要があ
る。最後にzをDにするためにはjが0でなければなら
ないが、そのためにはvが1である必要がある。結局x
=y=0、u=v=1の時にzがDになり、正常時には
出力値が1であるのに対し、c/0故障があった場合に
は出力値が0となることがわかる。これはx=y=0、
u=v=1が故障c/0のテストベクタとなることを意
味している。For example, consider a circuit as shown in FIG.
In order to detect a c / 0 fault (a stuck-at fault in which c is fixed to 0), an input in which c is 1 is required, and y must be 0. If a state where 1 is normal and 0 when a failure occurs is written as D, x must be set to 0 in order to set f to D. Next, u must be set to 1 in order to set i to D. Finally, j must be 0 in order for z to be D, which requires v to be 1. After all x
It can be seen that when y = 0 and u = v = 1, z becomes D, and the output value is 1 under normal conditions, whereas the output value becomes 0 when there is a c / 0 failure. This is x = y = 0,
This means that u = v = 1 is the test vector for the fault c / 0.
【0040】一方、含意操作ステップ83や一致操作ス
テップ85で矛盾が出てくるとバックトラックが発生
し、別のD駆動やD設定が試みられるが、全ての試みが
失敗した場合やバックトラックの回数が設定値を越えた
場合には、その故障に対するテストベクタ生成が打ち切
られ、未検出故障と見なされる。そして、論理回路の全
故障に対する検出可能故障の割合が故障検出率として報
告される。On the other hand, if a contradiction occurs in the implication operation step 83 or the coincidence operation step 85, a backtrack occurs, and another D drive or D setting is attempted. If the number of times exceeds the set value, the generation of the test vector for the fault is aborted and it is considered as an undetected fault. Then, the ratio of detectable faults to all faults in the logic circuit is reported as a fault coverage.
【0041】なお、論理レベルテストベクタ生成手法と
してはここに述べた手法以外にも様々な手法が考えら
れ、本発明の別の実施例と考えることができる。また、
論理レベルでのテストベクタ生成を純粋にアルゴリズム
的手法を用いて行うことは処理時間の点で困難であるた
め、故障シミュレーションが併用されることが多い。本
発明の論理レベルテストベクタ生成手段2にはこのよう
な混合型の手法を用いているものも当然含まれる。As the logic level test vector generating method, various methods other than the method described here can be considered, and can be considered as another embodiment of the present invention. Also,
Since it is difficult in terms of processing time to generate a test vector at the logic level by using a purely algorithmic method, failure simulation is often used together. The logic level test vector generating means 2 of the present invention naturally includes those using such a mixed method.
【0042】図12に本実施例における論理レベルテス
トベクタ生成手段2により生成されるテストベクタのリ
ストの例を示す。FIG. 12 shows an example of a list of test vectors generated by the logic level test vector generating means 2 in this embodiment.
【0043】またテストベクタ生成に失敗した故障は未
検出故障として報告されるが、その時実際に失敗した処
理に関する情報も同時に報告され、これらがテスタビリ
ティ解析結果として出力される。本実施例では論理レベ
ルテストベクタ生成手段2によるテスタビリティの解析
結果として未検出故障リストが回路変換手段4に送られ
ているが、これは必ずしも未検出故障リストである必要
はなく、例えば観測困難箇所や制御困難箇所のリストの
ようなものであってもよい。Further, a failure in which the test vector generation has failed is reported as an undetected failure, and at the same time, information regarding the processing that has actually failed is also reported and these are output as the testability analysis result. In this embodiment, the undetected failure list is sent to the circuit conversion means 4 as the testability analysis result by the logic level test vector generation means 2. However, this is not necessarily the undetected failure list, and for example, it is difficult to observe. It may be like a list of locations or difficult-to-control locations.
【0044】(判定処理)論理レベルテストベクタ生成
手段2により評価された故障検出率は、判定手段3に入
力される。(Determination Processing) The fault detection rate evaluated by the logic level test vector generation means 2 is input to the determination means 3.
【0045】図13に本実施例における判定手段3の処
理フロー図を示す。本実施例においては、入力された故
障検出率は予め設定されているしきい値(ここでは95
%)と比較され、しきい値よりも大きければ十分、小さ
ければ不十分と判定される。しきい値として本実施例で
は95%を採用しているが、これは任意の値に設定する
ことが可能である。通常LSIの設計では故障検出率9
0%以上を要求されることが多い。しきい値を高くすれ
ばするほど合成される回路のテスタビリティは高くなる
が、反面コストや遅延が増大する傾向がある。またしき
い値を100%とすることにより、入力される故障検出
率にかかわらず常に回路変換を実行することができる
が、これは実質的には判定を行っていないのと同じであ
り、判定手段3がない場合に対応する。FIG. 13 shows a processing flow chart of the judging means 3 in this embodiment. In this embodiment, the input failure detection rate is a preset threshold value (here, 95).
%), And if it is larger than the threshold value, it is judged to be sufficient, and if it is smaller than the threshold value, it is judged to be insufficient. In this embodiment, 95% is adopted as the threshold value, but it can be set to any value. Normal LSI design has a failure detection rate of 9
0% or more is often required. The higher the threshold value, the higher the testability of the synthesized circuit, but the cost and delay tend to increase. Also, by setting the threshold value to 100%, the circuit conversion can always be executed regardless of the input fault coverage, but this is substantially the same as not making a determination. It corresponds to the case where the means 3 is not provided.
【0046】なお、本実施例では故障検出率のみを用い
て判定を行っているが、他の情報、例えばテスタビリテ
ィ解析結果や論理回路のコストや遅延、また処理時間等
の情報も用いて判定を行うことも可能であって、本発明
の別の実施例と考えることができる。In this embodiment, the judgment is made using only the fault coverage, but the judgment is also made using other information such as the testability analysis result, the cost and delay of the logic circuit, and the processing time. Can be performed and can be considered as another embodiment of the present invention.
【0047】(回路変換処理)もしも、判定手段3によ
る判定の結果、故障検出率が不十分であれば、前記論理
レベルテストベクタ生成手段2が出力するテスタビリテ
ィ解析結果をもとに、前記論理合成手段1が合成した論
理回路に対して、回路変換手段4がテスタビリティを向
上させるための回路変換を行い、テスト容易な論理回路
を生成する。(Circuit conversion process) If the result of the judgment by the judging means 3 is that the failure detection rate is insufficient, the logic level test vector generating means 2 outputs the logic based on the testability analysis result. The circuit converting means 4 performs circuit conversion on the logic circuit synthesized by the synthesizing means 1 in order to improve testability, and generates a logic circuit that is easy to test.
【0048】図14に本実施例における回路変換手段4
の処理フロー図を示す。同図において、111は入力さ
れたテスタビリティ解析結果に基づき、入力された論理
回路にテスト回路を挿入するテスト回路挿入ステップ、
112はテスト回路挿入の結果、回路に発生した冗長性
を削除する回路変換を行う回路最適化ステップ、113
はテスト回路が挿入された回路のコスト及び遅延を評価
して、それが与えられた設計制約を満たしているかどう
かを判定するコスト・遅延評価ステップ、114は前記
コスト・遅延評価ステップの結果、設計制約が満たされ
ていない場合に設計制約を満たすように回路を変換する
回路調整ステップである。FIG. 14 is a circuit conversion means 4 in this embodiment.
The processing flow chart of is shown. In the figure, reference numeral 111 denotes a test circuit inserting step for inserting a test circuit into the input logic circuit based on the input testability analysis result,
Reference numeral 112 denotes a circuit optimizing step for performing circuit conversion for eliminating redundancy generated in the circuit as a result of test circuit insertion, 113
Is a cost / delay evaluation step of evaluating the cost and delay of the circuit in which the test circuit is inserted, and determining whether or not it meets given design constraints, 114 is the result of the cost / delay evaluation step, This is a circuit adjustment step for converting a circuit so as to satisfy the design constraint when the constraint is not satisfied.
【0049】図15にテスト回路挿入処理の一例とし
て、回路中のフリップフロップに対するスキャンパス挿
入に伴う変換を示す。121はクロック信号clkの立
上りに同期して、データ入力dの値を取込み記憶するフ
リップフロップである。変換後は、フリップフロップ1
21の直前にセレクト回路122が挿入され、セレクト
信号selの値に応じてフリップフロップ121の入力
を元々のデータ入力dかスキャン入力sinかに切替え
ている。スキャン入力sinはスキャンパスを構成する
前段のフリップフロップの出力Qに接続され、これによ
り通常動作時にはデータ入力dが、スキャン動作時には
スキャン入力sinが各々フリップフロップ121に入
力される。スキャン動作時にはスキャンパスを構成する
フリップフロップが全体として1つのシフトレジスタの
ように働き、外部から1ビットずつ順番にフリップフロ
ップに値を設定することができる。As an example of the test circuit insertion processing, FIG. 15 shows conversion associated with scan path insertion for flip-flops in the circuit. Reference numeral 121 is a flip-flop which receives and stores the value of the data input d in synchronization with the rising edge of the clock signal clk. After conversion, flip-flop 1
A select circuit 122 is inserted immediately before 21 to switch the input of the flip-flop 121 between the original data input d and the scan input sin according to the value of the select signal sel. The scan input sin is connected to the output Q of the flip-flop of the preceding stage forming the scan path, whereby the data input d is input to the flip-flop 121 during the normal operation and the scan input sin is input to the flip-flop 121 during the scan operation. At the time of scan operation, the flip-flops forming the scan path as a whole act like one shift register, and values can be set in the flip-flops in order bit by bit from the outside.
【0050】このようにスキャンパスを挿入することに
より、回路中のフリップフロップに自由に値を設定した
り、またフリップフロップの値を自由に読み出すことが
可能になり、そのままでは困難な順序回路のテストを組
合せ回路のレベルまで容易化することができる。By inserting the scan path in this way, it becomes possible to freely set the value to the flip-flop in the circuit and to read the value of the flip-flop freely, which makes it difficult for the sequential circuit as it is. Testing can be facilitated down to the level of combinatorial circuits.
【0051】図16にテスト回路挿入処理の別の例とし
て、再収れん除去処理に伴う回路変換を示す。組合せ回
路のテストを困難にする最大の要因は回路中に含まれる
再収れんである。再収れんとは回路中のある信号が複数
の経路を通って同じゲートの入力となっている状態であ
り、図16について言うとG1→G2→G4→G6とG
1→G3→G5→G6との2つの経路を通ってG1の出
力がG6で再収れんしている。FIG. 16 shows, as another example of the test circuit insertion processing, circuit conversion accompanying the reconvergence removal processing. The biggest factor in the difficulty of testing a combinational circuit is the reconvergence contained in the circuit. Reconvergence is a state in which a certain signal in the circuit is input to the same gate through a plurality of paths, and referring to FIG. 16, G1 → G2 → G4 → G6 and G
The output of G1 is reconverged at G6 through two routes of 1 → G3 → G5 → G6.
【0052】回路中に再収れんが存在すると、前記論理
レベルテストベクタ生成処理のD設定操作82やD駆動
操作84の後の含意操作83で矛盾が生じることが多
く、テストベクタ生成に失敗する場合がある。そこで、
このようなテスト困難な再収れんが存在した場合には、
再収れんを構成する経路のどちらかにEXORゲートを
挿入して再収れんを切断することにより、実質的に再収
れんのない回路に変換することができる。When reconvergence exists in the circuit, inconsistency often occurs in the implication operation 83 after the D setting operation 82 and the D drive operation 84 in the logic level test vector generation processing, and the test vector generation fails. There is. Therefore,
If there is such a difficult reconvergence test,
By inserting an EXOR gate in either of the paths forming the reconvergence and cutting the reconvergence, it is possible to convert the circuit into a substantially non-reconvergent circuit.
【0053】図16の例では、G3とG5との間にEX
ORゲートG7を挿入することにより、aにDが伝搬し
てきた場合、常にDをdに伝搬できる。またaの値が0
でも1でも、bの値を適当に決めることによりcの値を
0にでも1にでも設定することができる。従って論理レ
ベルテストベクタ生成時にバックトラックを生じること
なく、容易にテストベクタを生成することが可能にな
る。In the example of FIG. 16, EX is placed between G3 and G5.
By inserting the OR gate G7, when D propagates to a, D can always propagate to d. The value of a is 0
However, even if it is 1, the value of c can be set to 0 or 1 by appropriately determining the value of b. Therefore, it is possible to easily generate the test vector without generating backtrack when the logic level test vector is generated.
【0054】図17に回路最適化処理の例を示す。テス
ト回路挿入処理では、周囲の回路構成を考慮することな
く必要な場合に機械的にテスト回路が挿入されるため、
挿入されたテスト回路と元の回路とを合わせたものが冗
長になる場合が多い。従来のテスタビリティを考慮しな
い論理回路生成装置ではこの冗長性を取り除けなかった
のであるが、テスト回路挿入処理後の図17の回路最適
化処理によれば、このような冗長性を除去することがで
きるのである。FIG. 17 shows an example of the circuit optimization processing. In the test circuit insertion process, the test circuit is mechanically inserted when necessary without considering the surrounding circuit configuration,
A combination of the inserted test circuit and the original circuit is often redundant. This redundancy cannot be removed by the conventional logic circuit generation device that does not consider testability, but such redundancy can be removed by the circuit optimization processing of FIG. 17 after the test circuit insertion processing. You can do it.
【0055】図17の例は、スキャンパス挿入処理後の
フリップフロップ周辺の回路の最適化を示している。元
々のフリップフロップのD入力にはANDゲートG1が
接続されており、スキャンパス挿入処理により、複合ゲ
ートG2と2つのインバータG3,G4から構成される
セレクト回路が挿入されている。The example of FIG. 17 shows optimization of the circuit around the flip-flop after the scan path insertion processing. An AND gate G1 is connected to the D input of the original flip-flop, and a select circuit including a composite gate G2 and two inverters G3 and G4 is inserted by the scan path insertion process.
【0056】最適化後の回路では、ANDゲートG1は
複合ゲートG2に吸収されて新たな複合ゲートG5にな
っており、インバータG3はフリップフロップに吸収さ
れている。またインバータG4は削除され、代りに同じ
機能の信号線〜sel(〜は信号の反転を意味する。)
が接続されている。最適化前の回路と比べて最適化後の
回路は、面積、遅延とも削減されていることがわかる。In the optimized circuit, the AND gate G1 is absorbed by the composite gate G2 to become a new composite gate G5, and the inverter G3 is absorbed by the flip-flop. Further, the inverter G4 is deleted, and instead, the signal line ~ sel having the same function (~ means signal inversion).
Are connected. It can be seen that the circuit after optimization has reduced area and delay compared to the circuit before optimization.
【0057】しかしながら最適化を行った後でも、テス
ト回路挿入前の元々の回路と比べると、面積、遅延とも
増加していることは明らかである。また、元々の回路が
満たしていた面積、遅延等に関する設計制約が依然とし
て満たされているという保証はない。そこで回路最適化
を行った後で、回路のコスト、遅延の評価を行い、設計
制約が満たされているかどうかをチェックする。その結
果満たされていないことがわかれば、制約を満たすよう
に回路調整処理を行う必要がある。However, even after the optimization, it is apparent that both the area and the delay are increased as compared with the original circuit before the test circuit is inserted. Further, there is no guarantee that the design constraints regarding the area, delay, etc., which the original circuit satisfied, are still satisfied. Therefore, after performing circuit optimization, the cost and delay of the circuit are evaluated and it is checked whether the design constraints are satisfied. As a result, if it is found that the condition is not satisfied, it is necessary to perform circuit adjustment processing so as to satisfy the constraint.
【0058】例えばスキャンパス挿入に伴い、フリップ
フロップの直前にセレクト回路が挿入されるために、フ
リップフロップのD入力の遅延が大きくなって、セット
アップ時間の制約(クロック信号が変化するよりもある
時間だけ早くD入力信号が確定していなければならない
という制約)を満たさなくなることがあり、D入力の遅
延を短縮することが必要になる場合がある。For example, when the scan path is inserted, the select circuit is inserted immediately before the flip-flop, so that the delay of the D input of the flip-flop becomes large, and the setup time is restricted (a time longer than a change in the clock signal). The constraint that the D input signal must be determined as soon as possible may not be satisfied, and it may be necessary to shorten the delay of the D input.
【0059】図18に遅延を短縮するためによく用いら
れる回路変換の例を示す。いずれも入力Aと出力Xとの
間の遅延の短縮を行っている。a)の例ではゲートの出
力極性を変えることにより、経路に存在するインバータ
を削除している。b)では論理的に等価な信号AとFと
を変換することにより、経路のゲート段数を削減してい
る。c)では、ゲートを重複させることにより、複合ゲ
ート化している。FIG. 18 shows an example of circuit conversion that is often used to reduce the delay. Both reduce the delay between the input A and the output X. In the example of a), the inverter existing in the path is deleted by changing the output polarity of the gate. In b), the number of gate stages in the path is reduced by converting the logically equivalent signals A and F. In c), the gates are overlapped to form a composite gate.
【0060】なお、本実施例の回路変換手段ではテスト
回路挿入処理から回路調整処理まで順を追って実行して
いるが、必ずしもそうである必要はなく、例えばコス
ト、遅延等を評価しながら設計制約の満たす範囲内でテ
スト回路を挿入したり、あるいはコスト増加や遅延増加
とのトレードオフを考慮して最適な回路変換を行うとい
った手法を取ってもよく、本発明の別の実施例と考える
ことができる。In the circuit conversion means of this embodiment, the test circuit insertion process to the circuit adjustment process are executed in sequence, but this is not necessarily the case. For example, design constraints are evaluated while evaluating cost, delay, etc. A test circuit may be inserted within a range that satisfies the above condition, or an optimum circuit conversion may be performed in consideration of a trade-off with an increase in cost and an increase in delay, which is considered as another embodiment of the present invention. You can
【0061】また、本実施例の回路変換手段では設計制
約として回路のコストと遅延のみを考慮しているが、場
合によっては消費電力等も考慮する必要があり、この消
費電力等を考慮したものは本発明の別の実施例と考える
ことができる。Further, in the circuit conversion means of the present embodiment, only the cost and delay of the circuit are taken into consideration as the design constraint, but in some cases it is necessary to take into account the power consumption and the like. Can be considered as another embodiment of the invention.
【0062】さらに、本実施例では回路変換手段のテス
ト回路挿入処理の例としてスキャンパス挿入と再収れん
除去とを示しているが、それ以外にも例えばフリップフ
ロップに対するリセット機能の付加、制御観測困難点に
対する制御観測用入出力ポートの追加やスキャンフリッ
プフロップの追加も可能である。Further, in the present embodiment, the scan path insertion and the reconvergence removal are shown as an example of the test circuit insertion processing of the circuit conversion means, but other than that, for example, addition of a reset function to the flip-flop, control observation is difficult. It is also possible to add control observation input / output ports for points and scan flip-flops.
【0063】以上のとおり、第1の実施例においては、
論理レベルテストベクタ生成手段2により論理回路のテ
スタビリティを論理レベルで評価し、その結果テスタビ
リティが不十分な箇所があれば回路変換手段4によって
テストが容易になるように論理レベルで変換する。この
ため、従来の方法と比べるとテスタビリティの解析結果
が正確になる。また従来のテスタビリティを考慮した論
理回路生成装置では、不必要なところにまでテスト回路
を挿入していたり、逆に必要なところに挿入していなか
ったりしていたのに比べると、真に必要な箇所にのみテ
スト容易化のための回路変換が行われるため、テスト容
易化に伴う回路コストの増大が少なくて済む。この点が
本実施例の極めて重要なポイントである。As described above, in the first embodiment,
The logic level test vector generation means 2 evaluates the testability of the logic circuit at the logic level, and if there is a portion where the testability is insufficient as a result, the circuit conversion means 4 converts it at the logic level so that the test becomes easy. For this reason, the testability analysis result is more accurate than the conventional method. Moreover, in the conventional logic circuit generation device considering testability, it is true that it is necessary compared to the fact that the test circuit is inserted even in unnecessary places and vice versa. Since the circuit conversion for test facilitation is performed only in such a portion, the increase in circuit cost due to the test facilitation can be reduced. This is an extremely important point in this embodiment.
【0064】[第2の実施例]図2は請求項2の発明に
係る論理回路生成装置の一実施例の構成を示すブロック
図である。同図において、1は入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成手段、5は入力された機能記述から故障検出用のテス
トベクタを生成する機能レベルテストベクタ生成手段、
6は機能レベルテストベクタ生成手段5が生成したテス
トベクタを用いて前記論理合成手段1が合成した論理回
路に対して故障シミュレーションを行い、前記テストベ
クタの故障検出率とテスタビリティ解析結果としての未
検出故障リストとを出力する故障シミュレーション手
段、3は故障シミュレーション手段6が出力する故障検
出率が十分に高いかどうかを判定する判定手段、4は判
定手段3により故障検出率が不十分であることが判明し
た場合に、前記故障シミュレーション手段6が出力した
未検出故障リストをもとに前記論理合成手段1が合成し
た論理回路を変形する回路変換手段である。[Second Embodiment] FIG. 2 is a block diagram showing the configuration of an embodiment of a logic circuit generator according to the present invention. In the figure, reference numeral 1 is a logic synthesizing means for synthesizing a logic circuit satisfying a given function based on the inputted function description, and 5 is a function level test for generating a test vector for fault detection from the inputted function description. Vector generation means,
Reference numeral 6 performs a failure simulation on the logic circuit synthesized by the logic synthesizing means 1 using the test vector generated by the function level test vector generating means 5, and determines whether the test vector has a failure detection rate and a testability analysis result. The failure simulation means for outputting the detected failure list, 3 is a judgment means for judging whether or not the failure detection rate output by the failure simulation means 6 is sufficiently high, and 4 is an insufficient failure detection rate by the judgment means 3. If it is found, the circuit converting means is for transforming the logic circuit synthesized by the logic synthesizing means 1 based on the undetected fault list output by the fault simulating means 6.
【0065】以上のように構成された本実施例の動作に
ついて、以下に説明する。まず、入力された機能記述及
び設計制約から論理合成手段1によって合成された論理
回路が、前記入力された機能記述から機能レベルテスト
ベクタ生成手段5によって生成されたテストベクタを用
いて故障シミュレーションされ、故障検出率が評価され
る。そして、判定手段3がこの故障検出率が十分高いか
どうかを判定し、十分高ければ前記論理合成手段1によ
って合成された論理回路をそのまま、前記機能レベルテ
ストベクタ生成手段5が生成するテストベクタとともに
出力する。もしも、判定手段3の判定の結果、故障検出
率が十分であれば、故障シミュレーション手段6が出力
する未検出故障リストをもとに、前記論理合成手段1が
合成した論理回路に対して、回路変換手段4がテスタビ
リティを向上させるための回路変換を行い、テスト容易
な論理回路を生成する。The operation of this embodiment configured as described above will be described below. First, the logic circuit synthesized by the logic synthesizing means 1 from the input functional description and design constraint is subjected to a fault simulation using the test vector generated by the functional level test vector generating means 5 from the input functional description, The fault coverage is evaluated. Then, the judging means 3 judges whether or not the failure detection rate is sufficiently high, and if it is sufficiently high, the logic circuit synthesized by the logic synthesizing means 1 is used as it is along with the test vector generated by the function level test vector generating means 5. Output. If the failure detection rate is sufficient as a result of the judgment of the judging means 3, the circuit is compared with the logic circuit synthesized by the logic synthesizing means 1 based on the undetected fault list output by the fault simulating means 6. The conversion means 4 performs circuit conversion for improving the testability and generates a testable logic circuit.
【0066】また、回路変換の結果、どうしても与えら
れた設計制約を満たすことができなくなった場合には、
論理合成に関連するパラメータを変更して、もう一度論
理合成手段1に戻って、論理回路を新たなパラメータの
もとで合成し直すこともできる。Further, as a result of the circuit conversion, if the given design constraint cannot be satisfied by any means,
It is also possible to change the parameters related to the logic synthesis, return to the logic synthesis means 1 again, and synthesize the logic circuit again under the new parameters.
【0067】図5に以上の本実施例の処理フローを示
す。同図は、請求項5の発明に係る論理回路生成方法の
一実施例の構成を示したものでもある。FIG. 5 shows the processing flow of this embodiment. This figure also shows the configuration of an embodiment of the logic circuit generating method according to the invention of claim 5.
【0068】さて、論理合成、判定及び回路変更の各処
理は、前記第1の実施例におけるものと同様である。そ
こで、以下では本実施例の機能レベルテストベクタ生成
処理及び故障シミュレーション処理に限って、順次一層
詳細に説明する。The respective processes of logic synthesis, judgment and circuit change are the same as those in the first embodiment. Therefore, in the following, only the functional level test vector generation processing and the failure simulation processing of this embodiment will be sequentially described in more detail.
【0069】(機能レベルテストベクタ生成処理)機能
レベルでのテストベクタ生成は、機能レベル回路もしく
は機能記述上での故障を仮定し、それを検出するための
入力を求めるものである。本実施例における機能レベル
テストベクタ生成手段5は従来から回路設計者が行って
きた人手によるテストベクタ作成を計算機上に実現した
ものである。この手法では回路設計者が持っている経験
的知識が重要な役割を担っている。(Function Level Test Vector Generation Processing) In the function level test vector generation, a failure is assumed on the function level circuit or the function description, and an input for detecting the failure is obtained. The function level test vector generating means 5 in this embodiment realizes on a computer manual test vector generation which has been conventionally performed by a circuit designer. In this method, the empirical knowledge possessed by the circuit designer plays an important role.
【0070】図19に本実施例における機能レベルテス
トベクタ生成手段5の処理フローを示す。同図におい
て、101は機能レベルの回路中からテスト対象である
機能ブロック(アダーやレジスタ等の機能レベル回路の
構成要素)を選択するテスト対象機能ブロック選択ステ
ップ、102は回路の外部入力から前記選択された機能
ブロックの入力まで信号を伝搬させて、前記機能ブロッ
クの入力データを設定する手続きを決定する入力設定シ
ーケンス決定ステップ、103は前記機能ブロックの出
力から回路の外部出力まで信号を伝搬させて、前記機能
ブロックの出力データを外部に出力する手続きを決定す
る出力伝搬シーケンス決定ステップ、104は十分高い
故障検出率を得るために必要な前記機能ブロックの入力
データの組合せの集合を決定するテストデータ決定ステ
ップ、105は決定されたテストシーケンス(入力設定
シーケンス及び出力伝搬シーケンス)とテストデータと
の組合せの集合から回路の入力となるテストベクタの集
合を合成するテストベクタ合成ステップである。FIG. 19 shows a processing flow of the function level test vector generating means 5 in this embodiment. In the figure, 101 is a test target functional block selecting step for selecting a functional block (a constituent element of a functional level circuit such as an adder or a register) to be tested from a functional level circuit, and 102 is the selection from an external input of the circuit. An input setting sequence determining step for propagating a signal to the input of the functional block and determining a procedure for setting the input data of the functional block; 103 propagates the signal from the output of the functional block to the external output of the circuit. , An output propagation sequence determining step for determining a procedure for outputting the output data of the functional block to the outside, 104 is test data for determining a set of combinations of the input data of the functional block required to obtain a sufficiently high fault coverage. The determining step, 105 is the determined test sequence (input setting sequence Scan and an output propagation sequence) a set of test vector as an input of the circuit from a set of combinations of the test data is a test vector synthesizing step of synthesizing.
【0071】例えば図20に示すような機能レベルの回
路を考える。ここで91,92,93はレジスタ、94
はアダーである。今アダー94をテスト対象機能ブロッ
クと考えると、それをテストするためには外部入力から
アダー94の入力にテストデータを伝搬させなければな
らない。この例ではアダー94の入力はレジスタ91と
レジスタ92とに接続されており、これらのレジスタは
共通の外部入力INに接続されている。従ってアダー9
4の入力にテストデータを伝搬させるためには、まず一
方のテストデータを外部入力INに設定してクロックC
1のタイミングでレジスタ91に書き込み、次にもう一
方のテストデータを外部入力INに設定してクロックC
2のタイミングでレジスタ92に書き込まなければなら
ない。Consider, for example, a circuit having a function level as shown in FIG. Here, 91, 92 and 93 are registers, and 94
Is an adder. Considering the adder 94 as a functional block to be tested, test data must be propagated from the external input to the input of the adder 94 in order to test it. In this example, the input of the adder 94 is connected to the register 91 and the register 92, and these registers are connected to the common external input IN. Therefore adder 9
In order to propagate the test data to the 4th input, one test data is first set to the external input IN and the clock C
At the timing of 1, write to the register 91, then set the other test data to the external input IN and clock C
It must be written to the register 92 at the timing of 2.
【0072】アダー94の入力にテストデータの伝搬が
終わると、次に演算結果を外部出力に伝搬させなければ
ならない。この例ではアダー94の出力はレジスタ93
を介して外部出力OUTに接続されている。従って、演
算結果を外部出力に伝搬させるためにはクロックC3の
タイミングで演算結果をレジスタ93に書き込む必要が
ある。When the test data has been propagated to the input of the adder 94, the calculation result must be propagated to the external output. In this example, the output of adder 94 is register 93
Is connected to the external output OUT via. Therefore, in order to propagate the calculation result to the external output, it is necessary to write the calculation result to the register 93 at the timing of the clock C3.
【0073】このようにして外部出力に現れた演算結果
を正しい期待値と比較することによってアダー94をテ
ストすることができる。信頼性の高いテストを行うため
にはさらに多くのテストデータでテストする必要があ
り、入力データを変えて前記テストシーケンスを繰り返
さなければならないが、ここでのテストデータの選択が
テストの信頼性に大きく影響する。Thus, the adder 94 can be tested by comparing the operation result appearing at the external output with the correct expected value. In order to perform a reliable test, it is necessary to test with more test data, and it is necessary to change the input data and repeat the above-mentioned test sequence. It has a great influence.
【0074】機能ブロックの入力のビット幅が比較的小
さい場合には、そのビット幅で表現可能な全てのデータ
をテストデータとすることが可能であり、これにより信
頼性の高いテストを行うことができる。例えばアダー9
4のビット幅が3であれば、3ビットで表現できるデー
タは0から7の8通りであるため、2つの入力データの
組合せは8×8の64通りでおさまる。しかしながら組
合せの数はビット幅に関して指数的に増大するので、デ
ータのビット幅が大きくなると全データをテストするこ
とは不可能になり、何らかの方法、例えば乱数等の方法
を用いて実行可能なテストデータの集合を求める必要が
ある。When the bit width of the input of the functional block is relatively small, all the data that can be expressed by the bit width can be used as the test data, which makes it possible to perform a highly reliable test. it can. For example adder 9
If the bit width of 4 is 3, there are 8 types of data that can be represented by 3 bits, from 0 to 7. Therefore, the number of combinations of two input data is 64 (8 × 8). However, since the number of combinations increases exponentially with respect to the bit width, it becomes impossible to test all data when the bit width of the data becomes large, and test data that can be executed using some method such as a random number method. We need to find the set of.
【0075】以上述べたようにしてテストシーケンスと
テストデータとが求まると、個々のテストデータに対し
てテストシーケンスを実現するテストベクタが求まり、
それを全てのテストデータについて集めるとアダー94
に対するテストベクタが求まる。以上述べた処理を回路
に含まれる全ての機能ブロックに対して繰返し、得られ
たテストベクタを集めることにより前記回路に対する完
全なテストベクタ集合を得ることができる。When the test sequence and the test data are obtained as described above, the test vector for realizing the test sequence is obtained for each test data,
If you collect it for all test data, adder 94
The test vector for is obtained. By repeating the processing described above for all the functional blocks included in the circuit and collecting the obtained test vectors, a complete test vector set for the circuit can be obtained.
【0076】なお、本実施例では回路中の単一の機能ブ
ロックを対象としてテストシーケンス及びテストデータ
を決定するという手法を用いているが、複数の機能ブロ
ックを同時に考慮する手法も考えられ、本発明の別の実
施例と考えることができる。図20の回路について考え
ると、アダー94に対するテストは同時にレジスタ9
1,92,93に対するテストにもなっており、レジス
タに対するテストベクタを新たに生成する必要はない。In the present embodiment, the method of determining the test sequence and the test data for a single functional block in the circuit is used, but a method of simultaneously considering a plurality of functional blocks is also conceivable. It can be considered as another embodiment of the invention. Considering the circuit of FIG.
It is also a test for 1, 92, 93, and it is not necessary to newly generate a test vector for a register.
【0077】このようにして機能レベルテストベクタ生
成手段5により生成されたテストベクタは、論理レベル
で故障検出率が評価されているわけではないので、故障
シミュレーション手段6により故障検出率を評価する必
要がある。Since the fault detection rate of the test vector generated by the function level test vector generation means 5 in this way is not evaluated at the logic level, it is necessary to evaluate the failure detection rate by the failure simulation means 6. There is.
【0078】(故障シミュレーション処理)故障シミュ
レーションでは、想定した故障を検出するためのテスト
ベクタを求めるテストベクタ生成とは逆に、与えられた
テストベクタで検出可能な故障を求める。すなわち、あ
るテストベクタを入力して通常の論理シミュレーション
を行った結果が故障を仮定してシミュレーションを行っ
た結果と異なっていれば、その故障は入力したテストベ
クタによって検出可能であるとする。(Fault Simulation Processing) In the fault simulation, contrary to the test vector generation for obtaining a test vector for detecting an assumed fault, a fault detectable by a given test vector is obtained. That is, if the result of performing a normal logic simulation by inputting a certain test vector is different from the result of performing a simulation assuming a failure, the failure can be detected by the input test vector.
【0079】例えば図21の回路を考える。テストベク
タ(u,v,x,y)=(1,0,0,1)による正常
な出力値zは1である。今、j/0故障を仮定するとn
が0に変わり、その結果出力値zが1から0に変わる。
従ってj/0故障はこのテストベクタによって検出可能
である。一方、h/1故障を仮定するとmが1に変化
し、kが0に変わりnが0に変化するが、結果として出
力値zは1のままである。従ってh/1故障はこのテス
トベクタによっては検出できない。For example, consider the circuit of FIG. The normal output value z by the test vector (u, v, x, y) = (1, 0, 0, 1) is 1. Now, assuming j / 0 failure, n
Changes to 0, and as a result, the output value z changes from 1 to 0.
Therefore, the j / 0 fault can be detected by this test vector. On the other hand, assuming an h / 1 fault, m changes to 1, k changes to 0, and n changes to 0, but as a result, the output value z remains 1. Therefore, the h / 1 fault cannot be detected by this test vector.
【0080】本実施例における故障シミュレーション
は、以下に示す手順で実行される。まず1つのテストベ
クタを選んで論理シミュレーションを行い、回路中の全
信号線の値を決定する。例えばテストベクタ(u,v,
x,y)=(1,0,0,1)に対して、内部信号線は
(a,b,c,d,e,f,g,h,i,j,k,l,
m,n,p)
=(1,0,1,0,0,0,0,0,0,1,1,
0,0,1,1)
のように決定され、出力zの値が1であることがわか
る。The failure simulation in this embodiment is executed by the procedure shown below. First, one test vector is selected and a logic simulation is performed to determine the values of all signal lines in the circuit. For example, test vectors (u, v,
x, y) = (1, 0, 0, 1), the internal signal lines are (a, b, c, d, e, f, g, h, i, j, k, l,
m, n, p) = (1,0,1,0,0,0,0,0,0,1,1,
0,0,1,1), and it can be seen that the value of the output z is 1.
【0081】次に外部入力に接続しているゲートから順
番に出力側に検出可能故障集合を伝搬させる。検出可能
故障は1つのゲートに着目して、そのゲートの正常信号
値と逆の値をとる故障のうち、ゲートの出力値が正常値
と逆の状態を引起こす故障(検出可能な故障)を選び出
すことにより得られる。Next, the detectable fault set is propagated to the output side in order from the gate connected to the external input. Focusing on one gate, a detectable fault is a fault (detectable fault) that causes the output value of the gate to be in the state opposite to the normal value among the faults whose values are opposite to the normal signal value of the gate. Obtained by selecting.
【0082】例えばANDゲートG5に着目すると、入
力aは1であり、lは0であるため出力mは0になって
いる。従って検出可能故障の候補は、a/0、l/1、
m/1である。これらの故障のうちl/1とm/1とは
出力mを0から1に変化させるが、a/0ではmは0の
ままである。従って検出可能故障はl/1及びm/1に
なる。これらの検出可能故障はゲートG5の出力に接続
するゲートG7に伝搬され、ゲートG7の検出可能故障
の候補に含められる。このゲートG7については、これ
らの伝搬された故障に該ゲートG7自身の入出力の故障
を加えたものに対して検出可能性のチェックを行う。Focusing on the AND gate G5, for example, since the input a is 1 and l is 0, the output m is 0. Therefore, the candidates of detectable failure are a / 0, l / 1,
It is m / 1. Among these failures, l / 1 and m / 1 change the output m from 0 to 1, but at a / 0, m remains 0. Therefore, the detectable faults are l / 1 and m / 1. These detectable faults are propagated to the gate G7 connected to the output of the gate G5 and included in the candidates for the detectable fault of the gate G7. For this gate G7, the detectability is checked for these propagated faults plus the input / output faults of the gate G7 itself.
【0083】以上のようにして最終的に出力zに伝搬し
た故障が、テストベクタ(u,v,x,y)=(1,
0,0,1)による検出可能故障集合になる。与えられ
た全てのテストベクタについて得られた検出可能な故障
集合に含まれない故障が未検出故障である。また検出可
能故障の全故障に対する割合が故障検出率として報告さ
れる。The fault finally propagated to the output z as described above is the test vector (u, v, x, y) = (1,
It becomes a set of detectable failures due to 0, 0, 1). A fault that is not included in the detectable fault set obtained for all the given test vectors is an undetected fault. The ratio of detectable faults to all faults is reported as the fault coverage.
【0084】以上のとおり、第2の実施例においては、
機能レベルテストベクタ生成手段5及び故障シミュレー
ション手段6により論理回路のテスタビリティを論理レ
ベルで評価し、その結果テスタビリティが不十分な箇所
があれば回路変換手段4によってテストが容易になるよ
うに論理レベルで変換する。このため第1の実施例の場
合と同様に、従来の方法と比べるとテスタビリティの解
析が正確になり、また真に必要な箇所にのみテスト容易
化のための回路変換が行われるため、テスト容易化に伴
う回路コストの増大が少なくて済む。As described above, in the second embodiment,
The function level test vector generation means 5 and the failure simulation means 6 evaluate the testability of the logic circuit at the logic level, and if there is a portion where the testability is insufficient as a result, the circuit conversion means 4 facilitates the test. Convert by level. Therefore, as in the case of the first embodiment, the testability analysis is more accurate than the conventional method, and the circuit conversion for test facilitation is performed only at a truly necessary portion. The increase in circuit cost due to simplification can be reduced.
【0085】さらにこの第2の実施例によれば、機能レ
ベルテストベクタ生成と故障シミュレーションとの組合
せによるテスタビリティの解析は、アルゴリズム的な手
法である論理レベルテストベクタ生成と比べると、回路
規模が大きくなった時に高速に処理できるという長所が
ある。この点が本実施例の極めて重要なポイントであ
る。Further, according to the second embodiment, the testability analysis by the combination of the function level test vector generation and the failure simulation has a circuit scale larger than that of the logic level test vector generation which is an algorithmic method. It has the advantage that it can be processed at high speed when it becomes large. This is an extremely important point in this embodiment.
【0086】なお、本実施例で示した手法以外にも様々
な故障シミュレーション手法が考えられ、本発明の別の
実施例と考えることができる。また、本実施例では故障
シミュレーション手段6によるテスタビリティの解析結
果として未検出故障リストが回路変換手段4に送られて
いるが、これは必ずしも未検出故障リストである必要は
なく、例えば観測困難箇所や制御困難箇所のリストのよ
うなものであってもよい。Various failure simulation methods other than the method shown in this embodiment can be considered, and can be considered as another embodiment of the present invention. Further, in the present embodiment, the undetected failure list is sent to the circuit conversion means 4 as the testability analysis result by the failure simulation means 6, but this does not necessarily have to be the undetected failure list. Or a list of difficult-to-control points.
【0087】[第3の実施例]図3は請求項3の発明に
係る論理回路生成装置の一実施例の構成を示すブロック
図である。同図において、1は入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成手段、5は入力された機能記述から故障検出用の第1
のテストベクタを生成する機能レベルテストベクタ生成
手段、6は機能レベルテストベクタ生成手段5が生成し
た第1のテストベクタを用いて前記論理合成手段1が合
成した論理回路に対して故障シミュレーションを行い、
前記第1のテストベクタに関する第1の故障検出率及び
第1の未検出故障リストを出力する故障シミュレーショ
ン手段、3は故障検出率が十分に高いかどうかを判定す
る判定手段、2はこの判定手段3により前記故障シミュ
レーション手段6が出力する第1の故障検出率が不十分
であることが判明した場合に、前記故障シミュレーショ
ン手段6が出力した第1の未検出故障リストをもとに前
記論理合成手段1が合成した論理回路を解析して故障検
出用の第2のテストベクタを生成するとともに、この生
成した第2のテストベクタと前記第1のテストベクタと
を合わせた場合に関する第2の故障検出率とテスタビリ
ティ解析結果としての第2の未検出故障リストとを出力
する論理レベルテストベクタ生成手段、4は前記判定手
段3によりこの論理レベルテストベクタ生成手段2が出
力する第2の故障検出率が不十分であることが判明した
場合に、前記論理レベルテストベクタ生成手段2が出力
した第2の未検出故障リストをもとに前記論理生成手段
1が合成した論理回路を変形する回路変換手段である。[Third Embodiment] FIG. 3 is a block diagram showing the structure of an embodiment of a logic circuit generator according to the present invention. In the figure, 1 is a logic synthesizing means for synthesizing a logic circuit satisfying a given function based on the inputted function description, and 5 is a first for detecting a failure from the inputted function description.
Function level test vector generating means for generating a test vector, and 6 performs a failure simulation on the logic circuit synthesized by the logic synthesizing means 1 using the first test vector generated by the function level test vector generating means 5. ,
Fault simulation means for outputting a first fault coverage and a first undetected fault list for the first test vector, 3 is a determination means for determining whether the fault coverage is sufficiently high, and 2 is this determination means. When it is determined by 3 that the first failure detection rate output by the failure simulation means 6 is insufficient, the logic synthesis is performed based on the first undetected failure list output by the failure simulation means 6. The second fault relating to the case where the second test vector for fault detection is generated by analyzing the logic circuit synthesized by the means 1 and the generated second test vector and the first test vector are combined The logic level test vector generation means 4 for outputting the detection rate and the second undetected failure list as the testability analysis result are judged by the judgment means 3 by the judgment means 3. When it is found that the second fault detection rate output by the level test vector generating means 2 is insufficient, the above-mentioned second undetected fault list output by the logic level test vector generating means 2 is used as the basis. It is a circuit conversion means for modifying the logic circuit synthesized by the logic generation means 1.
【0088】以上のように構成された本実施例の動作に
ついて、以下に説明する。まず、入力された機能記述及
び設計制約から論理合成手段1によって合成された論理
回路が、前記入力された機能記述から機能レベルテスト
ベクタ生成手段5によって生成された第1のテストベク
タを用いて故障シミュレーションされ、第1の故障検出
率が評価される。そして、判定手段3がこの第1の故障
検出率が十分高いかどうかを判定し、十分高ければ前記
論理合成手段1によって合成された論理回路をそのま
ま、前記機能レベルテストベクタ生成手段5が生成する
テストベクタとともに出力する。もしも、判定手段3の
判定の結果、第1の故障検出率が不十分であれば、故障
シミュレーション手段6が出力する第1の未検出故障リ
ストをもとに、論理レベルテストベクタ生成手段2が、
前記論理合成手段1によって合成された論理回路を解析
し、前記第1のテストベクタを補完する第2のテストベ
クタを生成するとともに、前記第1のテストベクタと第
2のテストベクタとを合わせた場合の第2の故障検出率
が評価される。前記判定手段3は、この第2の故障検出
率が十分高いかどうかをも判定し、十分高ければ前記論
理合成手段1によって合成された論理回路をそのまま、
前記第1及び第2のテストベクタとともに出力する。も
しも、この判定手段3の判定の結果、第2の故障検出率
が不十分であれば、前記論理レベルテストベクタ生成手
段2が出力する第2の未検出故障リストをもとに、前記
論理合成手段1が合成した論理回路に対して、回路変換
手段4がテスタビリティを向上させるための回路変換を
行い、テスト容易な論理回路を生成する。The operation of the present embodiment configured as above will be described below. First, the logic circuit synthesized by the logic synthesizing unit 1 from the input functional description and design constraint fails using the first test vector generated by the functional level test vector generating unit 5 from the input functional description. The simulation is performed and the first fault coverage is evaluated. Then, the judging means 3 judges whether or not the first failure detection rate is sufficiently high, and if it is sufficiently high, the functional level test vector generating means 5 generates the logic circuit synthesized by the logic synthesizing means 1 as it is. Output with test vector. If the result of the judgment by the judging means 3 is that the first failure detection rate is insufficient, the logic level test vector generating means 2 determines whether the first failure detection means outputs the first undetected failure list. ,
The logic circuit synthesized by the logic synthesizer 1 is analyzed to generate a second test vector that complements the first test vector, and the first test vector and the second test vector are combined. The second fault coverage in the case is evaluated. The judging means 3 also judges whether or not the second fault detection rate is sufficiently high. If the second failure detection rate is sufficiently high, the logic circuit synthesized by the logic synthesizing means 1 is used as it is,
It is output together with the first and second test vectors. If the result of the determination by the determination means 3 is that the second fault coverage is insufficient, the logic synthesis is performed based on the second undetected fault list output by the logic level test vector generation means 2. The circuit converting means 4 performs circuit conversion on the logic circuit synthesized by the means 1 to improve the testability, and generates a logic circuit that is easy to test.
【0089】テスト容易化された論理回路は、再び論理
レベルテストベクタ生成手段2により解析され、故障検
出率が評価される。十分高い故障検出率が得られるか、
繰り返し回数が最大値を越えるまで以上の処理が繰り返
される。また、回路変換の結果、どうしても与えられた
設計制約を満たすことができなくなった場合には、論理
合成に関連するパラメータを変更して、もう一度論理合
成手段1に戻って、論理回路を新たなパラメータのもと
で合成し直すこともできる。The test-facilitated logic circuit is analyzed again by the logic level test vector generation means 2 to evaluate the fault coverage. Is it possible to obtain a sufficiently high fault coverage?
The above processing is repeated until the number of repetitions exceeds the maximum value. Further, as a result of the circuit conversion, when the given design constraint cannot be satisfied, the parameters related to the logic synthesis are changed, the process returns to the logic synthesis means 1 again, and the logic circuit is set to the new parameter. It can also be re-synthesized under.
【0090】図6に以上の本実施例の処理フローを示
す。同図は、請求項6の発明に係る論理回路生成方法の
一実施例の構成を示したものでもある。FIG. 6 shows the processing flow of this embodiment. This figure also shows the configuration of an embodiment of the logic circuit generation method according to the invention of claim 6.
【0091】論理合成、論理レベルテストベクタ生成、
判定及び回路変更の各処理は前記第1の実施例における
ものと同様であり、機能レベルテストベクタ生成及び故
障シミュレーションの各処理は前記第2の実施例におけ
るものと同様である。従って、これら各処理の詳細な説
明は省略する。Logic synthesis, logic level test vector generation,
The respective processes of judgment and circuit change are the same as those in the first embodiment, and the respective processes of functional level test vector generation and failure simulation are the same as those in the second embodiment. Therefore, detailed description of each of these processes is omitted.
【0092】さて、この第3の実施例においては、機能
レベルテストベクタ生成手段5及び故障シミュレーショ
ン手段6により論理回路の概略のテスタビリティを評価
した後、論理レベルテストベクタ生成手段2により前記
論理回路のより正確なテスタビリティが評価され、その
結果テスタビリティが不十分な箇所があれば回路変換手
段4によってテストが容易になるように論理レベルで変
換する。このため第1の実施例の場合と同様に、従来の
方法と比べるとテスタビリティの解析が正確になり、ま
た真に必要な箇所にのみテスト容易化のための回路変換
が行われるため、テスト容易化に伴う回路コストの増大
が少なくて済む。また第2の実施例の場合と同様に、機
能レベルテストベクタ生成と故障シミュレーションとの
組合せによるテスタビリティの解析は、アルゴリズム的
な手法である論理レベルテストベクタ生成と比べると、
回路規模が大きくなった時に高速に処理できるという長
所がある。In the third embodiment, after the functional level test vector generating means 5 and the fault simulating means 6 evaluate the general testability of the logic circuit, the logic level test vector generating means 2 evaluates the logic circuit. The more accurate testability is evaluated, and if there is a portion where the testability is insufficient as a result, the circuit conversion means 4 performs conversion at the logic level so as to facilitate the test. Therefore, as in the case of the first embodiment, the testability analysis is more accurate than the conventional method, and the circuit conversion for test facilitation is performed only at a truly necessary portion. The increase in circuit cost due to simplification can be reduced. Further, as in the case of the second embodiment, the testability analysis by the combination of the functional level test vector generation and the fault simulation is compared with the logical level test vector generation which is an algorithmic method.
It has the advantage that it can be processed at high speed when the circuit scale becomes large.
【0093】さらにこの第3の実施例によれば、最終的
なテスタビリティの評価が論理レベルテストベクタ生成
により行われるので、機能レベルテストベクタ生成と故
障シミュレーションだけの第2の実施例の場合と比べる
と、より正確なテスタビリティの評価が可能である。こ
の点が本実施例の重要なポイントである。Further, according to the third embodiment, since the final testability evaluation is performed by the logic level test vector generation, it is different from the second embodiment in which only the function level test vector generation and the fault simulation are performed. Compared to this, a more accurate evaluation of testability is possible. This is an important point of this embodiment.
【0094】なお、本実施例では論理レベルテストベク
タ生成と回路変換を一度だけ行っているが、場合によっ
てはそれを何度か繰り返すことが有効であり、本発明の
別の実施例として考えることができる。また、本実施例
では論理レベルテストベクタ生成手段2によるテスタビ
リティの解析結果として未検出故障リストが回路変換手
段4に送られているが、これは必ずしも未検出故障リス
トである必要はなく、例えば観測困難箇所や制御困難箇
所のリストのようなものであってもよい。Although the logic level test vector generation and the circuit conversion are performed only once in this embodiment, it is effective to repeat it several times in some cases, which is considered as another embodiment of the present invention. You can In the present embodiment, the undetected failure list is sent to the circuit conversion means 4 as the testability analysis result by the logic level test vector generation means 2. However, this is not necessarily the undetected failure list. It may be a list of difficult-to-observe points or difficult-to-control points.
【0095】[0095]
【発明の効果】以上説明したように、請求項1〜6の発
明によれば、論理レベルで正確なテスタビリティの解析
を行い、その結果に基づいてテスト困難な箇所に限定し
てテスト容易化のための回路変換を行うため、従来と比
べてコストや遅延時間に大幅な悪影響を与えることな
く、テスト容易な論理回路を自動的に生成することがで
きる。従って現在、LSIの回路規模の増大に伴って、
テスタビリティの向上が強く要求されており、その実用
的効果は極めて大きい。As described above, according to the first to sixth aspects of the invention, accurate testability analysis is performed at the logic level, and based on the result, testability is limited to difficult test points. Therefore, a logic circuit that is easy to test can be automatically generated without significantly adversely affecting the cost and the delay time as compared with the related art. Therefore, at present, as the circuit scale of LSI increases,
There is a strong demand for improved testability, and its practical effect is extremely large.
【0096】ところが、論理レベルでテスタビリティの
解析を行うために、請求項1及び4では論理レベルテス
トベクタ生成処理を採用しているが、この場合は回路規
模が大きくなった時に処理時間が増大してしまうという
問題点がある。However, in order to analyze the testability at the logic level, the logic level test vector generation processing is adopted in claims 1 and 4, but in this case, the processing time increases when the circuit scale becomes large. There is a problem that it does.
【0097】そこで、請求項2及び5では機能レベルテ
ストベクタ生成処理により機能記述から直接テストベク
タを生成し、このテストベクタを用いて故障シミュレー
ションを行うことにより論理レベルでのテスタビリティ
の解析を行う。Therefore, in claims 2 and 5, a test vector is directly generated from the functional description by the functional level test vector generating process, and the test vector is used to perform a failure simulation to analyze the testability at the logic level. .
【0098】ただし、これは請求項1及び4の場合と比
べて処理時間が短くて済むという長所はあるが、反面テ
スタビリティの解析が請求項1及び4の場合と比べると
甘くなり、結果としてコストの増大を招いてしまうとい
う問題がある。However, this has the advantage that the processing time is shorter than in the cases of claims 1 and 4, but on the other hand, the analysis of the testability becomes weaker than in the cases of claims 1 and 4, and as a result, There is a problem that it causes an increase in cost.
【0099】そこで、請求項3及び6では前記のように
故障シミュレーションによって未検出故障として報告さ
れた故障に限定して論理レベルのテストベクタ生成を行
い、真に検出困難な故障を絞り込むことで処理時間とテ
スタビリティ解析の精度を両立させている。Therefore, in claims 3 and 6, the logic level test vector is generated only for the faults reported as undetected faults by the fault simulation, and the faults that are truly difficult to detect are narrowed down. Both time and accuracy of testability analysis are compatible.
【図1】 請求項1の発明に係る論理回路生成装置の一
実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a logic circuit generation device according to the invention of claim 1;
【図2】 請求項2の発明に係る論理回路生成装置の一
実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of a logic circuit generation device according to the invention of claim 2;
【図3】 請求項3の発明に係る論理回路生成装置の一
実施例を示すブロック図である。FIG. 3 is a block diagram showing an embodiment of a logic circuit generation device according to the invention of claim 3;
【図4】 請求項4の発明に係る論理回路生成方法の一
実施例を示す処理フロー図であって、図1の論理回路生
成装置の動作を示したものである。FIG. 4 is a process flow chart showing an embodiment of a logic circuit generation method according to the invention of claim 4 and showing the operation of the logic circuit generation device of FIG. 1;
【図5】 請求項5の発明に係る論理回路生成方法の一
実施例を示す処理フロー図であって、図2の論理回路生
成装置の動作を示したものである。5 is a process flow chart showing an embodiment of the logic circuit generation method according to the invention of claim 5, and showing the operation of the logic circuit generation device of FIG. 2. FIG.
【図6】 請求項6の発明に係る論理回路生成方法の一
実施例を示す処理フロー図であって、図3の論理回路生
成装置の動作を示したものである。6 is a process flow chart showing an embodiment of a logic circuit generation method according to the invention of claim 6 and showing the operation of the logic circuit generation device of FIG. 3;
【図7】 図1中の論理合成手段の入力となるハードウ
ェア記述言語による機能記述の例である。7 is an example of a functional description in a hardware description language that is an input to the logic synthesizing means in FIG.
【図8】 図1中の論理合成手段の処理フロー図であ
る。8 is a processing flowchart of the logic synthesizing means in FIG. 1. FIG.
【図9】 図1中の論理合成手段が出力する論理回路を
表わした論理図の一例を示す図である。9 is a diagram showing an example of a logic diagram representing a logic circuit output by the logic synthesizing means in FIG. 1. FIG.
【図10】 図1中の論理レベルテストベクタ生成手段
の処理フロー図である。FIG. 10 is a processing flow chart of a logic level test vector generating means in FIG.
【図11】 図1中の論理レベルテストベクタ生成手段
における処理を説明するための論理回路の一例を示す図
である。FIG. 11 is a diagram showing an example of a logic circuit for explaining the processing in the logic level test vector generating means in FIG.
【図12】 図1中の論理レベルテストベクタ生成手段
が出力するテストベクタのリストの一例を示す図であ
る。FIG. 12 is a diagram showing an example of a list of test vectors output by the logic level test vector generating means in FIG.
【図13】 図1中の判定手段の処理フロー図である。FIG. 13 is a processing flow chart of the determination means in FIG.
【図14】 図1中の回路変換手段の処理フロー図であ
る。FIG. 14 is a process flow diagram of the circuit conversion means in FIG.
【図15】 図1中の回路変換手段におけるスキャンパ
ス挿入処理の説明図である。FIG. 15 is an explanatory diagram of scan path insertion processing in the circuit conversion unit in FIG. 1.
【図16】 図1中の回路変換手段における再収れん除
去処理の説明図である。16 is an explanatory diagram of reconvergence removal processing in the circuit conversion unit in FIG.
【図17】 図1中の回路変換手段における回路最適化
処理の説明図である。FIG. 17 is an explanatory diagram of a circuit optimizing process in the circuit converting means in FIG.
【図18】 図1中の回路変換手段における回路調整処
理の一例である遅延短縮処理の説明図であって、a)は
ゲートの出力極性変更処理、b)は入力信号変換処理、
c)はゲート重複化処理により各々入力Aと出力Xとの
間の遅延を短縮するものである。18 is an explanatory diagram of a delay reduction process which is an example of a circuit adjustment process in the circuit conversion unit in FIG. 1, in which a) is a gate output polarity changing process, b) is an input signal conversion process, and FIG.
In c), the delay between the input A and the output X is shortened by the gate duplication process.
【図19】 図2中の機能レベルテストベクタ生成手段
の処理フロー図である。FIG. 19 is a process flow chart of the function level test vector generating means in FIG.
【図20】 図2中の機能レベルテストベクタ生成手段
における処理を説明するための機能レベルの回路の一例
を示す図である。FIG. 20 is a diagram showing an example of a functional level circuit for explaining the processing in the functional level test vector generating means in FIG.
【図21】 図2中の故障シミュレーション手段におけ
る処理を説明するための論理回路の一例を示す図であ
る。FIG. 21 is a diagram showing an example of a logic circuit for explaining processing in the failure simulation means in FIG.
【図22】 従来の典型的なテスト設計の処理フロー図
である。FIG. 22 is a process flow diagram of a conventional typical test design.
【図23】 従来のテスタビリティを考慮した論理回路
生成装置の第1の例のブロック図である。FIG. 23 is a block diagram of a first example of a conventional logic circuit generation device considering testability.
【図24】 従来のテスタビリティを考慮した論理回路
生成装置の第2の例のブロック図である。FIG. 24 is a block diagram of a second example of a conventional logic circuit generation device considering testability.
1 論理合成手段 2 論理レベルテストベクタ生成手段 3 判定手段 4 回路変換手段 5 機能レベルテストベクタ生成手段 6 故障シミュレーション手段 132 論理合成ステップ 133 論理レベルテストベクタ生成ステップ 134 判定ステップ 134a 第1の判定ステップ 134b 第2の判定ステップ 136 回路変換ステップ 138 機能レベルテストベクタ生成ステップ 139 故障シミュレーションステップ 1 Logic synthesis means 2 Logic level test vector generation means 3 Judgment means 4 circuit conversion means 5 Functional level test vector generation means 6 Failure simulation means 132 Logic Synthesis Step 133 Logic level test vector generation step 134 Judgment step 134a First determination step 134b Second determination step 136 Circuit conversion step 138 Functional Level Test Vector Generation Step 139 Failure simulation step
Claims (6)
る論理回路生成装置であって、入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成手段と、この論理合成手段が合成した論理回路を解析
して故障検出用のテストベクタを生成するとともに、こ
の生成したテストベクタの故障検出率及びテスタビリテ
ィ解析結果を出力する論理レベルテストベクタ生成手段
と、この論理レベルテストベクタ生成手段が出力する故
障検出率が十分に高いかどうかを判定する判定手段と、
この判定手段により故障検出率が不十分であることが判
明した場合には、前記論理レベルテストベクタ生成手段
が出力したテスタビリティ解析結果をもとに前記論理合
成手段が合成した論理回路を変形する回路変換手段とを
備えたことを特徴とする論理回路生成装置。1. A logic circuit generation device for automatically generating a logic circuit from a functional description, comprising logic synthesizing means for synthesizing a logic circuit satisfying a given function based on an input functional description, A logic level test vector generating means for analyzing a logic circuit synthesized by the logic synthesizing means to generate a test vector for fault detection and outputting a fault coverage and a testability analysis result of the generated test vector; Determination means for determining whether or not the fault coverage detected by the level test vector generation means is sufficiently high,
When it is determined by the determination means that the fault coverage is insufficient, the logic circuit synthesized by the logic synthesis means is modified based on the testability analysis result output by the logic level test vector generation means. A logic circuit generation device comprising: circuit conversion means.
る論理回路生成装置であって、入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成手段と、入力された機能記述から故障検出用のテスト
ベクタを生成する機能レベルテストベクタ生成手段と、
この機能レベルテストベクタ生成手段が生成したテスト
ベクタを用いて前記論理合成手段が合成した論理回路に
対して故障シミュレーションを行い、前記テストベクタ
の故障検出率及びテスタビリティ解析結果を出力する故
障シミュレーション手段と、この故障シミュレーション
手段が出力する故障検出率が十分に高いかどうかを判定
する判定手段と、この判定手段により故障検出率が不十
分であることが判明した場合には、前記故障シミュレー
ション手段が出力したテスタビリティ解析結果をもとに
前記論理合成手段が合成した論理回路を変形する回路変
換手段とを備えたことを特徴とする論理回路生成装置。2. A logic circuit generation device for automatically generating a logic circuit from a functional description, comprising logic synthesizing means for synthesizing a logic circuit satisfying a given function based on the input functional description, and an input. A function level test vector generation means for generating a test vector for fault detection from the specified function description,
Fault simulation means for performing fault simulation on the logic circuit synthesized by the logic synthesis means using the test vector generated by the functional level test vector generation means, and outputting the fault detection rate and testability analysis result of the test vector. And a determination means for determining whether or not the failure detection rate output by the failure simulation means is sufficiently high, and the failure simulation means when the determination means determines that the failure detection rate is insufficient. A logic circuit generation device comprising: a circuit conversion unit that transforms the logic circuit synthesized by the logic synthesis unit based on the output testability analysis result.
る論理回路生成装置であって、入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成手段と、入力された機能記述から故障検出用の第1の
テストベクタを生成する機能レベルテストベクタ生成手
段と、この機能レベルテストベクタ生成手段が生成した
第1のテストベクタを用いて前記論理合成手段が合成し
た論理回路に対して故障シミュレーションを行い、前記
第1のテストベクタに関する第1の故障検出率及び未検
出故障リストを出力する故障シミュレーション手段と、
故障検出率が十分に高いかどうかを判定する判定手段
と、この判定手段により前記故障シミュレーション手段
が出力する第1の故障検出率が不十分であることが判明
した場合には、前記故障シミュレーション手段が出力し
た未検出故障リストをもとに前記論理合成手段が合成し
た論理回路を解析して故障検出用の第2のテストベクタ
を生成するとともに、この生成した第2のテストベクタ
と前記第1のテストベクタとを合わせた場合に関する第
2の故障検出率及びテスタビリティ解析結果を出力する
論理レベルテストベクタ生成手段と、前記判定手段によ
りこの論理レベルテストベクタ生成手段が出力する第2
の故障検出率が不十分であることが判明した場合には、
前記論理レベルテストベクタ生成手段が出力したテスタ
ビリティ解析結果をもとに前記論理合成手段が合成した
論理回路を変形する回路変換手段とを備えたことを特徴
とする論理回路生成装置。3. A logic circuit generation device for automatically generating a logic circuit from a function description, comprising logic synthesizing means for synthesizing a logic circuit satisfying a given function based on the input function description, and an input. The function synthesizing means synthesizes the function level test vector generating means for generating a first test vector for fault detection from the generated function description and the first test vector generated by the function level test vector generating means. Failure simulation means for performing a failure simulation on the logic circuit and outputting a first failure detection rate and an undetected failure list for the first test vector;
The determination means for determining whether or not the failure detection rate is sufficiently high, and the failure simulation means if the determination means determines that the first failure detection rate output by the failure simulation means is insufficient. Analyzing the logic circuit synthesized by the logic synthesizing unit on the basis of the undetected fault list outputted by the above, and generating the second test vector for fault detection, and the generated second test vector and the first test vector. Logic level test vector generation means for outputting a second fault coverage and testability analysis result in the case of combining with the test vector, and the second means output by the logic level test vector generation means by the determination means.
If the failure detection rate of is found to be insufficient,
A logic circuit generation device comprising: circuit conversion means for transforming a logic circuit synthesized by the logic synthesis means based on a testability analysis result outputted by the logic level test vector generation means.
る論理回路生成方法であって、入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成ステップと、この論理合成ステップで合成した論理回
路を解析して故障検出用のテストベクタを生成するとと
もに、この生成したテストベクタの故障検出率及びテス
タビリティ解析結果を出力する論理レベルテストベクタ
生成ステップと、この論理レベルテストベクタ生成ステ
ップで出力された故障検出率が十分に高いかどうかを判
定する判定ステップと、この判定ステップで故障検出率
が不十分であることが判明した場合には、前記論理合成
ステップで合成された論理回路を前記論理レベルテスト
ベクタ生成ステップで出力されたテスタビリティ解析結
果から求まるテスト困難の原因となる箇所に限定して、
テスト容易化のために変形するとともに、冗長部分削除
のための回路最適化と設計制約を満たすための回路調整
とを行う回路変換ステップとを備えたことを特徴とする
論理回路生成方法。4. A logic circuit generation method for automatically generating a logic circuit from a function description, comprising a logic synthesis step of synthesizing a logic circuit satisfying a given function based on an input function description, A logic level test vector generation step that analyzes the logic circuit synthesized in the logic synthesis step to generate a test vector for fault detection, and outputs the fault coverage and testability analysis result of the generated test vector, and the logic level test vector generation step. A determination step for determining whether or not the fault coverage output in the level test vector generation step is sufficiently high, and if the fault coverage is found to be insufficient in this determination step, the logic synthesis step is performed. A test for the synthesized logic circuit from the testability analysis result output in the logic level test vector generation step. Limited to the places that cause difficulty,
A method for generating a logic circuit, characterized by comprising a circuit conversion step which is modified for testability and which performs circuit optimization for eliminating redundant parts and circuit adjustment for satisfying design constraints.
る論理回路生成方法であって、入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成ステップと、入力された機能記述から故障検出用のテ
ストベクタを生成する機能レベルテストベクタ生成ステ
ップと、この機能レベルテストベクタ生成ステップで生
成されたテストベクタを用いて前記論理合成ステップで
合成された論理回路に対して故障シミュレーションを行
い、前記テストベクタの故障検出率及びテスタビリティ
解析結果を出力する故障シミュレーションステップと、
この故障シミュレーションステップで出力された故障検
出率が十分に高いかどうかを判定する判定ステップと、
この判定ステップで故障検出率が不十分であることが判
明した場合には、前記論理合成ステップで合成された論
理回路を前記故障シミュレーションステップで出力され
たテスタビリティ解析結果から求まるテスト困難の原因
となる箇所に限定して、テスト容易化のために変形する
とともに、冗長部分削除のための回路最適化と設計制約
を満たすための回路調整とを行う回路変換ステップとを
備えたことを特徴とする論理回路生成方法。5. A logic circuit generation method for automatically generating a logic circuit from a function description, comprising: a logic synthesis step of synthesizing a logic circuit satisfying a given function based on the input function description; A function level test vector generation step of generating a test vector for fault detection from the generated function description, and a logic circuit synthesized in the logic synthesis step using the test vector generated in this function level test vector generation step. A fault simulation step of outputting a fault detection rate and a testability analysis result of the test vector,
A determination step of determining whether the failure detection rate output in this failure simulation step is sufficiently high,
If it is found that the fault coverage is insufficient in this determination step, the logic circuit synthesized in the logic synthesis step is considered to be the cause of the test difficulty obtained from the testability analysis result output in the fault simulation step. It is characterized in that it is provided with a circuit conversion step for performing circuit optimization for eliminating the redundant part and circuit adjustment for satisfying the design constraint while limiting the number of parts to Logic circuit generation method.
る論理回路生成方法であって、入力された機能記述をも
とに与えられた機能を満たす論理回路を合成する論理合
成ステップと、入力された機能記述から故障検出用の第
1のテストベクタを生成する機能レベルテストベクタ生
成ステップと、この機能レベルテストベクタ生成ステッ
プで生成された第1のテストベクタを用いて前記論理合
成ステップで合成された論理回路に対して故障シミュレ
ーションを行い、前記第1のテストベクタに関する第1
の故障検出率及び未検出故障リストを出力する故障シミ
ュレーションステップと、この故障シミュレーションス
テップで出力された第1の故障検出率が十分に高いかど
うかを判定する第1の判定ステップと、この第1の判定
ステップで第1の故障検出率が不十分であることが判明
した場合には、前記故障シミュレーションステップで出
力された未検出故障リストをもとに前記論理合成ステッ
プで合成された論理回路を解析して故障検出用の第2の
テストベクタを生成するとともに、この生成した第2の
テストベクタと前記第1のテストベクタとを合わせた場
合に関する第2の故障検出率及びテスタビリティ解析結
果を出力する論理レベルテストベクタ生成ステップと、
この論理レベルテストベクタ生成ステップで出力された
第2の故障検出率が十分に高いかどうかを判定する第2
の判定ステップと、この第2の判定ステップで第2の故
障検出率が不十分であることが判明した場合には、前記
論理合成ステップで合成された論理回路を前記論理レベ
ルテストベクタ生成ステップで出力されたテスタビリテ
ィ解析結果から求まるテスト困難の原因となる箇所に限
定して、テスト容易化のために変形するとともに、冗長
部分削除のための回路最適化と設計制約を満たすための
回路調整とを行う回路変換ステップとを備えたことを特
徴とする論理回路生成方法。6. A logic circuit generation method for automatically generating a logic circuit from a function description, comprising: a logic synthesis step of synthesizing a logic circuit satisfying a given function based on the input function description; A functional level test vector generation step of generating a first test vector for fault detection from the generated functional description, and a synthesis in the logic synthesis step using the first test vector generated in the functional level test vector generation step Failure simulation is performed on the generated logic circuit and the first test vector related to the first test vector
Failure detection step for outputting the failure detection rate and the undetected failure list of the first failure detection step, a first determination step for determining whether or not the first failure detection rate output in the failure simulation step is sufficiently high, and the first determination step If the first failure detection rate is found to be insufficient in the determination step, the logic circuit synthesized in the logic synthesis step based on the undetected failure list output in the failure simulation step is used. The second failure detection rate and the testability analysis result regarding the case where the second test vector for failure detection is analyzed to generate the second test vector and the first test vector are analyzed. Output logic level test vector generation step,
A second determination is made as to whether or not the second failure detection rate output in this logic level test vector generation step is sufficiently high.
And the second failure detection rate is found to be insufficient in the second determination step, the logic circuit synthesized in the logic synthesis step is processed in the logic level test vector generation step. Limiting to the part that causes the test difficulty obtained from the output testability analysis result, transforming it for testability, circuit optimization to eliminate redundant parts, and circuit adjustment to meet design constraints. And a circuit conversion step for performing the following.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3211159A JPH056409A (en) | 1990-08-22 | 1991-08-22 | Logic circuit generation device and logic circuit generation method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22208090 | 1990-08-22 | ||
| JP2-222080 | 1990-08-22 | ||
| JP3211159A JPH056409A (en) | 1990-08-22 | 1991-08-22 | Logic circuit generation device and logic circuit generation method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH056409A true JPH056409A (en) | 1993-01-14 |
Family
ID=26518472
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3211159A Withdrawn JPH056409A (en) | 1990-08-22 | 1991-08-22 | Logic circuit generation device and logic circuit generation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH056409A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002033597A1 (en) * | 2000-10-18 | 2002-04-25 | Advantest Corporation | Electronic device designing supporting apparatus, electronic device designing supporting method, electronic device manufacturing method, and program |
| JP2008258775A (en) * | 2007-04-02 | 2008-10-23 | Denso Corp | Method for designing integrated circuits comprising logical function circuit and self-diagnosis circuit |
-
1991
- 1991-08-22 JP JP3211159A patent/JPH056409A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002033597A1 (en) * | 2000-10-18 | 2002-04-25 | Advantest Corporation | Electronic device designing supporting apparatus, electronic device designing supporting method, electronic device manufacturing method, and program |
| JP2008258775A (en) * | 2007-04-02 | 2008-10-23 | Denso Corp | Method for designing integrated circuits comprising logical function circuit and self-diagnosis circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5345393A (en) | Logic circuit generator | |
| US5748497A (en) | System and method for improving fault coverage of an electric circuit | |
| US7308660B2 (en) | Calculation system of fault coverage and calculation method of the same | |
| US7139956B2 (en) | Semiconductor integrated circuit device and test method thereof | |
| US5640403A (en) | Fault diagnosis method for a sequential circuit | |
| US7124342B2 (en) | Smart capture for ATPG (automatic test pattern generation) and fault simulation of scan-based integrated circuits | |
| US7039845B2 (en) | Method and apparatus for deriving a bounded set of path delay test patterns covering all transition faults | |
| CN101251580A (en) | A circuit device capable of diagnosing scan chain faults and its diagnosis method | |
| JP2003332443A (en) | Semiconductor integrated circuit, design support apparatus therefor, and test method | |
| US6651227B2 (en) | Method for generating transition delay fault test patterns | |
| US7266746B2 (en) | Device and method for testing integrated circuit | |
| JP2005037995A (en) | Semiconductor integrated circuit verification system | |
| CN101315412A (en) | Scan chain fault diagnosis method and system | |
| Ghosh-Dastidar et al. | Adaptive techniques for improving delay fault diagnosis | |
| Gurumurthy et al. | Automatic generation of instructions to robustly test delay defects in processors | |
| US6883115B2 (en) | LSI diagnostic system and method of diagnosing LSI | |
| US7210082B1 (en) | Method for performing ATPG and fault simulation in a scan-based integrated circuit | |
| US20070011543A1 (en) | Test pattern generation method | |
| JPH056409A (en) | Logic circuit generation device and logic circuit generation method | |
| US20100131910A1 (en) | Simulating Scan Tests with Reduced Resources | |
| JP2000250946A (en) | Method and apparatus for designing testability of LSI circuit, and computer-readable recording medium recording testability design processing program | |
| JP2010249662A (en) | Delay fault diagnosis program | |
| JP3090929B2 (en) | Delay failure inspection method | |
| Mahlstedt | DELTEST: Deterministic test generation for gate delay faults | |
| JPH06194416A (en) | Diagnostic system and method of logic circuit including sequential circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19981112 |