JP2830579B2 - Logic simulation equipment - Google Patents

Logic simulation equipment

Info

Publication number
JP2830579B2
JP2830579B2 JP4032158A JP3215892A JP2830579B2 JP 2830579 B2 JP2830579 B2 JP 2830579B2 JP 4032158 A JP4032158 A JP 4032158A JP 3215892 A JP3215892 A JP 3215892A JP 2830579 B2 JP2830579 B2 JP 2830579B2
Authority
JP
Japan
Prior art keywords
pattern
input
output
circuit
compression
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 - Fee Related
Application number
JP4032158A
Other languages
Japanese (ja)
Other versions
JPH05233746A (en
Inventor
秀樹 佐賀山
吉村修
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 Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4032158A priority Critical patent/JP2830579B2/en
Publication of JPH05233746A publication Critical patent/JPH05233746A/en
Application granted granted Critical
Publication of JP2830579B2 publication Critical patent/JP2830579B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は集積回路に構成された論
理回路の設計支援に利用する。本発明は、論理シミュレ
ーションにおける遅延を考慮した期待値照合に利用す
る。本発明は、論理の正誤確認に使用した入力パターン
と期待値とを利用し、作成した論理回路のタイミング解
析を自動的に行うことができる論理シミュレーション装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used for supporting design of a logic circuit formed in an integrated circuit. The present invention is used for expected value matching in consideration of delay in logic simulation. The present invention relates to a logic simulation apparatus capable of automatically performing a timing analysis of a created logic circuit by using an input pattern and an expected value used for logic correctness check.

【0002】[0002]

【従来の技術】最近の集積回路における1チップ上の集
積度は以前と比べて大きくなり、またその開発期間も徐
々に短縮されつつある。以前はプリント基盤上で数チッ
プの集積回路を組み合わせてシステムの設計を行ってい
たがチップ上での集積度の上昇により、1チップ上で一
つのシステムを構築できるようになりつつある。集積回
路の場合、チップの作成後に設計ミスが見つかると再試
作を行うことになり開発費用、開発期間とも膨大なもの
になる。
2. Description of the Related Art In recent integrated circuits, the degree of integration on one chip has become larger than before, and the development period has been gradually shortened. Previously, a system was designed by combining integrated circuits of several chips on a printed circuit board. However, an increase in the degree of integration on a chip has made it possible to construct one system on one chip. In the case of an integrated circuit, if a design error is found after a chip is produced, re-prototyping is performed, and the development cost and development period are enormous.

【0003】そこで試作前に十分な設計検証が必須であ
り、このような大規模集積回路においては、論理回路の
動作をコンピュータ上で模倣し、集積回路の設計ミスを
見つけだすのが通例となっている。最近の高集積、高速
回路においては、回路の論理動作のみの検証ではなく遅
延などのタイミングを考慮した回路設計が必須のものに
なってきている。そのため最近のシミュレータは、実際
のデバイスになったときに発生する素子の遅延、配線遅
延などいろいろな要因を考慮し、より実際のデバイスの
動きに近づけたシミュレータへと進んできている。
Therefore, sufficient design verification is required before trial production. In such a large-scale integrated circuit, it is customary to imitate the operation of a logic circuit on a computer and find out a design error of the integrated circuit. I have. In recent high-integration, high-speed circuits, it is becoming essential to design a circuit in consideration of timing such as delay instead of verifying only the logical operation of the circuit. For this reason, recent simulators have been moving toward simulators that more closely resemble the behavior of actual devices in consideration of various factors such as element delays and wiring delays that occur when the device becomes an actual device.

【0004】タイミング解析の一つにダイナミック解析
という方法がある。この方法は、実際にデバイスになっ
たときに発生する素子の遅延時間、素子間の配線遅延時
間、フリップフロップ(以下F/Fという)のセットア
ップ時間などのパラメータをライブラリ化しておき、回
路接続情報をもとに接続関係やファンアウト数を考慮し
た遅延時間の算出を行い、論理値のみを考慮していた論
理シミュレーションにこの遅延時間を取り入れてあらか
じめ用意しておいた入力パターンによりシミュレーショ
ンを行い、そのシミュレーション結果を期待値と照合し
不一致があればその原因を調べて回路を修正し、不一致
がなくなるまで回路修正とシミュレーションを繰り返す
解析方法である。
One of the timing analysis is a method called dynamic analysis. In this method, parameters such as the delay time of an element, the delay time of wiring between elements, and the setup time of a flip-flop (hereinafter referred to as F / F) generated when a device is actually formed are stored in a library, and circuit connection information is stored. Calculate the delay time taking into account the connection relationship and the number of fanouts based on the above, incorporate this delay time into the logic simulation that considered only the logical value, and simulate with the input pattern prepared in advance, This is an analysis method in which the simulation result is compared with an expected value, and if there is a mismatch, the cause is checked to correct the circuit, and circuit correction and simulation are repeated until the mismatch is eliminated.

【0005】また、他のタイミング解析として、F/F
などのセットアップタイム、ホールドタイムの検証、ク
リティカルパスの検証に用いられるスタティック解析と
いう方法もある。スタティック解析とは、入力パターン
を使用せず回路のF/Fに注目しF/F間の遅延とその
動作スピードを解析するものである。図(a)に示す
回路は単相クロックによる同期式回路である。以下この
回路を使用してスタティック解析について説明する。
As another timing analysis, F / F
There is also a method called static analysis used for verification of setup time, hold time, and critical path verification. The static analysis is to analyze the delay between the F / Fs and the operation speed by focusing on the F / Fs of the circuit without using an input pattern. The circuit shown in FIG. 6 (a) is a synchronous circuit according to a single-phase clock. Hereinafter, the static analysis will be described using this circuit.

【0006】この回路に使用されているF/Fはともに
クロックの立ち上がりでデータを取り込むものとし、ま
たF/F15においてクロックの立ち上がりに対するデ
ータのセットアップタイムをTS、クロックCLKの周
期をCP、F/F14からF/F15の間の遅延をD1
としたときに、スタティック解析では、回路の接続情報
を探索しながら素子の遅延および配線遅延を順次加算し
遅延D1を求め、次式が成立するかどうかを調べる。
The F / Fs used in this circuit both take in data at the rising edge of the clock. In the F / F 15, the data setup time for the rising edge of the clock is TS, the period of the clock CLK is CP, and the F / F is F / F. The delay between F14 and F / F15 is D1
Then, in the static analysis, the delay of the element and the wiring delay are sequentially added while searching for the connection information of the circuit to obtain the delay D1, and it is checked whether or not the following equation is satisfied.

【0007】TS+D1≦CP 上式が成立しなければ回路に問題があることになり、回
路設計者に回路修正が必要なことを指示する。
TS + D1 ≦ CP If the above equation is not satisfied, there is a problem in the circuit, and a circuit designer is instructed that the circuit needs to be corrected.

【0008】[0008]

【発明が解決しようとする課題】ダイナミック解析の手
法においてクリティカルパスを見つけようとする場合、
回路中全素子のシミュレーション結果を出力し、人間が
そのシミュレーション結果を見てF/Fの前段の素子か
らF/Fまでの信号がセットアップタイムなどに対して
どのくらいのマージンがあるのかを人手で調べ、いちば
んマージンが少ないF/Fを見つけだす必要がある。し
かし回路中の素子数が少ない簡単な回路であればこの方
法で調べることも可能であるが、数万数十万規模の回路
に対して人手で行うには膨大な時間を必要とし非現実的
である。
When trying to find a critical path in a dynamic analysis method,
The simulation results of all elements in the circuit are output, and the human observes the simulation results and manually examines the margin of the signal from the element at the preceding stage of the F / F to the F / F with respect to the setup time and the like. It is necessary to find the F / F with the smallest margin. However, a simple circuit with a small number of elements in the circuit can be examined using this method.However, it takes an enormous amount of time to manually perform a circuit of tens of thousands or hundreds of thousands, which is impractical. It is.

【0009】また、スタティック解析の手法では基本的
に単相クロック同期の扱いが主流であり多相同期、非同
期においては次のような問題がある。図(b)の回路
は2相同期回路の例を示したものでF/F16はCLK
1、F/F17はCLK2でそれぞれ動作する。スタテ
ィック解析の場合に入力パターンが与えられず、CLK
1とCLK2がどのタイミングで立ち上がるのかが回路
接続情報からだけでは明らかでないためF/F16およ
びF/F17がそれぞれどのような関係でデータを取り
込むのかが分からず解析できない。
Also, in the static analysis method, basically single-phase clock synchronization is mainly used, and there are the following problems in multi-phase synchronization and asynchronous. Figure 7 F / F16 circuit is shows an example of a two-phase synchronous circuit (b) is CLK
1, the F / F 17 operates at CLK2. In the case of static analysis, no input pattern is given and CLK
The timing at which 1 and CLK2 rise is not clear from the circuit connection information alone, so it is not possible to analyze the relationship between the F / F 16 and the F / F 17 in which the respective data is taken, and analysis is not possible.

【0010】また、図(c)の回路は非同期回路の例
を示したものでF/F18はCLK1の周期で動作する
のに対して、F/F19のクロック端子Cには組み合わ
せ回路の出力が接続されており、その論理演算の結果に
よりF/F19がF/F18からのデータを取り込むタ
イミングが決定される。このため入力パターンを与えな
いスタティック解析ではF/F19がデータを取り込む
タイミングを決定できず解析できないことになる。
Moreover, F / F18 with those circuit of FIG. 7 (c) shows an example of an asynchronous circuit whereas operates with a period of CLK1, the combination circuit to the clock terminal C of the F / F19 Output Are connected, and the timing at which the F / F 19 takes in data from the F / F 18 is determined based on the result of the logical operation. For this reason, in the static analysis in which no input pattern is given, the timing at which the F / F 19 takes in the data cannot be determined, and the analysis cannot be performed.

【0011】次に、図(d)に示す回路は単相クロッ
クによる同期式回路であるが入力パターンを与えないス
タティック解析では解析が難しいものの1例である。こ
の回路中のマルチプレクサではセレクト信号Sが‘1’
のときに入力端子Aが選択されるものとしてスタティッ
ク解析を行った場合、F/F間のパスを見つける場合に
論理を見ずに遅延時間が最大であるパスを選択するの
で、この回路の場合には入力端子IN2→F/F21→
ディレイ23→マルチプレクサ24→ディレイ26→マ
ルチプレクサ27→F/F29→出力端子OUTのパス
がクリティカルパスとして見つかる。
[0011] Next, the circuit shown in FIG. 8 (d) is an example but analysis is difficult for static analysis is a synchronous circuit according to a single-phase clock which does not give an input pattern. In the multiplexer in this circuit, the select signal S is "1".
If the static analysis is performed assuming that the input terminal A is selected at the time of, the path with the longest delay time is selected without looking at the logic when finding the path between F / F. Has input terminal IN2 → F / F21 →
The path of delay 23 → multiplexer 24 → delay 26 → multiplexer 27 → F / F29 → output terminal OUT is found as a critical path.

【0012】これはマルチプレクサ24、27において
入力端子Bに接続されているディレイの方が大きいため
である。しかし、マルチプレクサ24、27のセレクト
端子Sにはインバータ28を経てそれぞれ反対の論理が
入力されており、マルチプレクサ24の入力端子Bとマ
ルチプレクサ27の入力端子Bとが同時に選択されるこ
とはない。
This is because the delay connected to the input terminal B in the multiplexers 24 and 27 is larger. However, opposite logics are input to the select terminals S of the multiplexers 24 and 27 via the inverter 28, so that the input terminal B of the multiplexer 24 and the input terminal B of the multiplexer 27 are not simultaneously selected.

【0013】従って、スタティック解析で見つかったク
リティカルパスは実際の回路では使用されないことが分
かる。この例の場合求められるべき本当のクリティカル
パスは、IN2→F/F21→ディレイ23→マルチプ
レクサ24→ディレイ25→マルチプレクサ27→F/
F29→OUTのパスである。
Therefore, it is understood that the critical path found by the static analysis is not used in the actual circuit. In this case, the real critical path to be determined is IN2 → F / F21 → delay 23 → multiplexer 24 → delay 25 → multiplexer 27 → F /
F29 → OUT path.

【0014】このように回路が多相または非同期で動作
するものであればクリティカルパスを探し出すことが難
しく、また、単相クロックによる同期式回路においても
間違ったパスをクリティカルパスとして示すこともあ
る。スタティック解析と対象的なダイナミック解析にお
いては、シミュレーション結果の一致/不一致によ
り、、ユーザーの所望する論理動作の確認ができるだけ
でありクリティカルパスの検出には不向きである。
If the circuit operates in a multi-phase or asynchronous manner, it is difficult to find a critical path. In a synchronous circuit using a single-phase clock, an erroneous path may be indicated as a critical path. In the static analysis and the symmetric dynamic analysis, the matching / mismatch of the simulation results makes it possible to only confirm the logical operation desired by the user and is not suitable for detecting the critical path.

【0015】本発明はこのような背景のもとに行われた
もので、実際に使用したときに問題となるクリティカル
パスを容易に見つけだすことができ、実製品をテスタに
かけたときフェイル状態の先取り解析ができる装置を提
供することを目的とする。
The present invention has been made in view of such a background, and it is possible to easily find a critical path that becomes a problem when actually used, and to preempt a failed state when an actual product is put on a tester. It is an object of the present invention to provide a device capable of analysis.

【0016】[0016]

【課題を解決するための手段】本発明は、中央処理装置
に入力装置、出力装置、表示装置、および記憶装置が接
続され、前記中央処理装置に、前記入力装置からの指示
入力により前記記憶装置にあらかじめ記憶された入力パ
ターンおよび回路情報を取り込み論理シミュレーション
を実行し前記出力装置およびまたは前記表示装置に出力
パターンを出力する論理シミュレーション手段を備えた
論理シミュレーション装置において、前記中央処理装置
に、入力パターンおよび出力パターンの周期を圧縮する
パターン圧縮手段と、この入力パターン圧縮処理により
圧縮された入力パターンを前記論理シミュレーション手
段に与えそのシミュレーション結果と前記パターン圧縮
手段により圧縮された出力パターンとを比較しその結果
を出力するパターン照合手段と、前記各処理の実行を繰
り返し制御する繰り返し実行制御手段と、前記パターン
照合手段によるパターン照合処理中に最初に不一致が発
生した不一致箇所の検索を行う不一致箇所検索手段とを
備えたことを特徴とする。
According to the present invention, an input device, an output device, a display device, and a storage device are connected to a central processing unit, and the storage device is connected to the central processing unit by an instruction input from the input device. A logic simulation device that takes in an input pattern and circuit information stored in advance in the logic device, executes logic simulation, and outputs an output pattern to the output device and / or the display device. Pattern compression means for compressing the period of the output pattern, and providing the input pattern compressed by the input pattern compression processing to the logic simulation means, comparing the simulation result with the output pattern compressed by the pattern compression means, and Putter to output the result Matching means, repetitive execution control means for repeatedly controlling the execution of each of the processes, and mismatched point search means for searching for a mismatched point where a mismatch first occurs during the pattern matching processing by the pattern matching means. It is characterized by.

【0017】[0017]

【作用】通常のダイナミックな論理シミュレーションが
終了し、結果がユーザーにより期待通りと確認された後
の入力パターンを基準入力パターンとし、このときの出
力パターンを基準期待値とし基準入力パターンの1パタ
ーンの周期を圧縮して小さくする。この圧縮処理後に入
力パターンと回路接続情報を入力しシミュレーションを
行い、そのシミュレーション結果と基準期待値とを比較
し不一致が起きているか否かを確認する。この期待値照
合処理において少なくとも一箇所の不一致が発見される
まで前述の処理を同じ順に繰り返し行う。
The input pattern after the normal dynamic logic simulation is completed and the result is confirmed as expected by the user is set as a reference input pattern, and the output pattern at this time is set as a reference expected value, and one of the reference input patterns is used. Compress the cycle to make it smaller. After this compression processing, an input pattern and circuit connection information are input to perform a simulation, and the simulation result is compared with a reference expected value to determine whether or not a mismatch occurs. The above processing is repeated in the same order until at least one mismatch is found in the expected value matching processing.

【0018】このようなシミュレーションを行うと、入
力パターンおよび期待値パターンは順次圧縮されるため
1パターンの周期は徐々に小さくなる。しかし、素子や
配線による遅延時間は使用するライブラリによりあらか
じめ決定された値をとるので、入力パターンが圧縮され
ても各素子の出力信号の遅延時間は一定の値をとる。そ
のため、期待値が圧縮されていくと1パターンの幅が短
くなって期待値照合処理において不一致が起こるように
なる。
In such a simulation, since the input pattern and the expected value pattern are sequentially compressed, the period of one pattern is gradually reduced. However, since the delay time due to the element or the wiring takes a value predetermined by the library used, the delay time of the output signal of each element takes a constant value even if the input pattern is compressed. Therefore, as the expected value is compressed, the width of one pattern becomes shorter, and a mismatch occurs in the expected value matching process.

【0019】不一致が発見されたときに、圧縮パターン
による全素子ダンプの情報と、あらかじめ基準入力パタ
ーンによるシミュレーションを行い用意しておいた回路
の全パターンの全素子ダンプの情報のうち不一致発生時
と一致するパターンとを逐次比較し、回路接続情報を参
照して回路中のどこで最初に不一致が発生したのかを見
つけ出し、見つけ出した素子を含むパスを出力する。
When a mismatch is found, the information on all element dumps based on the compressed pattern and the information on all element dumps on all the patterns of the circuit prepared by performing a simulation based on the reference input pattern are compared with the time when the mismatch occurs. Matching patterns are successively compared to find out where in the circuit the mismatch first occurred with reference to the circuit connection information, and output a path including the found element.

【0020】これにより、遅延の大きなパスとしては存
在するが実動作上では使用することのないようなパスを
拾うことなく、実際の使用上問題となるクリティカルパ
スを容易に見つけ出すことができ、実製品をテスタにか
けたときのフェイル状態の先取り解析を行うことができ
る。
Thus, without picking up a path that exists as a path with a large delay but is not used in actual operation, it is possible to easily find a critical path that poses a problem in actual use. It is possible to perform a preemptive analysis of a fail state when a product is put on a tester.

【0021】[0021]

【実施例】次に、本発明の実施例を図面に基づいて説明
する。図1は本発明実施例の構成を示すブロック図であ
る。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0022】本発明は、中央処理装置1に入力装置2、
出力装置3、表示装置4、および記憶装置5が接続さ
れ、中央処理装置1に、入力装置2からの指示入力によ
り記憶装置5にあらかじめ記憶された入力パターンおよ
び回路情報を取り込み論理シミュレーションを実行し出
力装置3およびまたは表示装置4に出力パターンを出力
する論理シミュレーション手段11を備え、さらに本発
明の特徴として、入力パターンおよび出力パターンの周
期を圧縮するパターン圧縮手段12と、この入力パター
ン圧縮処理により圧縮された入力パターンを論理シミュ
レーション手段11に与えそのシミュレーション結果と
パターン圧縮手段12により圧縮された出力パターンと
を比較しその結果を出力するパターン照合手段13と、
前記各処理の実行を繰り返し制御する繰り返し実行制御
手段14と、パターン照合手段13によるパターン照合
処理中に最初に不一致が発生した不一致箇所の検索を行
う不一致箇所検索手段15とを備える。
According to the present invention, the central processing unit 1 includes an input device 2,
The output device 3, the display device 4, and the storage device 5 are connected, and the central processing unit 1 takes in an input pattern and circuit information previously stored in the storage device 5 according to an instruction input from the input device 2, and executes a logic simulation. A logic simulation means 11 for outputting an output pattern to the output device 3 and / or the display device 4 is provided. As a feature of the present invention, a pattern compression means 12 for compressing the period of the input pattern and the output pattern, Pattern matching means 13 for providing the compressed input pattern to the logic simulation means 11, comparing the simulation result with the output pattern compressed by the pattern compression means 12, and outputting the result;
It includes a repetition execution control means 14 for repeatedly controlling the execution of each of the above-mentioned processes, and a non-coincidence point search means 15 for searching for a non-coincidence point where a first non-coincidence occurs during the pattern matching processing by the pattern matching means 13.

【0023】図2は本発明実施例装置による処理内容を
説明する図である。
FIG. 2 is a diagram for explaining the processing performed by the apparatus according to the embodiment of the present invention.

【0024】パターン圧縮手段12によるパターン圧縮
処理101では、あらかじめ論理シミュレーション10
2を行うことにより動作の検証が終了した後、そのとき
に使用した入力パターン106と期待値107、または
すでにパターン圧縮処理101が行われている圧縮後入
力パターン108と圧縮後期待値109とが入力されそ
れぞれ更に圧縮された圧縮後入力パターン108および
圧縮後期待値109が出力される。
In the pattern compression processing 101 by the pattern compression means 12, the logic simulation 10
2, after the verification of the operation is completed, the input pattern 106 and the expected value 107 used at that time or the compressed input pattern 108 and the expected value 109 after compression in which the pattern compression processing 101 has already been performed are stored. A post-compression input pattern 108 and a post-compression expected value 109 which are input and further compressed are output.

【0025】論理シミュレーション手段11による論理
シミュレーション102では、圧縮後入力パターン10
8と回路接続情報110とが入力されシミュレーション
結果111または全素子のシミュレーション結果112
が出力される。
In the logic simulation 102 by the logic simulation means 11, the compressed input pattern 10
8 and circuit connection information 110 are input, and a simulation result 111 or a simulation result 112 of all elements is input.
Is output.

【0026】パターン照合手段13による期待値照合処
理103では、シミュレーション結果111と圧縮後期
待値109とが入力され不一致が発生したか否かの結果
が出力される。
In the expected value matching process 103 by the pattern matching means 13, the simulation result 111 and the expected value after compression 109 are input and a result indicating whether or not a mismatch has occurred is output.

【0027】繰り返し実行制御手段14による繰り返し
実行制御処理104では、パターン圧縮処理101、論
理シミュレーション102、期待値照合処理103、繰
り返し実行制御処理104の実行制御が行われ、不一致
箇所検索手段15による不一致箇所検索処理105で
は、回路接続情報110と全素子のシミュレーション結
果112と全素子の期待値113とを入力し結果が出力
される。
In the repetition execution control processing 104 by the repetition execution control means 14, the execution control of the pattern compression processing 101, the logic simulation 102, the expected value collation processing 103, and the repetition execution control processing 104 is performed. In the location search processing 105, circuit connection information 110, simulation results 112 of all elements, and expected values 113 of all elements are input and the results are output.

【0028】図3は本発明実施例の実行手順を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing an execution procedure of the embodiment of the present invention.

【0029】初期の入力パターンと期待値、または圧縮
後の入力パターンと圧縮後の期待値を読み出し(ステッ
プS1)、読み出したパターンに対してパターンの圧縮
処理を行い(ステップS2)、圧縮後入力パターンと圧
縮後期待値との出力を行う(ステップS3)。
The initial input pattern and expected value, or the input pattern after compression and the expected value after compression are read out (step S1), the read pattern is subjected to pattern compression processing (step S2), and the compressed input is performed. The pattern and the expected value after compression are output (step S3).

【0030】この圧縮処理について図4および図5を用
いて説明する。ステップS1より読み出したパターンを
図4に示す。ステップS2ではこの図4のパターンに対
して次式のように圧縮率Pで示される圧縮を行う。
[0030] will be described with reference to FIGS. 4 and 5 for the compression process. The pattern read from step S1 is
As shown in FIG . In step S2, compression represented by the compression ratio P is performed on the pattern of FIG .

【0031】 NEW.LENGTH=P*OLD.LENGTH NEW.LENGTH:圧縮後の総パターン長 P:圧縮率(0<P<1) OLD.LENGTH:圧縮前の総パターン長 圧縮前の総パターン長が1パターン100nsで、30
00パターン(3000*100ns)あったとき、圧
縮率Pを0.9とすると圧縮後の総パターン長は1パタ
ーン90nsで3000パターン(3000*90n
s)になる。これは、パターン周期を圧縮率Pで徐々に
小さくしていくことを意味しており、パターン周期の圧
縮にともなって入力パターンの各変化点についても同様
に圧縮率Pで圧縮される。ステップS3により出力され
た圧縮後入力パターンと圧縮後期待値とは図に示すよ
うになる。
NEW. LENGTH = P * OLD. LENGTH NEW. LENGTH: Total pattern length after compression P: Compression ratio (0 <P <1) OLD. LENGTH: Total pattern length before compression The total pattern length before compression is 100 ns per pattern, and is 30
When there are 00 patterns (3000 * 100 ns) and the compression ratio P is 0.9, the total pattern length after compression is 90 ns per pattern and 3000 patterns (3000 * 90 ns).
s). This means that the pattern cycle is gradually reduced at the compression rate P, and each change point of the input pattern is similarly compressed at the compression rate P with the compression of the pattern cycle. FIG. 5 shows the input pattern after compression and the expected value after compression output in step S3.

【0032】これは圧縮率Pを0.5としたときのもの
で総パターン数は1400ns(200*7)から70
0ns(100*7)へと半分に圧縮され、パターン内
の各変化点も図4のパターンに比べて半分の時刻で変化
していることが分かる。しかし、素子および配線による
出力信号の遅延時間はライブラリ固有の値であり、入力
パターンの圧縮に対しては無関係に一定の値をとるもの
である。
This is when the compression ratio P is 0.5, and the total number of patterns is from 1400 ns (200 * 7) to 70
It can be seen that the data is compressed in half to 0 ns (100 * 7), and each change point in the pattern also changes at half the time as compared with the pattern in FIG . However, the delay time of the output signal by the element and the wiring is a value peculiar to the library, and takes a constant value regardless of the compression of the input pattern.

【0033】ステップS3により出力された圧縮後入力
パターンと回路接続情報を論理シミュレーション手段1
1が扱うことのできる内部データに変換し(ステップS
4)、論理シミュレーション手段11により1パターン
だけのシミュレーションを行い(ステップS5)、通常
はシミュレーション結果を出力する(ステップS6)。
ステップS6により出力された通常のシミュレーション
結果は、ステップS3により出力された圧縮後期待値と
パターンの照合を行う(ステップS7)。
The compressed input pattern and the circuit connection information output in step S3 are
1 is converted to internal data that can be handled (step S
4) The simulation of only one pattern is performed by the logic simulation means 11 (step S5), and the simulation result is normally output (step S6).
The normal simulation result output in step S6 is compared with the expected value after compression output in step S3 (step S7).

【0034】ここで、パターンを圧縮してパターン幅を
小さくしていくと不一致が発生する理由について図4
いし図8を用いて説明する。NANDゲートにI1、I
2で示されている入力パターンを与えた場合の出力01
の変化を図(a)に示す。入力信号の変化に対する出
力変化までの遅延時間はa、bであることがわかる。次
にこのパターンの周期を圧縮した図(b)をみると、
入力パターンおよび期待値の周期は小さくなり各変化点
間の時間は小さくなっているが、入力の変化に対する出
力変化までの遅延時間はa、bのまま変わりがない。
[0034] Here, a 4 reason for mismatch occurs when gradually reducing the pattern width by compressing the pattern
This will be described with reference to FIG. I1, I are connected to the NAND gate
Output 01 when the input pattern shown by 2 is given
It is shown in FIG. 6 (a) of change. It can be seen that the delay times until the output changes with respect to the change in the input signal are a and b. Turning now to FIG. 6 (b) obtained by compressing the period of this pattern,
Although the cycle of the input pattern and the expected value is reduced and the time between each change point is reduced, the delay time from the input change to the output change remains a and b.

【0035】これは、素子の入力の変化に対する出力変
化までの遅延時間はあらかじめライブラリなどに記述さ
れた一定値であるためパターン周期の影響を受けないか
らである。従って、入力パターンが与えられる入力端子
から期待値が用意されている出力端子までの信号の遅延
時間の合計値よりも、パターン周期の値が小さくなると
不一致を起こすことになる。
This is because the delay time from the change of the input of the element to the change of the output is a constant value described in advance in a library or the like, so that it is not affected by the pattern cycle. Therefore, when the value of the pattern period is smaller than the total value of the delay times of the signals from the input terminal to which the input pattern is provided to the output terminal for which the expected value is prepared, a mismatch occurs.

【0036】図(d)に示す回路においてもパターン
の圧縮により入力パターン周期は小さくなるが、F/F
20、F/F21のクロック端子Cの立ち上がりからM
UX27の出力端子Oの信号が変化するまでの素子、配
線遅延時間の合計値はそれぞれDa、Db時間後であ
り、これは図4に示すパターン圧縮前と図に示すパタ
ーン圧縮後とのどちらにおいても同じである。パターン
圧縮前の図4においてMUX27の出力端子Oの変化
は、クロック信号の立ち上がりC2、C3に比べて十分
に早いため、F/F29は安定した後のデータを取り込
むことができる。
The input pattern period by compression pattern also in the circuit shown in FIG. 8 (d) becomes smaller, F / F
20, M from the rising of the clock terminal C of the F / F 21
Element to the signal at the output terminal O of the UX27 changes, each total value of line delay time Da, a post Db time, which is either a post pattern compression shown in pattern compression before and 5 shown in FIG. 4 The same applies to Since the change of the output terminal O of the MUX 27 in FIG. 4 before the pattern compression is sufficiently faster than the rising edges C2 and C3 of the clock signal, the F / F 29 can take in the data after being stabilized.

【0037】図に示すパターン圧縮後では、MUX2
7の出力端子Oの変化はクロック信号の立ち上がりC
2′に対しては間に合い、F/F29は正しいデータを
取り込むことができるためその出力は不一致をおこさな
い。しかし、クロック信号の立ち上がりC3′に対して
はMUX27の出力Oの方が後から変化しているためF
/F29は正しいデータを取り込むことができず、その
出力端子OUTは不一致を起こす。
[0037] In the following pattern compression shown in FIG. 5, MUX2
7 changes at the rising edge C of the clock signal.
In time for 2 ', the output does not cause a mismatch because the F / F 29 can take in the correct data. However, since the output O of the MUX 27 changes later with respect to the rising edge C3 'of the clock signal,
/ F29 cannot capture correct data, and its output terminal OUT causes a mismatch.

