JP2850629B2 - Logic verification system - Google Patents
Logic verification systemInfo
- Publication number
- JP2850629B2 JP2850629B2 JP4050803A JP5080392A JP2850629B2 JP 2850629 B2 JP2850629 B2 JP 2850629B2 JP 4050803 A JP4050803 A JP 4050803A JP 5080392 A JP5080392 A JP 5080392A JP 2850629 B2 JP2850629 B2 JP 2850629B2
- Authority
- JP
- Japan
- Prior art keywords
- change
- expected value
- test pattern
- function block
- circuit information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000012795 verification Methods 0.000 title claims description 10
- 238000004088 simulation Methods 0.000 description 14
- 238000011156 evaluation Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は論理回路の設計における
論理検証システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic verification system for designing a logic circuit.
【0002】[0002]
【従来の技術】従来、複数の機能ブロックに分割して回
路を設計する場合、機能ブロック単位で遅延改善や使用
部品の変更を行うが、機能ブロックレベルでの論理変更
がない場合でも機能ブロックをすべて統合したモデルで
最初からシミュレートし直して動作確認をする必要があ
る。2. Description of the Related Art Conventionally, when a circuit is designed by dividing it into a plurality of functional blocks, the delay is improved and the parts used are changed in functional block units. It is necessary to re-simulate from the beginning with an integrated model and check the operation.
【0003】[0003]
【発明が解決しようとする課題】従来のように複数の機
能ブロックに分割して回路を設計する場合の論理検証シ
ステムでは、ひとつの機能ブロックに遅延改善のため回
路変更を加えるとその変更が正しいことを確認するため
機能ブロックを統合したモデルで最初からシミュレート
し直すが、シミュレート評価を充分に行った段階での再
実行は、それまでのシミュレート評価をすべてやり直す
ため多大な工数が必要であるという問題点がある。In a conventional logic verification system in which a circuit is designed by dividing it into a plurality of functional blocks, if a circuit is modified to improve the delay in one functional block, the change is correct. In order to confirm that the simulation is performed again from the beginning with a model that integrates functional blocks, re-execution at the stage where sufficient simulation evaluation has been performed requires a lot of man-hours because all previous simulation evaluations are redone There is a problem that is.
【0004】本発明は上記問題点に鑑み、機能ブロック
の回路変更を行っても、統合したモデルでシミュレート
をやり直す必要のない論理検証システムを提供する。[0004] In view of the above problems, the present invention provides a logic verification system which does not require re-simulation with an integrated model even when a circuit of a functional block is changed.
【0005】[0005]
【課題を解決するための手段】本発明の論理検証システ
ムは、複数の機能ブロックに分割して回路を設計する場
合機能ブロック単位で回路構成を変更する論理検証シス
テムであって、変更前の機能ブロックの回路情報を保持
する変更前データ保持手段と、変更後の機能ブロックの
回路情報を保持する変更後データ保持手段と、機能ブロ
ックの入力ピンに加印するテストパターンを生成するテ
ストパターン生成手段と、変更前の機能ブロックの回路
情報を変更前データ保持手段から入力し、入力した回路
情報に基づく機能ブロックの入力ピンに、テストパター
ン生成手段が生成したテストパターンを印加したときの
機能ブロックの動作をシミュレートし、機能ブロックの
出力ピンでの期待値を求める第1の期待値生成手段と、
第1の期待値生成手段が生成した期待値を格納する変更
前期待値格納手段と、変更後の機能ブロックの回路情報
を変更後データ保持手段から入力し、入力した回路情報
に基づく機能ブロックの入力ピンに、テストパターン生
成手段が生成したテストパターンを印加したときの機能
ブロックの動作をシミュレートし、機能ブロックの出力
ピンでの期待値を求める第2の期待値生成手段と、第2
の期待値生成手段が生成した期待値を格納する変更前期
待値格納手段と、変更前期待値格納手段と変更後期待値
格納手段とに格納された内容が同一か否か比較する比較
手段とを有し、変更前と変更後の機能ブロックの論理動
作の一致の検証が行う。SUMMARY OF THE INVENTION A logic verification system according to the present invention is a logic verification system for changing a circuit configuration in units of functional blocks when designing a circuit by dividing the circuit into a plurality of functional blocks. Pre-change data holding means for holding circuit information of a block, post-change data holding means for holding circuit information of a changed functional block, and test pattern generating means for generating a test pattern to be applied to an input pin of the functional block And the circuit information of the function block before the change is inputted from the data holding means before the change, and the test pattern generated by the test pattern generation means is applied to the input pin of the function block based on the inputted circuit information. First expected value generating means for simulating operation and obtaining an expected value at an output pin of the functional block;
The pre-change expected value storing means for storing the expected value generated by the first expected value generating means, and the circuit information of the functional block after the change are inputted from the post-change data holding means, and the functional block of the functional block based on the inputted circuit information is inputted. A second expected value generating means for simulating the operation of the functional block when the test pattern generated by the test pattern generating means is applied to the input pin and obtaining an expected value at the output pin of the functional block;
An expected value storage means for storing the expected value generated by the expected value generation means of the above, and a comparing means for comparing whether the contents stored in the expected value storage means before the change and the expected value storage means after the change are the same. The verification of the matching of the logical operations of the functional blocks before and after the change is performed.
【0006】[0006]
【作用】テストパターン生成手段が生成したテストパタ
ーンを、第1、第2の期待値生成手段が変更前データ保
持手段および変更後データ保持手段からそれぞれ入力し
た機能ブロックに印加して、それぞれ期待値を得る。各
期待値はそれぞれ変更前期待値格納手段および変更後期
待値格納手段に格納され、比較手段によって同一か否か
比較される。同一であれば全体のシミュレートは不要と
なる。The test patterns generated by the test pattern generation means are applied to the function blocks input by the first and second expected value generation means from the pre-change data holding means and the post-change data storage means, respectively. Get. The respective expected values are stored in the expected value storage means before change and the expected value storage means after change, respectively, and are compared by the comparing means for the same or not. If they are the same, simulation of the whole is unnecessary.
【0007】[0007]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明の一実施例の構成を示すブロ
ック図である。変更前データ保持手段1は、機能ブロッ
クレベルの回路情報を格納しておくデータファイルであ
る。変更後データ保持手段2は、変更前データ保持手段
1に格納されている機能ブロックの回路構成を変更した
後の回路情報を格納しておく。テストパターン生成手段
3は、変更前データ保持手段1から機能ブロックの入力
ピンの抽出を行うとともに、制御情報に従ったテストパ
ターンを生成する。期待値生成手段4は、変更前データ
保持手段1に格納されている回路情報から変更前の機能
ブロックレベルのシミュレートモデルを生成するととも
に、テストパターン生成手段3にて生成されたテストパ
ターンをシミュレートモデルの入力ピンに与えることに
よって、シミュレートモデルの出力ピンにおけるデータ
変化の期待値を生成する。Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. The pre-change data holding means 1 is a data file for storing circuit information at a functional block level. The post-change data holding unit 2 stores circuit information after the circuit configuration of the functional block stored in the pre-change data holding unit 1 has been changed. The test pattern generation means 3 extracts the input pins of the functional blocks from the pre-change data holding means 1 and generates a test pattern according to the control information. The expected value generation means 4 generates a simulation model at the functional block level before the change from the circuit information stored in the data storage means 1 before the change, and simulates the test pattern generated by the test pattern generation means 3. To the input pins of the simulation model to generate expected values of data changes at the output pins of the simulation model.
【0008】期待値生成手段5は、変更後データ保持手
段2に格納されている回路情報から変更後の機能ブロッ
クレベルのシミュレートモデルを生成するとともにテス
トパターン生成手段3にて生成されたテストパターンを
シミュレートモデルの入力ピンに与えることによって、
シミュレートモデルの出力ピンにおけるデータ変化の期
待値を生成する。変更前期待値格納手段6は、期待値生
成手段4で生成された変更前の機能ブロックの出力ピン
における期待値を、シミュレートモデルの入力ピンの入
力データに対応させて出力ピン毎に格納する。変更後期
待値格納手段7は、期待値生成手段5で生成された変更
後の機能ブロックの出力ピンにおける期待値を、シミュ
レートモデルの入力ピンの入力データに対応させて出力
ピン毎に格納する。比較手段8は、変更前期待値格納手
段6及び変更後期待値格納手段7に有効なデータが揃っ
たとき、各々に格納されている出力ピン毎のデータ列を
比較し、全てのパターンが実質的に同一かどうか検証す
る。この結果が、変更後の機能ブロックが変更前の機能
ブロックと論理的に等価(ダイナミックに見ても等価)
であるかどうかを示す。The expected value generating means 5 generates a changed functional block level simulation model from the circuit information stored in the changed data holding means 2 and the test pattern generated by the test pattern generating means 3. To the input pins of the simulated model,
Generate the expected value of the data change at the output pin of the simulated model. The pre-change expected value storage means 6 stores, for each output pin, the expected value at the output pin of the pre-change function block generated by the expected value generation means 4 in correspondence with the input data of the input pin of the simulation model. . The changed expected value storing means 7 stores the expected value at the output pin of the changed functional block generated by the expected value generating means 5 for each output pin in correspondence with the input data of the input pin of the simulation model. . The comparison means 8 compares the data strings for each output pin stored in the expected value storage means 6 before change and the expected value storage means 7 after change, when all the valid data are available. Verify that they are identical. The result is that the functional block after the change is logically equivalent to the functional block before the change (equivalent to the dynamic view)
Indicates whether or not
【0009】次に本実施例の動作について図2のフロー
チャートを参照して説明する。機能ブロックで遅延改善
または使用部品の変更のように論理的に等価(例えばス
タティックに見た場合には等価)な回路変更するとき、
変更前の回路情報を変更前データ保持手段1に格納する
(ステップS1)。ここで回路情報とは機能ブロックの
入出力ピンの情報、使用している部品の情報及びそれら
の接続情報でありシミュレートに必要なデータである。
必要な回路変更を行い(ステップS2)、変更後の回路
情報を変更後データ保持手段2に格納する(ステップS
3)。ステップS1で格納した回路情報からテストパタ
ーン生成手段3にて機能ブロックのクロック信号、マス
タリセット信号を抽出し、機能ブロックの入力ピンに印
加するテストパターンを生成する(ステップS4)。期
待値生成手段4は、ステップS1で得た回路情報からシ
ミュレートモデルを生成し、ステップS4で生成したテ
ストパターンを印加することによって変更前の機能ブロ
ックの出力ピンの期待値を求め変更前期待値格納手段6
に格納する。期待値生成手段5は、ステップS3で格納
した回路情報からシミュレートモデルを生成し、ステッ
プS4で生成したテストパターンを印加することによっ
て変更後の機能ブロックの出力ピンの期待値を求め変更
後期待値格納手段7に格納する。最後に変更前期待値格
納手段6と変更後期待値格納手段7の内容を比較手段8
にて機能ブロックの出力ピン毎に比較し全て同じであれ
ば変更前と後でその機能ブロックは論理的に等価と判断
する。Next, the operation of this embodiment will be described with reference to the flowchart of FIG. When changing a circuit that is logically equivalent (for example, equivalent when viewed statically), such as improving the delay or changing the components used in the function block,
The circuit information before the change is stored in the pre-change data holding means 1 (step S1). Here, the circuit information is information on the input / output pins of the functional block, information on the components used, and their connection information, and is data necessary for simulation.
Necessary circuit changes are made (step S2), and the changed circuit information is stored in the changed data holding means 2 (step S2).
3). The test pattern generator 3 extracts a clock signal and a master reset signal of the functional block from the circuit information stored in step S1, and generates a test pattern to be applied to the input pin of the functional block (step S4). The expected value generation means 4 generates a simulated model from the circuit information obtained in step S1 and applies the test pattern generated in step S4 to obtain the expected value of the output pin of the functional block before the change, thereby obtaining the expected value before the change. Value storage means 6
To be stored. The expected value generating means 5 generates a simulated model from the circuit information stored in step S3, and obtains the expected value of the output pin of the changed functional block by applying the test pattern generated in step S4. It is stored in the value storage means 7. Finally, the contents of the pre-change expected value storage means 6 and the post-change expected value storage means 7 are compared with the comparing means 8.
The comparison is made for each output pin of the functional block, and if they are all the same, the functional blocks before and after the change are determined to be logically equivalent.
【0010】[0010]
【発明の効果】以上説明したように本発明は、複数の機
能ブロックに分割して回路を設計する際に遅延改善等の
ために論理的変更をせずに機能ブロックレベルで回路変
更を行いたい場合、変更前の回路にテストパターンを入
力して得られる期待値と変更後の回路に同じテストパタ
ーンを入力して得られる期待値とを比較手段で比較する
ことにより、変更前後の回路の論理的等価を検証するこ
とができ、論理的等価が検証できた場合には、機能ブロ
ックを全て統合したモデルでは新たなシュミレート評価
を進めていけば良いことになり、シュミレート評価を最
初からやり直すという多大な工数が必要なくなるという
効果を有する。As described above, according to the present invention, when a circuit is divided into a plurality of functional blocks and a circuit is designed, it is desired to perform a circuit change at a functional block level without logically changing to improve delay or the like. In this case, by comparing the expected value obtained by inputting the test pattern into the circuit before the change and the expected value obtained by inputting the same test pattern into the circuit after the change by comparing means, the logic of the circuit before and after the change is obtained. If the logical equivalence can be verified, and if the logical equivalence can be verified, it is sufficient to proceed with a new simulation evaluation in a model that integrates all the functional blocks, and it is necessary to restart the simulation evaluation from the beginning. This has the effect that unnecessary man-hours are not required.
【図1】本発明の論理検証システムの一実施例の構成を
示すブロック図である。FIG. 1 is a block diagram showing a configuration of an embodiment of a logic verification system according to the present invention.
【図2】図2の実施例の動作を示すフローチャートであ
る。FIG. 2 is a flowchart showing the operation of the embodiment of FIG.
1 変更前データ保持手段 2 変更後データ保持手段 3 テストパターン生成手段 4、5 期待値生成手段 6 変更前期待値格納手段 7 変更後期待値格納手段 8 比較手段 DESCRIPTION OF SYMBOLS 1 Pre-change data holding means 2 Post-change data holding means 3 Test pattern generation means 4, 5 Expected value generation means 6 Pre-change expected value storage means 7 Post-change expected value storage means 8 Comparison means
フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 17/50 JICSTファイル(JOIS)Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 17/50 JICST file (JOIS)
Claims (1)
計する場合、機能ブロック単位で回路構成を変更する論
理検証システムにおいて、 変更前の機能ブロックの回路情報を保持する変更前デー
タ保持手段と、 変更後の機能ブロックの回路情報を保持する変更後デー
タ保持手段と、 機能ブロックの入力ピンに印加するテストパターンを生
成するテストパターン生成手段と、 変更前の機能ブロックの回路情報を変更前データ保持手
段から入力し、入力した回路情報に基づく機能ブロック
の入力ピンに、テストパターン生成手段が生成したテス
トパターンを印加したときの機能ブロックの動作をシミ
ュレートし、機能ブロックの出力ピンでの期待値を求め
る第1の期待値生成手段と、 第1の期待値生成手段が生成した期待値を格納する変更
前期待値格納手段と、 変更後の機能ブロックの回路情報を変更後データ保持手
段から入力し、入力した回路情報に基づく機能ブロック
の入力ピンに、テストパターン生成手段が生成したテス
トパターンを印加したときの機能ブロックの動作をシミ
ュレートし、機能ブロックの出力ピンでの期待値を求め
る第2の期待値生成手段と、 第2の期待値生成手段が生成した期待値を格納する変更
前期待値格納手段と、 変更前期待値格納手段と変更後期待値格納手段とに格納
された内容が同一か否か比較する比較手段とを有し、変
更前と変更後の機能ブロックの論理動作の一致の検証を
行う論理検証システム。When a circuit is designed by being divided into a plurality of functional blocks, in a logic verification system that changes a circuit configuration in units of functional blocks, a data pre-change data holding unit that holds circuit information of the functional blocks before the change is provided. A post-change data holding means for holding the circuit information of the function block after the change, a test pattern generation means for generating a test pattern to be applied to the input pin of the function block, and a pre-change data of the circuit information of the function block before the change Simulates the operation of the function block when the test pattern generated by the test pattern generation means is applied to the input pin of the function block based on the input circuit information input from the holding means, and the expectation at the output pin of the function block First expected value generating means for obtaining a value, and a change period storing the expected value generated by the first expected value generating means The value storage means and the circuit information of the changed functional block are input from the changed data holding means, and the test pattern generated by the test pattern generating means is applied to the input pin of the function block based on the input circuit information. Second expected value generating means for simulating the operation of the functional block and obtaining an expected value at an output pin of the functional block; and expected value storing means before change for storing the expected value generated by the second expected value generating means And comparing means for comparing whether the contents stored in the expected value storage means before change and the expected value storage means after change are the same, and verifying the coincidence of the logical operations of the functional blocks before and after the change. Logic verification system that performs
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4050803A JP2850629B2 (en) | 1992-03-09 | 1992-03-09 | Logic verification system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4050803A JP2850629B2 (en) | 1992-03-09 | 1992-03-09 | Logic verification system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05250432A JPH05250432A (en) | 1993-09-28 |
| JP2850629B2 true JP2850629B2 (en) | 1999-01-27 |
Family
ID=12868939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4050803A Expired - Lifetime JP2850629B2 (en) | 1992-03-09 | 1992-03-09 | Logic verification system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2850629B2 (en) |
-
1992
- 1992-03-09 JP JP4050803A patent/JP2850629B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05250432A (en) | 1993-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6487704B1 (en) | System and method for identifying finite state machines and verifying circuit designs | |
| US6301553B1 (en) | Method and apparatus for removing timing hazards in a circuit design | |
| US5960182A (en) | Hardware-software co-simulation system, hardware-software co-simulation method, and computer-readable memory containing a hardware-software co-simulation program | |
| JPH03156572A (en) | System and method for comparing and verifying logic circuit | |
| JP3248753B2 (en) | Method and apparatus for determining transition table of combinational logic circuit | |
| US5745501A (en) | Apparatus and method for generating integrated circuit test patterns | |
| CN111859834A (en) | A UVM-based verification platform development method, system, terminal and storage medium | |
| US5491639A (en) | Procedure for verifying data-processing systems | |
| US6567971B1 (en) | Circuit synthesis method using technology parameters extracting circuit | |
| US6847927B2 (en) | Efficient array tracing in a logic simulator machine | |
| US20090112554A1 (en) | Test Bench, Method, and Computer Program Product for Performing a Test Case on an Integrated Circuit | |
| US5909374A (en) | System and method for verifying logic circuit based on signal line set affecting internal signal | |
| CN100483429C (en) | Verification operation supporting system and method of the same | |
| JP2850629B2 (en) | Logic verification system | |
| US20030204388A1 (en) | Automated random verification of complex and structurally-variable systems | |
| US7047173B1 (en) | Analog signal verification using digital signatures | |
| US20040260531A1 (en) | Emulation system and method | |
| US20040015792A1 (en) | Method for creating standard VHDL test environments | |
| JP3144617B2 (en) | Logic circuit verification method | |
| JP2729061B2 (en) | Zero-delay operation processing method for simulation equipment | |
| Weber | A tool for computer design | |
| Rodda et al. | Simulation as a design tool: Implementation of systems by means of different technologies | |
| CN117313650A (en) | A chip testing and verification method and its application device | |
| JPH0612468A (en) | Automatic circuit synthesis method | |
| JPH056406A (en) | Scan path logical verification system |