JPH04318678A - Logical design verification system - Google Patents

Logical design verification system

Info

Publication number
JPH04318678A
JPH04318678A JP3112523A JP11252391A JPH04318678A JP H04318678 A JPH04318678 A JP H04318678A JP 3112523 A JP3112523 A JP 3112523A JP 11252391 A JP11252391 A JP 11252391A JP H04318678 A JPH04318678 A JP H04318678A
Authority
JP
Japan
Prior art keywords
circuit
output
input
verification
simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3112523A
Other languages
Japanese (ja)
Other versions
JP2806646B2 (en
Inventor
Hiroshi Ishikura
石倉 浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP3112523A priority Critical patent/JP2806646B2/en
Publication of JPH04318678A publication Critical patent/JPH04318678A/en
Application granted granted Critical
Publication of JP2806646B2 publication Critical patent/JP2806646B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To automatically, efficiently, and accurately carry out each processing of logical verification failure verification, and circuit rule verification on initial design data for a logical circuit without manual work. CONSTITUTION:Initial design data 1 to be verified is input to a verification section 5 to carry out logical verification, failure verification and circuit rule verification in accordance with a prescribed procedure. A result of this series of verifications and a standard 7 are compared and discriminated by a discriminating section 6, and if there is a necessity of correcting the circuit and actually it is necessary to correct the circuit, the method of correcting the circuit is analysed by an analysis section 8, and the circuit is corrected by a correcting section 9 in accordance with the result of the analysis. Design data that is obtained after this correction is repeated for processing to generate complete design data.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【技術分野】本発明は論理設計検証システムに関し、特
に論理回路に関する初期設計データについて論理検証、
故障検証及び回路規則検証を行うための論理設計検証シ
ステムに関するものである。
TECHNICAL FIELD The present invention relates to a logic design verification system, and in particular to a logic design verification system for initial design data regarding logic circuits.
The present invention relates to a logic design verification system for performing fault verification and circuit rule verification.

【0002】0002

【従来技術】従来のこの種の論理検証システムでは、初
期設計データが正しく論理規格通りに設計されているか
どうか、0及び1故障が発見できるように設計されてい
るかどうか、更には回路規格を満足するように設計され
ているかどうかを検証する場合、人手に頼っている。
[Prior Art] Conventional logic verification systems of this type check whether the initial design data is designed correctly according to logic standards, whether it is designed to detect 0 and 1 faults, and whether it satisfies circuit standards. It relies on human labor to verify whether it is designed to do what it does.

【0003】そして、これ等規格を満足していなければ
、回路修正が必要となり、この修正も人手により行い、
そして再度修正データについて検証を行うことを人手に
より繰返しているのが実状である。
[0003] If these standards are not met, the circuit must be modified, and this modification is also done manually.
The reality is that the revised data is then repeatedly verified manually.

【0004】この様に、従来の論理設計検証システムは
、解析検証処理や設計データの修正処理に人手が介在す
るシステムとなっているので、時間がかかると共に人手
によるミスが避けられず、またシステムを何度も使用す
る必要があり、検証効率が悪いという欠点がある。
[0004] As described above, conventional logic design verification systems require human intervention in analysis verification processing and design data correction processing, which is time consuming and inevitably involves human errors. It has the disadvantage that it needs to be used many times and verification efficiency is low.

【0005】[0005]

【発明の目的】本発明の目的は、自動的に論理検証を行
うようにして、人手による検証、修正をなくし効率の良
い論理検証が可能な論理設計検証システムを提供するこ
とである。
OBJECTS OF THE INVENTION An object of the present invention is to provide a logic design verification system that automatically performs logic verification, eliminates manual verification and correction, and enables efficient logic verification.

【0006】[0006]

【発明の構成】本発明による論理設計検証システムは、
論理検証対象論理回路における全ての入力端子に対して
考えられる入力条件の組合わせパターンを全て発生する
入力パターン発生手段と、この入力パターンを順次1パ
ターンずつ前記入力端子に供給しつつシミュレーション
を実行し、前記論理検証対象論理回路の各構成要素の出
力端子における出力パターンを生成するシミュレーショ
ン手段と、この出力パターンと正規の出力パターンとを
比較する比較手段と、この比較により出力不一致が検出
されたとき、この不一致出力から入力へ向けて回路探検
を行い出力の不一致開始箇所を検出する回路探索手段と
、この検出された箇所を回路修正する修正手段とを含む
ことを特徴とする。
[Structure of the Invention] The logic design verification system according to the present invention has the following features:
an input pattern generating means for generating all possible combinations of input conditions for all input terminals in a logic circuit to be verified; , a simulation means for generating an output pattern at the output terminal of each component of the logic circuit to be verified; a comparison means for comparing the output pattern with a normal output pattern; and when an output mismatch is detected by the comparison. The present invention is characterized in that it includes circuit searching means for searching the circuit from the mismatched output toward the input and detecting a starting point of mismatch in the output, and correction means for modifying the circuit at the detected point.

【0007】本発明の他の論理設計検証システムは、故
障検証対象論理回路における全ての入力端子に対して考
えられる入力条件の組合わせパターンを全て発生する入
力パターン発生手段と、この入力パターンを順次1パタ
ーンずつ前記入力端子に供給しつつシミュレーションを
実行し、前記故障検証対象論理回路の各構成要素の出力
端子における出力パターンを生成するシミュレーション
手段と、0(または1)故障を夫々発見すべき入出力端
子のリストを生成する故障リスト生成手段と、これ等入
出力端子全てに対して0(または1)の論理値を設定し
て故障シミュレーションをなす手段と、この故障シミュ
レーションの出力値が全て無変化のとき、故障設定され
ている出力端子に接続されている回路素子の入力端子を
探索してこの入力端子から直接出力端子を導出する回路
修正手段と、この修正回路において前記シミュレーショ
ン手段により再度シミュレーションを実行するよう制御
し、また前記修正回路において再度記故障シミュレーシ
ョンを実行するよう制御する制御手段と、前記修正回路
におけるシミュレーション結果と故障シミュレーション
結果とを比較して出力値が一致したとき、前記回路修正
手段及び制御手段を実行制御し、出力値が不一致でかつ
前記故障シミュレーションの出力値が無変化でないとき
、この不一致または変化した出力端子に対応する入力端
子について前記故障リストから削除する手段と、この削
除後の故障リストに従って再度前記故障シミュレーショ
ンへ動作を移す手段とを含み、前記故障リストの内容が
全て削除されるまで前記各手段の実行をなすようにした
ことを特徴とする。
Another logic design verification system of the present invention includes input pattern generation means for generating all possible combinations of input conditions for all input terminals in a logic circuit to be fault verified, and simulation means that executes simulation while supplying one pattern to the input terminal and generates an output pattern at the output terminal of each component of the logic circuit to be fault verified; A means for generating a fault list that generates a list of output terminals, a means for simulating a fault by setting a logic value of 0 (or 1) to all of these input/output terminals, and a means for simulating a fault by setting a logic value of 0 (or 1) to all of these input/output terminals; When a change occurs, a circuit modification means searches for an input terminal of a circuit element connected to an output terminal set to be faulty and directly derives an output terminal from this input terminal, and a circuit modification means re-simulates in this modification circuit by the simulation means. and a control means for controlling the correction circuit to execute the failure simulation again, and comparing the simulation results in the correction circuit and the failure simulation results, and when the output values match, the control means controls the correction circuit to execute the failure simulation again. means for controlling the execution of the correction means and the control means, and when the output values do not match and the output value of the fault simulation does not change, the input terminal corresponding to the mismatched or changed output terminal is deleted from the fault list; The present invention is characterized in that it includes means for moving the operation to the fault simulation again according to the deleted fault list, and the respective means are executed until all the contents of the fault list are deleted.

【0008】本発明の更に他の論理設計検証システムは
、回路規則を予め定めて格納した回路規則格納テーブル
と、回路規則検証対象論理回路が前記回路規則に合致す
るか否かを検出する回路規則検証手段と、この検証結果
が規則違反を示すときに前記規則に従って回路修正をな
す手段とを含むことを特徴とする。
Still another logic design verification system of the present invention includes a circuit rule storage table in which circuit rules are determined in advance and stored therein, and a circuit rule for detecting whether or not a logic circuit subject to circuit rule verification matches the circuit rule. The present invention is characterized in that it includes a verification means, and means for correcting the circuit according to the rule when the verification result indicates a violation of the rule.

【0009】[0009]

【実施例】以下、図面を参照しつつ本発明の実施例につ
いて詳細に説明する。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0010】図1は本発明の実施例のシステムブロック
図である。本実施例は、作成された論理回路に関する初
期設計データ1を入力とするエディタ2と、このエディ
タ2内の設計データをコード化するコンパイラ3と、こ
のコンパイルコードを一時的に受取るローダ4と、この
ローダ4からコードを受取り論理設計の各検証(論理検
証、故障検証、回路規則検証)を行う検証部5と、この
検証結果と予め設定されている規格データ7とを比較し
て判定する判定部6と、この判定結果にエラーが生じた
場合にどの部分の設計データが原因でエラーが発生した
のかを発見する解析部8と、エラーの原因である設計デ
ータをいかに修正するかを判断決定する修正部9とから
なる。
FIG. 1 is a system block diagram of an embodiment of the present invention. This embodiment includes an editor 2 that receives initial design data 1 regarding the created logic circuit as input, a compiler 3 that encodes the design data in this editor 2, and a loader 4 that temporarily receives this compiled code. A verification section 5 receives the code from the loader 4 and performs each verification of the logic design (logic verification, failure verification, circuit rule verification), and a determination is made by comparing the verification results with preset standard data 7. A part 6, an analysis part 8 which discovers which part of the design data caused the error when an error occurs in the determination result, and an analysis part 8 which determines how to correct the design data that is the cause of the error. It consists of a correction section 9.

【0011】論理回路の設計者は先ずエディタ2上で初
期設計データ1を作成入力する。この初期設計データ1
はコンパイラ3により検証部5に適したコードに変換さ
れてローダ4へ出力される。
A designer of a logic circuit first creates and inputs initial design data 1 on the editor 2 . This initial design data 1
is converted by the compiler 3 into a code suitable for the verification unit 5 and output to the loader 4.

【0012】ローダ4はこのコードをそのまま検証部5
へ出力し、検証部5にて論理設計検証が行われ、その結
果が判定部6へ出力される。この判定部6では、検証結
果と規格7とが比較され、規格内容を満していれば、検
証が正常終了となる。規格内容を満していなければ、解
析部8に対して初期設計データ1内のどの部分が規格7
に合致しないかの解析要求が出される。
[0012] The loader 4 directly passes this code to the verification unit 5.
The verification unit 5 performs logic design verification, and the result is output to the determination unit 6. The determination unit 6 compares the verification result with the standard 7, and if the content of the standard is satisfied, the verification ends normally. If the content of the standard is not met, the analysis unit 8 will ask which part of the initial design data 1 meets the standard 7.
An analysis request will be issued to see if it does not match.

【0013】解析部8では、規格7に反する部分を絞り
込んで修正内容を決定し、修正部9に対して修正指示が
出される。修正部9では、初期設計データに修正が施さ
れてエディタ2へ修正後のデータが出力される。その後
、コンパイラ3、ローダ4を介して再び検証部5にて検
証が行われ、上述の処理が繰返されることになる。
[0013] The analysis section 8 narrows down the portions that violate the standard 7, determines the content of correction, and issues correction instructions to the correction section 9. The modification unit 9 modifies the initial design data and outputs the modified data to the editor 2. Thereafter, verification is performed again by the verification unit 5 via the compiler 3 and loader 4, and the above-described processing is repeated.

【0014】次に、図1のシステムを用いて各検証処理
動作について詳述する。
Next, each verification processing operation will be explained in detail using the system shown in FIG.

【0015】先ず、論理検証処理動作について図10の
フローチャートを参照して説明する。この場合の論理規
格7(図1)が図2にデータとして示されており、また
論理検証対象の初期設定データとしての回路が図3に示
されている。尚、図2の論理規格において、*はアンド
論理を示し、+はオア論理を示している。
First, the logic verification processing operation will be explained with reference to the flowchart shown in FIG. Logic standard 7 (FIG. 1) in this case is shown as data in FIG. 2, and a circuit as initial setting data to be subjected to logic verification is shown in FIG. In the logic standard shown in FIG. 2, * indicates AND logic, and + indicates OR logic.

【0016】ローダ4を経由して初期設計データである
図3に示すデータを受取った検証部5は、ステップ11
0 にて回路トレースを実行して、データ入力端子が4
本、クロック入力端子が1本であることを認識すると共
に、入力端子から出力端子までのレジスタ段数が3段で
あることを認識する。
The verification unit 5 receives the initial design data shown in FIG. 3 via the loader 4, and performs step 11.
Execute circuit tracing at 0 and the data input terminal is 4.
In this case, it is recognized that there is only one clock input terminal, and that the number of register stages from the input terminal to the output terminal is three.

【0017】次に、ステップ111 において、シミュ
レーション用の入力値のパターンを発生する。この入力
値パターンは図15に示されており、4つのデータ入力
端子A,B,S,Tに対して“0000”〜“1111
”まで順次インクリメントしたパターンであり、4つの
入力端子に対して考えられる入力条件の組合わせパター
ンの全てとなっている。
Next, in step 111, a pattern of input values for simulation is generated. This input value pattern is shown in FIG. 15, and for the four data input terminals A, B, S, and T,
This pattern is sequentially incremented up to ``, and is all possible combination patterns of input conditions for the four input terminals.

【0018】この入力パターンに、更にレジスタ段数3
段分のクロック入力CLK パターンをも図15の如く
挿入して図15に示される入力値パターンを生成する。
In addition to this input pattern, the number of register stages is 3.
Clock input CLK patterns for stages are also inserted as shown in FIG. 15 to generate the input value pattern shown in FIG.

【0019】この入力値を基に、論理記述された図2の
論理規格7に対してシミュレーションをステップ112
 で実行する。このシミュレーション実行により得られ
た出力値120 として図16に示すパターンが得られ
る。尚、図15,16の各パターンNOは両者に対応し
たものである。
Based on this input value, a simulation is performed in step 112 for the logic standard 7 of FIG.
Run it with The pattern shown in FIG. 16 is obtained as the output value 120 obtained by executing this simulation. Note that each pattern number in FIGS. 15 and 16 corresponds to both.

【0020】次に、ステップ113 において、図3に
示す初期設計データ1について図15の入力値パターン
を用いて同様にシミュレーションを行い、そのシミュレ
ーションにより得られた出力値121 を図17に示す
Next, in step 113, the initial design data 1 shown in FIG. 3 is similarly simulated using the input value pattern shown in FIG. 15, and the output value 121 obtained by the simulation is shown in FIG.

【0021】ステップ116 において、ステップ11
2 と113との両シミュレーションにより得られた出
力値120 と121 とを比較し、一致、不一致を検
出する。本例では、パターンNO4以降は不一致である
ので、ステップ115 により回路探索を行って不一致
回路を絞込むのである。
In step 116, step 11
The output values 120 and 121 obtained by both simulations 2 and 113 are compared to detect coincidence or mismatch. In this example, since patterns after pattern No. 4 do not match, a circuit search is performed in step 115 to narrow down the mismatched circuits.

【0022】この絞込み方法としては、先ず出力値が異
なる出力端子から入力方向へ向けて行い、より入力端子
に近く、かつ出力値が異なるレジスタを探索するように
する。本例では、図16と図17とのパターンを夫々比
較すると出力Cが異なっており、レジスタRD及びRC
の各出力が共に異なっている。
[0022] This narrowing down method is first performed in the input direction from output terminals with different output values, and a register closer to the input terminal and with different output values is searched for. In this example, when comparing the patterns in FIG. 16 and FIG. 17, the output C is different, and the registers RD and RC are different.
Each output is different.

【0023】ここで、入力端子に一番近いレジスタRC
をファンイン側にレジスタに到達するまでトレースし、
レジスタRCとレジスタRA,RB,RS,RTとの各
間のゲートGA,GB,GCに絞込むのである。
Here, the register RC closest to the input terminal
trace until you reach the register on the fan-in side,
The gates are narrowed down to gates GA, GB, and GC between register RC and registers RA, RB, RS, and RT.

【0024】次のステップ114 では、回路修正を行
うのであるが、このとき図3の初期設計データ1のレジ
スタRCを図13(A),(B)の論理記述で表現する
。 尚、図13において、「’」は反転(NOT)を意味す
る。
In the next step 114, the circuit is modified, and at this time, the register RC of the initial design data 1 in FIG. 3 is expressed by the logical descriptions in FIGS. 13(A) and 13(B). In addition, in FIG. 13, "'" means inversion (NOT).

【0025】そして、図2の論理規格の対応箇所(点線
で示す箇所)21を変換記述した図13(C)と、図1
3(B)とを比較する。これ等2つを一致させるために
は、レジスタRCの入力直前で論理反転させれば良いの
で、ゲートGCをアンドゲートからナンドゲートに修正
して図4の如き修正設計データを得るのである。
FIG. 13(C) is a conversion description of the corresponding location (indicated by the dotted line) 21 of the logic standard in FIG. 2, and FIG.
Compare with 3(B). In order to make these two match, it is sufficient to invert the logic immediately before inputting the register RC, so the gate GC is modified from an AND gate to a NAND gate to obtain modified design data as shown in FIG.

【0026】再度、ステップ113 に戻りこの修正設
計データについて図15の入力値パターンを用いてシミ
ュレーションを実行する。この結果の出力値121 は
図16の出力値パターン120 と一致するので、ステ
ップ117 により論理検証が終了する。
Returning again to step 113, a simulation is executed for this modified design data using the input value pattern shown in FIG. Since the resulting output value 121 matches the output value pattern 120 of FIG. 16, the logic verification ends at step 117.

【0027】尚、図10のフローチャートにおいて、回
路トレース110 、入力値発生111 、シミュレー
ション112 ,113 の各処理は図1の検証部5に
て行われ、出力一致116 、全出力一致117の各処
理は図1の判定部6にて行われる。また、回路探索11
5 の処理は図1の解析部8にて行われ、回路修正11
4 の処理は図1の修正部9にて行われる。
In the flowchart of FIG. 10, each process of circuit tracing 110, input value generation 111, simulation 112, 113 is performed in the verification unit 5 of FIG. 1, and each process of output matching 116 and total output matching 117 is performed by the determination unit 6 in FIG. Also, circuit search 11
5 is performed in the analysis unit 8 of FIG. 1, and the circuit modification 11
Processing No. 4 is performed in the modification section 9 of FIG.

【0028】次に、故障検証処理動作について図11の
フローチャートを参照して説明する。この場合の初期設
計データは先の論理検証が終了した修正済みのデータで
あって図4に示すものである。
Next, the failure verification processing operation will be explained with reference to the flowchart of FIG. The initial design data in this case is the corrected data for which the previous logic verification has been completed, and is shown in FIG.

【0029】この故障検証とは、図4に示した初期設計
データに従って実際に製造した回路において、予め定め
られた信号ポイント(例えば、入出力端子や回路構成素
子(レジスタやゲート等)の入出力点等)に0故障(常
に0となる故障)や1故障(常に1となる故障)を発見
するために行う検証である。
This failure verification refers to checking predetermined signal points (for example, input/output terminals and input/output terminals of circuit components (registers, gates, etc.) This is a verification performed to discover 0 faults (faults that are always 0) and 1 faults (faults that are always 1) at points, etc.).

【0030】先ず、ローダ4を介して図4の初期設計デ
ータを検証部5へ供給する。検証部5はステップ210
 の回路トレースを実行して、入力端子が4本でクロッ
ク入力端子が1本であることを認識すると共に、入力か
ら出力までのレジスタ段数が3であることを認識する。
First, the initial design data shown in FIG. 4 is supplied to the verification section 5 via the loader 4. The verification unit 5 performs step 210
By performing a circuit trace, it is recognized that there are four input terminals and one clock input terminal, and that the number of register stages from input to output is three.

【0031】次に、ステップ211 において図10の
ステップ111 と同様に、図15に示す入力値パター
ンを発生する。この入力値を基にシミュレーション21
2 を実行して図16に示す出力値230 を作成する
。その後、ステップ213 の故障想定ステップで図1
4に示す故障リスト231 を作成する。この故障リス
トは、実際に製造された回路上で、0,1故障を発見す
る必要がある回路ポイントのリストである。
Next, in step 211, similarly to step 111 in FIG. 10, an input value pattern shown in FIG. 15 is generated. Simulation 21 based on this input value
2 to create an output value 230 shown in FIG. After that, in the failure assumption step of step 213,
A failure list 231 shown in 4 is created. This fault list is a list of circuit points at which 0 and 1 faults need to be discovered on the actually manufactured circuit.

【0032】先ず0故障検証について説明する。故障設
定ステップ214 において、図4の初期設定データに
対して故障リスト中の0故障設定ポイント全てに0故障
を設定し、その設定状態で故障シミュレーション215
 を実行する。そのシミュレーション結果232 が図
18に示すパターンであり、全て0で変化がない。
First, 0 failure verification will be explained. In the fault setting step 214, 0 faults are set for all 0 fault setting points in the fault list for the initial setting data of FIG.
Execute. The simulation result 232 is the pattern shown in FIG. 18, where all values are 0 and there is no change.

【0033】次のステップ221 において、図14の
故障リスト231内の0故障が設定された回路ポイント
について、入力が直接出力となっている端子があるかど
うか判定される。入力が直接出力されていなければ、次
のステップ222 で故障シミュレーションの出力値2
32 が全出力無変化かどうか調べる。
In the next step 221, it is determined whether or not there is a terminal whose input is directly an output for the circuit points in the fault list 231 of FIG. 14 where 0 faults have been set. If the input is not directly output, in the next step 222, the output value 2 of the fault simulation is
32 Check whether the total output remains unchanged.

【0034】本例では無変化である。これは出力Cも0
故障として常に0が設定され、またクロックも0故障で
内部回路が動作しないためである。この状態が回路探索
ステップ217 により検出され、これでは0故障がい
ずれも発見できないと判定する。
In this example, there is no change. This means that the output C is also 0
This is because 0 is always set as a failure, and the internal circuit does not operate due to a 0 clock failure. This state is detected by the circuit search step 217, and it is determined that no zero faults can be found.

【0035】そこで、先ずクロックの0故障だけを発見
可能とするために、回路修正ステップ216 にてクロ
ックをそのまま直接出力する様回路変更する。図5はこ
の回路修正によりクロック出力端子Dを追加した場合の
修正設計データである。
First, in order to be able to discover only the 0 failure of the clock, the circuit is modified in a circuit modification step 216 so that the clock is directly output as is. FIG. 5 shows modified design data when a clock output terminal D is added as a result of this circuit modification.

【0036】その後、この修正設計データについて再び
シミュレーション212 を実行する。このときの出力
値230 の一部パターン(NO1,2のみ)が図19
であり、図16の一部パターン(NO1,2)と対応し
ており、入出力端子が追加されているだけである。尚、
以下に述べるシミュレーション結果を示す図21,23
,25,27,29についても同様に図16の一部パタ
ーンと対応しているものとする。
Thereafter, the simulation 212 is executed again on this modified design data. A partial pattern of the output value 230 at this time (NO1 and 2 only) is shown in Figure 19.
This corresponds to some patterns (NO1, 2) in FIG. 16, and only input/output terminals are added. still,
Figures 21 and 23 show the simulation results described below.
, 25, 27, and 29 also correspond to some of the patterns in FIG. 16.

【0037】そして、故障設定214 により、再び故
障リスト231 の0故障を全て設定して、その設定状
態で故障シミュレーション215 を再度実施する。そ
の出力値232 の一部パターン(NO1,2のみ)が
図20である。このとき、正常時のシミュレーション結
果である図19のパターンNO2と、当該故障シミュレ
ーション結果である図20のパターンNO2とを比較す
ると、クロックの直接出力Dが異なっており、よって実
際の製造回路においてはこの直接出力Dにより、クロッ
クCLK の0故障が発見できるようになるのである。
Then, using the fault setting 214, all 0 faults in the fault list 231 are set again, and the fault simulation 215 is performed again in this setting state. A partial pattern of the output value 232 (NO1 and NO2 only) is shown in FIG. At this time, when pattern No. 2 in FIG. 19, which is the normal simulation result, and pattern No. 2 in FIG. 20, which is the failure simulation result, are compared, the direct output D of the clock is different. This direct output D makes it possible to detect a zero failure in the clock CLK.

【0038】ステップ221 では、このクロックの直
接出力Dが存在するので、故障削除ステップ218 へ
行き、ここで図14の故障リストから入力端子CLK 
の0故障を削除する。クロックの0故障の発見が、端子
Dを直接出力する回路修正処理により可能となったため
である。
In step 221, since there is a direct output D of this clock, the process goes to fault deletion step 218, where input terminal CLK is selected from the fault list in FIG.
Delete 0 failures. This is because the detection of the zero clock failure was made possible by the circuit modification process that directly outputs the terminal D.

【0039】故障設定214 において、図14の故障
リスト中クロック入力端子CLK 以外の0故障を設定
して再度故障シミュレーション215を実施する。出力
端子Cに0故障が設定されているために、この故障シミ
ュレーション結果は全出力変化しない。
In the fault setting 214, 0 faults are set for the faults other than the clock input terminal CLK in the fault list of FIG. 14, and the fault simulation 215 is performed again. Since 0 fault is set at the output terminal C, the total output does not change in this fault simulation result.

【0040】よって、ステップ222 から回路探索ス
テップ217 へ行き、出力端子Cを作成しているレジ
スタRDの入力をトレースして、回路修正ステップ21
6 でクロックの場合と同様に図6に示す如く出力端子
Eを、レジスタRDの入力から直接出力するよう修正す
る。
Therefore, the process goes from step 222 to circuit search step 217, traces the input of register RD that creates output terminal C, and performs circuit modification step 21.
In Step 6, as in the case of the clock, the output terminal E is modified to output directly from the input of the register RD, as shown in FIG.

【0041】この修正後、シミュレーション212 を
実行して出力値230 の一部を図21,23の如く得
る。そして、再び同一の故障リストで0故障を設定し、
故障シミュレーション215 を行う。このときの出力
値232 の一部が図22,24である。
After this correction, a simulation 212 is executed to obtain a portion of the output value 230 as shown in FIGS. 21 and 23. Then, set 0 failures again in the same failure list,
Perform failure simulation 215. A part of the output value 232 at this time is shown in FIGS. 22 and 24.

【0042】これ等正常時のシミュレーション結果(図
21,23)と故障シミュレーション結果(図22,2
4)とを比較すると(ステップ222 )、パターンN
O15で出力Eの値が異なり、その原因は図21のパタ
ーンNO13の入力A,Bの1,1の値が、図22では
0故障を設定して0,0となっているためであり、これ
により入力端子A,Bの各0故障が発見できる。
These normal simulation results (Figs. 21 and 23) and failure simulation results (Figs. 22 and 2)
4) (step 222), pattern N
The value of the output E is different in O15, and the reason for this is that the values of 1 and 1 of inputs A and B of pattern No. 13 in FIG. 21 are set to 0 and 0 in FIG. 22 by setting 0 failure. As a result, each 0 failure of input terminals A and B can be discovered.

【0043】また、パターンNO16では出力値Cの値
そのものが異なるので、ここでも出力端子Cの0故障が
発見できる。同様に出力を比較していくと、図23と2
4とからパターンNO47で入力端子S,Tの各0故障
が発見できる。
Furthermore, since the output value C itself is different in pattern No. 16, the 0 failure of the output terminal C can be found here as well. Comparing the output in the same way, Figures 23 and 2
4, each 0 failure of input terminals S and T can be found in pattern No. 47.

【0044】この様にして、0故障が発見できたら、故
障削除ステップ218にて図14の故障リストから対応
0故障が削除され、全ての0故障削除が行われたら(ス
テップ220 )0故障検証が終了となる。よって、図
6に示した修正後の設計データでは、図14の故障リス
トに掲げられた箇所の0故障が全て発見できることにな
る。
In this way, if a 0 fault is found, the corresponding 0 fault is deleted from the fault list in FIG. 14 in a fault deletion step 218, and after all 0 faults have been deleted (step 220), 0 fault verification is performed. is the end. Therefore, in the modified design data shown in FIG. 6, all zero faults in the locations listed in the fault list of FIG. 14 can be found.

【0045】1故障についても、図14の故障リストに
従って1故障を設定し、図11のフローチャートに従っ
て処理を行うことにより、当該故障リストに設定されて
いる1故障が全て発見できるようになる。
Regarding one fault, by setting one fault according to the fault list in FIG. 14 and performing processing according to the flowchart in FIG. 11, all the one faults set in the fault list can be found.

【0046】尚、図12において、回路トレース210
 ,入力値発生211 ,シミュレーション212 ,
故障想定213 ,故障設定214 ,故障シミュレー
ション215 ,故障削除218の各処理は図1の検証
部5で行われ、出力値一致219 ,全故障削除220
 ,直接出力有221 ,全出力無変化222 の各処
理が図1の判定部6にて行われる。また、回路探索21
7 の処理が図1の解析部8で行われ、回路修正216
 の処理が図1の修正部9で行われる。
Note that in FIG. 12, the circuit trace 210
, input value generation 211 , simulation 212 ,
Each process of fault assumption 213, fault setting 214, fault simulation 215, and fault deletion 218 is performed in the verification unit 5 of FIG. 1, and output value matching 219 and all fault deletion 220
, direct output 221 , and total output unchanged 222 are performed by the determination unit 6 in FIG. Also, circuit search 21
7 is performed in the analysis unit 8 of FIG. 1, and the circuit correction 216
This process is performed by the modification unit 9 in FIG.

【0047】次に回路規則検証の動作について図12の
フローチャートを参照しつつ説明する。この回路検証の
初期設計データ1は論理検証及び故障検証が終了した図
8に示すデータである。
Next, the operation of circuit rule verification will be explained with reference to the flowchart of FIG. The initial design data 1 for this circuit verification is the data shown in FIG. 8 after logic verification and fault verification have been completed.

