JP3265384B2 - Logic simulation method and logic simulation device used therefor - Google Patents
Logic simulation method and logic simulation device used thereforInfo
- Publication number
- JP3265384B2 JP3265384B2 JP02661493A JP2661493A JP3265384B2 JP 3265384 B2 JP3265384 B2 JP 3265384B2 JP 02661493 A JP02661493 A JP 02661493A JP 2661493 A JP2661493 A JP 2661493A JP 3265384 B2 JP3265384 B2 JP 3265384B2
- Authority
- JP
- Japan
- Prior art keywords
- logic
- signal
- value
- simulation
- circuit
- 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
Links
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 simulation method for logic verification for simulating the operation of a designed logic circuit by a computer and determining whether or not an expected operation is realized, and a logic simulation used for the same. About the device .
【0002】[0002]
【従来の技術】従来の論理シミュレーション装置におい
ては論理検証対象である論理回路を構成する素子間の接
続情報,所謂ネットリストと、論理回路に入力するテス
トパターンを、その検証対象領域の広,狭の如何にかか
わらず変更することなく論理シミュレーションを行って
いる。2. Description of the Related Art In a conventional logic simulation apparatus , connection information between elements constituting a logic circuit to be verified, that is, a so-called netlist, and a test pattern input to the logic circuit are subjected to verification. Logic simulation is performed without change regardless of whether the area is wide or narrow.
【0003】図9は従来の論理シミュレーションの処理
手順を示すフローチャートである。先ず、論理検証対象
である論理回路のネットリストと、この論理回路に入力
するテストパターンを設定し(ステップS20)、これらに
基づいて論理シミュレーションを開始する。そしてこの
論理シミュレーションの過程で各信号線に信号値の変化
(以下イベントという)があるか否かを判断し (ステッ
プS21)、いずれの信号線にもイベントが存在しない場合
には論理シミュレーションを終了する。FIG. 9 is a flowchart showing a procedure of a conventional logic simulation. First, a netlist of a logic circuit to be verified and a test pattern to be input to the logic circuit are set (step S20), and a logic simulation is started based on these. In the process of this logic simulation, the signal value changes on each signal line
It is determined whether or not there is an event (hereinafter referred to as an event) (step S21). If no event exists on any of the signal lines, the logic simulation ends.
【0004】いずれかの信号線にイベントが存在する場
合には、その信号線に接続されている素子を特定し (ス
テップS22)、当該素子の出力値を計算する (ステップS2
3)。計算された出力値が変化するか否かを判断し (ステ
ップS24)、変化する場合にはその素子の出力信号にイベ
ントを発生させる (ステップS25)。そしてイベントがな
くなったと判断された場合には論理シミュレーションを
終了する。If an event exists on any of the signal lines, an element connected to the signal line is specified (step S22), and an output value of the element is calculated (step S2).
3). It is determined whether or not the calculated output value changes (step S24), and if so, an event is generated in the output signal of the element (step S25). When it is determined that the event has disappeared, the logic simulation ends.
【0005】[0005]
【発明が解決しようとする課題】ところで上述した如き
従来の論理検証にあっては、大規模論理回路の論理検証
において、論理回路の一部分しか動作しないテストパタ
ーンを入力する場合においても、検証対象回路に関して
の全てのネットリストを用いて行うために論理シミュレ
ーションに長い時間を要するという問題があった。In the conventional logic verification as described above, in the logic verification of a large-scale logic circuit, even when a test pattern that operates only a part of the logic circuit is input, the circuit to be verified is However, there is a problem that a long time is required for the logic simulation in order to perform the simulation using all the netlists related to.
【0006】本発明の目的は、大規模回路のうちの一部
分しか動作しないテストパターンを用いてシミュレーシ
ョンを行う場合、また全回路が動作するテストパターン
を用いる場合であっても、不必要な信号線,回路部分を
特定し、これをネットリストから削除することで高速な
論理シミュレーションを可能とした論理シミュレーショ
ン方法及びこれに用いる論理シミュレーション装置を提
供することにある。An object of the present invention is to provide a method for simulating using a test pattern in which only a part of a large-scale circuit operates, or an unnecessary signal line even when using a test pattern in which all circuits operate. The present invention provides a logic simulation method and a logic simulation apparatus used for identifying a circuit portion and deleting the circuit portion from a netlist, thereby enabling a high-speed logic simulation.
【0007】[0007]
【課題を解決するための手段】請求項1に係る発明の論
理シミュレーション方法は、検証対象論理回路のネット
リスト及びテストパターンに基づいて論理シミュレーシ
ョン装置により実行される論理シミュレーション方法に
おいて、前記論理シミュレーション装置における第1の
抽出手段が、前記テストパターンから、全シミュレーシ
ョン時間にわたって論理値が変化しない信号を抽出する
ステップと、前記論理シミュレーション装置における第
2の抽出手段が、前記第1の抽出手段が抽出した信号に
基づき全シミュレーション時間にわたって論理値が固定
される全信号線と、前記検証対象論理回路の出力端子の
出力レベルに影響を与えない回路部分とを前記ネットリ
ストから抽出するステップと、前記論理シミュレーショ
ン装置における削除手段が、前記第2の抽出手段が抽出
した信号線及び回路部分のデータを前記ネットリストか
ら削除するステップとを含むことを特徴とする。請求項
2に係る発明の論理シミュレーション方法は、検証対象
論理回路のネットリスト及びテストパターンに基づいて
論理シミュレーション装置により実行される論理シミュ
レーション方法において、前記論理シミュレーション装
置における第1の抽出手段が、前記テストパターンか
ら、全シミュレーション時間に対して所定の割合の時間
にわたって論理値が変化しない信号を抽出するステップ
と、前記論理シミュレーション装置におけるモード決定
手段が、前記第1の抽出手段が抽出した信号の値が固定
されている間を1つの動作モードとして決定するステッ
プと、前記論理シミュレーション装置における第2の抽
出手段が、前記モード決定手段が決定した前記動作モー
ド毎に夫々の動作モードの間、論理値が固定される全信
号線と、前記論理値が固定される信号線により前記検証
対象論理回路の出力端子の出力値に影響を与えない回路
部分とを前記ネットリストから抽出するステップと、前
記論理シミュレーション装置における削除手段が、前記
第2の抽出手段が抽出した前記信号線及び回路部分のデ
ータを前記ネットリストから削除するステップとを含む
ことを特徴とする。請求項3に係る発明の論理シミュレ
ーション装置は、検証対象論理回路のネットリスト及び
テストパターンに基づき論理シミュレーションを行う論
理シミュレ ーション装置において、前記テストパターン
から、全シミュレーション時間にわたって論理値が変化
しない信号を抽出して出力する第1の抽出手段と、前記
抽出された信号に基づき全シミュレーション時間にわた
って論理値が固定される全信号線と、前記検証対象論理
回路の出力端子の出力レベルに影響を与えない回路部分
とを前記ネットリストから抽出する第2の抽出手段と、
抽出した信号線及び回路部分のデータを前記ネットリス
トから削除する手段とを備えたことを特徴とする。Logic simulation method of the invention according to claim 1 Means for Solving the Problems], the logic simulation in based on the net list and the test pattern of the verification target logic circuit sheet
A logic simulation method executed by the logic simulation device , wherein first extraction means in the logic simulation device extracts a signal whose logic value does not change over the entire simulation time from the test pattern ; The second extraction means does not affect all signal lines whose logic values are fixed over the entire simulation time based on the signal extracted by the first extraction means and the output level of the output terminal of the logic circuit to be verified. extracting the circuit portions from said net list, the logic simulation
Deleting means in the emission device, characterized by comprising a step of deleting data of the second extraction means extracts the signal line and the circuit portion from said net list. Logic simulation method according to the invention of claim 2 is based on the net list and the test pattern of the verification target logic circuit
In a logic simulation method executed by a logic simulation device, the logic simulation device
The first extraction means in location, from the test pattern, extracting a signal whose logic value does not change over a period of a predetermined percentage of the total simulation time, the mode determining means in said logic simulation apparatus, the second Determining as a single operation mode a period during which the value of the signal extracted by the first extraction unit is fixed; and wherein the second extraction unit in the logic simulation apparatus determines whether each of the operation modes is determined by the mode determination unit. wherein during operation mode, respectively, and the total signal lines whose logic value is fixed, and a circuit portion which does not affect the output value of the output terminal of the verification target logic circuit by the signal lines whose logic value is fixed to Extracting from netlist and before
Deleting means in serial logic simulation apparatus, characterized in that the data of said signal line and the circuit portion second extracting means has extracted and a step of deleting from said net list. Logic simulation apparatus of the invention according to claim 3, netlist verification object logic circuit and
Theory of performing logic simulation based on test patterns
In physical simulation device, from the test pattern, first extracting means for extracting and outputting signal not logical value is changed over the entire simulation time, all simulations based on the signal of the <br/> extracted Over time
And all the signal lines whose logic value is fixed I, the verification object logic
Circuit part that does not affect the output level of the output terminal of the circuit
Second extracting means for extracting the door from the net list,
The data of the extracted signal line and the circuit portion, characterized in that a means for deleting from said net list.
【0008】請求項4に係る発明の論理シミュレーショ
ン装置は、検証対象論理回路のネットリスト及びテスト
パターンに基づき論理シミュレーションを行う論理シミ
ュレーション装置において、前記テストパターンから、
全シミュレーション時間に対して所定の割合の時間にわ
たって論理値が変化しない信号を抽出して出力する第1
の抽出手段と、前記抽出された信号の値が固定されてい
る間を1つの動作モードとして決定する手段と、前記動
作モード毎に夫々の動作モードの間、論理値が固定され
る全信号線と、前記論理値が固定される信号線により前
記検証対象論理回路の出力端子の出力値に影響を与えな
い回路部分とを前記ネットリストから抽出する第2の抽
出手段と、前記信号線及び回路部分のデータを前記ネッ
トリストから削除する手段とを備えたことを特徴とす
る。According to a fourth aspect of the present invention, there is provided a logic simulation apparatus comprising: a netlist and a test for a logic circuit to be verified;
Logic stain that performs logic simulation based on patterns
In the simulation device, from the test pattern ,
The time of the predetermined ratio is against the whole simulation time
First extracting and outputting a signal whose logic value does not change stand
Extraction means, means for determining that the value of the extracted signal is fixed as one operation mode, and wherein the logic value is fixed during each operation mode for each of the operation modes Is
And all the signal lines that, the front by a signal line whose logic value is fixed
Do not affect the output value of the output terminal of the logic circuit to be verified.
It is characterized and second extracting means for extracting have a circuit portion from said net list, that the data of the signal lines and the circuit section and means to remove from the network <br/> Trst
You .
【0009】[0009]
【作用】請求項1,3に係る発明にあっては、全シミュ
レーション時間において、論理値が変化しない信号がテ
ストパターンから抽出され、更に前記論理値が変化しな
い信号に基づき、論理値が固定になる信号線及び出力端
子に影響を与えない回路部分がネットリストから抽出さ
れ、これら信号線及び回路部分がネットリストから削除
される。According to the first and third aspects of the present invention, a signal whose logical value does not change is extracted from the test pattern during the entire simulation time, and further based on the signal whose logical value does not change. of extraction circuit portion does not affect the signal line and the output terminal the logic value becomes fixed netlist
And these signal lines and circuit parts are deleted from the netlist.
Is done .
【0010】請求項2,4に係る発明にあっては、全シ
ミュレーション時間に対する所定の割合の時間にわたっ
て論理値が変化しない信号がテストパターンから抽出さ
れ、更にこの変化しない信号により値が所定時間にわた
って論理値が固定されている間が1つの動作モードとし
て特定され、夫々の動作モード毎に論理値が固定となる
信号により、論理値が固定される信号線が決定され、こ
の信号線及びこの論理値により出力端に影響を与えない
回路部分が抽出され、これが前記ネットリストから削除
される。 [0010] is extracted In the invention according to claim 2 and 4, the signal whose logic value does not change from test patterns for a time predetermined percentage of the total simulation time
Is further the unchanged value by the signal is identified as the operation mode is the one between the logical value is fixed for a predetermined time, by a signal whose logic value is fixed for each operating mode of the respective logic value is fixed that the signal line is determined, the signal line and a circuit portion does not affect the output by the logic value is extracted, removed it from the netlist
Is done.
【0011】[0011]
【実施例】以下、本発明をその実施例を示す図面に基づ
き具体的に説明する。 (実施例1) 図1は本発明に係る論理シミュレーション方法及びこれ
に用いる論理シミュレーション装置を構成する各手段及
びその入,出力データ並びに処理手順を示すブロック図
である。図中1は第1の抽出手段、2は同じく第2の抽
出手段、3は第1の削除手段、4は第2の削除手段、5
はシミュレーション手段を示している。前記第1の抽出
手段1は論理シミュレーション実行に先立って、論理検
証対象である論理回路に入力すべきテストパターンD1
に基づき全シミュレーション時間にわたって論理値が変
化しない信号を抽出し、これを論理値が変化しない信号
データD2 として出力する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be specifically described below with reference to the drawings showing the embodiments. (Embodiment 1) FIG. 1 is a block diagram showing a logic simulation method according to the present invention and each unit constituting a logic simulation apparatus used therein, input and output data thereof, and a processing procedure. In the figure, 1 is a first extracting means, 2 is a second extracting means, 3 is a first deleting means, 4 is a second deleting means, 5
Indicates simulation means. Prior to execution of the logic simulation, the first extraction means 1 tests the test pattern D 1 to be input to the logic circuit to be verified.
Logic value extracts a signal that does not vary over the entire simulation time on the basis of the outputs this as the signal data D 2 whose logic value does not change.
【0012】第2の抽出手段2は前記第1の抽出手段1
から抽出された変化しない信号データD2 と論理回路の
各素子の論理的機能及び素子間の接続情報であるネット
リストD3 とに基づき、全シミュレーション時間にわた
って論理値が固定される全信号線、及びこの論理値が固
定される全信号線により検証対象論理回路の出力端子の
出力値に影響を与えない回路部分をネットリストD3 か
ら抽出し、これをデータD4 として出力する。[0012] The second extraction means 2 is a first extraction means 1
Based on the net list D 3 is a connection information between logical functions and elements of the respective elements of the signal data D 2 and the logic circuit unchanged extracted from the entire signal lines whose logic value is fixed over the entire simulation time, and extracting a circuit portion which does not affect the output value of the output terminal of the verification target logic circuit by the total signal line the logic value is fixed from the netlist D 3, and outputs it as data D 4.
【0013】第1の削除手段3は最初のテストパターン
D1 から第1の抽出手段1にて抽出された論理値が変化
しない信号データD2 を削除し、削除後のテストパター
ンD5 をシミュレーション手段5へ与える。また第2の
削除手段4は抽出された論理値が固定された全信号線及
び出力端子の出力値に影響を与えない回路部分のデータ
D4 を前記ネットリストD3 中から削除し、削除後のネ
ットリストD6 を出力する。5は論理シミュレーション
手段であり、前記削除後のテストパターンD5 及び削除
後のネットリストD6 に基づき論理シミュレーションを
実行する。The first deleting means 3 deletes the signal data D 2 whose logical value extracted by the first extracting means 1 does not change from the first test pattern D 1, and simulates the test pattern D 5 after the deletion. Give to means 5. The second deleting means 4 deletes from the netlist D 3 the data D 4 of the circuit portion which does not affect the output values of all the signal lines and the output terminals to which the extracted logical values are fixed. to output a netlist D 6. 5 is a logic simulation means performs a logic simulation on the basis of the net list D 6 of the test pattern D 5 and after removing after the deletion.
【0014】次に実施例1の動作を、図2に示すフロー
チャートに従って説明する。まず検証対象論理回路の素
子とその素子間の配線情報であるネットリストD3と、
検証対象論理回路へ与えるテストパターンD1 とを設定
する(ステップS1)。テストパターンD1 に基づいて全
シミュレーション時間にわたって信号のレベル値が論理
値でみて「0」,「1」又は「X(不定)」のいずれか
で変化しない信号(入力信号)を検索する(ステップS
2) 。Next, the operation of the first embodiment will be described with reference to the flowchart shown in FIG. First element of the verification object logic circuit and the netlist D 3 is a wiring information between the elements,
Setting the test pattern D 1 to provide the verification target logic circuit (step S1). Level of the signal over the entire simulation time on the basis of the test pattern D 1 is seen in the logic value "0", search for "1" or "X (undefined)" signal that does not change in any of (input signal) (step S
2)
【0015】例えば図3に示す如き論理回路を図4に示
す如きテストパターンを用いて論理検証を行う場合につ
いて具体的に説明する。図3において11,13 はAND ゲー
ト、12,16 はORゲート、14,15 は反転素子、L1 〜L10
はいずれも信号線を示している。図4においてA,B,
C,Dはいずれも図3に示す信号線L1 ,L2 ,L3,
L7 に対する各入力信号である。図4(a) に示す入力信
号Aは全シミュレーション時間にわたって「L」レベ
ル,即ち論理値「0」のままで変化しないから、入力信
号Aを全シミュレーション時間にわたって変化しない信
号と決定する。For example, a case where the logic verification is performed on the logic circuit shown in FIG. 3 by using a test pattern shown in FIG. 4 will be specifically described. In FIG. 3, 11 and 13 are AND gates, 12 and 16 are OR gates, 14 and 15 are inverting elements, and L 1 to L 10
Indicate signal lines. In FIG. 4, A, B,
C and D are signal lines L 1 , L 2 , L 3 ,
It is the input signal for the L 7. Since the input signal A shown in FIG. 4A remains unchanged at the "L" level, that is, the logical value "0" over the entire simulation time, the input signal A is determined to be a signal that does not change over the entire simulation time.
【0016】次にステップS2で決定した信号Aの影響に
より信号のレベル値が論理値で「0」,「1」又は「X
(不定)」のいずれかに固定される信号線を決定する
(ステップS3) 。例えば図3の論理回路においては入力
信号Aの影響により信号線L1 ,L5 ,L6 が論理値
「0」に固定されるから、信号線L1 ,L5 ,L6 を論
理値が固定された信号線と決定する。Next, due to the influence of the signal A determined in step S2, the signal level value becomes a logical value of "0", "1" or "X".
(Indefinite) "is determined (step S3). For example, in the logic circuit of FIG. 3, the signal lines L 1 , L 5 , and L 6 are fixed at the logical value “0” due to the influence of the input signal A, and therefore the signal lines L 1 , L 5 , and L 6 have the logical values It is determined as a fixed signal line.
【0017】決定した信号線及びこれら信号線の論理値
によりゲーティングされる素子にのみ収斂するすべての
素子(回路部分)と信号線とをネットリストから削除す
ると共に、ステップS1で設定したテストパターンからス
テップS2で検索した入力信号を削除する(ステップS4)
。例えば図3に示す論理回路の場合、ステップS3で既
に信号線L1 ,L5 ,L6 が論理値「0」に固定と決定
されているが、その「0」固定のためにAND ゲート11,1
3 が信号線L4 ,L8 の値を夫々ゲーティングすること
になる。All the elements (circuit portions) and signal lines that converge only on the determined signal lines and the elements gated by the logic values of these signal lines are deleted from the netlist, and the test pattern set in step S1 is deleted. From the input signal searched in step S2 (step S4)
. For example, in the case of the logic circuit shown in FIG. 3, although the signal lines L 1 , L 5 , and L 6 have already been determined to be fixed to the logical value “0” in step S3, the AND gate 11 is fixed because the logical value is fixed to “0”. , 1
3 gates the values of the signal lines L 4 and L 8 respectively.
【0018】そこで信号線L4 からネットリストを遡る
ことにより信号線L4 にのみ収斂するORゲート12と信号
線L2 ,L3 ,L4 をネットリストD3 から削除する。
更にゲーティングするAND ゲート11とゲーティングされ
る信号線L4 もネットリストD3 から削除する。同様に
信号線L8 からネットリストD3 を遡ることにより信号
線L8 にのみ収斂する素子及び信号線もネットリストD
3 から削除することになるが、信号線L8 は反転素子15
への入力にもなっているためネットリストD3を遡るこ
とを終了し、ゲーティングするAND ゲート13をネットリ
ストD3 から削除し、その出力信号線L6 に全シミュレ
ーション時間にわたって論理値「0」を出力する素子を
接続し、ステップS4の処理を終了する。ステップS4の処
理を終了した時点で図3に示す論理回路のネットリスト
D3 は、等価的に図5に示す論理回路のネットリストと
同じになる。[0018] Therefore to remove from the signal line L 4 from the OR gate 12 and the signal line L 2, L 3, L 4 the netlist D 3 converging only to the signal line L 4 by going back a netlist.
Furthermore the AND gate 11 and the signal line L 4, which is gated to gating is also deleted from the netlist D 3. Elements and signal lines even netlist D converges only to the signal line L 8 by going back a netlist D 3 from Similarly the signal line L 8
It will be removed from the 3, but the signal line L 8 is inverting element 15
End up back in netlist D 3 because it is also the input to, remove the AND gate 13 to gating netlist D 3, the logical value "0 over the entire simulation time to the output signal line L 6 Are connected, and the process in step S4 is completed. When the process of step S4 is completed, the netlist D3 of the logic circuit shown in FIG. 3 becomes equivalent to the netlist of the logic circuit shown in FIG.
【0019】ステップS4で削除されたテストパターンと
同じく削除されたネットリストD6とに基づいて論理シ
ミュレーションを開始する。この論理シミュレーション
の過程で各信号線L6 ,L7 ,L8 ,L9 ,L10にイベ
ントがあるか否かを判断し (ステップS5) 、いずれの信
号線にもイベントが存在しないとき論理シミュレーショ
ンを終了する。またイベントがある場合には従来と同様
にイベントのある信号に接続される素子を取出し (ステ
ップS6) 、その素子の出力値を計算し (ステップS7) 、
出力値の変化があるか否かを判断し (ステップS8) 、無
い場合はステップS5に戻り、また有る場合はイベントを
発生させ、信号線上に変化の情報を付加する (ステップ
S9) 。このような実施例1にあってはテストパターン、
特にネットリストD3 が大幅に簡略化され、論理シミュ
レーションに要する時間ガ短縮されることとなる。[0019] To initiate a logic simulation on the basis of the net list D 6 similarly and deleted deleted test pattern in step S4. In the course of this logic simulation, it is determined whether or not there is an event on each of the signal lines L 6 , L 7 , L 8 , L 9 and L 10 (step S5). End the simulation. If there is an event, an element connected to the signal having the event is extracted as in the conventional case (step S6), and the output value of the element is calculated (step S7).
It is determined whether or not there is a change in the output value (step S8) .If there is no change, the process returns to step S5.If there is, an event is generated and information of the change is added to the signal line (step S8).
S9). In the first embodiment, a test pattern,
In particular the netlist D 3 is greatly simplified, and thus is less time gas required for logic simulation.
【0020】(実施例2) 図6は本発明の実施例2を構成する各手段及びその入,
出力データ並びに処理手順を示すブロック図である。こ
の実施例2にあっては第1の抽出手段1にてテストパタ
ーンD1 から全シミュレーション時間に対する所定割合
の時間の間、論理値が変化しない入力信号データD2 を
抽出し、この抽出した入力信号データD2 を動作モード
決定手段6及び第1の削除手段3へ与える。動作モード
決定手段6は入力信号の値が固定されている間を、1つ
の動作モードとして識別し、例えば動作モード「1」と
して特定し、動作モードデータD7 として第2の抽出手
段2へ与える。(Embodiment 2) FIGS. 6A and 6B show various means constituting Embodiment 2 of the present invention, and the components thereof.
It is a block diagram showing output data and a processing procedure . During In the second embodiment from the test pattern D 1 at the first extraction means 1 time a predetermined percentage of the total simulation time input, extracts the input signal data D 2 in which the logic value does not change, that this extract The signal data D 2 is given to the operation mode determining means 6 and the first deleting means 3. The operation mode determining means 6 identifies a period during which the value of the input signal is fixed as one operation mode, for example, specifies the operation mode as “1”, and provides the operation mode data D 7 to the second extraction means 2. .
【0021】第2の抽出手段2は動作モードデータ
D7 ,ネットリストD3 に基づき動作モード毎に、その
各動作モード夫々の全時間にわたって論理値が固定され
る全信号線と、論理値が固定される前記各信号線により
検証対象論理回路の出力端子の出力値に影響を与えない
回路部分とを抽出し、これをデータD4 として第2の削
除手段4へ与える。第1の削除手段3は最初のテストパ
ターンD1 から第1の抽出手段1にて抽出された、値が
変化しない信号データD2 を削除し、削除後のテストパ
ターンD5をシミュレーション手段5へ与える。第2の
削除手段4は抽出した全信号線及び回路部分のデータD
4 をネットリストD3 から削除し、削除後のネットリス
トD6 をシミュレーション手段5に与える。シミュレー
ション手段5は前記削除後のネットリストD6 及びテス
トパターンD5 に基づき論理検証を行う。The second extracting means 2 includes, for each operation mode based on the operation mode data D 7 and the netlist D 3 , all signal lines whose logic values are fixed over the entire time of each operation mode, by the signal lines to be fixed to extract a circuit portion which does not affect the output value of the output terminal of the verification target logic circuit, providing it as data D 4 to the second deleting means 4. The first deleting means 3 deletes the signal data D 2 whose value does not change, extracted by the first extracting means 1 from the first test pattern D 1, and sends the deleted test pattern D 5 to the simulation means 5. give. The second deletion means 4 extracts the data D of all the extracted signal lines and circuit portions.
4 was removed from the netlist D 3, giving a net list D 6 after deletion to the simulation means 5. Simulation means 5 performs logic verification based on the net list D 6 and the test pattern D 5 after the deletion.
【0022】次に実施例2の動作を図7に示すフローチ
ャートに従って説明する。実施例1では、テストパター
ンから、全シミュレーション時間にわたって、論理値が
「0」,「1」又は「X(不定)」に固定、即ち変化し
ない信号を抽出したが、実施例2では全シミュレーショ
ン時間に対する所定の割合の時間だけ、論理値が
「0」,「1」又は「X(不定)」に固定される場合に
おいて、その固定されている間を1つの動作モードとし
て特定する(ステップS11)。Next, the operation of the second embodiment will be described with reference to the flowchart shown in FIG. In the first embodiment, a signal whose logic value is fixed to “0”, “1” or “X (undefined)”, that is, a signal that does not change, is extracted from the test pattern over the entire simulation time. When the logical value is fixed to "0", "1" or "X (indefinite)" for a predetermined ratio of time to, the period during which the value is fixed is specified as one operation mode (step S11). .
【0023】例えば図8に示すテストパターンを用いて
図3に示す論理回路を論理検証する場合についてみる
と、図8に示すテストパターンでは、全シミュレーショ
ン時間の例えば50%以上にわたって信号の値が変らない
信号を検索する。検索した信号をテストパターンD1 か
ら削除し、削除後のテストパターンD5 としてこれをシ
ミュレーション手段5へ与える。図8(a) に示す入力信
号Aは全シミュレーション時間に対する50%以上の間に
わたって値が論理値「0」に固定されるため、この入力
信号Aが論理値「0」である期間を動作モード「1」と
決定する。なお全シミュレーション時間に対する割合は
特に50%以上に限るものではなく、これ以下であっても
よい。For example, in the case where the logic circuit shown in FIG. 3 is verified using the test pattern shown in FIG. 8, in the test pattern shown in FIG. 8, the signal value changes over, for example, 50% or more of the entire simulation time. Search for missing signals. Remove the retrieved signal from the test pattern D 1, giving it as a test pattern D 5 after deletion to the simulation means 5. Since the value of the input signal A shown in FIG. 8A is fixed to the logical value "0" for at least 50% of the total simulation time, the period in which the input signal A is the logical value "0" is set in the operation mode. "1" is determined. The ratio to the total simulation time is not particularly limited to 50% or more, but may be less than 50%.
【0024】このようにして動作モードを決定した後
は、その動作モード毎に、換言すればテストパターンを
時間で分割して各分割した区分毎に実施例1と同様にそ
の動作モード「1」において論理値が変化しない入力信
号を決定し(ステップS12)、更に決定した信号の影響に
より、値が論理値「0」,「1」又は「X(不定)」に
固定される信号線を決定し(ステップS13)、その信号線
の論理値によりゲーティングされる素子にのみ収斂する
全ての素子、即ち回路部分と、前記信号線とをネットリ
ストから削除し (ステップS14)、削除した後のネットリ
ストD6 をシミュレーション手段5へ与える。その後は
実施例1と同様に論理シミュレーション手段5にて論理
検証を実行する。After the operation mode is determined in this way, the test mode is divided by time, in other words, the test mode is divided by time and the operation mode is set to "1" in the same manner as in the first embodiment. In step S12, an input signal whose logical value does not change is determined, and a signal line whose value is fixed to a logical value "0", "1" or "X (undefined)" is determined by the influence of the determined signal. (Step S13), all the elements converging only to the element gated by the logical value of the signal line, that is, the circuit portion and the signal line are deleted from the netlist (Step S14), and the The netlist D 6 is provided to the simulation means 5. After that, logic verification is performed by the logic simulation means 5 as in the first embodiment.
【0025】[0025]
【発明の効果】以上のように請求項1,3に係る発明に
よれば、テストパターンから全シミュレーション時間に
わたって論理値が変化しない信号が抽出され、抽出され
たこの信号の影響により論理値が固定される信号線が決
定され、その信号線の論理値によりゲーティングされる
回路部分と前記信号線とがネットリストから削除される
ため、論理シミュレーション対象である論理回路規模が
縮小され、高速な論理シミュレーションが可能となる。
従って、大規模論理回路を実質的に縮減した状態でシミ
ュレーションすることが可能になり、高速にシミュレー
ションすることができる。As described above, according to the first and third aspects of the present invention, a signal whose logical value does not change over the entire simulation time is extracted from the test pattern and extracted.
Signal lines whose logic value is fixed determined by the influence of the signal
Is constant, the signal lines are removed from the netlist and the circuit portion which is gated by the logic value of the signal line
Therefore, the size of the logic circuit to be
Reduced size enables high-speed logic simulation.
Accordingly, stain while substantially reduction large logic circuit
Simulation can be performed at a high speed.
【0026】請求項2,4に係る発明によれば、テスト
パターンから全シミュレーション時間に対して、所定の
割合の時間、論理値が変化しない信号が抽出され、抽出
されたこの信号の論理値が固定されている間が1つの動
作モードとして決定され、夫々の動作モード毎に論理値
が固定となる信号の影響により、論理値が固定される信
号線が決定され、その信号線の論理値によりゲーティン
グされる回路部分と前記信号線とがネットリストから削
除されるため、ネットリストが縮減され、高速な論理シ
ミュレーションが可能となる。従って、大規模論理回路
を実質的に縮減した状態でシミュレーションすることが
可能になり、高速にシミュレーションすることができ
る。According to the second and fourth aspects of the present invention, a signal whose logic value does not change for a predetermined ratio of time to the entire simulation time is extracted from the test pattern and extracted.
The period during which the logical value of this signal is fixed is determined as one operation mode, and the signal line whose logical value is fixed is determined by the effect of the signal whose logical value is fixed for each operation mode. Since the circuit portion gated by the logical value of the signal line and the signal line are deleted from the netlist, the netlist is reduced and the high-speed logical system is reduced.
Simulation becomes possible. Therefore, it is possible to simulate a large-scale logic circuit in a substantially reduced state.
It is possible to perform simulation at high speed.
【図1】本発明の実施例1の構成を示すブロック図であ
る。FIG. 1 is a block diagram illustrating a configuration of a first exemplary embodiment of the present invention.
【図2】本発明の実施例1の処理手順を示すフローチャ
ートである。FIG. 2 is a flowchart illustrating a processing procedure according to the first embodiment of the present invention.
【図3】論理検証対象である論理回路の回路図である。FIG. 3 is a circuit diagram of a logic circuit to be subjected to logic verification;
【図4】論理検証対象である論理回路に入力するテスト
パターンを示すタイミングチャートである。FIG. 4 is a timing chart showing a test pattern input to a logic circuit to be subjected to logic verification;
【図5】図3に示す検証対象論理回路に実施例1による
処理を施した後の等価回路の回路図である。FIG. 5 is a circuit diagram of an equivalent circuit after the processing according to the first embodiment is performed on the verification target logic circuit illustrated in FIG. 3;
【図6】本発明の実施例2の構成を示すブロック図であ
る。FIG. 6 is a block diagram illustrating a configuration of a second exemplary embodiment of the present invention.
【図7】本発明の実施例2の処理手順を示すフローチャ
ートである。FIG. 7 is a flowchart illustrating a processing procedure according to a second embodiment of the present invention.
【図8】図3に示す検証対象論理回路に入力する他のテ
ストパターンを示すタイミングチャートである。FIG. 8 is a timing chart showing another test pattern input to the verification target logic circuit shown in FIG. 3;
【図9】従来の論理シミュレーション装置による論理検
証の処理手順を示すフローチャートである。FIG. 9 is a flowchart showing a processing procedure of logic verification by a conventional logic simulation apparatus .
1 第1の抽出手段 2 第2の抽出手段 3 第1の削除手段 4 第2の削除手段 5 シミュレーション手段 6 動作モード決定手段 DESCRIPTION OF SYMBOLS 1 1st extraction means 2 2nd extraction means 3 1st deletion means 4 2nd deletion means 5 Simulation means 6 Operation mode determination means
フロントページの続き (56)参考文献 特開 平5−6407(JP,A) 特開 平4−260974(JP,A) 特開 平4−115365(JP,A) 特開 平4−111071(JP,A) 特開 平3−250262(JP,A) 特開 平1−197868(JP,A) 特開 昭63−223926(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 664 JICSTファイル(JOIS)Continuation of the front page (56) References JP-A-5-6407 (JP, A) JP-A-4-260974 (JP, A) JP-A-4-115365 (JP, A) JP-A-4-111071 (JP) JP-A-3-250262 (JP, A) JP-A-1-197868 (JP, A) JP-A-63-223926 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB Name) G06F 17/50 664 JICST file (JOIS)
Claims (4)
ストパターンに基づいて論理シミュレーション装置によ
り実行される論理シミュレーション方法において、前記論理シミュレーション装置における 第1の抽出手段
が、前記テストパターンから、全シミュレーション時間
にわたって論理値が変化しない信号を抽出するステップ
と、前記論理シミュレーション装置における 第2の抽出手段
が、前記第1の抽出手段が抽出した信号に基づき全シミ
ュレーション時間にわたって論理値が固定される全信号
線と、前記検証対象論理回路の出力端子の出力レベルに
影響を与えない回路部分とを前記ネットリストから抽出
するステップと、前記論理シミュレーション装置における 削除手段が、前
記第2の抽出手段が抽出した信号線及び回路部分のデー
タを前記ネットリストから削除するステップとを含むこ
とを特徴とする論理シミュレーション方法。We claim: 1. based on the net list and test pattern of the verification target logic circuit to logic simulation apparatus
In the logic simulation method performed Ri, first extraction means in the logic simulation apparatus, from said test pattern, extracting a signal whose logic value does not change over the entire simulation time, the second in the logic simulation apparatus Extracting means for all signal lines whose logic values are fixed over the entire simulation time based on the signal extracted by the first extracting means, and a circuit portion which does not affect the output level of the output terminal of the logic circuit to be verified. Extracting from the netlist, and the deleting means in the logic simulation apparatus deleting the data of the signal line and the circuit portion extracted by the second extracting means from the netlist. Logic simulation method.
ストパターンに基づいて論理シミュレーション装置によ
り実行される論理シミュレーション方法において、前記論理シミュレーション装置における 第1の抽出手段
が、前記テストパターンから、全シミュレーション時間
に対して所定の割合の時間にわたって論理値が変化しな
い信号を抽出するステップと、前記論理シミュレーション装置における モード決定手段
が、前記第1の抽出手段が抽出した信号の値が固定され
ている間を1つの動作モードとして決定するステップ
と、前記論理シミュレーション装置における 第2の抽出手段
が、前記モード決定手段が決定した前記動作モード毎に
夫々の動作モードの間、論理値が固定される全信号線
と、前記論理値が固定される信号線により前記検証対象
論理回路の出力端子の出力値に影響を与えない回路部分
とを前記ネットリストから抽出するステップと、前記論理シミュレーション装置における 削除手段が、前
記第2の抽出手段が抽出した前記信号線及び回路部分の
データを前記ネットリストから削除するステップとを含
むことを特徴とする論理シミュレーション方法。 2. A based on the net list and test pattern of the verification target logic circuit to logic simulation apparatus
A logic simulation method to be executed , wherein the first extraction means in the logic simulation apparatus extracts, from the test pattern, a signal whose logic value does not change for a predetermined ratio of time to the total simulation time; The mode determining means in the logic simulation device determines, as one operation mode, a period during which the value of the signal extracted by the first extracting means is fixed, and the second extracting means in the logic simulation device All signal lines whose logical values are fixed during each operation mode for each of the operation modes determined by the mode determination means.
And a circuit portion that does not affect the output value of the output terminal of the logic circuit to be verified by the signal line to which the logic value is fixed.
Extracting retrieved from said net list, delete means in the logic simulation apparatus, that the data of said signal line and the circuit portion second extracting means has extracted and a step of deleting from said netlist A featured logic simulation method.
ストパターンに基づき論理シミュレーションを行う論理
シミュレーション装置において、前記テストパターンか
ら、全シミュレーション時間にわたって論理値が変化し
ない信号を抽出して出力する第1の抽出手段と、前記抽
出された信号に基づき全シミュレーション時間にわたっ
て論理値が固定される全信号線と、前記検証対象論理回
路の出力端子の出力レベルに影響を与えない回路部分と
を前記ネットリストから抽出する第2の抽出手段と、抽
出した信号線及び回路部分のデータを前記ネットリスト
から削除する手段とを備えたことを特徴とする論理シミ
ュレーション装置。3. A logic simulation apparatus for performing a logic simulation based on a netlist of a logic circuit to be verified and a test pattern, wherein a signal whose logic value does not change over the entire simulation time is extracted and output from the test pattern. Extraction means, all signal lines whose logic values are fixed over the entire simulation time based on the extracted signals, and a circuit part that does not affect the output level of the output terminal of the logic circuit to be verified are extracted from the netlist. A logic simulation apparatus comprising: a second extracting unit for extracting; and a unit for deleting data of the extracted signal line and circuit portion from the netlist.
ストパターンに基づき論理シミュレーションを行う論理
シミュレーション装置において、前記テストパターンか
ら、全シミュレーション時間に対して所定の割合の時間
にわたって論理値が変化しない信号を抽出して出力する
第1の抽出手段と、前記抽出された信号の値が固定され
ている間を1つの動作モードとして決定する手段と、前
記動作モード毎に夫々の動作モードの間、論理値が固定
される全信号線と、前記論理値が固定される信号線によ
り前記検証対象論理回路の出力端子の出力値に影響を与
えない回路部分とを前記ネットリストから抽出する第2
の抽出手段と、前記信号線及び回路部分のデータを前記
ネットリストから削除する手段とを備えたことを特徴と
する論理シミュレーション装置。4. A logic simulation apparatus for performing a logic simulation based on a netlist and a test pattern of a logic circuit to be verified, wherein a signal whose logic value does not change for a predetermined ratio of the total simulation time is output from the test pattern. First extracting means for extracting and outputting, a means for determining while the value of the extracted signal is fixed as one operation mode, and a logical value for each operation mode for each operation mode Extracting from the netlist all signal lines for which the logic value is fixed and circuit portions that do not affect the output value of the output terminal of the logic circuit to be verified by the signal line for which the logic value is fixed.
And a means for deleting the data of the signal line and the circuit portion from the netlist.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP02661493A JP3265384B2 (en) | 1993-02-16 | 1993-02-16 | Logic simulation method and logic simulation device used therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP02661493A JP3265384B2 (en) | 1993-02-16 | 1993-02-16 | Logic simulation method and logic simulation device used therefor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06243190A JPH06243190A (en) | 1994-09-02 |
| JP3265384B2 true JP3265384B2 (en) | 2002-03-11 |
Family
ID=12198370
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP02661493A Expired - Fee Related JP3265384B2 (en) | 1993-02-16 | 1993-02-16 | Logic simulation method and logic simulation device used therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3265384B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4493173B2 (en) | 2000-07-27 | 2010-06-30 | 株式会社ルネサステクノロジ | Back annotation method |
| JP4145642B2 (en) | 2002-12-02 | 2008-09-03 | 株式会社ルネサステクノロジ | Logic simulation device |
-
1993
- 1993-02-16 JP JP02661493A patent/JP3265384B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06243190A (en) | 1994-09-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2563663B2 (en) | Logic design processing device and timing adjustment method | |
| JP3137056B2 (en) | Fault propagation path extraction system and method, and recording medium on which control program is recorded | |
| US12073159B2 (en) | Computing device and method for detecting clock domain crossing violation in design of memory device | |
| JPH10283394A (en) | Failure simulation method | |
| JP3265384B2 (en) | Logic simulation method and logic simulation device used therefor | |
| Pomeranz | Skewed-load tests for transition and stuck-at faults | |
| US20030061585A1 (en) | Design system of integrated circuit and its design method and program | |
| Chen et al. | A new framework for static timing analysis, incremental timing refinement, and timing simulation | |
| US6041168A (en) | High-speed delay verification apparatus and method therefor | |
| US20020013688A1 (en) | Back annotation apparatus for carrying out a simulation based on the extraction result in regard to parasitic elements | |
| JP3191183B2 (en) | Scan test control gate insertion method | |
| JP2970600B2 (en) | Logic simulation method | |
| JP3340283B2 (en) | Hazard simulation device for logic circuits | |
| JP3052263B2 (en) | Logic verification sufficiency evaluation method and system therefor | |
| JP2990813B2 (en) | Failure simulation method | |
| JP2923543B2 (en) | Logic simulation equipment | |
| JP2001202391A (en) | Logic circuit simulation method | |
| JP3048003B2 (en) | Semiconductor device failure simulation method and data creation device in failure simulation | |
| JP2569881B2 (en) | Concurrent failure simulation method | |
| JP2797955B2 (en) | Expected value collation apparatus and method | |
| JP2996293B2 (en) | Failure simulation method | |
| JP2785708B2 (en) | Logic simulation method | |
| JPH03257586A (en) | Timing simulation system for logic circuit | |
| JP2000348076A (en) | Simulation method, simulation device, and recording medium | |
| JPH1125132A (en) | Simulation apparatus and method, and recording medium recording simulation program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080111 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090111 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090111 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100111 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |