[go: up one dir, main page]

JPH1063693A - Method of calculating signal delay time of logic circuit and method of displaying delay time - Google Patents

Method of calculating signal delay time of logic circuit and method of displaying delay time

Info

Publication number
JPH1063693A
JPH1063693A JP8218280A JP21828096A JPH1063693A JP H1063693 A JPH1063693 A JP H1063693A JP 8218280 A JP8218280 A JP 8218280A JP 21828096 A JP21828096 A JP 21828096A JP H1063693 A JPH1063693 A JP H1063693A
Authority
JP
Japan
Prior art keywords
delay time
path
calculation
circuit
signal
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.)
Pending
Application number
JP8218280A
Other languages
Japanese (ja)
Inventor
Naoki Kato
直樹 加藤
Yoshio Miki
良雄 三木
Toru Hiyama
徹 檜山
Ichiro Kono
一郎 河野
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8218280A priority Critical patent/JPH1063693A/en
Publication of JPH1063693A publication Critical patent/JPH1063693A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【課題】 大規模な論理回路に対し、高速かつ高精度に
遅延時間の計算が可能な遅延時間計算方法を提供する。 【解決手段】 静的遅延計算処理により論理回路全体の
パスの遅延時間を得、更に、高精度の計算が要求される
パスについては、高精度計算対照パス条件ライブラリを
入力として、静的遅延計算により求めたパスの信号遅延
時間を参照し条件に合致するパスを選択する処理と、選
択されたパスに対して論理回路の接続情報を元に、選択
されたパス内の回路シミュレーションデータと回路シミ
ュレーションの入力信号(テストパタン)を生成する処
理を行う。 【効果】 回路全体に対する静的遅延計算と特に高精度
が必要なパスに対する回路シミュレーションを自動的に
実行でき、大規模な論理回路に対して遅延時間を自動的
に高精度かつ高速に計算できる。
(57) [Summary] [PROBLEMS] To provide a delay time calculation method capable of calculating a delay time with high speed and high accuracy for a large-scale logic circuit. SOLUTION: The delay time of the path of the entire logic circuit is obtained by a static delay calculation process. Further, for a path requiring high-precision calculation, a high-accuracy calculation control path condition library is input and the static delay calculation is performed. Selecting a path that satisfies the condition by referring to the signal delay time of the path obtained by the above, and, based on the connection information of the logic circuit for the selected path, circuit simulation data and circuit simulation in the selected path To generate an input signal (test pattern) of the input. [Effect] A static delay calculation for the entire circuit and a circuit simulation for a path requiring particularly high precision can be automatically executed, and the delay time can be automatically calculated with high precision and high speed for a large-scale logic circuit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、論理回路設計過程
において、製造を行う前に、設計データを元に、CAD
プログラムを用いて信号遅延時間を計算する方法に係
り、特に、大規模な論理回路に対して、高速、高精度に
信号遅延時間を計算するのに好適な論理回路の信号遅延
時間計算方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of designing a logic circuit based on design data based on design data before manufacturing.
The present invention relates to a method of calculating a signal delay time using a program, and more particularly to a method of calculating a signal delay time of a logic circuit suitable for calculating a signal delay time with high speed and high accuracy for a large-scale logic circuit.

【0002】[0002]

【従来の技術】同期式の論理回路では、全てのフリップ
フロップ間のパスの信号遅延時間が、設計基準制限値以
内に収まることが要求される。そのために、製造前に論
理回路の設計データを元にして、全てのパスの信号遅延
時間を計算し、設計基準値と比較する遅延検証が行われ
ている。また、近年の論理回路の高速化により、論理設
計、レイアウト設計工程においても、パスの遅延時間を
計算し、その遅延時間を設計基準値に収めるように、論
理、レイアウトを最適化することが行われる。以上のこ
とから、大規模、高速な論理回路の設計において、信号
遅延時間の計算は、高精度かつ高速であることが要求さ
れている。
2. Description of the Related Art In a synchronous logic circuit, the signal delay time of a path between all flip-flops is required to be within a design reference limit value. For this reason, before manufacturing, delay verification is performed in which signal delay times of all paths are calculated based on design data of a logic circuit and compared with a design reference value. In addition, due to the recent increase in the speed of logic circuits, in the logic design and layout design steps, it is necessary to calculate the delay time of a path and optimize the logic and layout so that the delay time is within a design reference value. Will be As described above, in designing a large-scale and high-speed logic circuit, it is required that the calculation of the signal delay time be performed with high accuracy and high speed.

【0003】論理回路の信号遅延時間を計算する方法と
して、以下の2種類の方法がある。 (1)回路シミュレーション:回路シミュレーション
は、論理回路に含まれるトランジスタ素子や、抵抗素
子、容量素子の関係を連立微分方程式で記述し、これを
数値シミュレーションで解くものである。回路シミュレ
ーションを用いれば、回路の任意の場所の任意の時間の
信号電位を得ることができるため、パスの始終点を信号
が伝わる時間すなわち信号遅延時間を求めることができ
る。一般的に、回路シミュレーションは、高精度の計算
が可能であるが、計算に要する時間が多大であるという
問題がある。また、回路シミュレーションを行うために
は、対象とする論理回路の接続データに加え、入力信号
波形(テストパターン)を必要とする。理回路に含まれ
る全パスを動作させるためには、膨大なテストパタンを
作成する必要が生じる。また、作成したテストパタンに
より、全てのパスが動作しているかを確認することは、
不可能に近い。
There are the following two methods for calculating the signal delay time of a logic circuit. (1) Circuit simulation: In circuit simulation, the relationship among transistor elements, resistance elements, and capacitance elements included in a logic circuit is described by simultaneous differential equations, and this is solved by numerical simulation. If a circuit simulation is used, a signal potential at an arbitrary place in the circuit at an arbitrary time can be obtained, so that a time at which a signal propagates at the start and end points of a path, that is, a signal delay time can be obtained. In general, a circuit simulation can perform high-precision calculations, but has a problem in that the time required for the calculations is long. Further, in order to perform a circuit simulation, an input signal waveform (test pattern) is required in addition to connection data of a target logic circuit. In order to operate all the paths included in the logical circuit, it is necessary to create a huge test pattern. Also, confirming that all paths are working by the created test pattern is
Near impossible.

【0004】(2)静的遅延計算:静的遅延計算では、
論理回路の設計データを入力として、論理回路中に存在
するパスを列挙し、その全パスについて、パス内の論理
ゲート(素子)の計算に必要な情報をライブラリから読
み込み、論理ゲート1段分の遅延時間計算しながら、パ
スに沿って累計することで、パスの遅延時間を計算す
る。この方法では、テストパターンを必要としない。
(2) Static delay calculation: In the static delay calculation,
With the design data of the logic circuit as an input, the paths existing in the logic circuit are enumerated, and for all the paths, the information necessary for calculating the logic gate (element) in the path is read from the library, and the information for one stage of the logic gate is read. The delay time of the path is calculated by adding up along the path while calculating the delay time. This method does not require a test pattern.

【0005】また、回路方程式を解くのではなく、論理
ゲートと配線の遅延時間を簡易的に計算する方法が採ら
れている。例えば、「第31回デザインオートメーショ
ン・コンファレンス(1994年)予稿集327頁から
332頁」では、1段分の遅延時間Tを次の式で求める
としている。
In addition, instead of solving a circuit equation, a method of simply calculating a delay time of a logic gate and a wiring has been adopted. For example, in the "31st Design Automation Conference (1994) Preliminary Proceedings, pp. 327 to 332", the delay time T for one stage is determined by the following equation.

【0006】 T = Tintrinsic + Tload + Twire + Tprev …………… (1) ここで、Tintrinsicは負荷によらない論理ゲ
ートの遅延時間、Tloadは負荷による論理ゲートの
遅延時間、Twireは配線の遅延時間、Tprevは
前段の波形なまりによる遅延時間を示している。Tin
trinsicは、論理ゲート毎に予め求められた定数
であり、Tloadは、論理ゲートの負荷となる配線や
次段の論理ゲートを等価的な1つの容量で近似し、その
容量の関数として求める。その関数は、論理ゲート毎に
予め定められており、Tintrinsicとともに静
的遅延計算ライブラリに保存されている。Twire
は、配線の抵抗と容量から求められる。Tprevは、
前段の論理ゲートと負荷の状態により決められる信号波
形の立ち上りおよび立ち下り時間等の関数として求めら
れ、その関数は、論理ゲート毎に予め定められ、静的遅
延計算ライブラリに保存されている。
T = Tintrinsic + Tload + Twire + Tprev (1) where Tintrinsic is the delay time of the logic gate regardless of the load, Tload is the delay time of the logic gate due to the load, and Twire is the delay of the wiring. Time and Tprev indicate a delay time due to the rounding of the waveform in the preceding stage. Tin
“Trinsic” is a constant obtained in advance for each logic gate, and “Tload” is obtained by approximating a wiring serving as a load of the logic gate or a logic gate of the next stage with one equivalent capacitance and as a function of the capacitance. The function is predetermined for each logic gate, and is stored in the static delay calculation library together with Tintrinsic. Twire
Is obtained from the resistance and capacitance of the wiring. Tprev is
It is obtained as a function such as the rise and fall times of the signal waveform determined by the state of the logic gate and the load at the preceding stage, and the function is determined in advance for each logic gate and stored in the static delay calculation library.

【0007】このように、静的遅延計算では、予め計算
に必要な定数や関数をライブラリとして作成しておき、
それを利用することで、複雑な微分方程式である回路方
程式を数値計算で解くという方法を用いないために、回
路シミュレーションと比較して、非常に高速な計算が可
能である。また、テストパタンなしに論理回路の全パス
についての遅延時間を計算可能であるために、大規模な
論理回路の設計における遅延時間計算として用いられて
いる。
As described above, in the static delay calculation, constants and functions necessary for the calculation are created in advance as a library,
By using it, a very high-speed calculation can be performed as compared with a circuit simulation because a method of solving a circuit equation, which is a complicated differential equation, by numerical calculation is not used. Further, since the delay time for all paths of the logic circuit can be calculated without a test pattern, it is used as a delay time calculation in designing a large-scale logic circuit.

【0008】しかし、計算精度の点では、回路シミュレ
ーションと比較すると劣る。例えば、上の方法で、Tl
oadを求める際に、配線と次段の論理ゲートを等価的
な1つの容量で近似する必要があるが、実際は配線の抵
抗の影響や論理ゲートの動作状況により負荷が変化する
ために、誤差が発生する。また、素子の種類によって
は、上式のように簡単にモデル化できないものがある。
However, calculation accuracy is inferior to circuit simulation. For example, in the above method, Tl
When calculating the load, it is necessary to approximate the wiring and the logic gate of the next stage with one equivalent capacitance. However, the load changes due to the effect of the resistance of the wiring and the operation state of the logic gate. Occur. Further, depending on the type of the element, there are some elements that cannot be easily modeled as in the above equation.

【0009】[0009]

【発明が解決しようとする課題】以上述べたように、論
理回路の遅延時間計算方法として、回路シミュレーショ
ンは、精度の高い計算が可能であるが非常に多くの計算
時間を必要とする。また、パスを動作させるためのテス
トパタンを用意する必要がある。そのために大規模な論
理回路の計算を行うためには、膨大な事前の準備と膨大
な計算時間を必要とするという問題があった。一方、静
的遅延計算では、高速な計算が可能であること、テスト
パタンなしに、全パスの遅延時間を計算可能であること
の長所がある反面、計算精度は回路シミュレーションに
劣るという問題があった。本発明ではこの問題を解決
し、大規模な論理回路に対しても、高速かつ高精度な遅
延時間の計算が可能な遅延時間計算方法を提供すること
を課題とする。
As described above, as a method of calculating a delay time of a logic circuit, a circuit simulation can perform a calculation with high accuracy, but requires a great deal of calculation time. Also, it is necessary to prepare a test pattern for operating the path. For this reason, there is a problem that a large amount of advance preparation and a large amount of calculation time are required to calculate a large-scale logic circuit. On the other hand, static delay calculation has the advantage that high-speed calculation is possible and that the delay time of all paths can be calculated without a test pattern, but the calculation accuracy is inferior to circuit simulation. Was. An object of the present invention is to solve this problem and to provide a delay time calculation method capable of calculating a delay time with high speed and high accuracy even for a large-scale logic circuit.

【0010】[0010]

【課題を解決するための手段】本発明の信号遅延時間計
算方法では、論理回路の設計データと論理回路を構成す
る素子の静的遅延計算ライブラリを入力して、論理回路
全体に対して静的遅延計算を行う。さらに、静的遅延計
算では、計算精度に問題があるパスや特に高精度な計算
を行うべきパスに対しては、回路シミュレーションを用
いることで、より高精度の遅延時間計算を行う。そのた
めに、高精度計算の対照となるパスの条件を記述した高
精度計算対照パス条件ライブラリを入力として、静的遅
延計算により求めたパスおよびパスの信号遅延時間を参
照し、条件に合致するパスを選択する処理を有する。
According to a signal delay time calculation method of the present invention, a design data of a logic circuit and a static delay calculation library of elements constituting the logic circuit are inputted, and a static delay calculation is performed for the entire logic circuit. Perform delay calculation. Further, in the static delay calculation, for a path having a problem in the calculation accuracy or a path for which a particularly high-precision calculation is to be performed, a more accurate delay time calculation is performed by using a circuit simulation. For this purpose, the path condition library that describes the conditions of the paths that are the targets of the high-precision calculations is input, and the paths that match the conditions are referenced by referring to the paths and the signal delay times obtained by the static delay calculation. Is selected.

【0011】また、選択されたパスに対して、自動的に
回路シミュレーションを実行するために以下の処理を有
する。(1)論理回路の接続情報を元に、選択された高
精度計算対照パス内の素子とその素子の負荷として、素
子の出力端子に接続する配線及びその配線に接続する素
子を抽出し、抽出された素子及び配線を部分回路として
記憶する処理、(2)部分回路に含まれる素子内部の回
路接続情報を元に、部分回路の回路シミュレーションデ
ータを生成する処理、(3)部分回路内のパスの始点ノ
ードに、予め設定されている基準立ち上り信号及び、基
準立ち下り信号を設定し、部分回路内の素子の入力端子
のうち、配線が接続しない端子にHIGHレベルまたは
LOWレベルに固定した電位を設定することで、回路シ
ミュレーションの入力信号(テストパタン)を生成する
処理である。
Further, the following processing is provided for automatically executing a circuit simulation for the selected path. (1) Based on the connection information of the logic circuit, the wiring connected to the output terminal of the element and the element connected to the wiring are extracted and extracted as the element in the selected high-accuracy calculation reference path and the load of the element. (2) processing for generating circuit simulation data of a partial circuit based on circuit connection information inside the element included in the partial circuit, (3) path in the partial circuit A reference rising signal and a reference falling signal that are set in advance are set at the start node of the sub-circuit, and among the input terminals of the elements in the partial circuit, the potential fixed to the HIGH level or the LOW level is applied to the terminal to which the wiring is not connected. This is a process of generating an input signal (test pattern) for circuit simulation by setting.

【0012】以上の処理で作成された回路シミュレーシ
ョンデータと入力信号を用いて回路シミュレーションを
実行し、高精度の遅延時間を算出する。この高精度の遅
延時間を以って、静的遅延計算処理の計算結果として記
憶されたパスとパスの信号遅延時間を更新することで、
論理回路全体についての遅延時間と、特に高精度の計算
が要求されるパスや、静的遅延計算で誤差が大きいパス
等についての高精度な遅延時間を自動的にかつ高速に計
算することが可能となる。
A circuit simulation is executed using the circuit simulation data and the input signal created by the above processing, and a highly accurate delay time is calculated. By updating the path and the signal delay time of the path stored as the calculation result of the static delay calculation processing with this highly accurate delay time,
Automatically and quickly calculates the delay time for the entire logic circuit, and the high-precision delay time for paths that require high-precision calculations and for paths with large errors in static delay calculations. Becomes

【0013】[0013]

【発明の実施の形態】本発明の実施の形態を図面を参照
して説明する。
Embodiments of the present invention will be described with reference to the drawings.

【0014】図1は、本発明の論理回路の信号遅延時間
計算方法を説明するためのフロー図である。静的遅延計
算処理101では、論理回路の設計データ110を入力
として、素子の静的遅延計算ライブラリ111を参照
し、論理回路内の全パスについて遅延計算を行い、結果
を、パス遅延情報ファイル112に出力する。また本処
理の過程で作成される実負荷回路を実負荷回路ファイル
120に記憶する。
FIG. 1 is a flowchart for explaining a signal delay time calculation method for a logic circuit according to the present invention. In the static delay calculation processing 101, the design data 110 of the logic circuit is input, the delay calculation is performed for all paths in the logic circuit with reference to the element static delay calculation library 111, and the result is stored in the path delay information file 112. Output to Further, the actual load circuit created in the process of this processing is stored in the actual load circuit file 120.

【0015】次に、高精度計算対照パス選択処理102
において、パス遅延情報ファイル112を入力として、
回路シミュレーションにより高精度な計算を行う必要が
あるパスの条件を記述した高精度計算対照パス条件ライ
ブラリ113を参照することにより、条件に合致するパ
スを選択し、高精度計算対照パスファイル114に記憶
する。
Next, a high-precision calculation comparison path selection process 102
In, the path delay information file 112 as an input,
The path matching the conditions is selected by referring to the high-precision calculation target path condition library 113 which describes the conditions of the paths that require high-precision calculation by circuit simulation, and stored in the high-precision calculation target path file 114. I do.

【0016】部分回路切り出し処理103では、論理回
路の設計データ110に記述されている接続情報から、
高精度計算対照パスファイル114内のパスを含んだ部
分回路を切り出し部分回路ファイル115に記憶する。
回路シミュレーションデータ生成処理104では、部分
回路ファイル115と、部分回路に含まれる素子内回路
情報116、実負荷回路ファイル120から、回路シミ
ュレーションデータ117を生成する。
In the partial circuit cutout process 103, the connection information described in the design data 110 of the logic circuit is
A partial circuit including a path in the high accuracy calculation comparison path file 114 is cut out and stored in the partial circuit file 115.
In the circuit simulation data generation processing 104, the circuit simulation data 117 is generated from the partial circuit file 115, the in-element circuit information 116 included in the partial circuit, and the actual load circuit file 120.

【0017】回路シミュレーション入力信号生成処理1
05では、パスの始点ノードに、予め設定されている基
準立ち上り信号及び基準立ち下り信号を設定し、前記部
分回路内の素子の入力端子のうちで、配線が接続しない
端子にHIGHレベルまたはLOWレベルに固定した電
位を設定し、回路シミュレーションデータ117内に書
き込む。
Circuit simulation input signal generation processing 1
In step 05, a preset reference rising signal and reference falling signal are set at the start node of the path, and among the input terminals of the elements in the partial circuit, the HIGH or LOW level is applied to the terminal to which the wiring is not connected. , And write it into the circuit simulation data 117.

【0018】回路シミュレーション処理106では回路
シミュレーションデータ生成処理104と回路シミュレ
ーション入力信号生成処理105により作成された回路
シミュレーションデータ117に対して、回路シミュレ
ーションを実行し、解析結果118を作成する。
In the circuit simulation processing 106, a circuit simulation is performed on the circuit simulation data 117 generated by the circuit simulation data generation processing 104 and the circuit simulation input signal generation processing 105, and an analysis result 118 is generated.

【0019】遅延時間算出処理107では、解析結果1
18からパスの遅延時間を算出し、高精度パス遅延情報
ファイル119に記憶する。遅延時間修正処理108で
は、高精度パス遅延情報ファイル119の遅延時間を以
って、静的遅延計算処理101の計算結果として記憶さ
れたパス遅延情報ファイル112の信号遅延時間を更新
する。遅延時間表示処理109では、最終的に得られた
信号遅延時間を表示装置に表示する。
In the delay time calculation process 107, the analysis result 1
Then, the path delay time is calculated from 18 and stored in the high-accuracy path delay information file 119. In the delay time correction processing 108, the signal delay time of the path delay information file 112 stored as the calculation result of the static delay calculation processing 101 is updated with the delay time of the high-accuracy path delay information file 119. In the delay time display processing 109, the finally obtained signal delay time is displayed on the display device.

【0020】次に、静的遅延計算処理101について、
図3の(1)に示した静的遅延計算処理のPAD図を用
いて説明する。静的遅延計算処理101は、図3の
(1)に示すように、実負荷抽出処理301、負荷容量
計算処理302、パス列挙処理303、パストレース遅
延計算処理304からなる。以上の処理を、図2に示す
論理回路の例を用いて説明する。
Next, regarding the static delay calculation processing 101,
This will be described with reference to the PAD diagram of the static delay calculation process shown in (1) of FIG. As shown in FIG. 3A, the static delay calculation process 101 includes an actual load extraction process 301, a load capacity calculation process 302, a path enumeration process 303, and a path trace delay calculation process 304. The above processing will be described using an example of a logic circuit shown in FIG.

【0021】図2は、論理回路の一部分を示しており、
始点であるフリップフロップG201にクロック信号が
入った時刻から、終点であるフリップフロップG202
の入力端子に信号が到達するまでの延時間を求めること
とする。このフリップフロップG201からG202の
区間内には、論理ゲート素子G211からG219が含
まれている。さらに、論理ゲート素子G213、G21
8、G219には、それぞれに、この区間に含まれない
論理ゲート素子G220、G221、G222が接続さ
れている。論理ゲート素子G220、G221、G22
2は、それぞれ、論理ゲートG213、G218、G2
19の負荷として遅延時間を増加させる影響がある。各
論理ゲート素子は、図2では、全てAND記号を用いて
示しているが、ANDに限定するものではなく便宜上の
表記である。図中の各素子内に示した英字は、各素子の
種類を表している。図2の論理回路では、A、B、C、
Dの4種類の素子が使用されている。また、図中のネッ
トN231からN240は、同電位の端子を接続関係を
示すものである。
FIG. 2 shows a part of the logic circuit.
From the time when the clock signal is input to the flip-flop G201 which is the start point, the flip-flop G202 which is the end point
Is determined until the signal arrives at the input terminal. The section from the flip-flops G201 to G202 includes the logic gate elements G211 to G219. Further, logic gate elements G213, G21
8 and G219 are connected to logic gate elements G220, G221 and G222 not included in this section, respectively. Logic gate elements G220, G221, G22
2 are logic gates G213, G218, G2, respectively.
The load of 19 has the effect of increasing the delay time. Although each logic gate element is shown in FIG. 2 using an AND symbol, the logic gate element is not limited to the AND and is described for convenience. The alphabetic characters shown in each element in the figure represent the type of each element. In the logic circuit of FIG. 2, A, B, C,
Four types of elements D are used. Further, nets N231 to N240 in the figure show the connection relation between terminals of the same potential.

【0022】図3に示した静的遅延計算処理では、ま
ず、図2の論理回路を入力として、実負荷抽出処理30
1を行う。実負荷抽出処理301では、図2の論理回路
の設計データが配線後の情報を含んでいる場合は、その
配線の長さに応じ抵抗および容量に変換する。もし、論
理回路の設計データが配置情報を含み配線情報を含まな
い場合は、各素子の配置場所を元に仮想的な配線長を求
めてから、抵抗および容量に変換する。また、論理回路
の設計データが配置配線情報を含まない場合は、ファン
アウト数を元に見積もる。配線の単位長さ当りの抵抗値
と容量値は、論理回路が実装される半導体装置や、回路
基板により異なる。この処理により作成したされた、抵
抗および容量はネットと対応づけて、実負荷回路ファイ
ル120に記憶する。
In the static delay calculation processing shown in FIG. 3, first, the logic circuit of FIG.
Do one. In the actual load extraction processing 301, when the design data of the logic circuit in FIG. 2 includes information after wiring, the logic circuit converts the data into resistance and capacitance according to the length of the wiring. If the design data of the logic circuit includes the placement information but does not include the wiring information, a virtual wiring length is obtained based on the arrangement location of each element, and then converted into resistance and capacitance. When the design data of the logic circuit does not include the placement and routing information, the estimation is performed based on the number of fan-outs. The resistance value and the capacitance value per unit length of the wiring differ depending on the semiconductor device on which the logic circuit is mounted and the circuit board. The resistance and capacitance created by this processing are stored in the actual load circuit file 120 in association with the net.

【0023】この結果、抵抗と容量を含んだ実負荷回路
に変換された図を図4の(1)に示す。次に負荷容量計
算処理301では、論理ゲートも前段の論理ゲートの負
荷として働くために容量として扱う。図2の区間内の論
理ゲートの出力端子に負荷として接続する配線の抵抗お
よび容量と論理ゲートの容量を、予め決められている規
則に従い、等価的な1つの容量に変換する。これは、各
ネットN231からN240に対応している。その結果
を図4の(2)に示す。最も簡単な規則として、全ての
容量の和を1つの等価的な容量とする方法がある。その
他に、抵抗の影響を考慮するために、抵抗値で補正を加
える方法等が知られている。
FIG. 4A shows the result of the conversion into an actual load circuit including a resistor and a capacitor. Next, in the load capacity calculation processing 301, the logic gate is also treated as a capacity because it acts as a load on the preceding logic gate. The resistance and capacitance of a wiring connected as a load to the output terminal of the logic gate in the section of FIG. 2 and the capacitance of the logic gate are converted into one equivalent capacitance according to a predetermined rule. This corresponds to each of the nets N231 to N240. The result is shown in FIG. As the simplest rule, there is a method in which the sum of all the capacitances is made into one equivalent capacitance. In addition, there is known a method of performing correction with a resistance value in order to consider the influence of the resistance.

【0024】次に、パス列挙処理303では、図2の論
理回路の始点フリップフロップからスタートして、終点
フリップフロップに至る全パスを求める。これは、各素
子をノードとし、ネットのソース端子とシンク端子をエ
ッジとしたグラフを考えれば、グラフ上の探索問題とし
て容易に行うことができる。その結果、図5に示すパス
の情報が得られる。図2の論理回路では、図5の(1)
に太い実線で示した3つのパス501〜503が存在す
る。図5の(2)は、パス遅延情報ファイルの内容を示
してある。
Next, in the path enumeration process 303, all paths starting from the start flip-flop of the logic circuit of FIG. 2 and reaching the end flip-flop are obtained. This can be easily performed as a search problem on the graph, considering a graph in which each element is a node and the source terminal and the sink terminal of the net are edges. As a result, path information shown in FIG. 5 is obtained. In the logic circuit of FIG. 2, (1) of FIG.
There are three paths 501 to 503 indicated by thick solid lines. FIG. 5B shows the contents of the path delay information file.

【0025】ここで、パスの情報は、パスを構成する素
子およびネットを並べた構造となっている。素子の名前
およびネットの名前は、図2に付した番号と一致させて
いる。また、図中のrize delayとfall
delayは、それぞれ、パスの始点に立ち上り波形を
与えた時と、立ち下り波形を与えた時の遅延時間を示し
ている。遅延時間はパストレース遅延計算処理304に
よって計算された後に書き込まれる。
Here, the path information has a structure in which elements and nets constituting the path are arranged. The names of the elements and the names of the nets correspond to the numbers given in FIG. In addition, rise delay and fall in the figure
“delay” indicates a delay time when a rising waveform is given to the start point of the path and a delay time when a falling waveform is given to the starting point of the path. The delay time is written after being calculated by the path trace delay calculation processing 304.

【0026】パストレース遅延計算処理304は、図5
に示すパスの情報に従い、始点から終点に至るまで、各
素子と配線の遅延時間を計算し、それらを累計すること
によりパスの遅延時間が求められる。ここで、素子の遅
延時間と配線の遅延時間を以下の式により求める。
The path trace delay calculation processing 304 is shown in FIG.
The delay time of each element and wiring is calculated from the start point to the end point in accordance with the path information shown in (1), and the path delay time is obtained by accumulating the calculated delay times. Here, the delay time of the element and the delay time of the wiring are obtained by the following equations.

【0027】 Tc = To + Td×Cl …………… (2) Tw = Σ(Ri×ΣCj) …………… (3) ここで、Tcは素子の遅延時間、Twは配線の遅延時間
を表す。Toは、素子の無負荷遅延時間で、Tdは単位
負荷容量当たりの素子の遅延時間の増加を示す。Cl
は、負荷容量計算処理301で求めた負荷容量である。
ToおよびTdは素子の静的遅延計算ライブラリ111
に記述されている。
Tc = To + Td × Cl (2) Tw = Σ (RiΣCj) (3) where Tc is a delay time of the element and Tw is a delay time of the wiring. Represents To is the no-load delay time of the device, and Td is the increase in the delay time of the device per unit load capacitance. Cl
Is the load capacity obtained in the load capacity calculation processing 301.
To and Td are static delay calculation libraries 111 for elements.
It is described in.

【0028】図6に静的遅延ライブラリの例を示す。図
6では、図2の論理回路で使用された4種類の素子の遅
延情報が格納されている例である。図6では、入出力端
子を対にして、立ち上り信号が入力された場合と立ち下
り信号が入力された場合にいて、無負荷遅延時間Toお
よび単位負荷容量当りの遅延時間Tdをそれぞれ格納し
ている。これらの遅延時間は、素子を設計した際に、予
め回路シミュレーションにより求めたものである。通
常、素子の静的遅延計算ライブラリ111は、無負荷遅
延時間Toおよび単位負荷容量当りの遅延時間Tdにつ
いて、最大、最小、平均の値を持つが、図6では、最大
遅延時間のみを記述している。
FIG. 6 shows an example of the static delay library. FIG. 6 shows an example in which delay information of four types of elements used in the logic circuit of FIG. 2 is stored. In FIG. 6, the input / output terminals are paired and the no-load delay time To and the delay time Td per unit load capacity are stored when a rising signal is input and when a falling signal is input. I have. These delay times are obtained in advance by circuit simulation when the element is designed. Normally, the static delay calculation library 111 of the element has maximum, minimum, and average values of the no-load delay time To and the delay time Td per unit load capacity, but FIG. 6 describes only the maximum delay time. ing.

【0029】また、(2)式および(3)式では、
(1)式で加えていた波形なまりの項は含まない簡単化
された計算式である。(3)式のRiは配線のi番目の
部分の抵抗値である。CjはRiから終点側に存在する
容量である。
In equations (2) and (3),
This is a simplified calculation expression that does not include the waveform rounding term added in Expression (1). Ri in equation (3) is the resistance value of the i-th portion of the wiring. Cj is a capacitance existing on the end point side from Ri.

【0030】パストレース遅延計算処理304では、パ
スの始点に立ち上り信号が入力された場合と立ち下り信
号が入力された場合のそれぞれについて計算を行い、図
5のパス遅延情報ファイルに書き込む。通常は、最大遅
延時間、最小遅延時間、平均遅延時間を求めるが、図5
では、最大遅延時間のみを示した。以上で、静的遅延計
算により、パス遅延情報ファイルが作成され、パスおよ
びパスの遅延時間情報が求まる。
In the path trace delay calculation processing 304, calculation is performed for each of a case where a rising signal is input and a case where a falling signal is input at the start point of a path, and the result is written to the path delay information file of FIG. Normally, the maximum delay time, the minimum delay time, and the average delay time are obtained.
Shows only the maximum delay time. As described above, the path delay information file is created by the static delay calculation, and the path and the path delay time information are obtained.

【0031】図5の例ではパスが異なっても同じ論理ゲ
ートの遅延時間が等しくなっている。例えば、パス50
1の素子G211は、パス502にも含まれているが、
立ち上り入力時の遅延時間は、両者ともに636pse
cとなっている。これは、既に述べたように、ここで用
いた計算方法が波形なまりの項は含まないために、パス
に関係なく、論理ゲートの遅延時間は負荷容量のみで決
るためである。そこで、計算の重複を避けるために、図
3の(2)に示す処理の流れで静的遅延計算を行うこと
ができる。パスの列挙処理303の前に、遅延時間計算
処理305で、各論理ゲートおよび配線の遅延時間を計
算しておき、パストレース時には、単にそれらをパスに
沿って加算するパストレース遅延加算処理306を行
う。この方法では、計算の重複がないため(1)の方法
より高速に計算できる。
In the example of FIG. 5, the delay time of the same logic gate is equal even if the path is different. For example, path 50
The element G211 of 1 is also included in the path 502,
The delay time at the time of rising input is 636 pse for both.
c. This is because, as described above, since the calculation method used here does not include the term of the rounded waveform, the delay time of the logic gate is determined only by the load capacitance regardless of the path. Therefore, in order to avoid the duplication of the calculation, the static delay calculation can be performed according to the processing flow shown in FIG. Before the path enumeration processing 303, the delay time calculation processing 305 calculates the delay time of each logic gate and wiring, and at the time of path tracing, a path trace delay addition processing 306 that simply adds them along the path. Do. In this method, calculation can be performed at a higher speed than the method (1) because there is no duplication of calculation.

【0032】次に、高精度計算対照パス選択処理102
について詳しく説明する。高精度計算対照パス選択処理
102にでは、パス遅延情報ファイル112を入力とし
て、回路シミュレーションにより高精度な計算を行う必
要があるパスの条件を記述した高精度計算対照パス条件
ライブラリ113を参照することにより、条件に合致す
るパスを選択する。
Next, a high-accuracy calculation comparison path selection process 102
Will be described in detail. In the high-precision calculation target path selection processing 102, the path delay information file 112 is used as an input, and a high-precision calculation target path condition library 113 that describes conditions of a path that requires high-precision calculation by circuit simulation is referred to. Selects a path that meets the conditions.

【0033】図7に高精度計算対照パス条件ライブラリ
113の例を示す。条件701は、パスの遅延時間Tp
athが基準値Trefの100%以上のパスを選択す
るという条件である。条件702は、素子種Eを少なく
とも1つ含み、パスの遅延時間Tpathが基準値Tr
efの95%以上のパスを選択するという条件である。
条件703は、回路種Cの遅延時間Tcを1.1倍し
て、その他の素子と配線の遅延時間を加えて再計算した
遅延時間が基準値Trefの100%以上のパスを選択
するという条件である。条件704は、信号名SIG0
01であるネットを含み、パスの遅延時間Tpathが
基準値Trefの80%以上のパスを選択するという条
件である。条件701は、遅延時間が基準値以上のパス
つまり設計違反パスについて、高精度に再計算すること
を目的とする条件である。条件702,703は、静的
遅延計算では計算誤差が大きいことが予想される素子の
種類を指定して、その素子を含むパスを高精度に再計算
することを目的とする条件である。
FIG. 7 shows an example of the high accuracy calculation reference path condition library 113. Condition 701 is the path delay time Tp
The condition is that a path whose ath is 100% or more of the reference value Tref is selected. The condition 702 includes at least one element type E, and the delay time Tpath of the path is equal to the reference value Tr.
The condition is that a path that is 95% or more of ef is selected.
The condition 703 is that the delay time Tc of the circuit type C is multiplied by 1.1, the delay time of the other elements and wiring is added, and the recalculated delay time is 100% or more of the reference value Tref. It is. Condition 704 is a signal name SIG0
The condition is that a path including a net of 01 and having a delay time Tpath of 80% or more of the reference value Tref is selected. The condition 701 is a condition for recalculating a path with a delay time equal to or more than a reference value, that is, a design violation path, with high accuracy. The conditions 702 and 703 are conditions for specifying a type of an element which is expected to have a large calculation error in the static delay calculation, and recalculating a path including the element with high accuracy.

【0034】例えば、図8に示すパストランジスタを使
用した論理ゲート素子の例では、一般的に、静的遅延計
算では誤差が大きい。
For example, in the example of the logic gate element using the pass transistor shown in FIG. 8, an error is generally large in the static delay calculation.

【0035】図8の(1)は、セレクタ回路、(2)
は、ExclusiveOR回路である。それぞれ、パ
ストランジスタ801から804とインバータ806,
807で構成されている。パストランジスタを使用する
とトランジスタ数が少なく論理ゲートを構成することが
可能であるが、パストランジスタのゲート電位により等
価的な容量値が変化するために、前段の素子の遅延時間
が変化する。そのため、静的遅延計算では誤差が発生す
ることになる。条件704は論理回路を構成する上で重
要な信号について、高精度な遅延時間計算を行うことを
目的とした条件である。
FIG. 8A shows a selector circuit, and FIG.
Is an ExclusiveOR circuit. Pass transistors 801 to 804 and inverters 806 and 806, respectively.
807. When a pass transistor is used, the number of transistors can be reduced and a logic gate can be formed. However, since the equivalent capacitance value changes depending on the gate potential of the pass transistor, the delay time of the preceding element changes. Therefore, an error occurs in the static delay calculation. The condition 704 is a condition for performing a highly accurate delay time calculation for a signal important in forming a logic circuit.

【0036】以上の条件は全て、静的遅延計算により求
められたパス遅延情報ファイル112に格納されている
情報を参照することで調べることができるのは、図5よ
り明らかである。例えば、図5の区間の基準遅延時間を
4400psecとする。図5の(2)に示したよう
に、パス501の立ち下り入力時の遅延時間は4256
psecであり基準値未満となっている。しかし、条件
703に従って、パス501の立ち下り入力時の遅延時
間を再計算すると遅延時間Tpath’は、4445p
secになり、高精度計算対照パスとなる。次に、選択
されたパスを高精度計算対照パスファイル114に記憶
する。高精度計算対照パスファイル114は、パス遅延
情報ファイル112と同一の形式のファイルである。ま
た、新たなファイルを作成せずに、パス遅延情報ファイ
ル112に、高精度計算を行うことを示すフラグを付け
ることでパス遅延情報ファイル112を利用することも
可能である。
It is clear from FIG. 5 that all of the above conditions can be checked by referring to the information stored in the path delay information file 112 obtained by the static delay calculation. For example, the reference delay time of the section in FIG. 5 is set to 4400 psec. As shown in (2) of FIG. 5, the delay time at the time of the falling input of the path 501 is 4256.
psec, which is less than the reference value. However, when the delay time at the time of the falling input of the path 501 is recalculated according to the condition 703, the delay time Tpath ′ becomes 4445p
sec, and the path becomes a high-precision calculation control path. Next, the selected path is stored in the high accuracy calculation reference path file 114. The high accuracy calculation target path file 114 is a file of the same format as the path delay information file 112. In addition, the path delay information file 112 can be used by attaching a flag indicating that high-precision calculation is performed to the path delay information file 112 without creating a new file.

【0037】図5で示したパス遅延情報ファイルに、高
精度計算フラグを付けることで高精度計算対照パスファ
イルとした例を図9に示す。部分回路切り出し処理10
3では、論理回路の設計データ110に記述されている
接続情報から、高精度計算対照パスファイル114内の
パスを含んだ部分回路を切り出し、部分回路ファイル1
15に記憶する。
FIG. 9 shows an example in which a high-precision calculation flag is added to the path delay information file shown in FIG. Partial circuit cutout processing 10
In 3, a partial circuit including a path in the high-precision calculation target path file 114 is cut out from the connection information described in the design data 110 of the logic circuit, and the partial circuit file 1 is extracted.
15 is stored.

【0038】図9の高精度計算対照パスファイルの高精
度計算フラグが付いているパスの部分回路を図10に示
す。図10の回路は、図2の論理回路の一部分であるた
めに、図10の素子およびネットに、図2と同一の番号
を付してある。部分回路に図2の論理回路全ての素子と
ネットを含めて回路シミュレーションを行うことができ
るが、回路規模の増加に伴い処理時間が増大するという
問題がある。また、注目するパスのみを動作させるテス
トパタンを作成することは困難であるという問題があ
る。ここでは、注目するパスの遅延時間を精度良く計算
するために必要最小限の回路を部分回路と定義し、これ
を切り出す処理について述べる。
FIG. 10 shows a partial circuit of a path with a high-precision calculation flag in the high-precision calculation control path file shown in FIG. Since the circuit in FIG. 10 is a part of the logic circuit in FIG. 2, the elements and nets in FIG. 10 are given the same numbers as in FIG. Although a circuit simulation can be performed on the partial circuit including all the elements and nets of the logic circuit of FIG. 2, there is a problem that the processing time increases as the circuit scale increases. There is also a problem that it is difficult to create a test pattern that operates only the path of interest. Here, the minimum necessary circuit for accurately calculating the delay time of the path of interest is defined as a partial circuit, and a process of extracting the partial circuit will be described.

【0039】部分回路切り出し処理103では、まず、
パス情報に含まれる素子を列挙する。図10では、素子
201、211〜215,217、202となる。次に
列挙した素子の出力端子に接続する配線を全体の論理回
路から抽出する。素子の出力端子に接続する配線は、パ
ス情報の中に記述されているために、容易に抽出するこ
とができる。図10では、ネット231〜235,23
7,240である。さらに、パスに含まれる素子の負荷
として加えるべき素子を抽出する。負荷素子は、パスに
含まれるネットに接続する素子であり、図10では、2
16,218,220である。このようにして、注目す
るパスを含めて回路シミュレーションにより高精度な遅
延時間を計算する部分回路が切り出された。これを、部
分回路ファイル115に記憶する。次の、回路シミュレ
ーションデータ生成処理104では、部分回路ファイル
115と、部分回路に含まれる素子内回路情報116と
を合成することにより、回路シミュレーションデータ1
17を生成する。ここで、部分回路内の配線は、実負荷
回路ファイル120を用いて、抵抗と容量に変換する。
In the partial circuit extracting process 103, first,
List the elements included in the path information. In FIG. 10, the elements are 201, 211 to 215, 217, and 202. Next, wirings connected to the output terminals of the listed elements are extracted from the entire logic circuit. The wiring connected to the output terminal of the element can be easily extracted because it is described in the path information. In FIG. 10, the nets 231 to 235, 23
7,240. Further, an element to be added as a load of the element included in the path is extracted. The load element is an element connected to a net included in the path.
16, 218, 220. In this manner, a partial circuit for calculating a highly accurate delay time by circuit simulation including the path of interest is cut out. This is stored in the partial circuit file 115. In the next circuit simulation data generation processing 104, the circuit simulation data 1 is synthesized by synthesizing the partial circuit file 115 and the in-element circuit information 116 included in the partial circuit.
17 is generated. Here, the wiring in the partial circuit is converted into a resistance and a capacitance using the actual load circuit file 120.

【0040】図11に素子内回路情報の例を示す。図1
1は、CMOSで構成されるインバータの例である。入
力端子P1101に入力された信号は、反転し出力端子
P1102から出力される。回路中には、PMOSトラ
ンジスタT1101、NMOSトランジスタT1102
の他に、寄生素子として、抵抗R1121〜R112
4、容量C1131〜C1135が含まれる。図11で
は、回路図を示したが、実際は、素子内回路情報116
内部ではトランジスタ、抵抗、容量等の回路要素の接続
関係と値を記述したファイルである。
FIG. 11 shows an example of in-element circuit information. FIG.
Reference numeral 1 is an example of an inverter formed of CMOS. The signal input to input terminal P1101 is inverted and output from output terminal P1102. In the circuit, a PMOS transistor T1101, an NMOS transistor T1102
In addition, as parasitic elements, resistors R1121 to R112
4. Capacitors C1131 to C1135 are included. FIG. 11 shows a circuit diagram.
Internally, it is a file that describes the connection relations and values of circuit elements such as transistors, resistors, and capacitors.

【0041】回路シミュレーションデータ生成処理10
4の結果、生成される回路記述例の一部を図12に示
す。図12の記述では、1文で1つの回路要素を示し、
素子名、素子が接続するノード、素子値を順に羅列する
文法規則をとっている。
Circuit simulation data generation processing 10
4 shows a part of a circuit description example generated as a result of FIG. In the description of FIG. 12, one circuit element is indicated by one sentence,
A grammar rule is adopted in which element names, nodes to which the elements are connected, and element values are listed in order.

【0042】回路シミュレーション入力信号生成処理1
05の流れを図13に示したPAD図を用いて説明す
る。回路シミュレーション入力信号生成処理105は、
大きく2つの処理、すなわち、パス始点入力信号決定処
理1301、電位浮動端子固定処理1302から成る。
パス始点入力信号決定処理1301では、パスの始点ノ
ードに、予め設定されている基準立ち上り信号及び基準
立ち下り信号の波形を設定する。図10の部分回路の例
では、始点となる素子がフリップロップG201なの
で、入力端子をHIGHまたはLOWに固定し、クロッ
ク端子に予め設定されている基準となるクロック信号を
与える。次に、電位浮動端子固定処理1302では、部
分回路内の素子について、配線が接続しない入力端子つ
まり電位浮動端子があるかを調べる。回路シミュレーシ
ョンを実行するためには、電位浮動端子にHIGHレベ
ルまたはLOWレベルに固定した電位を設定する必要が
ある。
Circuit simulation input signal generation processing 1
The flow of operation 05 will be described with reference to the PAD diagram shown in FIG. The circuit simulation input signal generation processing 105 includes:
The processing mainly includes two processes, namely, a path start point input signal determination process 1301 and a potential floating terminal fixing process 1302.
In the path start point input signal determination processing 1301, the waveforms of a preset reference rising signal and reference falling signal are set to the path start node. In the example of the partial circuit in FIG. 10, since the element serving as the starting point is the flip-flop G201, the input terminal is fixed to HIGH or LOW, and a preset clock signal is supplied to the clock terminal. Next, in the potential floating terminal fixing process 1302, it is checked whether or not there is an input terminal to which a wiring is not connected, that is, a potential floating terminal, for an element in the partial circuit. In order to execute a circuit simulation, it is necessary to set a potential fixed to a HIGH level or a LOW level to a potential floating terminal.

【0043】図10の部分回路では、素子種CであるG
212,G213,G215および素子種Dの素子であ
るG217が、電位浮動端子を持っている。これら電位
浮動端子の電位は、パスの始点に入力信号が与えられた
時に、パスに沿って終点まで順に信号変化が伝わるよう
に決定する必要がある。この条件が図13に示した条件
1に相当する。条件1を満たす電位の固定を図14の例
で説明する。
In the partial circuit shown in FIG.
212, G213, G215, and G217, which is an element of element type D, have a potential floating terminal. The potentials of these potential floating terminals need to be determined so that when an input signal is applied to the start point of a path, a signal change is sequentially transmitted to the end point along the path. This condition corresponds to condition 1 shown in FIG. The fixing of the potential satisfying the condition 1 will be described with reference to the example of FIG.

【0044】図14の(1)は、ANDゲートとその真
理値表である。ここで、I2端子が、電位浮動端子とす
る。I2端子をLOWレベルに固定した場合(図の真理
値表では1と3の場合)には、I1端子の電位レベル
が、LOW、HIGHにかかわらず、出力端子O1の電
位はLOWレベルとなっている。I2端子をHIGHレ
ベルに固定した場合(図の真理値表では2と4の場合)
には、I1端子の電位レベルがLOWの場合(図の真理
値表では2の場合)は、出力端子O1の電位はLOWレ
ベルとなり、I1端子の電位レベルがHIGHの場合
(図の真理値表では4の場合)は、出力端子の電位はH
IGHレベルとなる。つまり、I2端子をLOWレベル
に固定した場合には、I1端子の信号変化が出力端子O
1に伝播せず、I2端子をHIGHレベルに固定した場
合には、I1端子の信号変化が出力端子O1に伝播する
ことになる。このことから、I2端子をHIGHレベル
に固定する必要があることがわかる。
FIG. 14A shows an AND gate and its truth table. Here, the I2 terminal is a potential floating terminal. When the I2 terminal is fixed at the LOW level (the case of 1 and 3 in the truth table in the figure), the potential of the output terminal O1 becomes the LOW level regardless of whether the potential level of the I1 terminal is LOW or HIGH. I have. When the I2 terminal is fixed at the HIGH level (2 and 4 in the truth table in the figure)
In the case where the potential level of the I1 terminal is LOW (in the case of 2 in the truth table in the figure), the potential of the output terminal O1 is at the LOW level, and when the potential level of the I1 terminal is HIGH (the truth table in the figure). In the case of 4), the potential of the output terminal is H
It becomes IGH level. In other words, when the terminal I2 is fixed at the LOW level, the signal change at the terminal I1 causes the output terminal O to change.
If the I2 terminal is fixed at the HIGH level without propagating to 1, the signal change at the I1 terminal propagates to the output terminal O1. This indicates that the I2 terminal needs to be fixed at the HIGH level.

【0045】図14の(2)は、ORゲートとその真理
値表である。ここで、I2端子が、電位浮動端子とす
る。I2端子をLOWレベルに固定した場合(図の真理
値表では1と3の場合)には、I1端子の電位レベルが
LOWの場合(図の真理値表では1の場合)は、出力端
子O1の電位はLOWレベルとなり、I1端子の電位レ
ベルがHIGHの場合(図の真理値表では3の場合)
は、出力端子の電位はHIGHレベルとなる。I2端子
をHIGHレベルに固定した場合(図の真理値表では2
と4の場合)には、I1端子の電位レベルが、LOW、
HIGHにかかわらず、出力端子O1の電位はHIGH
レベルとなっている。つまり、I2端子をHIGHレベ
ルに固定した場合には、I1端子の信号変化が出力端子
O1に伝播せず、I2端子をLOWレベルに固定した場
合には、I1端子の信号変化が出力端子O1に伝播する
ことになる。このことから、I2端子をLOWレベルに
固定する必要があることがわかる。
FIG. 14B shows an OR gate and its truth table. Here, the I2 terminal is a potential floating terminal. When the I2 terminal is fixed at the LOW level (1 and 3 in the truth table in the figure), when the potential level of the I1 terminal is LOW (1 in the truth table in the figure), the output terminal O1 is used. Becomes LOW level, and the potential level of the I1 terminal is HIGH (in the case of 3 in the truth table in the figure).
Means that the potential of the output terminal is at the HIGH level. When the I2 terminal is fixed at a HIGH level (2 in the truth table in the figure).
And 4), the potential level of the I1 terminal is LOW,
Regardless of HIGH, the potential of the output terminal O1 is HIGH
Level. That is, when the I2 terminal is fixed at the HIGH level, the signal change at the I1 terminal does not propagate to the output terminal O1, and when the I2 terminal is fixed at the LOW level, the signal change at the I1 terminal is applied to the output terminal O1. Will be propagated. This indicates that the I2 terminal needs to be fixed at the LOW level.

【0046】次に、条件1を満たす電位の固定が複数あ
る場合について説明する。図15のに示す、内部に3個
のANDゲート1501〜1503、2個のインバータ
1504,1505、1個のORゲート1506から成
る素子を考える。入力端子I2とI3を電位浮動端子と
する。図15の素子の真理値表によれば、I1端子の信
号変化を出力に伝えるためには、I2、I3どちらもH
IGHレベルの場合と、I2、I3どちらもLOWレベ
ルの場合があることがわかる。この場合は、条件1だけ
では決定することができず、条件2で決定しなくてはな
らない。条件2では素子の遅延時間を考慮して決定す
る。これは、条件を変えて、注目する素子単独で、回路
シミュレーションを実行することで、どの条件で、遅延
時間が最大または最小になるかを調べることにより、決
定できる。
Next, the case where there are a plurality of fixed potentials satisfying the condition 1 will be described. An element shown in FIG. 15 and including three AND gates 1501 to 1503, two inverters 1504 and 1505, and one OR gate 1506 is considered. The input terminals I2 and I3 are potential floating terminals. According to the truth table of the device of FIG. 15, in order to transmit a signal change of the terminal I1 to the output, both I2 and I3 are set to H level.
It can be seen that there is a case where the signal is at the IGH level and a case where both I2 and I3 are at the LOW level. In this case, it cannot be determined only by the condition 1, but must be determined by the condition 2. Condition 2 is determined in consideration of the delay time of the element. This can be determined by changing the conditions and executing a circuit simulation with the element of interest alone, and examining under which conditions the delay time is maximized or minimized.

【0047】また、素子の静的遅延ライブラリに、遅延
時間情報に加えて、注目する入力端子以外の端子の電位
条件を併記しておくことができる。その例を図16に示
す。これによれば、I2、I3どちらもLOWレベルに
固定した方が遅延時間が大きいことがわかる。そこで、
最大遅延を求める場合は、I2、I3どちらもLOWレ
ベルに固定し、最小遅延を求める場合には、HIGHレ
ベルに固定する。
Further, in addition to the delay time information, potential conditions of terminals other than the input terminal of interest can be described in the static delay library of the element. An example is shown in FIG. According to this, it is understood that the delay time is longer when both I2 and I3 are fixed at the LOW level. Therefore,
To determine the maximum delay, both I2 and I3 are fixed at the LOW level, and to determine the minimum delay, the I2 and I3 are fixed at the HIGH level.

【0048】次に、これより複雑な例について説明す
る。図15の例では、I2,I3の電位の固定は2通り
選択できたが、その両方の場合共に、I1に立ち上り信
号が入力されると、O1には立ち上り信号が出力され、
I1に立ち下り信号が入力されると、O1には立ち下り
信号が出力される。このように、I1−O1間の信号極
性が他の入力端子の電位に依存しない場合は、上の方法
で電位を決定できる。しかし、図17に示したExcl
usiveORゲートの場合は、I2の電位によりI1
とO1の信号極性が変化する。I2を電位浮動端子と考
える。真理値表からわかるように、I2の電位がLOW
レベルでもHIGHレベルでもI1の信号変化が出力端
子O1に伝播する。しかし、I2をLOWレベルに固定
した場合、I1の入力信号がLOWレベルの時は、O1
はLOWレベルとなるが、I2をHIGHレベルに固定
した場合は、I1の入力信号がLOWレベルの時に、O
1がHIGHレベルとなり、I1−O1間の極性が異な
っている。この場合、図15の素子のような素子単独の
遅延値のみの比較では、パスの遅延値の大小関係がわか
らない。これを図18に示したExclusiveOR
ゲートを使用した簡単なパスで説明する。
Next, a more complicated example will be described. In the example of FIG. 15, two types of fixing of the potentials of I2 and I3 can be selected. In both cases, when a rising signal is input to I1, a rising signal is output to O1,
When a falling signal is input to I1, a falling signal is output to O1. As described above, when the signal polarity between I1 and O1 does not depend on the potential of another input terminal, the potential can be determined by the above method. However, the Excl shown in FIG.
In the case of a useOR gate, I1 is determined by the potential of I2.
And the signal polarity of O1 changes. Consider I2 as a potential floating terminal. As can be seen from the truth table, the potential of I2 is LOW.
The signal change of I1 propagates to the output terminal O1 regardless of the level or the HIGH level. However, when I2 is fixed at the LOW level, when the input signal of I1 is at the LOW level, O1
Becomes LOW level, but when I2 is fixed to HIGH level, when I1 input signal is LOW level,
1 becomes HIGH level, and the polarity between I1 and O1 is different. In this case, a comparison of only the delay values of the elements alone, such as the elements in FIG. 15, does not reveal the magnitude relation of the path delay values. This is shown in ExclusiveOR shown in FIG.
A simple path using a gate will be described.

【0049】図18は、インバータG1801,G18
03とExclusiveORゲート1802の3素子
から成るパスとその遅延時間を示してある。Exclu
siveORゲート1802の入力端子I2が電位浮動
端子とすると、I2の電位がHIGHレベルかLOWか
により、また、始点の入力信号が立ち上りか立ち下りか
によって、図18に示すように、4通りの信号変化があ
り、それぞれの遅延時間は異なる。尚、波形なまりを考
慮しない場合は、全条件で、同一ネットの配線遅延は等
しくなるので、図18では配線遅延は省略してある。E
xclusiveORゲート1802の遅延時間のみに
着目すると、項番4のI2をLOWレベルに固定し、始
点の入力を立ち下りにした時が最大の遅延時間になる。
しかし、パスに沿って、各素子の遅延時間を加算する
と、項番2のケース、つまり、I2をHIGHレベルに
固定し、始点の入力を立ち上りにした時が最大の遅延時
間となる。
FIG. 18 shows inverters G1801 and G18.
3 shows a path composed of three elements, that is, an exclusive OR gate 1802 and a delay time thereof. Exclu
Assuming that the input terminal I2 of the five-OR gate 1802 is a potential floating terminal, as shown in FIG. 18, there are four types of signals depending on whether the potential of I2 is HIGH or LOW, and whether the input signal at the starting point rises or falls. There is a change and each delay time is different. When the waveform rounding is not considered, the wiring delay of the same net is equal under all conditions, and therefore the wiring delay is omitted in FIG. E
Focusing only on the delay time of the xplusOR gate 1802, the maximum delay time is obtained when the item No. 4 I2 is fixed at the LOW level and the input at the start point falls.
However, when the delay times of the respective elements are added along the path, the maximum delay time is obtained in the case of item No. 2, that is, when I2 is fixed at the HIGH level and the input at the start point rises.

【0050】このように、最大(最小)遅延時間を求め
るためには、パスの全ゲートの信号変化を考慮して、電
位浮動端子の固定電位を決める必要がある。これは、静
的遅延計算処理101を行った結果、パス遅延情報ファ
イル112に遅延情報と合わせて各素子の極性を記述
し、電位浮動端子固定処理においてパス遅延情報ファイ
ル112を参照することで、電位浮動端子の電位レベル
を決定することができる。
As described above, in order to obtain the maximum (minimum) delay time, it is necessary to determine the fixed potential of the potential floating terminal in consideration of the signal change of all the gates in the path. This is because, as a result of performing the static delay calculation processing 101, the polarity of each element is described in the path delay information file 112 together with the delay information, and the path delay information file 112 is referred to in the potential floating terminal fixing processing. The potential level of the potential floating terminal can be determined.

【0051】以上の処理で得られた回路シミュレーショ
ン入力信号を回路シミュレーションデータ117に書き
込み、回路シミュレーション処理106の準備が完了す
る。回路シミュレーション処理106では回路シミュレ
ーションデータ生成処理104と回路シミュレーション
入力信号生成処理105により作成された回路シミュレ
ーションデータ117に対して、回路シミュレーション
を実行し、解析結果118を作成する。
The circuit simulation input signal obtained by the above processing is written into the circuit simulation data 117, and the preparation for the circuit simulation processing 106 is completed. In the circuit simulation processing 106, a circuit simulation is executed on the circuit simulation data 117 generated by the circuit simulation data generation processing 104 and the circuit simulation input signal generation processing 105, and an analysis result 118 is generated.

【0052】回路シミュレーションの処理については、
公知の技術が多くあるために、ここでは説明を省略す
る。回路シミュレーションの解析結果の形態は、様々な
形で出力可能であるが、その一例として、回路の各ノー
ドの電位を時間毎に出力した形式を図19に示す。ここ
で、電位を出力すべきノードは、パス内の素子の入力端
子ノードと出力端子ノードのみである。遅延時間算出処
理107では、解析結果118から素子および配線の遅
延時間を求める。通常、遅延時間は、入出力電位が論理
振幅の50%になる時間差と定義するのが一般的であ
る。
Regarding the circuit simulation processing,
Since there are many well-known techniques, the description is omitted here. The form of the analysis result of the circuit simulation can be output in various forms. As an example, FIG. 19 shows a form in which the potential of each node of the circuit is output every time. Here, the potential output nodes are only the input terminal nodes and the output terminal nodes of the elements in the path. In the delay time calculation processing 107, the delay time of the element and the wiring is obtained from the analysis result 118. Usually, the delay time is generally defined as a time difference at which the input / output potential becomes 50% of the logic amplitude.

【0053】図19の形態の解析結果の場合は、それぞ
れのノードの時間毎の電位から、論理振幅の50%に最
も近い時刻を2点求め、それらを線形補完することで、
論理振幅の50%時刻を求めることができる。パス全体
の遅延時間を求めるためには、始終点の電位のみがあれ
ばよいが、遅延時間修正処理108で、静的遅延計算処
理101の計算である図5に示したようなパス遅延情報
ファイル112の信号遅延時間を更新するために、素子
の入出力ノードの時間毎の電位から素子の遅延時間を、
素子の出力ノードと次段の素子の入力ノードの時間毎の
電位から配線遅延時間を求める。その結果を、高精度パ
ス遅延情報ファイル119に記憶する。遅延時間修正処
理108では、高精度パス遅延情報ファイル119の遅
延時間を以って、パス遅延情報ファイル112の信号遅
延時間を更新する。この時に、回路シミュレーションで
計算したパスについては、回路シミュレーションで計算
したことを示す識別情報をパス遅延情報に付加する。以
上に、より論理回路全体の遅延時間は静的遅延計算によ
り求め、特別に精度が要求される部分や静的遅延計算で
誤差が大きい素子を含むパスについては、回路シミュレ
ーションにより高精度な遅延計算を行うことができた。
In the case of the analysis result in the form of FIG. 19, two points closest to 50% of the logic amplitude are obtained from the potential of each node at each time, and the two points are linearly complemented.
The time of 50% of the logic amplitude can be obtained. In order to obtain the delay time of the entire path, only the potential at the start and end points is required. However, in the delay time correction processing 108, the path delay information file as shown in FIG. In order to update the signal delay time of 112, the delay time of the element is calculated from the potential at each time of the input / output node of the element.
The wiring delay time is obtained from the potential of the output node of the element and the potential of the input node of the next-stage element every time. The result is stored in the high-accuracy path delay information file 119. In the delay time correction processing 108, the signal delay time of the path delay information file 112 is updated with the delay time of the high-accuracy path delay information file 119. At this time, for a path calculated by the circuit simulation, identification information indicating that the path has been calculated by the circuit simulation is added to the path delay information. As described above, the delay time of the entire logic circuit is obtained by static delay calculation, and for parts that require special accuracy and paths that include elements with large errors in static delay calculation, highly accurate delay calculation is performed by circuit simulation. Was able to do.

【0054】最後に、遅延時間表示処理109では、最
終的に得られた信号遅延時間を論理回路図またはレイア
ウト図と共に表示装置に表示する。この時に、回路シミ
ュレーションで計算したことを示す識別情報を認識した
パスについては、静的遅延計算による遅延時間と表示形
態を変えて表示する。図20は図2の論理回路について
遅延計算を行った結果を表示した図であり、図5のパス
501のみを回路シミュレーションにより高精度な遅延
計算を行なった場合の表示である。(1)は、論理回路
図の表示形態を変えて表示したもので、描画する線の太
さを変えている。(2)は表示する遅延時間の表示形態
を変えた例であり、遅延時間値を枠を付けて表示してい
る。(1)(2)とも、配線の上に表示した数字が配線
遅延時間、素子の上に表示した数字が素子の遅延時間の
計算値を意味している。この他に、色を変えて表示する
等で表示形態を変えることにより、設計者は回路シミュ
レーションにより高精度な遅延計算を行なった部分を容
易に認識できる。
Finally, in the delay time display processing 109, the finally obtained signal delay time is displayed on a display device together with a logic circuit diagram or a layout diagram. At this time, the path that has recognized the identification information indicating that the calculation has been performed by the circuit simulation is displayed in a manner different from the delay time obtained by the static delay calculation and the display mode. FIG. 20 is a diagram showing a result of delay calculation performed on the logic circuit of FIG. 2, showing a case where only the path 501 of FIG. 5 is subjected to high-precision delay calculation by circuit simulation. (1) is a display in which the display form of the logic circuit diagram is changed, and the thickness of a line to be drawn is changed. (2) is an example in which the display format of the displayed delay time is changed, and the delay time value is displayed with a frame. In both (1) and (2), the numbers displayed on the wires indicate the wiring delay times, and the numbers displayed on the elements indicate the calculated values of the delay times of the elements. In addition, by changing the display mode by changing the color and displaying, the designer can easily recognize the portion where the delay calculation has been performed with high accuracy by circuit simulation.

【0055】[0055]

【発明の効果】以上説明したように、本発明の信号遅延
時間計算方法によれば、論理回路の設計データと論理回
路を構成する素子の静的遅延計算ライブラリを入力し
て、論理回路全体に対して静的遅延計算を行い、静的遅
延計算では、計算精度に問題があるパスや特に高精度な
計算を行うべきパスに対しては、回路シミュレーション
を用いることで、より高精度の遅延時間計算を行うこと
ができる。
As described above, according to the signal delay time calculation method of the present invention, the design data of the logic circuit and the static delay calculation library of the elements constituting the logic circuit are input to the entire logic circuit. The static delay calculation is performed on the path. In the static delay calculation, a path with a problem in the calculation accuracy or a path in which a particularly high-precision calculation is to be performed is performed by using a circuit simulation to obtain a more accurate delay time. Calculations can be made.

【0056】高精度な計算を行うべきパスは高精度計算
の対照となるパスの条件を記述した高精度計算対照パス
条件ライブラリを入力することで、静的遅延計算により
求めたパスおよびパスの信号遅延時間を参照し、条件に
合致するパスを自動的に選択するために、人手によりパ
スを選択する必要が無く網羅的に列挙することが可能で
ある。これにより、処理時間を多く必要とする回路シミ
ュレーションで計算すべきパスを、必要最小限にかつ網
羅的に選択することができ、計算時間の増加を抑制でき
る。
A path to be subjected to high-precision calculation is input to a high-precision calculation control path condition library describing conditions of a path to be subjected to high-precision calculation, thereby obtaining a path and a signal of the path obtained by static delay calculation. Since the path matching the condition is automatically selected by referring to the delay time, the path can be comprehensively listed without having to manually select the path. As a result, a path to be calculated in a circuit simulation requiring a long processing time can be selected in a minimum necessary and exhaustively, and an increase in the calculation time can be suppressed.

【0057】また、選択されたパスに対しては、論理回
路の接続情報を元に、選択されたパスを回路シミュレー
ションで計算するために必要十分な部分回路を切り出
し、部分回路の回路シミュレーションデータを自動的に
作成することが可能である。
For the selected path, a necessary and sufficient partial circuit for calculating the selected path by circuit simulation is cut out based on the connection information of the logic circuit, and the circuit simulation data of the partial circuit is extracted. It can be created automatically.

【0058】さらに、回路シミュレーションの入力信号
(テストパタン)を生成する処理を備えるために人手に
よりテストパタンを作る必要が無い。以上の処理で作成
された回路シミュレーションデータと入力信号を用いて
回路シミュレーションを実行し、高精度の遅延時間を算
出する。この高精度の遅延時間を以って、静的遅延計算
処理の計算結果として記憶されたパスとパスの信号遅延
時間を更新することで、論理回路全体についての遅延時
間と、特に高精度の計算が要求されるパスや、静的遅延
計算で誤差が大きいパス等についての高精度な遅延時間
を自動的にかつ高速に計算することが可能となる。
Further, since a process for generating an input signal (test pattern) for circuit simulation is provided, there is no need to manually create a test pattern. A circuit simulation is executed using the circuit simulation data and the input signal created by the above processing, and a highly accurate delay time is calculated. By updating the path and the signal delay time of the path stored as the calculation result of the static delay calculation processing with the high-precision delay time, the delay time of the entire logic circuit and particularly the high-precision calculation It is possible to automatically and quickly calculate a high-accuracy delay time for a path that requires the above-mentioned method, a path having a large error in the static delay calculation, and the like.

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

【図1】本発明の実施形態を示す処理フロー図である。FIG. 1 is a processing flowchart showing an embodiment of the present invention.

【図2】遅延時間計算対象である論理回路の例である。FIG. 2 is an example of a logic circuit whose delay time is to be calculated.

【図3】静的遅延時間計算の処理のPAD図である。FIG. 3 is a PAD diagram of a static delay time calculation process.

【図4】抵抗と容量を含む実負荷回路図と負荷を容量で
近似した回路の図である。
FIG. 4 is a diagram of an actual load circuit including a resistor and a capacitor, and a diagram of a circuit in which a load is approximated by a capacitor.

【図5】論理回路のパスと、パスの遅延時間情報を表す
図である。
FIG. 5 is a diagram illustrating paths of a logic circuit and path delay time information.

【図6】素子の静的遅延計算ライブラリの一例を示す図
である。
FIG. 6 is a diagram illustrating an example of a static delay calculation library of an element.

【図7】高精度計算対照パス条件ライブラリの一例を示
す図である。
FIG. 7 is a diagram showing an example of a high-precision calculation control path condition library.

【図8】静的遅延計算で誤差が大きい論理ゲート素子の
例を示す図である
FIG. 8 is a diagram illustrating an example of a logic gate element having a large error in a static delay calculation.

【図9】高精度計算を行うパスの情報を付加した、パス
と、パスの遅延時間情報を表す図である。
FIG. 9 is a diagram illustrating a path to which information of a path for which high-precision calculation is performed is added, and path delay time information;

【図10】回路シミュレーションを行うために切り出さ
れた部分回路の例を示す図である。
FIG. 10 is a diagram showing an example of a partial circuit cut out for performing a circuit simulation.

【図11】素子内の回路情報の例を示す図である。FIG. 11 is a diagram showing an example of circuit information in an element.

【図12】回路シミュレーションデータの記述の一部を
示す図である。
FIG. 12 is a diagram showing a part of a description of circuit simulation data.

【図13】回路シミュレーション入力信号生成処理の説
明図である。
FIG. 13 is an explanatory diagram of a circuit simulation input signal generation process.

【図14】電位浮動端子の固定電位が一意に決定できる
論理ゲートの例の図である。
FIG. 14 is a diagram illustrating an example of a logic gate capable of uniquely determining a fixed potential of a potential floating terminal.

【図15】電位浮動端子の固定電位が一意に決定できな
い論理ゲートの例の図である。
FIG. 15 is a diagram illustrating an example of a logic gate in which a fixed potential of a potential floating terminal cannot be uniquely determined.

【図16】電位浮動端子の固定電位を付加した静的遅延
計算ライブラリの一例を示す図である。
FIG. 16 is a diagram illustrating an example of a static delay calculation library to which a fixed potential of a potential floating terminal is added.

【図17】電位浮動端子の固定電位が一意に決定できな
い論理ゲートの例の図である。
FIG. 17 is a diagram illustrating an example of a logic gate in which the fixed potential of the potential floating terminal cannot be uniquely determined.

【図18】電位浮動端子の固定電位により信号極性が変
化する論理ゲートの例の図である。
FIG. 18 is a diagram illustrating an example of a logic gate whose signal polarity changes according to a fixed potential of a potential floating terminal.

【図19】回路シミュレーションの解析結果の一例であ
る。
FIG. 19 is an example of an analysis result of a circuit simulation.

【図20】遅延計算を行った結果を表示した図である。FIG. 20 is a diagram showing a result of performing a delay calculation.

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

G201〜G202,G1801〜G1803…論理ゲ
ート素子、 N231〜240…ネット、 501〜503…パス、 I1〜I3,P1101,P1102,S1,S2…入
力端子、 O1…出力端子、 R1121〜R1124…抵抗、 C1131〜1135…容量、 T1111…PMOSトランジスタ、 T1112…NMOSトランジスタ。
G201 to G202, G1801 to G1803 ... Logic gate element, N231 to 240 ... Net, 501 to 503 ... Path, I1 to I3, P1101, P1102, S1, S2 ... Input terminal, O1 ... Output terminal, R1121 to R1124 ... Resistance, C1131 to 1135: Capacitance, T1111: PMOS transistor, T1112: NMOS transistor.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 河野 一郎 東京都国分寺市東恋ケ窪一丁目280番地 株式会社日立製作所中央研究所内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Ichiro Kono 1-280 Higashi Koigakubo, Kokubunji-shi, Tokyo Inside the Central Research Laboratory, Hitachi, Ltd.

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】論理回路の設計データを入力として、演算
処理装置、記憶装置、表示装置および入出力装置を有す
る計算機システムを用いて、信号遅延時間を自動的に計
算する信号遅延時間計算方法において、 論理回路を構成する素子の静的遅延計算ライブラリを入
力して、論理回路全体に対して静的遅延計算を行い、計
算結果である論理回路中のパスと該パスの信号遅延時間
を記憶装置に記憶する静的遅延計算処理と、 高精度計算の対照となるパスの条件を記述した高精度計
算対照パス条件ライブラリを入力として、上記静的遅延
計算結果から上記条件に合致するパスを選択する高精度
計算対照パス選択処理と、 論理回路の接続情報を元に、前記選択された高精度計算
対照パス内の素子および該素子の出力端子に接続する配
線及び該配線に接続する素子を抽出し、抽出された素子
及び配線を部分回路として記憶する部分回路切り出し処
理と、 前記部分回路の接続情報と、前記部分回路に含まれる素
子内部の回路接続情報を元に、前記部分回路の回路シミ
ュレーションデータを生成する回路シミュレーションデ
ータ生成処理と、 前記部分回路内の前記パスの始点ノードに、予め設定さ
れている基準立ち上り信号及び基準立ち下り信号を設定
し、前記部分回路内の素子の入力端子のうちで、配線が
接続しない端子にHIGHレベルまたはLOWレベルに
固定した電位を設定する回路シミュレーション入力信号
生成処理と、 前記回路シミュレーションデータ生成処理により作成さ
れた回路シミュレーションデータに対して、前記回路シ
ミュレーション入力信号生成処理により作成された入力
信号を用いて回路シミュレーションを実行し、解析結果
を記憶する回路シミュレーション処理と、 前記回路シミュレーション処理により得られた解析結果
から前記パスの遅延時間を算出する遅延時間算出処理
と、 前記遅延時間算出処理により算出された高精度の遅延時
間を以って、前記静的遅延計算処理の計算結果として記
憶されたパスと該パスの信号遅延時間を更新する遅延時
間修正処理と、および最終的に得られた信号遅延時間を
表示装置に表示する遅延時間表示処理とを有する論理回
路の信号遅延時間計算方法。
1. A signal delay time calculating method for automatically calculating a signal delay time by using a computer system having an arithmetic processing unit, a storage unit, a display unit, and an input / output unit with design data of a logic circuit as an input. A static delay calculation library for elements constituting a logic circuit is input, a static delay calculation is performed for the entire logic circuit, and a path in the logic circuit as a calculation result and a signal delay time of the path are stored in a storage device. A path matching the above condition is selected from the above static delay calculation result, with the input of the high-accuracy calculation target path condition library describing the conditions of the path to be compared with the high-precision calculation, which is stored in the static delay calculation processing. Based on the high-precision calculation target path selection processing and the connection information of the logic circuit, the wiring in the selected high-precision calculation target path and the wiring connected to the output terminal of the element and the wiring A partial circuit cutout process of extracting a connected element and storing the extracted element and wiring as a partial circuit, based on connection information of the partial circuit and circuit connection information inside the element included in the partial circuit, A circuit simulation data generation process for generating circuit simulation data of the partial circuit; and setting a preset reference rising signal and a reference falling signal at a start point node of the path in the partial circuit. A circuit simulation input signal generation process for setting a potential fixed to a HIGH level or a LOW level to a terminal to which no wiring is connected among input terminals of the element, and a circuit simulation data generated by the circuit simulation data generation process. Created by the circuit simulation input signal generation process. A circuit simulation process of executing a circuit simulation using an input signal and storing an analysis result; a delay time calculation process of calculating a delay time of the path from an analysis result obtained by the circuit simulation process; and the delay time calculation With the high-precision delay time calculated by the processing, the path stored as the calculation result of the static delay calculation processing and the delay time correction processing for updating the signal delay time of the path, and finally obtaining A delay time display process of displaying the obtained signal delay time on a display device.
【請求項2】上記論理回路の設計データは配線情報を含
み、該静的遅延計算処理において、該論理回路が実装さ
れる半導体装置または回路基板の物理的特性をもとに、
前記配線情報を抵抗及び容量に変換し、遅延時間を計算
する請求項1記載の信号遅延時間計算方法。
2. The logic circuit design data includes wiring information, and in the static delay calculation processing, based on physical characteristics of a semiconductor device or a circuit board on which the logic circuit is mounted.
2. The signal delay time calculation method according to claim 1, wherein the wiring information is converted into a resistance and a capacitance to calculate a delay time.
【請求項3】上記論理回路の設計データは、配線情報を
含まず、上記静的遅延計算処理において、仮想的な配線
長を見積もり、該論理回路が実装される半導体装置また
は回路基板の物理的特性をもとに、前記仮想的な配線長
を抵抗及び容量に変換し、遅延時間を計算する請求項1
記載の信号遅延時間計算方法。
3. The design data of the logic circuit does not include wiring information. In the static delay calculation process, a virtual wiring length is estimated, and the physical data of a semiconductor device or a circuit board on which the logic circuit is mounted is estimated. 2. The delay time is calculated by converting the virtual wiring length into a resistance and a capacitance based on the characteristic.
The described signal delay time calculation method.
【請求項4】上記高精度計算対照パス条件ライブラリ
に、パスの遅延時間は、設計対照である論理回路のサイ
クルタイムから決められる基準値に対する予め設定した
一定の比率以上であるという条件が記載される請求項1
記載の信号遅延時間計算方法。
4. A condition that the delay time of a path is equal to or more than a predetermined ratio with respect to a reference value determined from a cycle time of a logic circuit to be designed is described in the high-precision calculation target path condition library. Claim 1
The described signal delay time calculation method.
【請求項5】上記高精度計算対照パス条件ライブラリ
に、パスに含まれる素子の種類を指定した条件を含んで
いる請求項1記載の信号遅延時間計算方法。
5. The signal delay time calculation method according to claim 1, wherein said high-precision calculation control path condition library includes a condition specifying a type of an element included in the path.
【請求項6】上記高精度計算対照パス条件ライブラリ
に、パスに含まれる信号名を指定した条件が記載される
請求項1記載の信号遅延時間計算方法。
6. The signal delay time calculating method according to claim 1, wherein a condition specifying a signal name included in the path is described in the high-precision calculation control path condition library.
【請求項7】高精度計算対照パス選択処理において、上
記高精度計算対照パス条件ライブラリに記述される条件
に合致するパスに、上記静的遅延計算処理により記憶さ
れた遅延時間を上記論理回路とともに表示装置に表示
し、設計者が該表示装置を参照し、入力装置を用いてパ
スを指定する処理により選択されるパスを加え、以降の
処理を行う請求項1記載の信号遅延時間計算方法。
7. In the high-precision calculation target path selection processing, the delay time stored by the static delay calculation processing is added to the path matching the condition described in the high-precision calculation target path condition library together with the logic circuit. The signal delay time calculation method according to claim 1, wherein a signal is displayed on a display device, a designer refers to the display device, adds a path selected by a process of designating a path using an input device, and performs subsequent processing.
【請求項8】上記回路シミュレーション入力信号生成処
理における、入力端子の固定した電位は、前記素子の配
線が接続している入力端子に入力される信号レベルが変
化した際に、出力端子の信号レベルに変化が生じる条件
を満たす固定した電位である請求項1記載の信号遅延時
間計算方法。
8. A fixed potential of an input terminal in the circuit simulation input signal generation processing, wherein a signal level of an output terminal changes when a signal level input to an input terminal connected to a wiring of the element changes. 2. The signal delay time calculation method according to claim 1, wherein the potential is a fixed potential that satisfies a condition under which the change occurs.
【請求項9】上記回路シミュレーション入力信号生成処
理における、入力端子の固定した電位は、前記素子の配
線が接続している入力端子に入力される信号レベルが変
化した際に、出力端子の信号レベルに変化が生じる条件
を満たす電位が一意に決定されない場合は、遅延時間が
最大または最小となる固定した電位である請求項1記載
の信号遅延時間計算方法。
9. A fixed potential of an input terminal in the circuit simulation input signal generation processing, wherein a signal level of an output terminal changes when a signal level input to an input terminal connected to a wiring of the element changes. 2. The signal delay time calculation method according to claim 1, wherein when a potential satisfying a condition that causes a change in the delay time is not uniquely determined, the signal is a fixed potential at which the delay time becomes maximum or minimum.
【請求項10】上記回路シミュレーション入力信号生成
処理における、入力端子の固定した電位を予め各素子の
入力端子毎に求め、素子の静的遅延計算ライブラリに記
述しておき、該ライブラリを参照して、入力端子の固定
した電位を決定する請求項1記載の信号遅延時間計算方
法。
10. In the circuit simulation input signal generation processing, a fixed potential of an input terminal is previously obtained for each input terminal of each element, and described in a static delay calculation library of the element, and the library is referred to. 2. The signal delay time calculation method according to claim 1, wherein the fixed potential of the input terminal is determined.
【請求項11】上記回路シミュレーション入力信号生成
処理において、パスの始点ノードに与える信号および入
力端子の固定した電位は、静的遅延計算処理の結果にお
ける該パスの最大遅延または最小遅延となる場合の信号
変化と同様に各素子が信号変化をするようなパスの始点
ノードに与える信号および入力端子の固定した電位であ
る請求項1記載の信号遅延時間計算方法。
11. In the circuit simulation input signal generation processing, the signal applied to the start node of the path and the fixed potential of the input terminal are the maximum delay or the minimum delay of the path in the result of the static delay calculation processing. 2. The signal delay time calculation method according to claim 1, wherein a signal applied to the start node of the path and a fixed potential of the input terminal are such that each element changes the signal in the same manner as the signal change.
【請求項12】上記回路シミュレーション処理により高
精度な計算をしたパスは、計算結果として記憶するパス
の遅延情報に、高精度計算を行ったことを認識できる識
別情報を付加したものである請求項1記載の信号遅延時
間計算方法。
12. A path for which a high-precision calculation has been performed by the circuit simulation processing is obtained by adding identification information for recognizing that a high-precision calculation has been performed to delay information of a path stored as a calculation result. 2. The signal delay time calculation method according to 1.
【請求項13】上記遅延時間表示処理において、パスの
遅延時間を上記論理回路図または該論理回路のレイアウ
ト図と合わせて表示し、パスの遅延情報に付加された上
記高精度計算を行ったことを認識できる識別情報によ
り、上記静的遅延計算処理により遅延時間を計算したパ
スと、上記回路シミュレーション処理により高精度に計
算したパスの表示形態を変えて表示する請求項1記載の
信号遅延時間計算方法。
13. In the delay time display processing, a path delay time is displayed together with the logic circuit diagram or the layout diagram of the logic circuit, and the high-precision calculation added to the path delay information is performed. 2. The signal delay time calculation according to claim 1, wherein a display form of the path for which the delay time is calculated by the static delay calculation processing and a display form of the path calculated with high accuracy by the circuit simulation processing are displayed differently by the identification information capable of recognizing the delay time. Method.
【請求項14】論理回路の設計データと該論理回路の部
分毎に複数の異なった遅延時間計算方法を以って計算さ
れた該論理回路の遅延時間情報と、該遅延時間情報を計
算した計算方法を認識できる識別情報を合わせて入力
し、表示装置に遅延時間を表示する方法であって、 上記論理回路の回路図または上記論理回路のレイアウト
図と合わせて遅延時間を表示し、前記遅延情報に付加さ
れた前記識別情報により、部分回路毎に用いられた計算
方法を認識し、計算方法毎に論理回路図またはレイアウ
ト図または遅延時間の表示形態を変えて表示する遅延時
間の表示方法。
14. The logic circuit design data, the delay time information of the logic circuit calculated by a plurality of different delay time calculation methods for each part of the logic circuit, and the calculation which calculates the delay time information. A method of inputting together identification information capable of recognizing a method, and displaying a delay time on a display device, wherein the delay time is displayed together with a circuit diagram of the logic circuit or a layout diagram of the logic circuit, and the delay information is displayed. A delay time display method for recognizing a calculation method used for each partial circuit based on the identification information added to the sub-circuit, and changing and displaying a logic circuit diagram, a layout diagram, or a delay time display form for each calculation method.
JP8218280A 1996-08-20 1996-08-20 Method of calculating signal delay time of logic circuit and method of displaying delay time Pending JPH1063693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8218280A JPH1063693A (en) 1996-08-20 1996-08-20 Method of calculating signal delay time of logic circuit and method of displaying delay time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8218280A JPH1063693A (en) 1996-08-20 1996-08-20 Method of calculating signal delay time of logic circuit and method of displaying delay time

Publications (1)

Publication Number Publication Date
JPH1063693A true JPH1063693A (en) 1998-03-06

Family

ID=16717386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8218280A Pending JPH1063693A (en) 1996-08-20 1996-08-20 Method of calculating signal delay time of logic circuit and method of displaying delay time

Country Status (1)

Country Link
JP (1) JPH1063693A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008097130A (en) * 2006-10-06 2008-04-24 Fujitsu Ltd Timing analysis method and apparatus
US8307312B2 (en) 2007-08-16 2012-11-06 Fujitsu Limited Simulation method of logic circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008097130A (en) * 2006-10-06 2008-04-24 Fujitsu Ltd Timing analysis method and apparatus
US8000951B2 (en) 2006-10-06 2011-08-16 Fujitsu Limited Timing analysis method and apparatus for enhancing accuracy of timing analysis and improving work efficiency thereof
US8307312B2 (en) 2007-08-16 2012-11-06 Fujitsu Limited Simulation method of logic circuit

Similar Documents

Publication Publication Date Title
US8661383B1 (en) VLSI black-box verification
US6564365B1 (en) Method of simultaneously displaying schematic and timing data
US20070101302A1 (en) Mixed signal circuit simulator
JP3153403B2 (en) Device for calculating delay time of semiconductor integrated circuit
US8438530B2 (en) Connection navigation in electronic design automation
JP5265151B2 (en) Method and apparatus for dynamic simulation at gate level
US20040025136A1 (en) Method for designing a custom ASIC library
KR20010023096A (en) Method of extracting timing characteristics of transistor circuits, storage medium storing timing characteristic library, lsi designing method, and gate extraction method
US10430535B2 (en) Verification support program medium, verification support method, and information processing device for verification of a circuit
US20050251776A1 (en) Integrated circuit design system
US6223333B1 (en) Pattern matching method, timing analysis method and timing analysis device
US6668356B2 (en) Method for designing circuits with sections having different supply voltages
US6532576B1 (en) Cell interconnect delay library for integrated circuit design
US8074198B2 (en) Apparatus and method for circuit layout using longest path and shortest path search elements
JPH1063693A (en) Method of calculating signal delay time of logic circuit and method of displaying delay time
US10540463B1 (en) Placement of delay circuits for avoiding hold violations
US8555228B2 (en) Tool for glitch removal
US20180203952A1 (en) Non-transitory computer-readable recording medium recording detour wiring check program, detour wiring check method, and information processing apparatus
US20130205271A1 (en) Macro timing analysis device, macro boundary path timing analysis method and macro boundary path timing analysis program
JP3862882B2 (en) Circuit data reduction method and circuit simulation method
US8756545B2 (en) Delay time calculating apparatus and method
JP4985211B2 (en) Logic circuit simulation
JPH09305649A (en) Logical simulation device
Nakura et al. The Overall Design Procedure
JP2000215220A (en) Logical cell characterizing device