【0038】圧縮されたパターン周期が、入力端子から
期待値が用意されている出力端子までの回路中の素子、
配線遅延の合計値よりも小さい値になった場合に不一致
が発生することになり、このときに最初に不一致を起こ
したものがクリティカルパスによるものであると考えら
れる。
The elements of the circuit in the circuit from the input terminal to the output terminal for which the expected value is prepared,
When the value becomes smaller than the total value of the wiring delays, a mismatch occurs. At this time, it is considered that the first mismatch occurs due to the critical path.

【0039】ステップS7において行った期待値照合の
結果、不一致が発生しなしればステップS9へ進み、不
一致発生時はステップS10へ進む処理の分岐を行う
(ステップS8)。
As a result of the expected value comparison performed in step S7, if no mismatch occurs, the process proceeds to step S9. If no mismatch occurs, the process branches to step S10 (step S8).

【0040】ステップS8で不一致が発生しなければシ
ミュレーションを行うパターン数を1パターン増やし再
びステップS5に戻り、また全パターンについてシミュ
レーションが終了していればステップS1へ戻り同様の
処理を繰り返す(ステップS9)。
If no mismatch occurs in step S8, the number of patterns to be simulated is increased by one pattern, and the process returns to step S5. If the simulation has been completed for all patterns, the process returns to step S1 to repeat the same processing (step S9). ).

【0041】ステップS8において不一致が発生したと
きは、内部のデータを初期化し、再びステップS3によ
り出力された圧縮後入力パターンと回路接続情報とを扱
うことのできる論理シミュレーション手段11の内部デ
ータに変換し、回路中全素子についてのシミュレーショ
ン結果を内部データに保存するように設定し(ステップ
S10)、不一致発生パターンまでの再シミュレーショ
ンを行い(ステップS11)、不一致発生パターンにお
ける回路中全素子の出力端子についてのシミュレーショ
ン結果を出力する(ステップS12)。
If a mismatch occurs in step S8, the internal data is initialized and converted into internal data of the logic simulation means 11 capable of handling the compressed input pattern and circuit connection information output again in step S3. Then, the simulation results for all the elements in the circuit are set to be stored in the internal data (step S10), the re-simulation up to the mismatch occurrence pattern is performed (step S11), and the output terminals of all the elements in the circuit in the mismatch occurrence pattern Is output (step S12).

【0042】ステップS13は、まずステップS12に
より出力された全素子シミュレーション出力結果とあら
かじめ各パターン毎に用意してある全素子の期待値とを
照合し不一致の起こっている場合を求め、不一致発生箇
所が数カ所にわたるならば回路接続情報110を参照し
て接続関係の探索を行いながら不一致発生素子を調べ、
出力端子の期待値照合において不一致発生の原因となっ
た不一致箇所を探し出しその情報を表示装置4に出力す
る。
In step S13, the result of simulation of all elements output in step S12 is compared with expected values of all elements prepared for each pattern in advance to determine a case where a mismatch occurs. If there are several places, by referring to the circuit connection information 110 and searching for the connection relationship, the mismatch occurrence element is checked,
In the expected value comparison of the output terminal, a mismatched portion which causes a mismatch is searched for and the information is output to the display device 4.

【0043】このとき出力された情報によりユーザーは
不一致発生の原因となった回路中の場所を知ることがで
き、実機動作時に問題となる可能性のあるクリティカル
パスを見つけることができる。
The information output at this time allows the user to know the location in the circuit where the mismatch has occurred, and to find a critical path that may cause a problem during operation of the actual device.

【0044】[0044]

【発明の効果】以上説明したように本発明によれば、多
相同期、非同期を問わず解析することが可能となり、実
際の回路においてパターンで動作しているパスについて
のみ調べることができるために、遅延の大きなパスとし
ては存在するが実動作上では使用することのないような
パスを拾うことなく実際の使用上問題となるクリティカ
ルパスを容易に見つけだすことができ、さらに、実製品
をテスタにかけたときのフェイル状態の先取り解析を行
うことができる効果がある。
As described above, according to the present invention, analysis can be performed regardless of polyphase synchronization or non-synchronization, and only paths operating in a pattern in an actual circuit can be checked. However, it is possible to easily find a critical path that poses a problem in actual use without picking up a path that exists as a path with a large delay but is not used in actual operation. In this case, there is an effect that it is possible to perform a preemptive analysis of a fail state when a failure occurs.

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

【図1】本発明実施例の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】本発明実施例装置による処理内容を説明する図FIG. 2 is a diagram for explaining processing contents by the apparatus according to the embodiment of the present invention;

【図3】本発明実施例の実行手順を示すフローチャー
ト。
FIG. 3 is a flowchart showing an execution procedure of the embodiment of the present invention.

【図4】本発明実施例におけるパターンの圧縮処理を行
っていない場合の回路に与える入力パターンと期待値と
の関係例を示す図。
FIG. 4 is a diagram showing an example of the relationship between an input pattern given to a circuit and an expected value when pattern compression processing is not performed in the embodiment of the present invention.

【図5】本発明実施例におけるパターン圧縮処理を行っ
た場合の回路に与える入力パターンと期待値との関係例
を示す図。
FIG. 5 is a diagram showing an example of a relationship between an input pattern given to a circuit and an expected value when a pattern compression process is performed in the embodiment of the present invention.

【図6】本発明実施例におけるパターン圧縮による遅延
時間を説明する図。
FIG. 6 is a view for explaining a delay time due to pattern compression in the embodiment of the present invention.

【図7】本発明実施例の説明に使用する回路図の例を示
す図。
FIG. 7 is a diagram showing an example of a circuit diagram used for describing the embodiment of the present invention.

【図8】本発明実施例の説明に使用する回路図の例を示
す図。
FIG. 8 is a diagram showing an example of a circuit diagram used for describing the embodiment of the present invention.

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

1 中央処理装置 2 入力装置 3 出力装置 4 表示装置 5 記憶装置 11 論理シミュレーション手段 12 パターン圧縮手段 13 パターン照合手段 14 繰り返し実行制御手段 15 不一致箇所検索手段 DESCRIPTION OF SYMBOLS 1 Central processing unit 2 Input device 3 Output device 4 Display device 5 Storage device 11 Logic simulation means 12 Pattern compression means 13 Pattern collation means 14 Repetition execution control means 15 Mismatch location search means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 中央処理装置に入力装置、出力装置、表
示装置、および記憶装置が接続され、 前記中央処理装置に、前記入力装置からの指示入力によ
り前記記憶装置にあらかじめ記憶された入力パターンお
よび回路情報を取り込み論理シミュレーションを実行し
前記出力装置およびまたは前記表示装置に出力パターン
を出力する論理シミュレーション手段を備えた論理シミ
ュレーション装置において、 前記中央処理装置に、 入力パターンおよび出力パターンの周期を圧縮するパタ
ーン圧縮手段と、 この入力パターン圧縮処理により圧縮された入力パター
ンを前記論理シミュレーション手段に与えそのシミュレ
ーション結果と前記パターン圧縮手段により圧縮された
出力パターンとを比較しその結果を出力するパターン照
合手段と、 前記各処理の実行を繰り返し制御する繰り返し実行制御
手段と、 前記パターン照合手段によるパターン照合処理中に最初
に不一致が発生した不一致箇所の検索を行う不一致箇所
検索手段とを備えたことを特徴とする論理シミュレーシ
ョン装置。
1. An input device, an output device, a display device, and a storage device are connected to a central processing unit, and an input pattern previously stored in the storage device in response to an instruction input from the input device is connected to the central processing unit. A logic simulation device comprising logic simulation means for taking in circuit information and executing a logic simulation to output an output pattern to the output device and / or the display device, wherein the central processing unit compresses the period of the input pattern and the output pattern. Pattern compression means; pattern matching means for providing the input pattern compressed by the input pattern compression processing to the logic simulation means, comparing the simulation result with the output pattern compressed by the pattern compression means, and outputting the result. , Each of the above A logic execution apparatus comprising: a repetition execution control means for repeatedly controlling the execution of the processing; .
JP4032158A 1992-02-19 1992-02-19 Logic simulation equipment Expired - Fee Related JP2830579B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4032158A JP2830579B2 (en) 1992-02-19 1992-02-19 Logic simulation equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4032158A JP2830579B2 (en) 1992-02-19 1992-02-19 Logic simulation equipment

Publications (2)

Publication Number Publication Date
JPH05233746A JPH05233746A (en) 1993-09-10
JP2830579B2 true JP2830579B2 (en) 1998-12-02

Family

ID=12351126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4032158A Expired - Fee Related JP2830579B2 (en) 1992-02-19 1992-02-19 Logic simulation equipment

Country Status (1)

Country Link
JP (1) JP2830579B2 (en)

Also Published As

Publication number Publication date
JPH05233746A (en) 1993-09-10

Similar Documents

Publication Publication Date Title
US6061283A (en) Semiconductor integrated circuit evaluation system
US6370675B1 (en) Semiconductor integrated circuit design and evaluation system using cycle base timing
JPH0458072B2 (en)
JP3262281B2 (en) Test method and test equipment for electronic circuits
US5444717A (en) Method for providing minimal size test vector sets
US6249891B1 (en) High speed test pattern evaluation apparatus
JPH10283394A (en) Fault simulation method
US7096384B2 (en) Fault simulator for verifying reliability of test pattern
JP2830579B2 (en) Logic simulation equipment
US20050229127A1 (en) Method for verifying adequate synchronisation of signals that cross clock environments and system
US5715170A (en) Apparatus for forming input data for a logic simulator
JP2001229211A (en) Method of verifying asynchronous circuit
US7072821B1 (en) Device and method for synchronizing an asynchronous signal in synthesis and simulation of a clocked circuit
JP2001255357A (en) Method and apparatus for verification of validity of test pattern
JP2979798B2 (en) Test pattern guarantee method
JPH08180095A (en) Delay fault simulation method and delay fault analyzing device
JP2972499B2 (en) Logic circuit delay simulator
JPS6398042A (en) Simulation method
JP3140230B2 (en) Signal propagation path analyzer
JPH06215062A (en) Alignment device for simulation data
JP2002083007A (en) Device and method for verifying logic of event-driven simulator
JPH04156676A (en) Logical verification method
JPH07167925A (en) Method and device for timing verification
JPH06148292A (en) Test circuit added device of semiconductor integrated circuit
JPH0399372A (en) Simulation method for logical circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees