JP2853649B2 - How to create a logic simulation model - Google Patents

How to create a logic simulation model

Info

Publication number
JP2853649B2
JP2853649B2 JP8093276A JP9327696A JP2853649B2 JP 2853649 B2 JP2853649 B2 JP 2853649B2 JP 8093276 A JP8093276 A JP 8093276A JP 9327696 A JP9327696 A JP 9327696A JP 2853649 B2 JP2853649 B2 JP 2853649B2
Authority
JP
Japan
Prior art keywords
logic
delay
circuit
information
logic 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
Application number
JP8093276A
Other languages
Japanese (ja)
Other versions
JPH09259172A (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 JP8093276A priority Critical patent/JP2853649B2/en
Publication of JPH09259172A publication Critical patent/JPH09259172A/en
Application granted granted Critical
Publication of JP2853649B2 publication Critical patent/JP2853649B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、論理シミュレーシ
ョン用モデルの作成方法に関し、特に高精度なタイミン
グ機能を有するソフトウェア論理シミュレーション用モ
デルの作成方法に関する。
The present invention relates to a method for creating a model for logic simulation, and more particularly to a method for creating a model for software logic simulation having a highly accurate timing function.

【0002】[0002]

【従来の技術】ソフトウェア論理シミュレーションモデ
ルは、ボードレベル、システムレベルの論理シミュレー
ションにおいて、過去に論理設計を行ない、検証済みの
部分マクロを代替することにより、論理シミュレーショ
ン全体を高速化する目的で用いられている。
2. Description of the Related Art A software logic simulation model is used in a board-level or system-level logic simulation for the purpose of speeding up the entire logic simulation by performing a logic design in the past and substituting a verified partial macro. ing.

【0003】この種のソフトウェア論理シミュレーショ
ンモデルの作成方法として、本発明者は既に特願平7−
40168号にて、論理シミュレーションの高速化対応
とし、タイミング的にも正確な論理シミュレーション用
モデルを論理合成ツールを用いて自動合成し、検証済み
の論理回路から回路が実現している論理を抽出し、デー
タベース化して論理演算後にタイミングデータを付加す
る論理シミュレーションモデルの作成方法を提案してい
る。
As a method for creating this kind of software logic simulation model, the present inventor has already disclosed in Japanese Patent Application No.
In No. 40168, a logic simulation model corresponding to high-speed logic simulation is automatically synthesized using a logic synthesis tool, and the logic realized by the circuit is extracted from the verified logic circuit. Proposes a method of creating a logic simulation model which adds a timing data after a logical operation to a database.

【0004】このソフトウェア論理シミュレーションモ
デルの作成フローを図9に示す。
FIG. 9 shows a flow of creating the software logic simulation model.

【0005】図9を参照して、この論理シミュレーショ
ンモデル作成方法は、論理回路1001と回路設計規則
データベース1002(回路設計規則、禁止、制約事項
等Yが格納されている)とを入力とし、論理回路100
1から組合せ部分回路の論理機能を抽出し論理最適化を
行なう論理合成手段1004と、論理回路1001から
外部端子間の遅延情報を抽出し遅延データベース100
7を作成する遅延情報作成手段1006と、から構成さ
れている。論理回路1001にフリップフロップ等の順
序素子が含まれる場合にはこれらの順序素子とそれらの
間の組み合わせ回路に分割し、回路設計規則データベー
ス1002から論理回路1001に用いられる各ゲート
を取り出し(ゲート論理の取り出しステップ1005参
照)、分割した部分回路の論理表現を論理合成手段10
04を用いてそれぞれ構成する。論理合成手段1004
では、例えばシャノン展開の式を利用して多段論理の中
間変数を正論理と負論理に展開することにより(回路展
開ステップ1010)、分割された組み合わせ回路部分
の論理を多段から2段に変更し(論理段数変更ステップ
1011)、論理表現を最適化する(組み合わせ論理最
適化ステップ1012)。最適化ステップ1012で
は、例えば論理の共通因子を括りだし論理演算の数が最
小となるように論理表現を変更する。そして、ゲートの
遅延情報と接続情報を入力とする、基本ゲート、基本ブ
ロックの遅延時間抽出ステップ1013と、外部端子間
遅延計算ステップ1014からなる遅延情報作成手段1
006により、正確な論理シミュレーションモデルが作
成される。
Referring to FIG. 9, this logic simulation model creation method is based on a logic circuit 1001 and a circuit design rule database 1002 (in which circuit design rules, prohibitions, restrictions, and the like Y are stored). Circuit 100
1 and a logic synthesizing means 1004 for extracting the logic function of the combinational partial circuit and optimizing the logic, and extracting delay information between external terminals from the logic circuit 1001 and outputting the delay
7, and delay information creating means 1006 for creating the same. When the logic circuit 1001 includes sequential elements such as flip-flops, the logic elements are divided into these sequential elements and combinational circuits therebetween, and each gate used for the logic circuit 1001 is extracted from the circuit design rule database 1002 (gate logic). ), And the logical expression of the divided partial circuit is
04, respectively. Logic synthesis means 1004
Then, the intermediate variable of the multi-stage logic is expanded into a positive logic and a negative logic by using, for example, an expression of Shannon expansion (circuit expansion step 1010), thereby changing the logic of the divided combinational circuit part from multi-stage to two stages. (The number of logic stages change step 1011), and the logic expression is optimized (combinational logic optimization step 1012). In the optimizing step 1012, for example, common factors of the logic are extracted and the logic expression is changed so that the number of logical operations is minimized. The delay information generating means 1 includes a basic gate / basic block delay time extracting step 1013 and a delay calculating step 1014 between external terminals, which receive gate delay information and connection information as inputs.
By 006, an accurate logic simulation model is created.

【0006】この方法により作成されたソフトウェア論
理シミュレーションモデルは、最適化された組合せ論理
と詳細なタイミング処理の省略により、元の回路と論理
的等価性を保ったまま、シミュレーション時間を元の論
理回路よりも削減する。また、外部端子間に設定され遅
延データベースに格納された遅延情報により、遅延機能
を表現する。
The software logic simulation model created by this method can reduce the simulation time to the original logic circuit while maintaining logical equivalence with the original circuit by omitting the optimized combinational logic and detailed timing processing. Than to reduce. The delay function is represented by delay information set between external terminals and stored in a delay database.

【0007】図9に示す手順でソフトウェア論理シミュ
レーションモデルを作成する例を図10から図11に示
す。
FIGS. 10 to 11 show examples of creating a software logic simulation model by the procedure shown in FIG.

【0008】図10(A)に示す回路図がモデル化を行
なう論理回路である。図10(A)に示す回路におい
て、順序素子や外部端子で挟まれた組合せ部分回路(1
102、1103、1106)と、順序素子(110
1、1105、1104)と、を図10(B)に示すよ
うに、それぞれの部分回路(1202、1203、12
06)及び順序素子(1201、1205、1204)
に分割する。
A circuit diagram shown in FIG. 10A is a logic circuit for performing modeling. In the circuit shown in FIG. 10A, the combinational partial circuit (1
102, 1103 and 1106) and the sequential element (110
1, 1105, and 1104) as shown in FIG. 10B.
06) and sequential elements (1201, 1205, 1204)
Divided into

【0009】回路1202(インバータ、ANDゲー
ト、及びバッファ)、回路1203(インバータとAN
Dゲート)、回路1206(ORゲート)の論理機能
を、論理合成手段により最適化した結果の論理式は、そ
れぞれ式1210(D=B・C ̄、但し「 ̄」は反転を
示す)、式1211(E=B ̄・C)、式1212(X
=F+G)となる。
Circuit 1202 (inverter, AND gate, and buffer) and circuit 1203 (inverter and AN
D gate) and the logical function of the circuit 1206 (OR gate) obtained by optimizing the logical function by the logic synthesizing unit are expressed by an expression 1210 (D = B · C ̄, where “ ̄” indicates inversion) and an expression, respectively. 1211 (E = B ̄ · C), Expression 1212 (X
= F + G).

【0010】回路1202を式1210、回路1203
を式1211、回路1206を式1212のように論理
式を用いて組合せ部分回路の動作を表現することにより
論理表現が作成される(図10(C)参照)。
[0010] The circuit 1202 is obtained by the equation 1210 and the circuit 1203.
Is expressed by Expression 1211 and the operation of the combinational partial circuit is expressed by Expression 1212 using a logical expression as shown in Expression 1212 to create a logical expression (see FIG. 10C).

【0011】次に、外部端子間の遅延値を計算する。図
11(A)を参照すると、この回路は外部入力端子Aか
ら外部出力端子X、外部入力端子Bから外部出力端子X
へ達する信号伝播経路が存在するため、図11(B)に
示すように、端子A−端子X間と、端子B−端子X間
と、にそれぞれ遅延情報が設定される。
Next, a delay value between external terminals is calculated. Referring to FIG. 11A, this circuit includes an external input terminal A to an external output terminal X, and an external input terminal B to an external output terminal X
11B, delay information is set between terminals A and X and between terminals B and X, respectively, as shown in FIG. 11B.

【0012】最後に、式1210、式1211、及び式
1212と、順序素子1201、順序素子1205、及
び順序素子1204と、を元の回路の通りに接続し、端
子A−端子X間と、端子B−端子X間と、に遅延値を設
定し、図11(C)に示すモデル(破線が外部端子間遅
延情報を示す)を得る。
Finally, the equations (1210), (1211), and (1212) are connected to the sequential elements 1201, 1205, and 1204 as in the original circuit. A delay value is set between B and terminal X, and a model (a broken line indicates external terminal delay information) shown in FIG. 11C is obtained.

【0013】[0013]

【発明が解決しようとする課題】上記した論理シミュレ
ーションモデルの作成方法では、シミュレーションを高
速化する目的で、組合せ部分回路の機能を論理式で表現
することにより、元の回路においては個々のゲート遅延
値とゲートの接続関係で表現されていた回路の遅延情報
が失われる。
In the above-described method of creating a logic simulation model, the function of the combinational partial circuit is represented by a logical expression for the purpose of speeding up the simulation. The delay information of the circuit represented by the connection relationship between the value and the gate is lost.

【0014】従来の技術で作成される論理シミュレーシ
ョンモデルでは、この失われた遅延情報を、回路の外部
端子間に割り当てられる遅延値で表現するようにしたも
のであるため、回路の同一の外部入力端子、出力端子の
間に複数の経路が存在する場合、これら複数の経路の遅
延値を個別に表現することができない。このため、モデ
ル化する前の回路によるシミュレーションに比べて、シ
ミュレーションモデルの遅延値が大きく異なる場合が多
い。したがって、論理の最適化の結果、高速なシミュレ
ーションモデルは作成できたが、精度の面で実用には供
し難く、改良の余地がある。
In a logic simulation model created by the conventional technique, the lost delay information is represented by a delay value assigned between external terminals of the circuit. When there are a plurality of paths between the terminal and the output terminal, the delay values of the plurality of paths cannot be individually expressed. For this reason, the delay value of the simulation model often differs greatly from the simulation by the circuit before modeling. Therefore, as a result of the optimization of the logic, a high-speed simulation model can be created, but it is difficult to put to practical use in terms of accuracy, and there is room for improvement.

【0015】この問題に対して、外部端子間に複数の信
号伝播経路が存在する場合に、信号伝播経路毎に遅延値
を設定し、信号伝播経路の決定要因である外部入力端子
や内部レジスタとの関係を回路設計者が逐一指定し、シ
ミュレーション時には指定された外部入力端子や内部レ
ジスタの値を参照することにより、選択した遅延値をシ
ミュレーションに反映させる方法が提案されている。
In order to solve this problem, when a plurality of signal propagation paths exist between external terminals, a delay value is set for each signal propagation path, and a delay value is set for an external input terminal or an internal register which is a determining factor of the signal propagation path. A method has been proposed in which a circuit designer designates the relationship in turn, and at the time of simulation, the selected delay value is reflected in the simulation by referring to the value of the designated external input terminal or internal register.

【0016】しかし、この方法にも、全ての経路選択に
ついて外部入力端子や内部レジスタを指定することは、
事実上不可能であるという問題があった。
However, also in this method, designating an external input terminal or an internal register for all path selections requires
There was a problem that was virtually impossible.

【0017】したがって、本発明は、上記事情に鑑みて
為されたものであって、その目的は、論理合成手段を用
いて検証済みの論理回路から回路の実現している論理を
抽出し、最適化した論理表現に置き換える高速ソフトウ
ェア論理シミュレーションモデルの作成方法において、
シミュレーションモデルの遅延精度を大幅に高めるよう
にした方法を提供することにある。
Accordingly, the present invention has been made in view of the above circumstances, and an object of the present invention is to extract a logic realized by a circuit from a verified logic circuit by using a logic synthesizing means and to optimize the logic. In the method of creating a high-speed software logic simulation model to be replaced with a generalized logic expression,
It is an object of the present invention to provide a method for significantly improving the delay accuracy of a simulation model.

【0018】[0018]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、検証済み論理回路情報に基づいて論理ブ
ロックを抽出し前記論理ブロックが表現する論理を最適
化して前記論理回路に等価な論理表現にすることにより
作成される論理シミュレーション用モデルにおいて、前
記論理回路情報から順序素子と組合せ素子を認識し、外
部端子と順序素子を抽出して、さらに外部端子と順序素
子の端子を節点とした部分経路毎の信号伝播時間を解析
した上で遅延情報として構成する遅延情報作成手段を備
え、前記遅延情報作成手段の出力を前記論理表現のタイ
ミング情報とすることを特徴としたものである。
According to the present invention, a logic block is extracted based on verified logic circuit information, and the logic expressed by the logic block is optimized to achieve the equivalent of the logic circuit. In the logic simulation model created by expressing the logic, the sequential element and the combination element are recognized from the logic circuit information, the external terminal and the sequential element are extracted, and the external terminal and the terminal of the sequential element are further defined as nodes. And a delay information generating unit configured to analyze the signal propagation time for each of the partial paths and configured as delay information, wherein an output of the delay information generating unit is used as the timing information of the logical expression.

【0019】本発明においては、遅延データベースに
は、外部端子、順序素子の端子で区切られた部分経路の
遅延時間が格納され、シミュレーション時に外部入力端
子から始まるイベントの伝播に伴ってイベントが通過し
た部分経路毎に遅延時間の遅延データベースからの取
得、加算をイベントが外部出力端子に達するまで繰り返
し、これにより、外部端子間に存在する複数の信号経路
に正しい遅延時間を与えることが可能となり、高精度な
遅延時間の解析を可能としたものである。
In the present invention, the delay database stores the delay times of the partial paths separated by the external terminal and the terminal of the sequential element, and the event has passed along with the propagation of the event starting from the external input terminal during simulation. The acquisition and addition of the delay time from the delay database for each partial path are repeated until the event reaches the external output terminal, whereby it is possible to give a correct delay time to a plurality of signal paths existing between the external terminals. This enables accurate delay time analysis.

【0020】[0020]

【発明の実施の形態】本発明の実施の形態について図面
を参照して以下に詳細に説明する。図1は、本発明の論
理シミュレーションモデル作成手順を示すブロック図で
ある。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing a logic simulation model creation procedure of the present invention.

【0021】図1を参照して、論理回路101と論理回
路101の設計検証に用いられる回路設計データベース
ファイル102とを入力とし、論理シミュレーションモ
デル107を作成するためのゲート論理の取り出しステ
ップ105、及び論理合成手段104については、前記
した特願平7−40168号に記載の方法が参照され
る。
Referring to FIG. 1, a logic circuit 101 and a circuit design database file 102 used for design verification of the logic circuit 101 are input, and a gate logic extraction step 105 for creating a logic simulation model 107 is performed. For the logic synthesizing means 104, the method described in the aforementioned Japanese Patent Application No. 7-40168 is referred to.

【0022】このゲート論理の取り出しステップ105
では、論理回路101に用いられている各ゲートの論理
を取り出し、論理合成手段104では、ゲート論理の取
り出しステップ105で取り出したゲート論理のうち組
合せ回路部分についてシミュレーションを最も少ない演
算で行なえる論理表現に変形し、論理シミュレーション
モデル107を作成する。この論理シミュレーションモ
デル107は、論理情報のみを含み論理回路の持つ遅延
の情報を有していないため、論理シミュレーションモデ
ルとしては遅延の面で不正確である。
This gate logic extraction step 105
Then, the logic of each gate used in the logic circuit 101 is extracted, and the logic synthesizing means 104 performs a logic expression by which the simulation can be performed with the least number of operations on the combinational circuit portion of the gate logic extracted in the gate logic extraction step 105. And a logic simulation model 107 is created. Since the logic simulation model 107 includes only logic information and does not have information on the delay of the logic circuit, the logic simulation model 107 is inaccurate in terms of delay as a logic simulation model.

【0023】そこで、本発明の実施形態は、遅延の面で
も正確なシミュレーションモデルを作成するために、さ
らに論理回路101から遅延情報を作成する遅延情報作
成手段106を有する。
Therefore, the embodiment of the present invention further includes a delay information creating means 106 for creating delay information from the logic circuit 101 in order to create an accurate simulation model in terms of delay.

【0024】遅延情報作成手段106は、まず、論理回
路101からフリップフロップなどの順序素子及び外部
入力端子、外部出力端子を抽出する(ステップ11
3)。
First, the delay information creating means 106 extracts a sequential element such as a flip-flop, an external input terminal, and an external output terminal from the logic circuit 101 (step 11).
3).

【0025】次に、ステップ113で抽出した外部端子
及び順序素子の入力端子、出力端子を節点とし、論理回
路101中の信号伝播経路を、これら節点の間の部分経
路に分割する(ステップ114)。
Next, the external terminal and the input terminal and output terminal of the sequential element extracted in step 113 are set as nodes, and the signal propagation path in the logic circuit 101 is divided into partial paths between these nodes (step 114). .

【0026】次に、外部端子と順序素子の端子の間の信
号伝播経路の遅延時間を算出する(ステップ115)。
このとき、シミュレーション時に外部入力端子からのイ
ベント入力を外部出力端子まで伝播しない部分経路につ
いては遅延時間を算出しない。例えば、終点となる節点
がエッジトリガ型のフリップフロップのデータ入力端子
であった場合、その端子へのイベント入力はフリップフ
ロップの出力へ伝播しないため、外部入力端子からその
終点に達する全ての部分経路の遅延時間は算出しない。
このように不必要な部分経路の遅延時間を算出しないこ
とで、シミュレーションモデルの作成時間を短縮し、遅
延データベース108のサイズを大幅に縮小することが
できる。
Next, the delay time of the signal propagation path between the external terminal and the terminal of the sequential element is calculated (step 115).
At this time, the delay time is not calculated for the partial path that does not propagate the event input from the external input terminal to the external output terminal during the simulation. For example, if the end node is a data input terminal of an edge-triggered flip-flop, the event input to that terminal does not propagate to the output of the flip-flop. Is not calculated.
By not calculating the delay time of the unnecessary partial path in this way, the time for creating the simulation model can be reduced, and the size of the delay database 108 can be significantly reduced.

【0027】図2に、遅延時間を解析する必要のある部
分経路を探索して遅延時間を計算する方法(算法)の一
例を示す。探索は、外部出力端子から外部入力端子の方
向に向かって行われる。
FIG. 2 shows an example of a method (algorithm) for calculating a delay time by searching for a partial route for which the delay time needs to be analyzed. The search is performed from the external output terminal toward the external input terminal.

【0028】まず、ある外部出力端子に注目し、その外
部出力端子を部分経路の終点とする(ステップ20
1)。次に、順序素子追跡サブルーチンを呼び出す(ス
テップ202)。ステップ202から復帰したら、次の
外部出力端子から探索を始める。すべての外部出力端子
からの探索が終了するまで、ステップ201、及び20
2を繰り返す。
First, attention is paid to a certain external output terminal, and the external output terminal is set as the end point of the partial path (step 20).
1). Next, a sequential element tracking subroutine is called (step 202). After returning from step 202, the search is started from the next external output terminal. Steps 201 and 20 until the search from all the external output terminals is completed.
Repeat 2.

【0029】図3を参照して、順序素子追跡サブルーチ
ンについて説明する。
The sequential element tracking subroutine will be described with reference to FIG.

【0030】部分経路の終点として設定された節点から
入力方向に遡り、1段前の節点に注目する(ステップ2
10)。
Going back from the node set as the end point of the partial path in the input direction, pay attention to the node one step before (step 2).
10).

【0031】ステップ210で注目した節点を部分経路
の始点とする(ステップ211)。
The node noted in step 210 is set as the starting point of the partial path (step 211).

【0032】部分経路の始点と終点の間の遅延時間を算
出し、計算結果を遅延データベース108に書き出す
(ステップ212)。
The delay time between the start point and the end point of the partial route is calculated, and the calculation result is written to the delay database 108 (step 212).

【0033】部分経路の始点が、外部入力端子であった
場合には、サブルーチンを抜ける(ステップ213)。
If the starting point of the partial path is an external input terminal, the subroutine is exited (step 213).

【0034】一方、部分経路の始点が、順序素子の出力
端子であった場合には、その順序素子の全ての入力端子
から入力方向へ探索を続ける。全ての入力端子について
の探索が終了したらサブルーチンを抜ける(ステップ2
14)。
On the other hand, when the starting point of the partial path is the output terminal of the sequential element, the search is continued in the input direction from all the input terminals of the sequential element. When the search for all the input terminals is completed, the process exits the subroutine (step 2).
14).

【0035】順序素子の入力端子から1つを選んで部分
経路の終点とする(ステップ215)。
One of the input terminals of the sequential element is selected and set as the end point of the partial path (step 215).

【0036】そして、終点とした入力端子が、エッジト
リガ型フリップフロップのデータ端子であった場合には
入力方向への探索を行わずにステップ214へ戻る(ス
テップ216)。
If the input terminal that is the end point is the data terminal of the edge trigger type flip-flop, the process returns to step 214 without performing the search in the input direction (step 216).

【0037】ステップ216で、終点がエッジトリガ型
フリップフロップのデータ端子でなかった場合は、順序
素子追跡サブルーチンを再帰的に呼び出し(ステップ2
17)、サブルーチンから復帰したステップ214へ戻
る(ステップ207)。
In step 216, if the end point is not the data terminal of the edge-triggered flip-flop, the sequential element tracking subroutine is recursively called (step 2).
17), returning to step 214, which has returned from the subroutine (step 207).

【0038】図2及び図3に示す方法で求められた部分
経路の遅延時間は、外部端子、順序素子の端子の間に存
在する組合せ部分回路の遅延時間に相当する。
The delay time of the partial path obtained by the method shown in FIGS. 2 and 3 corresponds to the delay time of the combinational partial circuit existing between the external terminal and the terminal of the sequential element.

【0039】遅延時間の算出には、テストパタンを用い
ずに、各ゲート、信号線の遅延値から、回路内の特定の
端子間の遅延時間を求めるスタティックタイミング解析
(Srinivas Devadas, Kurt Keutzer, Sharad Malik,“D
elay Computation in Combinational Logic Circuits:
Theory and Algorithms”, ICCAD' 91. pp. 176, 199
1)を用いることができる。また、順序素子の入力端子
を始点、順序素子の出力端子を終点とする部分経路の遅
延時間には、順序素子のゲート遅延をそのまま用いるこ
とができる。
For the calculation of the delay time, a static timing analysis (Srinivas Devadas, Kurt Keutzer, Sharad) for obtaining a delay time between specific terminals in a circuit from delay values of gates and signal lines without using a test pattern. Malik, “D
elay Computation in Combinational Logic Circuits:
Theory and Algorithms ”, ICCAD '91. pp. 176, 199
1) can be used. Also, the gate delay of the sequential element can be used as it is for the delay time of the partial path starting from the input terminal of the sequential element and ending at the output terminal of the sequential element.

【0040】このようにして求められた部分経路毎の遅
延情報を遅延データベース108に格納する。また、遅
延データベース108を高速に検索するために、ハッシ
ュテーブルや二分木を用いた検索表109を作成しても
よい。
The delay information thus obtained for each partial path is stored in the delay database 108. In addition, in order to search the delay database 108 at high speed, a search table 109 using a hash table or a binary tree may be created.

【0041】この遅延データベース108を検索する際
の検索キーとしては、例えば、始点となる節点(「入力
節点」という)、終点となる節点(「出力節点」とい
う)、始点となる節点の信号値(「入力節点値」とい
う)、終点となる節点の信号値(「出力節点値」とい
う)の4つである。
As search keys for searching the delay database 108, for example, a node serving as a start point (referred to as an "input node"), a node serving as an end point (referred to as an "output node"), and a signal value of a node serving as a start point (Referred to as an “input node value”) and a signal value of the end node (referred to as an “output node value”).

【0042】ハッシュテーブル(検索表)109は、各
節点に通し番号をつけ、前記4つの検索キーを変数とす
るハッシュ関数を設定し、ハッシュ関数の計算結果をも
とに遅延情報の分類を行ない、遅延情報の格納場所をハ
ッシュ関数の計算結果と結びつけることにより作成する
(ステップ115)。
A hash table (search table) 109 assigns a serial number to each node, sets a hash function using the four search keys as variables, and classifies delay information based on a calculation result of the hash function. The delay information is created by associating the storage location of the delay information with the calculation result of the hash function (step 115).

【0043】図6に、本発明の一実施例として、遅延デ
ータベース108とハッシュテーブル109による検索
表の構成例を示す。
FIG. 6 shows an example of the configuration of a search table based on the delay database 108 and the hash table 109 as an embodiment of the present invention.

【0044】遅延情報作成手段106(図1参照)によ
って算出された各遅延データは、入力節点番号、入力節
点の信号値、出力節点番号、出力節点の信号値の4つを
変数としたハッシュ関数700を用いて、ハッシュ関数
700の計算結果によって分類される。この計算結果を
「ハッシュ値」と呼ぶ。関数700は各分類が極力複数
の遅延データを持たないように設定する。関数700の
出力値をハッシュ値テーブル701に並べ、各ハッシュ
値に分類された遅延データを702、703のようにリ
スト構造で結び付ける。各遅延データは705に示すよ
うに遅延値、入力節点の番号、入力節点値、出力節点の
番号、出力節点値、次データへのリンクの6つの要素を
持つ。
Each delay data calculated by the delay information creating means 106 (see FIG. 1) is a hash function using four variables of an input node number, an input node signal value, an output node number, and an output node signal value. With the use of the hash function 700, classification is performed according to the calculation result of the hash function 700. This calculation result is called a “hash value”. The function 700 is set so that each classification does not have a plurality of delay data as much as possible. The output values of the function 700 are arranged in a hash value table 701, and the delay data classified into each hash value is linked in a list structure like 702 and 703. Each delay data has six elements, as indicated by 705, a delay value, an input node number, an input node value, an output node number, an output node value, and a link to the next data.

【0045】遅延値を取得するときには、関数700に
変数値を与えて得られるハッシュ値と同じ値をハッシュ
値テーブル701上で検索し、合致した値に関連づけら
れた遅延データのリンクをたどる。最終的に入力節点番
号、入力節点値、出力節点番号、出力節点値の4つの変
数値を遅延データ705の要素と比較し、すべてが合致
するものが目的の遅延データとなる。
When acquiring a delay value, the same value as a hash value obtained by giving a variable value to the function 700 is searched on the hash value table 701, and the link of the delay data associated with the matched value is followed. Finally, the four variable values of the input node number, the input node value, the output node number, and the output node value are compared with the elements of the delay data 705, and the one that matches all is the target delay data.

【0046】検索表109を用いて遅延データベース1
08を高速に検索し、出力遅延値を求める機構遅延機能
として論理シミュレーションモデル107に付加したも
のを、論理シミュレーションモデルとして作成する。
Delay database 1 using search table 109
08 is added at high speed to the logic simulation model 107 as a mechanism delay function for obtaining an output delay value, and is created as a logic simulation model.

【0047】図1に示す本発明の実施形態に従いモデル
化を行なった例を図4に示す。
FIG. 4 shows an example in which modeling is performed according to the embodiment of the present invention shown in FIG.

【0048】図4(A)に示す回路がモデル化を行なう
論理回路である。この回路は従来の技術で示した図10
(A)に示す回路と同じ構成である。論理機能のモデル
化の手順は従来の技術で図10(B)と図10(C)を
用いて示した方法を利用することができる。
The circuit shown in FIG. 4A is a logic circuit for performing modeling. This circuit is shown in FIG.
It has the same configuration as the circuit shown in FIG. As a procedure for modeling a logical function, a method shown in FIGS. 10B and 10C by a conventional technique can be used.

【0049】遅延情報の作成方法を説明する。まず、図
4(A)に示される論理回路から順序素子(301、3
04、305)と、外部入力端子A、外部入力端子B、
外部出力端子Xを抽出する。そして、順序素子の入力
(H、D、E)、順序素子の出力(C、F、G)と、端
子A、端子B、端子Xを節点とする。
A method for creating delay information will be described. First, from the logic circuit shown in FIG.
04, 305), external input terminal A, external input terminal B,
Extract the external output terminal X. The inputs (H, D, E) of the sequential elements, the outputs (C, F, G) of the sequential elements, and the terminals A, B, and X are set as nodes.

【0050】これらの節点で、接続関係を持つ節点間
(A−H間、C−D間、B−D間、C−E間、E−X
間、G−X間)に組合せ部分回路の遅延情報を設定す
る。設定する遅延情報は、節点A、節点C、節点F、節
点Gを始点とし、節点H、節点D、節点E、節点Xを終
点としたスタティックタイミング解析により求める。
At these nodes, nodes having connection relations (between AH, between CD, between BD, between CE, and between EX)
, Between G and X). The delay information to be set is obtained by static timing analysis in which the nodes A, C, F, and G are set as the starting points, and the nodes H, D, E, and X are set as the end points.

【0051】図4(B)を参照して、遅延情報403と
遅延情報405は論理式1210(図10(C)参照、
D=BC ̄)、即ち回路302に、遅延情報404と遅
延情報406は論理式1211(図10(C)参照、E
=B ̄C)即ち回路303に、遅延情報409と遅延情
報410は論理式1212(図10(C)参照、X=F
+G)即ち回路306に対応する。また、遅延情報40
2は順序素子301、遅延情報407は順序素子30
5、遅延情報408は順序素子304の遅延情報に対応
する。遅延情報401から遅延情報410までを遅延デ
ータベース108に格納する。
Referring to FIG. 4B, delay information 403 and delay information 405 are represented by a logical expression 1210 (see FIG. 10C,
D = BC ̄), that is, in the circuit 302, the delay information 404 and the delay information 406 are expressed by a logical expression 1211 (see FIG. 10C, E
= B ̄C) That is, in the circuit 303, the delay information 409 and the delay information 410 are expressed by a logical expression 1212 (see FIG. 10C, X = F
+ G), that is, the circuit 306. Also, the delay information 40
2 is the sequential element 301, and the delay information 407 is the sequential element 30.
5. The delay information 408 corresponds to the delay information of the sequential element 304. The delay information 401 to the delay information 410 are stored in the delay database 108.

【0052】このようにして、論理最適化により失われ
る組合せ部分回路の遅延情報を節点間の遅延情報により
表現し、順序素子の遅延情報と一元的に管理することが
可能となる。
In this manner, the delay information of the combinational partial circuit lost by the logic optimization can be expressed by the delay information between the nodes, and can be managed integrally with the delay information of the sequential elements.

【0053】最後に、論理式1210、1211、12
12と、順序素子302、303、306を元の回路の
通りに接続し、節点Aから節点Xまでの間に遅延情報4
01から410までを設定し、図4(C)に示すモデル
を得る。
Finally, the logical expressions 1210, 1211, 12
12 and the sequential elements 302, 303, and 306 are connected as in the original circuit.
By setting 01 to 410, a model shown in FIG. 4C is obtained.

【0054】本発明の一実施例として、シミュレーショ
ン時の動作を図5に示す。シミュレーションの起動は、
入力ピンの信号変化(ステップ600)から始まる。こ
れを受けて発生したイベントをイベントキューに登録す
る(ステップ601)。イベントキューから順次イベン
トを取り出し(ステップ602)、イベントが伝播した
ゲートの演算を行なう(ステップ603)。
FIG. 5 shows the operation at the time of simulation as one embodiment of the present invention. Starting the simulation
It starts with a signal change at the input pin (step 600). The event generated in response to this is registered in the event queue (step 601). The events are sequentially retrieved from the event queue (step 602), and the operation of the gate to which the event has propagated is performed (step 603).

【0055】ステップ603の演算によってゲートの出
力値に変化があり、イベントが発生したかどうかを判断
し(ステップ604)、イベントが発生した場合には、
イベントが伝播した部分経路の遅延値の検索を行ない入
力端子からの遅延時間に加算(ステップ605;ハッシ
ュテーブル109及び遅延データベース108を参照し
て遅延値を得る)した上で、イベントの登録(ステップ
601)に戻る。イベントが発生しなかった場合は、イ
ベントキューにイベントが残存しているかどうかを検査
し(ステップ606)、残存していた場合はイベント取
り出し(ステップ602)に戻り、残存していなかった
場合には出力値と遅延時間をシミュレータに渡して(ス
テップ607)、このソフトウェアモデルを使ったシミ
ュレーションは終了する。イベントが発生しなかった場
合には遅延時間の検索、加算を行なわないことにより、
ゲートの演算とともに遅延時間の検索、加算を行なうよ
りも高速なシミュレーションを行なうことができる。
It is determined whether or not an event has occurred due to a change in the output value of the gate due to the calculation in step 603 (step 604).
The delay value of the partial path in which the event has propagated is searched for, added to the delay time from the input terminal (step 605; the delay value is obtained by referring to the hash table 109 and the delay database 108), and the event is registered (step 605). Return to 601). If no event has occurred, it is checked whether or not the event remains in the event queue (step 606). If the event has remained, the process returns to event retrieval (step 602). The output value and the delay time are passed to the simulator (step 607), and the simulation using this software model ends. By not searching for and adding delay time when no event has occurred,
Simulation can be performed at a higher speed than when searching and adding the delay time together with the operation of the gate.

【0056】本発明の実施の形態を更に詳細に説明すべ
く、シミュレーション時の遅延時間の計算方法の実施例
を図7を参照して以下に説明する。なお、図7は、図4
に示した論理回路の外部入力端子Aから外部出力端子X
への信号伝搬経路を示している。なお、図7において、
破線で示した部分経路に付した数値は節点間の遅延値を
示している。
In order to explain the embodiment of the present invention in more detail, an embodiment of a method of calculating a delay time at the time of simulation will be described below with reference to FIG. Note that FIG.
From the external input terminal A to the external output terminal X of the logic circuit shown in FIG.
2 shows a signal propagation path to the control unit. In FIG. 7,
Numerical values attached to the partial paths indicated by broken lines indicate delay values between nodes.

【0057】外部入力端子Aの変化によって外部出力端
子にの変化が起こった場合、外部入力端子Aから外部出
力端子Xまでの信号伝播経路は、801(経路A−H−
C−D−F−X)と、802(経路A−H−C−E−G
−X)の2つが存在し、それぞれ遅延時間は「75」と
「60」となっている。
If a change occurs in the external output terminal due to a change in the external input terminal A, the signal propagation path from the external input terminal A to the external output terminal X is 801 (path AH-
C-D-F-X) and 802 (Route A-H-C-E-G)
−X), and the delay times are “75” and “60”, respectively.

【0058】信号が経路801を伝播した場合を考え
る。外部入力端子Aで変化した信号が節点Hに伝播した
時点でA−H間の遅延時間を遅延情報ファイルで検索
し、遅延時間として「0」を得る。この遅延時間と信号
変化(イベント)を出力側に伝播する。
Consider a case where a signal has propagated along the path 801. When the signal changed at the external input terminal A propagates to the node H, the delay time between A and H is searched in the delay information file, and "0" is obtained as the delay time. The delay time and signal change (event) are propagated to the output side.

【0059】次に、H−C間の遅延時間「20」を得
て、節点Hまでの遅延時間「0」と加算した結果の「2
0」を信号変化とともに出力側に伝播する。同様にC−
D間、D−F間、F−X間の遅延時間の検索、加算、伝
播を外部出力端子まで繰り返すことにより、経路801
の遅延時間「75」を得る。
Next, a delay time “20” between HC is obtained, and a delay time “0” to the node H is added to obtain “2”.
"0" is propagated to the output side together with the signal change. Similarly, C-
By repeating the search, addition, and propagation of the delay time between D, DF, and F-X to the external output terminal, the path 801 is obtained.
To obtain the delay time “75”.

【0060】これに対して、図11(B)を参照して説
明した従来の技術では、A−X間に遅延情報を1つ、即
ち「75」又は「60」のうちの1つしか設定すること
ができないたため、元の回路と遅延時間に比べ、「1
5」の誤差が発生することがある。
On the other hand, in the conventional technique described with reference to FIG. 11B, only one delay information is set between A and X, that is, only one of “75” or “60” is set. Was not able to be performed, and compared to the original circuit and the delay time, "1"
5 "may occur.

【0061】図8に、比較のために、従来の技術による
シミュレーションモデルを用いたシミュレーションでの
平均遅延誤差率と、本発明によるシミュレーションモデ
ルを用いたシミュレーションでの平均遅延誤差率と、を
示した。なお、回路A〜Iはベンチマーク用の各種論理
回路を示している。
FIG. 8 shows, for comparison, the average delay error rate in the simulation using the simulation model according to the conventional technique and the average delay error rate in the simulation using the simulation model according to the present invention. . Circuits A to I indicate various logic circuits for benchmarking.

【0062】各平均遅延誤差率(%)は次式(1)を用
いて求めた。
Each average delay error rate (%) was obtained using the following equation (1).

【0063】[0063]

【数1】 (Equation 1)

【0064】この平均遅延誤差率とは、元の回路を用い
たシミュレーションで得られる遅延時間の平均に対し
て、シミュレーションモデルを用いたシミュレーション
で得られる遅延時間にどの程度誤差があるかを表してい
る。例えば、元の回路での遅延時間が「100」である
ときにシミュレーションモデルでの遅延時間が「15
0」であった場合には、この平均遅延誤差率は50%と
なる。
The average delay error rate indicates the degree of error in the delay time obtained by the simulation using the simulation model with respect to the average of the delay times obtained by the simulation using the original circuit. I have. For example, when the delay time in the original circuit is “100”, the delay time in the simulation model is “15”.
If "0", this average delay error rate is 50%.

【0065】図8に示すグラフから明らかなように、本
発明によれば、平均遅延誤差率は最悪でも数%程度とさ
れ(従来手法では100%を超える)、遅延誤差を飛躍
的に縮小できることがわかる。
As is apparent from the graph shown in FIG. 8, according to the present invention, the average delay error rate is at most about several percent (more than 100% in the conventional method), and the delay error can be significantly reduced. I understand.

【0066】[0066]

【発明の効果】以上説明したように、本発明によれば、
最適化前の回路で部分経路の遅延を解析しデータベース
化しておき、論理的に最適化されたモデルに対してシミ
ュレーション時にイベンド伝播に伴った遅延の検索、加
算を行なうことにより、外部入力端子、外部出力端子の
組合せの間に存在する複数の信号伝播経路毎に、正しい
遅延時間を与えることが可能となり、遅延時間の高精度
なシミュレーションモデルを作成することができる。
As described above, according to the present invention,
By analyzing the delay of the partial path in the circuit before optimization and making it into a database, and searching for and adding the delay accompanying the event propagation during simulation to the logically optimized model, the external input terminal, A correct delay time can be given to each of a plurality of signal propagation paths existing between the combinations of the external output terminals, and a simulation model of the delay time with high accuracy can be created.

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

【図1】本発明の実施の形態に係る論理シミュレーショ
ン用モデルの作成方法のフローチャートである。
FIG. 1 is a flowchart of a method for creating a logic simulation model according to an embodiment of the present invention.

【図2】本発明の実施の形態における遅延情報作成方法
のフローチャートである。
FIG. 2 is a flowchart of a delay information creating method according to the embodiment of the present invention.

【図3】本発明の実施の形態における遅延情報作成方法
のフローチャートである。
FIG. 3 is a flowchart of a delay information creating method according to the embodiment of the present invention.

【図4】本発明の実施の形態を説明するための図であ
り、(A)は本発明に適用した回路図とその信号伝播経
路を表す図、(B)は遅延情報の構成を表す図、(C)
は論理シミュレーションモデルの図である。
4A and 4B are diagrams for explaining an embodiment of the present invention, in which FIG. 4A shows a circuit diagram applied to the present invention and a signal propagation path thereof, and FIG. 4B shows a configuration of delay information; , (C)
Is a diagram of a logic simulation model.

【図5】本発明の実施の形態により作成された論理シミ
ュレーションモデルを動作させた時のフローチャートで
ある。
FIG. 5 is a flowchart when the logic simulation model created according to the embodiment of the present invention is operated.

【図6】本発明の実施の形態を説明するための図であ
り、遅延データベースの構成の一例を示す図である。
FIG. 6 is a diagram for describing an embodiment of the present invention, and is a diagram illustrating an example of a configuration of a delay database.

【図7】本発明の実施の形態を説明するための図であ
り、遅延計算を表す図である。
FIG. 7 is a diagram for describing an embodiment of the present invention, and is a diagram illustrating delay calculation.

【図8】本発明の実施の形態と、従来技術との効果を比
較して示した図である。
FIG. 8 is a diagram comparing the effects of the embodiment of the present invention and the conventional technology.

【図9】従来の論理シミュレーションモデルの作成フロ
ーチャートである。
FIG. 9 is a flowchart for creating a conventional logic simulation model.

【図10】(A)従来の技術の説明に用いた回路図であ
る。 (B)(A)の回路から抽出される論理ブロックの図で
ある。 (C)従来の技術の最適化された論理表現の図である。
FIG. 10A is a circuit diagram used for explaining a conventional technique. (B) It is a figure of the logic block extracted from the circuit of (A). (C) is a diagram of an optimized logical expression of the prior art.

【図11】(A)図10(A)の回路の信号伝播経路を
表す図である。 (B)従来の技術の遅延情報を表す図である。 (C)従来の技術による論理シミュレーションモデルの
図である。
11A is a diagram illustrating a signal propagation path of the circuit in FIG. FIG. 2B is a diagram illustrating delay information according to the related art. (C) is a diagram of a logic simulation model according to a conventional technique.

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

101、1001 論理回路 102、1002 回路設計規則データベース 103、1003 論理ゲート 104、1004 論理合成手段 105、1005 ゲート論理の取りだしステップ 106 遅延情報作成手段 107 論理シミュレーションモデル 108 遅延データベース 109 検索表 110、1010 回路展開ステップ 111、1011 論理段数変更ステップ 112、1012 組合せ論理最適化ステップ 113 外部端子、順序素子抽出ステップ 114 経路分割ステップ 115 部分経路遅延時間解析ステップ 200 全外部出力端子処理終了判断ステップ 201 外部出力端子終点設定ステップ 202 順序素子追跡サブルーチン呼び出しステップ 210 入力方向追跡ステップ 211 到達節点始点設定ステップ 212 部分経路遅延時間算出ステップ 213 始点外部入力端子判断ステップ 214 全入力端子処理終了判断ステップ 215 入力端子終点設定ステップ 216 終点データ端子判断ステップ 217 順序素子追跡サブルーチン再帰呼び出しステッ
プ 301、302、303、304、305、306、1
101、1102、1103、1104、1105、1
106 回路構成ブロック 401、402、403、404、405、406、4
07、408、409、410 節点間の遅延情報 600 入力パタン変化検出処理 601 イベント登録処理 602 イベント取り出し処理 700 ハッシュ関数 701 ハッシュ値テーブル 702、703 遅延データリンク 704 遅延データ 705 遅延データの内訳 801、802 遅延経路 900 平均遅延誤差率の計算式 1006 遅延情報作成手段 1007 遅延データベース 1008 ハッシュ表 1013 基本ゲート、基本ブロックの遅延時間抽出ス
テップ 1014 外部端子間遅延計算ステップ 1201、1202、1203、1204、1205、
1206 抽出された部分回路 1210、1211、1212 組合せ部分回路の論理
式 1301、1302、1303、1304、1305、
1306 シミュレーションモデル構成ブロック
101, 1001 Logic circuit 102, 1002 Circuit design rule database 103, 1003 Logic gate 104, 1004 Logic synthesis means 105, 1005 Gate logic extraction step 106 Delay information creation means 107 Logic simulation model 108 Delay database 109 Search table 110, 1010 Circuit Expansion step 111, 1011 Number of logic stages change step 112, 1012 Combinational logic optimization step 113 External terminal / sequential element extraction step 114 Path division step 115 Partial path delay time analysis step 200 All external output terminal processing end determination step 201 External output terminal end point Setting step 202 sequential element tracking subroutine calling step 210 input direction tracking step 211 reaching node start point setting step 212 partial process Delay time calculation step 213 Start point external input terminal judgment step 214 All input terminal processing end judgment step 215 Input terminal end point setting step 216 End point data terminal judgment step 217 Ordered element tracking subroutine recursive call step 301, 302, 303, 304, 305, 306 , 1
101, 1102, 1103, 1104, 1105, 1
106 circuit configuration blocks 401, 402, 403, 404, 405, 406, 4
07, 408, 409, 410 Delay information between nodes 600 Input pattern change detection processing 601 Event registration processing 602 Event retrieval processing 700 Hash function 701 Hash value table 702, 703 Delay data link 704 Delay data 705 Breakdown of delay data 801, 802 Delay path 900 average delay error rate calculation formula 1006 delay information creating means 1007 delay database 1008 hash table 1013 basic gate, basic block delay time extraction step 1014 external terminal delay calculation step 1201, 1202, 1203, 1204, 1205,
1206 extracted partial circuits 1210, 1211, 1212 logical expressions 1301, 1302, 1303, 1304, 1305,
1306 Simulation model building block

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】検証済み論理回路情報に基づいて論理ブロ
ックの抽出を行い、前記論理ブロックと前記論理ブロッ
クとの接続関係によって表現される論理機能を最適化し
て前記論理回路に等価な論理表現を作成する論理合成手
段を有する論理シミュレーション用モデルの作成方法に
おいて、 論理回路中の順序素子と組合せ素子とを判別し、前記論
理回路情報から外部端子及び順序素子の端子を節点とし
た部分経路毎のタイミング情報を抽出し、このタイミン
グ情報に基づいて、前記論理回路の入力端子から出力端
子までの信号伝播時間を、前記論理回路中の信号伝播経
路に従って加算することにより算出する遅延情報作成手
段を備え、 前記遅延情報作成手段の出力を前記論理表現のタイミン
グ情報とすることを特徴とする論理シミュレーション用
モデルの作成方法。
A logic block is extracted based on verified logic circuit information, and a logic function expressed by a connection relationship between the logic block and the logic block is optimized to create a logic expression equivalent to the logic circuit. In the method for creating a logic simulation model having logic synthesis means for creating, a sequential element and a combination element in a logic circuit are determined, and an external terminal and a terminal of the sequential element are used as nodes for each partial path from the logic circuit information. Delay information generating means for extracting timing information and calculating a signal propagation time from an input terminal to an output terminal of the logic circuit based on the timing information by adding the signal propagation time according to a signal propagation path in the logic circuit; A logic simulation wherein an output of the delay information creating means is timing information of the logic expression. How to create a use model.
【請求項2】検証済み論理回路情報に基づいて論理ブロ
ックの抽出を行い、前記論理ブロックと前記論理ブロッ
クとの接続関係によって表現される論理機能を最適化し
て前記論理回路に等価な論理表現を作成する論理合成手
段により出力された論理表現モデルに対して、 (a)前記論理回路の素子の遅延情報及び接続情報を入
力して前記論理回路の外部端子と順序素子とを抽出する
工程と、 (b)外部端子と、順序素子の入力端子又は出力端子
と、を節点として、前記論理回路中の信号伝播経路を、
これら節点の間の部分経路に分割する工程と、 (c)部分経路の遅延時間を算出して該部分経路の遅延
情報を遅延データベースに格納する工程と、を含む遅延
情報作成手段を備え、 シミュレーションの際に、遅延時間を部分回路毎に付加
してなるものを論理シミュレーション用のモデルとした
ことを特徴とする論理シミュレーション用モデルの作成
方法。
2. A logic block is extracted based on verified logic circuit information, and a logic function expressed by a connection relationship between the logic block and the logic block is optimized to obtain a logic expression equivalent to the logic circuit. (A) inputting delay information and connection information of elements of the logic circuit and extracting external terminals and sequential elements of the logic circuit with respect to the logic expression model output by the created logic synthesis means; (B) With the external terminal and the input terminal or output terminal of the sequential element as nodes, a signal propagation path in the logic circuit
A simulation comprising: a step of dividing a sub-path between these nodes into sub-paths; and (c) a step of calculating a delay time of the sub-path and storing the delay information of the sub-path in a delay database. A method for creating a model for logic simulation, wherein a model obtained by adding a delay time to each partial circuit at that time is used as a model for logic simulation.
【請求項3】前記工程(c)において、前記論理回路の
外部端子と順序素子の端子の間の信号伝播経路の部分経
路の遅延時間を算出する際、 シミュレーション時に前記論理回路の外部入力端子から
のイベント入力を前記論理回路の外部出力端子まで伝播
しない部分経路については遅延時間を算出せず、 遅延時間を解析する必要のある部分経路を探索して該部
分経路の遅延時間のみを算出することを特徴とする請求
項2記載の論理シミュレーション用モデルの作成方法。
3. In the step (c), when calculating a delay time of a partial path of a signal propagation path between an external terminal of the logic circuit and a terminal of a sequential element, the delay time is calculated from an external input terminal of the logic circuit during a simulation. A delay time is not calculated for a partial path that does not propagate the event input to the external output terminal of the logic circuit, and only the delay time of the partial path for which the delay time needs to be analyzed is calculated. 3. The method for creating a logic simulation model according to claim 2, wherein:
【請求項4】前記遅延データベースに、前記論理回路の
外部端子、順序素子の端子で区切られた部分経路の遅延
時間を格納し、前記論理回路のシミュレーション実行時
に、前記外部入力端子から始まるイベントの伝播に伴っ
てイベントが通過した部分経路毎に遅延時間を前記遅延
データベースから取得し、遅延時間の加算演算をイベン
トが外部出力端子に達するまで繰り返すことを特徴とす
る請求項2記載の論理シミュレーション用モデルの作成
方法。
4. The delay database stores a delay time of a partial path delimited by an external terminal of the logic circuit and a terminal of a sequential element, and stores a delay time of an event starting from the external input terminal when executing a simulation of the logic circuit. 3. The logic simulation according to claim 2, wherein a delay time is obtained from the delay database for each partial path through which the event has passed along with the propagation, and the addition operation of the delay time is repeated until the event reaches the external output terminal. How to create a model.
【請求項5】前記遅延データベースにおける、部分経路
の遅延情報のアクセスの際に、前記部分経路の接続情報
に基づき生成された値をキーとして検索がなされること
を特徴とする請求項2記載の論理シミュレーション用モ
デルの作成方法。
5. The method according to claim 2, wherein when accessing the delay information of the partial route in the delay database, a search is performed using a value generated based on the connection information of the partial route as a key. How to create a logic simulation model.
JP8093276A 1996-03-22 1996-03-22 How to create a logic simulation model Expired - Fee Related JP2853649B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8093276A JP2853649B2 (en) 1996-03-22 1996-03-22 How to create a logic simulation model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8093276A JP2853649B2 (en) 1996-03-22 1996-03-22 How to create a logic simulation model

Publications (2)

Publication Number Publication Date
JPH09259172A JPH09259172A (en) 1997-10-03
JP2853649B2 true JP2853649B2 (en) 1999-02-03

Family

ID=14077922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8093276A Expired - Fee Related JP2853649B2 (en) 1996-03-22 1996-03-22 How to create a logic simulation model

Country Status (1)

Country Link
JP (1) JP2853649B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6557150B1 (en) 1997-08-20 2003-04-29 Hitachi, Ltd. Method of extracting timing characteristics of transistor circuits, storage medium storing timing characteristic library, LSI designing method, and gate extraction method
JP4540540B2 (en) * 2005-05-02 2010-09-08 ルネサスエレクトロニクス株式会社 Delay calculator

Also Published As

Publication number Publication date
JPH09259172A (en) 1997-10-03

Similar Documents

Publication Publication Date Title
JP3441645B2 (en) Verification Method of Combinational Circuit Using Filtering Approach
US7162706B2 (en) Method for analyzing and validating clock integration properties in circuit systems
US7065726B1 (en) System and method for guiding and optimizing formal verification for a circuit design
US20050091025A1 (en) Methods and systems for improved integrated circuit functional simulation
US6457159B1 (en) Functional timing analysis for characterization of virtual component blocks
JP3851357B2 (en) Timing characteristic extraction method for transistor circuit, storage medium storing timing characteristic library, LSI design method, and gate extraction method
US20040088662A1 (en) Timing path detailer
JP2853649B2 (en) How to create a logic simulation model
JP2007304699A (en) Circuit conjunctive normal form generation method, circuit conjunctive normal form generation device, hazard check method and hazard check device
Chen et al. A new framework for static timing analysis, incremental timing refinement, and timing simulation
JP2924882B1 (en) Method and apparatus for creating logic simulation model and recording medium
JP3080037B2 (en) How to create a logic simulation model
JP2845154B2 (en) How to create a logic simulation model
US7120829B2 (en) Failure propagation path estimate system
JP2980348B2 (en) Logic circuit synthesizer
CN116502578B (en) Construction method of netlist reduction time sequence model and static time sequence analysis method
JP3652220B2 (en) Logic circuit verification device, logic circuit verification method, and recording medium storing logic circuit verification program
Jain et al. Artificial Neural Network Based Post-CTS QoR Report Prediction
JP2000339359A (en) Method and device for logic simulation
JP2996153B2 (en) ASIC verification method
JP2785708B2 (en) Logic simulation method
JP2839574B2 (en) Matching method for logic circuits containing indefinite values
JP3191183B2 (en) Scan test control gate insertion method
JPH06243190A (en) Logic simulator
JPH0683896A (en) Design supporting device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981020

LAPS Cancellation because of no payment of annual fees