【0048】ここで、回路規則検証時における図1の規
格7としては、「入出力バッファ要」,「ファンアウト
4以内」,「レジスタ直接出力端子接続不可」とする。
Here, the standard 7 in FIG. 1 at the time of circuit rule verification is ``input/output buffer required'', ``fanout 4 or less'', and ``register direct output terminal connection not possible''.

【0049】先ず、図6に示す初期設計データの端子チ
ェック処理310 を行って入力端子直後、出力端子直
前に夫々入出力バッファの有無をステップ311 で判
断する。 この例では入出力バッファが無いので、ステップ312
 で各端子に入出力バッファを夫々追加して図7に示す
如く回路修正を行う。図7において、正方形で示す素子
が追加された入出力バッファである。
First, a terminal check process 310 of the initial design data shown in FIG. 6 is performed to determine in step 311 whether there is an input/output buffer immediately after the input terminal and immediately before the output terminal. In this example, there is no input/output buffer, so step 312
Then, input/output buffers are added to each terminal, and the circuit is modified as shown in FIG. In FIG. 7, elements indicated by squares are an added input/output buffer.

【0050】次に、ファンアウトチェック313 を実
施し、入力端子CLK が最大ファンアウト「4」をオ
ーバしていることをステップ314 で検出する。よっ
て、ステップ315でここにバッファゲートを追加して
図8の如く回路修正を行う。図8において、菱形で示す
素子が追加されたバッファゲートである。
Next, a fan-out check 313 is performed, and it is detected in step 314 that the input terminal CLK exceeds the maximum fan-out "4". Therefore, in step 315, a buffer gate is added here and the circuit is modified as shown in FIG. In FIG. 8, elements indicated by diamond shapes are added buffer gates.

【0051】そして、接続ルールチェック316 を行
い、レジスタRDの出力が直接外部端子Cに接続されて
いることを接続違反チェック317 で検出し、接続修
正ステップ318 でバッファゲートを挿入し、図9の
様に修正する。
Then, a connection rule check 316 is performed, a connection violation check 317 detects that the output of the register RD is directly connected to the external terminal C, a buffer gate is inserted in a connection correction step 318, and the process shown in FIG. Please correct it accordingly.

【0052】この後、再度ファンアウトチェック313
 、接続ルールチェック316 を実施し、共に違反が
なければ、ステップ319 により検証終了となる。
[0052] After this, fan-out check 313 is performed again.
, connection rule check 316 is performed, and if there are no violations, the verification ends in step 319.

【0053】尚、図12のフローチャートにおいて、端
子チェック310 ,ファンアウトチェック313 ,
接続ルールチェック316 が図1の検証部5にて行わ
れ、入出力バッファ要311 ,最大ファンアウトオー
バ314 ,接続違反317 ,2連続OK319 が
図1の判定部6にて行われる。 入出力バッファ追加312 ,バッファ追加315 ,
接続修正318 が図1の修正部9にて行われる。
In the flowchart of FIG. 12, terminal check 310, fan-out check 313,
A connection rule check 316 is performed by the verification unit 5 of FIG. 1, and input/output buffer required 311, maximum fan out over 314, connection violation 317, and two consecutive OKs 319 are performed by the determination unit 6 of FIG. Input/output buffer addition 312, buffer addition 315,
Connection modification 318 is performed in the modification section 9 of FIG.

【0054】[0054]

【発明の効果】以上述べた如く、本発明によれば、エラ
ー解析や設計データの修正を自動的に行うようにしたの
で、人手を介在することがなくなり、短時間にかつ正確
に効率良く設計データを完成できるという効果がある。
[Effects of the Invention] As described above, according to the present invention, error analysis and correction of design data are automatically performed, eliminating the need for human intervention, allowing for accurate and efficient design in a short period of time. This has the effect of completing the data.

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

【図1】本発明の実施例を示すシステムブロック図であ
る。
FIG. 1 is a system block diagram showing an embodiment of the present invention.

【図2】論理検証時の論理規格の例を示す図である。FIG. 2 is a diagram showing an example of logic standards during logic verification.

【図3】論理検証時の初期設計データを示す図である。FIG. 3 is a diagram showing initial design data at the time of logic verification.

【図4】論理検証終了後の修正設計データを示す図であ
る。
FIG. 4 is a diagram showing modified design data after completion of logic verification.

【図5】故障検証中の設計データを示す図である。FIG. 5 is a diagram showing design data during failure verification.

【図6】故障検証中の設計データを示す図である。FIG. 6 is a diagram showing design data during failure verification.

【図7】回路規則検証中の設計データを示す図である。FIG. 7 is a diagram showing design data during circuit rule verification.

【図8】回路規則検証中の設計データを示す図である。FIG. 8 is a diagram showing design data during circuit rule verification.

【図9】回路規則検証終了後の設計データを示す図であ
る。
FIG. 9 is a diagram showing design data after completion of circuit rule verification.

【図10】論理検証処理を示すフローチャートである。FIG. 10 is a flowchart showing logic verification processing.

【図11】故障検証処理を示すフローチャートである。FIG. 11 is a flowchart showing failure verification processing.

【図12】回路規則検証処理を示すフローチャートであ
る。
FIG. 12 is a flowchart showing circuit rule verification processing.

【図13】(A)及び(B)は論理検証時のエラー記述
の例を示し、(C)はその変換記述例を示す図である。
FIGS. 13A and 13B are diagrams showing examples of error descriptions during logic verification, and FIGS. 13C is a diagram showing an example of the conversion description.

【図14】故障検証時の故障リストを示す図である。FIG. 14 is a diagram showing a failure list during failure verification.

【図15】論理検証及び故障検証時の入力値のパターン
を示す図である。
FIG. 15 is a diagram showing patterns of input values during logic verification and failure verification.

【図16】図15の入力値パターンを使用してシミュレ
ーションを実施したときの出力値パターンを示す図であ
る。
16 is a diagram showing an output value pattern when a simulation is performed using the input value pattern of FIG. 15. FIG.

【図17】論理検証時のシミュレーション結果の出力値
パターンを示す図である。
FIG. 17 is a diagram showing output value patterns of simulation results during logic verification.

【図18】故障シミュレーション結果を示すパターン図
である。
FIG. 18 is a pattern diagram showing failure simulation results.

【図19】故障検証時の正常シミュレーション結果の一
部を示すパターン図である。
FIG. 19 is a pattern diagram showing a part of normal simulation results during failure verification.

【図20】故障シミュレーション結果の一部を示すパタ
ーン図である。
FIG. 20 is a pattern diagram showing a part of failure simulation results.

【図21】故障検証時の正常シミュレーション結果の一
部を示すパターン図である。
FIG. 21 is a pattern diagram showing a part of normal simulation results during failure verification.

【図22】故障シミュレーション結果の一部を示すパタ
ーン図である。
FIG. 22 is a pattern diagram showing a part of failure simulation results.

【図23】故障検証時の正常シミュレーション結果の一
部を示すパターン図である。
FIG. 23 is a pattern diagram showing a part of normal simulation results during failure verification.

【図24】故障シミュレーション結果の一部を示すパタ
ーン図である。
FIG. 24 is a pattern diagram showing a part of failure simulation results.

【図25】故障検証時の正常シミュレーション結果の一
部を示すパターン図である。
FIG. 25 is a pattern diagram showing a part of normal simulation results during failure verification.

【図26】故障シミュレーション結果の一部を示すパタ
ーン図である。
FIG. 26 is a pattern diagram showing a part of failure simulation results.

【図27】故障検証時の正常シミュレーション結果の一
部を示すパターン図である。
FIG. 27 is a pattern diagram showing a part of normal simulation results during failure verification.

【図28】故障シミュレーション結果の一部を示すパタ
ーン図である。
FIG. 28 is a pattern diagram showing a part of failure simulation results.

【図29】故障検証時の正常シミュレーション結果の一
部を示すパターン図である。
FIG. 29 is a pattern diagram showing a part of normal simulation results during failure verification.

【図30】故障シミュレーション結果の一部を示すパタ
ーン図である。
FIG. 30 is a pattern diagram showing a part of failure simulation results.

【符号の説明】[Explanation of symbols]

1  初期設計データ 5  検証部 6  判定部 7  規格 8  解析部 9  修正部 1 Initial design data 5 Verification Department 6 Judgment section 7 Standards 8 Analysis department 9 Modification section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  論理検証対象論理回路における全ての
入力端子に対して考えられる入力条件の組合わせパター
ンを全て発生する入力パターン発生手段と、この入力パ
ターンを順次1パターンずつ前記入力端子に供給しつつ
シミュレーションを実行し、前記論理検証対象論理回路
の各構成要素の出力端子における出力パターンを生成す
るシミュレーション手段と、この出力パターンと正規の
出力パターンとを比較する比較手段と、この比較により
出力不一致が検出されたとき、この不一致出力から入力
へ向けて回路探検を行い出力の不一致開始箇所を検出す
る回路探索手段と、この検出された箇所を回路修正する
修正手段とを含むことを特徴とする論理設計検証システ
ム。
1. Input pattern generating means for generating all possible combinations of input conditions for all input terminals in a logic circuit to be verified; a simulation means for executing a simulation and generating an output pattern at the output terminal of each component of the logic circuit to be verified; a comparison means for comparing this output pattern with a normal output pattern; is detected, circuit searching means searches the circuit from the mismatched output toward the input to detect the starting point of the mismatch in the output, and correction means corrects the circuit at the detected point. Logical design verification system.
【請求項2】  故障検証対象論理回路における全ての
入力端子に対して考えられる入力条件の組合わせパター
ンを全て発生する入力パターン発生手段と、この入力パ
ターンを順次1パターンずつ前記入力端子に供給しつつ
シミュレーションを実行し、前記故障検証対象論理回路
の各構成要素の出力端子における出力パターンを生成す
るシミュレーション手段と、0(または1)故障を夫々
発見すべき入出力端子のリストを生成する故障リスト生
成手段と、これ等入出力端子全てに対して0(または1
)の論理値を設定して故障シミュレーションをなす手段
と、この故障シミュレーションの出力値が全て無変化の
とき、故障設定されている出力端子に接続されている回
路素子の入力端子を探索してこの入力端子から直接出力
端子を導出する回路修正手段と、この修正回路において
前記シミュレーション手段により再度シミュレーション
を実行するよう制御し、また前記修正回路において再度
記故障シミュレーションを実行するよう制御する制御手
段と、前記修正回路におけるシミュレーション結果と故
障シミュレーション結果とを比較して出力値が一致した
とき、前記回路修正手段及び制御手段を実行制御し、出
力値が不一致でかつ前記故障シミュレーションの出力値
が無変化でないとき、この不一致または変化した出力端
子に対応する入力端子について前記故障リストから削除
する手段と、この削除後の故障リストに従って再度前記
故障シミュレーションへ動作を移す手段とを含み、前記
故障リストの内容が全て削除されるまで前記各手段の実
行をなすようにしたことを特徴とする論理設計検証シス
テム。
2. Input pattern generation means for generating all possible combinations of input conditions for all input terminals in a logic circuit to be fault verified; simulation means for executing a simulation and generating an output pattern at the output terminal of each component of the logic circuit to be fault-verified; and a fault list for generating a list of input/output terminals in which 0 (or 1) faults should be found, respectively. 0 (or 1) for the generation means and all these input/output terminals.
) to perform a fault simulation by setting the logical value of circuit modification means for directly deriving an output terminal from an input terminal; a control means for controlling the modification circuit to perform the simulation again by the simulation means; and controlling the modification circuit to perform the failure simulation again; When the simulation result in the correction circuit and the failure simulation result are compared and the output values match, the circuit correction means and the control means are executed and controlled to determine that the output values do not match and the output value of the failure simulation does not change. and means for deleting from the fault list the input terminal corresponding to the mismatched or changed output terminal, and means for moving the operation to the fault simulation again according to the deleted fault list, and the content of the fault list is A logical design verification system characterized in that each of the above means is executed until all of the means are deleted.
【請求項3】  回路規則を予め定めて格納した回路規
則格納テーブルと、回路規則検証対象論理回路が前記回
路規則に合致するか否かを検出する回路規則検証手段と
、この検証結果が規則違反を示すときに前記規則に従っ
て回路修正をなす手段とを含むことを特徴とする論理設
計検証システム。
3. A circuit rule storage table in which circuit rules are predetermined and stored; circuit rule verification means for detecting whether a logic circuit subject to circuit rule verification conforms to the circuit rule; and means for making a circuit modification according to the rule when the logic design verification system indicates the above-described rule.
JP3112523A 1991-04-17 1991-04-17 Logic design verification system Expired - Lifetime JP2806646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3112523A JP2806646B2 (en) 1991-04-17 1991-04-17 Logic design verification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3112523A JP2806646B2 (en) 1991-04-17 1991-04-17 Logic design verification system

Publications (2)

Publication Number Publication Date
JPH04318678A true JPH04318678A (en) 1992-11-10
JP2806646B2 JP2806646B2 (en) 1998-09-30

Family

ID=14588778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3112523A Expired - Lifetime JP2806646B2 (en) 1991-04-17 1991-04-17 Logic design verification system

Country Status (1)

Country Link
JP (1) JP2806646B2 (en)

Also Published As

Publication number Publication date
JP2806646B2 (en) 1998-09-30

Similar Documents

Publication Publication Date Title
US6487704B1 (en) System and method for identifying finite state machines and verifying circuit designs
US6591403B1 (en) System and method for specifying hardware description language assertions targeting a diverse set of verification tools
EP1021776A1 (en) System and method for automated design verification
JPH11328251A (en) Method for automatically generating operation environment for model inspection
JP3825572B2 (en) Semiconductor integrated circuit design verification apparatus, method, and storage medium
CN115062570B (en) Formal verification method, device and equipment and computer storage medium
US10592623B2 (en) Assertion statement check and debug
CN116069635A (en) SOC system testing method and device, computer equipment and storage medium
US7283945B2 (en) High level verification of software and hardware descriptions by symbolic simulation using assume-guarantee relationships with linear arithmetic assumptions
US9058452B1 (en) Systems and methods for tracing and fixing unknowns in gate-level simulation
JP2019091144A (en) Simulation device, simulation system, simulation method, and simulation program
US8392776B2 (en) Delay fault diagnosis program
US10460060B2 (en) Checking equivalence between changes made in a circuit definition language and changes in post-synthesis nets
KR100777103B1 (en) Apparatus and method for generation of test driver
JP2806646B2 (en) Logic design verification system
CN110991129B (en) FPGA-based full-automatic simulation verification method for password coprocessor
CN112001138A (en) Efficient digital circuit algorithm verification device
JPH07121576A (en) Failure simulation device
US7047173B1 (en) Analog signal verification using digital signatures
CN115510782B (en) Method for locating verification errors, electronic device and storage medium
US7467366B2 (en) Method for generating a timing path software monitor for identifying a critical timing path in hardware devices coupled between components
M'zah et al. Deterministic microcode machine generation
JP3171236B2 (en) Input terminal competition pattern detection system
US10614181B2 (en) Electronic design tools using non-synthesizable circuit elements
CN117313596A (en) Method, equipment and storage medium for positioning errors of logic system design