Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2666989B2 - Logic circuit delay time analyzer - Google Patents
[go: Go Back, main page]

JP2666989B2 - Logic circuit delay time analyzer - Google Patents

Logic circuit delay time analyzer

Info

Publication number
JP2666989B2
JP2666989B2 JP63285814A JP28581488A JP2666989B2 JP 2666989 B2 JP2666989 B2 JP 2666989B2 JP 63285814 A JP63285814 A JP 63285814A JP 28581488 A JP28581488 A JP 28581488A JP 2666989 B2 JP2666989 B2 JP 2666989B2
Authority
JP
Japan
Prior art keywords
delay time
logic
input
logic circuit
path
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
JP63285814A
Other languages
Japanese (ja)
Other versions
JPH02132387A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63285814A priority Critical patent/JP2666989B2/en
Publication of JPH02132387A publication Critical patent/JPH02132387A/en
Application granted granted Critical
Publication of JP2666989B2 publication Critical patent/JP2666989B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、ディジタル・システムの論理回路の遅延時
間が期待値より大きい場合にその原因となる回路部分を
検出する遅延時間解析装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Industrial field of application) The present invention relates to a delay time for detecting a circuit portion causing a delay time of a logic circuit of a digital system when the delay time is larger than an expected value. The present invention relates to an analyzer.

(従来の技術) 論理回路の設計においては、論理的な機能のみなら
ず、遅延時間に関する設計上の制約(以下、タイミング
制約と呼ぶ)をも満たす必要がある。このため、設計し
た論理回路が正しく動作するか否かの検証では、一般に
論理シミュレーション等による機能検証に加え、タイミ
ング制約を満たしているか否かを検証するタイミング検
証も行われる。
(Prior Art) In designing a logic circuit, it is necessary to satisfy not only a logical function but also a design constraint on a delay time (hereinafter, referred to as a timing constraint). Therefore, in verifying whether or not the designed logic circuit operates correctly, generally, in addition to function verification by logic simulation or the like, timing verification for verifying whether timing constraints are satisfied is also performed.

タイミング検証で検証すべき項目には、例えば、フリ
ップ・フロップのセットアップ時間やホールド時間を満
していること、クロック信号にハザードが生じていない
こと等の素子レベルの検証に加え、組み合わせ回路部分
の最大の遅延時間がクロックの周期等の期待値以下とい
う制約を満していること等が挙げられる。
Items to be verified in the timing verification include, for example, verification of the element level such as that the setup time and hold time of the flip-flop are satisfied, and that no hazard has occurred in the clock signal. That the maximum delay time satisfies the constraint that it is less than an expected value such as a clock cycle.

従来より上記遅延時間解析の手法としては、パス列挙
法(例えば、M.A.Wold著:“Design Verification and
performance Analysis",15th Design Automation Confe
rence,p264−270,1978)やPERTに基づく方法(例えば、
R.B.Hitchcock他著:“Timing Analysis of Computer H
ardware",IBM J.RES.& DEVELOP.,vol.26 no.1,p100−1
05,1982)等による遅延時間算出ツールを用いて組み合
わせ回路の遅延時間を算出するものが知られている。そ
の結果、遅延時間が期待値を越える信号経路(このよう
な信号経路を以下クリティカル・パスと呼ぶ)が存在し
た場合には、設計者がクリティカル・パス上の論理を解
析し遅延時間が期待値以下となるように論理回路を修正
(以下タイミング修正と呼ぶ)していた。
Conventionally, as a method of the delay time analysis, a path enumeration method (for example, by MAWold: “Design Verification and
performance Analysis ", 15th Design Automation Confe
rence, p264-270, 1978) and methods based on PERT (for example,
RBHitchcock et al .: “Timing Analysis of Computer H
ardware ", IBM J.RES. & DEVELOP., vol.26 no.1, p100-1
05, 1982) for calculating the delay time of a combinational circuit using a delay time calculation tool. As a result, when there is a signal path whose delay time exceeds the expected value (such a signal path is referred to as a critical path below), the designer analyzes the logic on the critical path The logic circuit was modified (hereinafter referred to as timing correction) so as to be as follows.

タイミング修正は、一般にクリティカル・パスの原因
となっている部分回路を見つけ、その部分回路に対して
回路をより高速で動作するように修正することによって
解決できる。
Timing correction can typically be resolved by finding the sub-circuit that is causing the critical path and modifying the sub-circuit to operate faster.

(発明が解決しようとする課題) しかしながら、このような従来の遅延時間算出ツール
を用いた遅延時間解析では、前記部分回路を自動的に検
出できないため、設計者がクリティカル・パス上の論理
を解析して部分回路を見つける必要があり、特に論理の
段数が多い場合にはクリティカル・パス上の論理を解析
しクリティカル・パスの原因となっている部分回路をみ
つけることは困難であり、この結果、タイミング修正に
は時間を要するという問題点があった。なお、このよう
な論理回路のタイミング修正に関する従来技術として、
特開平1−95365号公報には、対象となる論理素子の端
子ピン毎に積算遅延時間値と前段の論理素子の端子ピン
番号とを格納するクリティカルディレイテーブル、及
び、次に遅延時間を計算する論理素子の端子ピン番号と
クリティカルパスを開始点まで遡った開始ピン番号とを
格納するイベントテーブルを備え、遅延時間計算の開始
点から最終点まで、論理素子の格段毎に前記クリティカ
ルディレイテーブル、及びイベントテーブルの内容を書
き換えながら遅延時間計算処理を実行するようにしたク
リティカルパスの解析処理方式が開示されている。
(Problems to be Solved by the Invention) However, in the delay time analysis using such a conventional delay time calculation tool, since the partial circuit cannot be automatically detected, the designer analyzes the logic on the critical path. In particular, if there are many logic stages, it is difficult to analyze the logic on the critical path and find the partial circuit that is causing the critical path. There is a problem that time is required to correct the timing. In addition, as a conventional technique regarding such timing correction of a logic circuit,
Japanese Patent Application Laid-Open No. 1-95365 discloses a critical delay table that stores an integrated delay time value and a terminal pin number of a preceding logic element for each terminal pin of a target logic element, and then calculates a delay time. An event table that stores a terminal pin number of the logic element and a start pin number that goes back to the start point of the critical path, from the start point to the end point of the delay time calculation, the critical delay table for each of the logic elements, and A critical path analysis processing method in which delay time calculation processing is executed while rewriting the contents of an event table is disclosed.

しかしながら、この特開平1−95365号の解析処理方
式は、どの端子からどの端子に至る経路がクリティカル
パスとなっているかを高速に、かつ少ない記憶容量で求
めることを目的としたものであるため、クリティカルパ
スの原因となっている部分回路を抽出することはできな
かった。
However, since the analysis processing method of Japanese Patent Laid-Open No. 1-95365 is intended to quickly determine which path from one terminal to which terminal is a critical path with a small storage capacity, The partial circuit causing the critical path could not be extracted.

なお、上記特開平1−95365号公報の従来の技術の欄
には、論理回路上の出発点の論理素子から最終の論理素
子までの各段毎のディレイ値を積算し、最終的に得られ
た積算ディレイ値が設計基準に適合するかどうかをチェ
ックするようにした技術が記載されているが、これはク
リティカルパスにおける遅延時間の計算手法の一例を示
したものにすぎず、クリティカルパスの原因となってい
る部分回路を抽出することはできなかった。
In the section of the prior art of Japanese Patent Laid-Open No. 1-95365, the delay value for each stage from the logic element at the starting point to the final logic element on the logic circuit is integrated and finally obtained. The technology that checks whether the accumulated delay value conforms to the design criteria is described, but this is only an example of the method of calculating the delay time in the critical path, and the cause of the critical path Could not be extracted.

本発明は上記の問題点に鑑みてなされたものであり,
その目的は、遅延時間解析においてクリティカル・パス
が存在した場合に、その原因となる部分回路を容易に発
見でき、論理回路設計の効率向上を図ることができる論
理回路の遅延時間解析装置を提供することにある。
The present invention has been made in view of the above problems,
An object of the present invention is to provide a delay time analysis device for a logic circuit, which can easily find a partial circuit causing the critical path when there is a critical path in the delay time analysis and can improve the efficiency of the logic circuit design. It is in.

[発明の構成] (課題を解決するための手段) 上記目的を達成するために本発明は、論理回路中の信
号経路の遅延時間を求める遅延時間算出手段を備えた遅
延時間解析装置において、前記遅延時間算出手段により
求められた遅延時間が期待値よりも大きい信号経路をた
どり、解析の対象となる論理素子を検出するクリティカ
ル・パス探索手段と、前記遅延時間算出手段により検出
された論理素子のうち、複数入力端子を持つ論理素子の
各入力端子に接続する信号経路の遅延時間を、前記論理
素子に接続する信号経路間で比較し、その差が予め設定
された閾値より大きい場合は、遅延時間の大きい方の信
号経路に接続する論理素子に関する情報を出力する比較
手段とを有することを特徴としている。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention relates to a delay time analyzing apparatus provided with a delay time calculating means for obtaining a delay time of a signal path in a logic circuit. The path of the delay time calculated by the delay time calculation means is longer than the expected value, and the critical path search means for detecting the logic element to be analyzed and the logic element detected by the delay time calculation means are detected. Among them, the delay time of the signal path connected to each input terminal of the logic element having a plurality of input terminals is compared between the signal paths connected to the logic element, and if the difference is larger than a preset threshold value, the delay A comparison unit that outputs information on a logic element connected to a signal path having a longer time.

(作用) 上記構成の遅延時間解析装置では、まずクリティカル
・パス探索手段が、遅延時間が期待値よりも大きい信号
経路をたどっていき、後述の比較手段による解析の対象
となる論理素子を順次検出する。次に、比較手段が、前
記クリティカル・パス探索手段がたどった信号経路上に
存在する論理素子のうち、複数の入力端子を持つ論理素
子の各入力端子に接続する信号経路の遅延時間を、前記
論理素子の各入力端子に接続する信号経路間で比較し、
その差が予め設定された閾値より大きい場合には、前記
比較した信号経路のうち、遅延時間の大きい方の信号経
路に接続する論理素子の情報を、クリティカル・パスの
中において遅延の原因となる部分回路の候補として出力
する。
(Operation) In the delay time analysis device having the above configuration, first, the critical path search means follows a signal path whose delay time is larger than an expected value, and sequentially detects logical elements to be analyzed by the comparison means described later. I do. Next, the comparing means calculates the delay time of the signal path connected to each input terminal of the logic element having a plurality of input terminals among the logic elements existing on the signal path traced by the critical path searching means, Comparison between signal paths connected to each input terminal of the logic element,
When the difference is larger than a preset threshold value, the information of the logic element connected to the signal path having the larger delay time in the compared signal paths causes a delay in the critical path. Output as a partial circuit candidate.

このようにして、クリティカル・パスの原因となる部
分回路の候補を自動的に検出することにより、タイミン
グ修正に要する時間を短縮し、設計効率を向上させるこ
とができる。
In this way, by automatically detecting a partial circuit candidate that causes a critical path, the time required for timing correction can be reduced, and design efficiency can be improved.

(実施例) 第1図は、本発明に係る論理回路の遅延時間解析装置
の一実施例の構成を示すブロック図である。
(Embodiment) FIG. 1 is a block diagram showing a configuration of an embodiment of a logic circuit delay time analyzing apparatus according to the present invention.

同図に示すように、この装置は、遅延時間算出部1
と、クリティカル・パス探索部2と、閾値設定部3と、
比較検出部4と、論理回路データ記憶部5と、閾値記憶
部6とから構成されている。
As shown in the figure, this device includes a delay time calculation unit 1
A critical path search unit 2, a threshold setting unit 3,
It comprises a comparison detection section 4, a logic circuit data storage section 5, and a threshold storage section 6.

遅延時間算出部1は、論理回路データ中の各信号線の
遅延時間を計算し、その計算結果を論理回路データ記憶
部5に格納する。
The delay time calculation unit 1 calculates the delay time of each signal line in the logic circuit data, and stores the calculation result in the logic circuit data storage unit 5.

クリティカル・パス探索部2は、前記遅延時間算出部
1による各信号線の遅延時間算出の結果、遅延時間が期
待値よりも大きい信号線、すなわちクリティカル・パス
が存在した場合には、そのパスを論理素子の出力側から
入力側に向かってたどり、後述の比較検出部4での解析
対象となる論理素子を順次検出していき、後述する探索
パスとして出力する。
As a result of the delay time calculation of each signal line by the delay time calculation unit 1, the critical path search unit 2 selects a signal line whose delay time is larger than an expected value, that is, a critical path, if the path exists. The logic elements are traced from the output side to the input side, sequentially detect the logic elements to be analyzed by the comparison detection unit 4 described later, and output as a search path described later.

閾値設定部3は、キーボード等の入力装置から構成さ
れ、オペレータにより入力された閾値を閾値記憶部6に
格納する。
The threshold setting unit 3 includes an input device such as a keyboard, and stores a threshold input by an operator in the threshold storage unit 6.

本実施例において、閾値設定部3に記憶される閾値に
は、2つの閾値が設定されており、この2つの閾値を便
宜上、OFF状態閾値及びON状態閾値と称することとす
る。
In the present embodiment, two thresholds are set as the thresholds stored in the threshold setting unit 3, and these two thresholds will be referred to as an OFF state threshold and an ON state threshold for convenience.

ここで、OFF状態閾値とは、後述する比較検出部4に
おいて、遅延の原因となる部分回路を抽出する処理を開
始した時の入力信号線間の遅延時間の差を判定する際に
用いる閾値をいい、ON状態閾値とは、遅延の原因となる
部分回路を抽出する処理を開始した後、すなわちOFF状
態閾値を適用した次の論理素子から適用される閾値をい
う。この実施例では、OFF状態閾値>ON状態閾値に設定
されている。
Here, the OFF-state threshold value is a threshold value used for determining a difference in delay time between input signal lines when a process of extracting a partial circuit causing a delay is started in a comparison detection unit 4 described later. In other words, the ON state threshold is a threshold that is applied after starting the process of extracting a partial circuit that causes a delay, that is, from the next logic element to which the OFF state threshold is applied. In this embodiment, OFF state threshold> ON state threshold is set.

比較検出部4は、前記クリティカル・パス探索不2で
検出された探索パス上の論理素子のうち、複数入力端子
を持つ論理素子の各入力端子に接続する信号経路の遅延
時間を、前記論理素子に接続する信号経路間で比較し、
その差を求めるとともに、求めた差と閾値記憶部6に格
納されている閾値とを比較し、遅延時間の差の方が閾値
より大きい場合には、その論理素子の入力端子に接続さ
れている信号線のうち、遅延時間の大きい方の信号線に
接続されている論理素子が遅延の原因となっていると判
断して、その論理素子を論理回路データより求め、その
素子名を部分回路の候補として出力する。
The comparison detection unit 4 determines the delay time of the signal path connected to each input terminal of the logic element having a plurality of input terminals among the logic elements on the search path detected in the critical path search failure 2 as the logic element. Between the signal paths connected to
The difference is calculated, and the calculated difference is compared with the threshold value stored in the threshold value storage unit 6. If the difference in delay time is larger than the threshold value, the difference is connected to the input terminal of the logic element. Of the signal lines, the logic element connected to the signal line with the longer delay time is determined to be the cause of the delay, the logic element is obtained from the logic circuit data, and the element name is assigned to the partial circuit. Output as a candidate.

この論理回路データは、第3図(a),(b)に示す
形式で論理回路データ記憶部5に格納されている。論理
回路データは、素子テーブルと信号テーブルとからなっ
ている。第3図(a)に示す素子テーブルは、各論理素
子毎に素子名,素子の種類,端子,端子に接続されてい
る信号線名が格納されている。一方、第3図(b)に示
す信号テーブルは、各信号毎に信号線名,ソース(信号
線の始点)の素子名と端子、デスティネーション(信号
線の終点)の素子名と端子が格納されている。また、信
号テーブルには算出される信号線の遅延時間を格納する
ための領域も確保されている。
The logic circuit data is stored in the logic circuit data storage unit 5 in the format shown in FIGS. 3 (a) and 3 (b). The logic circuit data includes an element table and a signal table. The element table shown in FIG. 3A stores element names, element types, terminals, and names of signal lines connected to the terminals for each logical element. On the other hand, the signal table shown in FIG. 3B stores the signal line name, the element name and terminal of the source (start point of the signal line), and the element name and terminal of the destination (end point of the signal line) for each signal. Have been. The signal table also has an area for storing the calculated signal line delay time.

次に、本実施例の作用を第2図に示す論理回路の遅延
時間解析を行う場合を例にとって説明する。
Next, the operation of the present embodiment will be described by taking as an example a case where the delay time analysis of the logic circuit shown in FIG. 2 is performed.

第2図中に示す論理回路の遅延時間解析を行う場合を
例にとって説明する。第2図中のG11〜G17はANDゲー
ト、素子G18はNANDゲート,素子G19はEXORゲートであ
る。
The case where the delay time analysis of the logic circuit shown in FIG. 2 is performed will be described as an example. In FIG. 2, G11 to G17 are AND gates, element G18 is a NAND gate, and element G19 is an EXOR gate.

この論理回路データに対する処理は次のように行われ
る。
The processing for the logic circuit data is performed as follows.

遅延時間算出部1は、入力側から出力側に向かって、
各論理素子の入力に接続された信号線の遅延時間の大き
いほうの値にその論理素子の遅延時間を加算したものを
出力に接続された信号線の遅延時間として各信号線の遅
延時間を算出し、欄データ記憶部5の信号テーブルに遅
延時間を格納していく。なお、ここでは、簡単のため信
号線の容量等に伴う遅延時間は無視している。
The delay time calculation unit 1 is configured such that, from the input side to the output side,
The delay time of each signal line is calculated as the delay time of the signal line connected to the output, which is the sum of the delay time of the signal line connected to the input of each logic element and the delay time of that logic element. Then, the delay time is stored in the signal table of the column data storage unit 5. Here, for the sake of simplicity, the delay time due to the capacity of the signal line and the like is ignored.

各論理素子の遅延時間が、第4図のように与えられた
とすると、各信号線の遅延時間は第2図中に数値で示す
ように算出される。
Assuming that the delay time of each logic element is given as shown in FIG. 4, the delay time of each signal line is calculated as shown in FIG.

クリティカル・パス探索部2は、遅延時間算出の結
果、クリティカル・パスが存在した場合には、第5図に
示す処理フローに従い、そのパスを出力側から入力側に
向かってたどっていく。
If a critical path exists as a result of delay time calculation, the critical path search unit 2 follows the path from the output side to the input side according to the processing flow shown in FIG.

いま、第2図に示した論理回路の遅延時間の期待値が
20[ns]であったと仮定すると、出力Hの遅延時間は23
[ns]であり、クリティカル・パスが存在しているた
め、出力Hから入力方向に探索処理を開始する。先ず、
出力Hの信号線S24に接続している論理素子を論理回路
データ記憶部5より求め、素子G16を得る(ステップST
1)。
Now, the expected value of the delay time of the logic circuit shown in FIG.
Assuming that it was 20 [ns], the delay time of the output H was 23
[Ns], and since the critical path exists, the search process is started from the output H in the input direction. First,
The logic element connected to the output H signal line S24 is obtained from the logic circuit data storage unit 5 to obtain the element G16 (step ST
1).

素子G16は2入力ANDゲートであり、素子の遅延時間は
3[ns]であるから、20−3=17[ns]が素子G16の入
力側に接続された信号線の遅延時間の期待値となる(ス
テップST2〜ST3)。
Since the element G16 is a 2-input AND gate and the delay time of the element is 3 [ns], 20-3 = 17 [ns] is the expected value of the delay time of the signal line connected to the input side of the element G16. (Steps ST2 to ST3).

素子G16の入力側には、信号線S20とS23とが接続され
ている。S20の遅延時間は17[ns]であり期待値を越え
ないためその先はたどらない。一方信号線S23の遅延時
間は20[ns]であり期待値を越えるため、さらにその先
の探索処理を行う(ステップST4). このようにして、探索を進めていくと、以下に示すよ
うな2つのパス(以下探索パスと呼ぶ)が得られる(ス
テップST5)。
The signal lines S20 and S23 are connected to the input side of the element G16. Since the delay time of S20 is 17 [ns], which does not exceed the expected value, it does not continue. On the other hand, since the delay time of the signal line S23 is 20 [ns], which exceeds the expected value, further search processing is performed (step ST4). As the search proceeds in this way, the following two paths (hereinafter referred to as search paths) are obtained (step ST5).

探索パス1;G16(入力2)−G19(入力1)−G14(入力
1)−G3(入力)−G18(入力1)−G13(入力1)−G1
2(入力1)−G11(入力1)−G1(入力) 探索パス2;G16(入力2)−G19(入力1)−G14(入力
1)−G3(入力)−G18(入力1)−G13(入力1)−G1
2(入力1)−G11(入力1)−G7(入力1) 閾値設定部3は、キーボート等の入力装置から例えば
OFF状態閾値が5[ns],ON状態閾値2が[ns]と指定さ
れると、閾値記憶部6に第6図のように格納される。
Search path 1; G16 (input 2)-G19 (input 1)-G14 (input 1)-G3 (input)-G18 (input 1)-G13 (input 1)-G1
2 (input 1)-G11 (input 1)-G1 (input) Search path 2; G16 (input 2)-G19 (input 1)-G14 (input 1)-G3 (input)-G18 (input 1)-G13 (Input 1) -G1
2 (input 1) -G11 (input 1) -G7 (input 1)
When the OFF state threshold value is specified as 5 [ns] and the ON state threshold value 2 is specified as [ns], the values are stored in the threshold value storage unit 6 as shown in FIG.

比較検出部4は、クリティカル・パス探索部2により
たどった各探索パスに対し、第7図に示すフローチャー
トに従い処理を行う。
The comparison detection unit 4 performs a process on each search path traced by the critical path search unit 2 according to the flowchart shown in FIG.

先ず、上記探索パスの1,2のデータより、素子名“G1
6"と端子“入力2"とを得る(ステップST10)。
First, the element name “G1
6 "and a terminal" input 2 "are obtained (step ST10).

次ぎに、素子G16は第3図に示した論理回路データよ
り、2入力ANDゲート(入力数≧2)であり、素子G16の
入力は信号線S23に接続されているため、信号線S23の遅
延時間Dp=20[ns]を得る(ステップST11〜12)。
Next, the element G16 is a 2-input AND gate (the number of inputs ≧ 2) according to the logic circuit data shown in FIG. 3, and since the input of the element G16 is connected to the signal line S23, the delay of the signal line S23 is delayed. Time Dp = 20 [ns] is obtained (steps ST11 to ST12).

素子G16の入力2以外の他の入力系の端子に接続され
ている信号線はS20のみであり、Dmin=17[ns]を得る
(ステップST13)。入力信号線間の時間差はDp−Dmin=
20−17=3[ns]であり、OFF状態閾値5[ns]よりも
小さいため、探索を進め探索パス上の次ぎの素子の素子
名“G19"と“入力1"を得る(ステップST14,ST22,ST1
0)。
The signal line connected to the input system terminal other than the input 2 of the element G16 is only S20, and Dmin = 17 [ns] is obtained (step ST13). The time difference between input signal lines is Dp-Dmin =
Since 20−17 = 3 [ns], which is smaller than the OFF state threshold value 5 [ns], the search proceeds and the element name “G19” and “input 1” of the next element on the search path are obtained (step ST14, ST22, ST1
0).

素子G19は2入力であり、その時間差はDp−Dmin=17
−6=11[ns]>5[ns]であるため、ST15以降の検出
処理を開始し、探索パス上の次の素子名“G14"と“入力
1"とを得て、素子名“G14"を出力する(ステップST11〜
17)。
The element G19 has two inputs, and the time difference is Dp−Dmin = 17
Since −6 = 11 [ns]> 5 [ns], detection processing after ST15 is started, and the next element name “G14” on the search path and “input”
1 "and outputs the element name" G14 "(steps ST11 to ST11).
17).

素子G14は、2入力であり、その時間差はDp−Dmin=1
4−1=13で、ON状態閾値2[ns]よりも大きい(ステ
ップST18〜21)。このため、探索パス上の次ぎの素子名
“G3"の入力数は、“1"であるため、探索パス上のつぎ
の素子名“G18"と端子“入力1"とを得て、素子名“G18"
を出力する(ステップST18,ST15〜17)。
The element G14 has two inputs, and the time difference is Dp−Dmin = 1.
4-1 = 13, which is larger than the ON state threshold value 2 [ns] (steps ST18 to ST21). Therefore, since the number of inputs of the next element name “G3” on the search path is “1”, the next element name “G18” on the search path and the terminal “input 1” are obtained, and the element name is obtained. “G18”
Is output (steps ST18, ST15 to ST17).

このように処理を進めていくと、2つの探索パス1,2
のどちらに対しても次のような出力が得られる(第2図
の破線で囲んだ部分)。
By proceeding in this way, two search paths 1, 2
The following output is obtained for both of the above (parts enclosed by broken lines in FIG. 2).

G14−G3−G18−G13−G12−G11 この結果、この部分回路がクリティカル・パスの原因
となっていることが推測でき、第2図で示した論理回路
の破線部分に着目してタイミング修正を行い、例えば第
8図のように論理回路を修正することにより、クリティ
カル・パスを含まないようにすることができる。
G14-G3-G18-G13-G12-G11 As a result, it can be inferred that this partial circuit is the cause of the critical path, and the timing correction is performed by focusing on the broken line portion of the logic circuit shown in FIG. By doing so, for example, by modifying the logic circuit as shown in FIG. 8, it is possible to exclude the critical path.

なお、本発明における閾値の種類やその設定方法は、
上記実施例に限定されるものではない。例えば、上記実
施例では、閾値をOFF状態閾値とON状態閾値の2種を設
定したが、OFF状態閾値とON状態閾値とを同値とすれば
1種のみを設定すればよい。また、OFF状態閾値のみ設
定し、ON状態閾値は、OFF状態閾値と、処理対象として
いる論理素子の遅延時間との差をとる等の方法で算出し
てもよい。さらに、OFF状態閾値自体も各論理素子の各
入力端子までの遅延時間の差を統計的に解析し、その平
均値に標準偏差値を加える等の方法で算出してもよい。
Note that the type of threshold and the method of setting the threshold in the present invention are as follows.
It is not limited to the above embodiment. For example, in the above embodiment, two types of thresholds are set, an OFF state threshold and an ON state threshold. However, if the OFF state threshold and the ON state threshold have the same value, only one type may be set. Alternatively, only the OFF state threshold value may be set, and the ON state threshold value may be calculated by a method such as taking the difference between the OFF state threshold value and the delay time of the logic element to be processed. Further, the OFF state threshold value itself may be calculated by a method of statistically analyzing a difference in delay time between each input terminal of each logic element and each input terminal and adding a standard deviation value to an average value thereof.

また、上記実施例では、出力側から入力側へ向ってク
リティカル・パスの探索及びクリティカル・パスの原因
となっている部分回路の検出を行なったが、特にOFF閾
値とON閾値とが同値の場合には、予め信号線の遅延時間
とその期待値との差を算出しておけば、入力側から出力
側に向って探索し、上記実施例と同様な処理により入力
側から出力側にたどって検出するようにしてもよい。
In the above embodiment, the search of the critical path and the detection of the partial circuit causing the critical path are performed from the output side to the input side, but particularly when the OFF threshold and the ON threshold are the same. In advance, if the difference between the delay time of the signal line and its expected value is calculated in advance, the search is performed from the input side to the output side, and the same process as in the above embodiment is followed from the input side to the output side. You may make it detect.

さらに、上記実施例では、クリティカル・パスの原因
となっている部分回路の候補を検出した場合に素子名を
出力しているが、論理回路エディタを使用して回路図面
上でこの部分回路を示すようにしても良い。
Further, in the above embodiment, the element name is output when the candidate of the partial circuit causing the critical path is detected. However, this partial circuit is shown on the circuit drawing by using the logic circuit editor. You may do it.

[発明の効果] 以上説明したように、本発明によれば、論理回路のタ
イミング検証において、クリティカル・パスが存在した
場合にその原因となっている部分回路の候補を自動的に
検出でき、タイミング修正の作業を効率的に行うことが
できる。
[Effects of the Invention] As described above, according to the present invention, in the timing verification of the logic circuit, when the critical path exists, the candidate of the partial circuit that causes the critical path can be automatically detected, and the timing Correction work can be performed efficiently.

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

第1図は本発明に係る論理回路の遅延時間解析装置の一
実施例構成を示すブロック図、第2図は遅延時間解析を
行う論理回路の一例を示す図、第3図は第2図に示した
論理回路の論理回路データを示す図、第4図は各素子の
遅延時間を示す図、第5図はクリティカル・パス探索部
の手順を示すフローチャート、第6図は閾値記憶部の内
容を示す図、第7図は比較検出部の処理手順を示すフロ
ーチャート、第8図は比較検出部の出力結果として得ら
れた部分回路に対しタイミング修正を行った結果の論理
回路図とその各信号線に対して遅延時間の算出を行った
結果の図である。 1……遅延時間算出部 2……クリティカル・パス探索部 3……閾値設定部 4……比較検出部 5……論理回路データ記憶部 6……閾値記憶部
FIG. 1 is a block diagram showing a configuration of an embodiment of a delay time analysis device for a logic circuit according to the present invention, FIG. 2 is a view showing an example of a logic circuit for performing delay time analysis, and FIG. 3 is shown in FIG. FIG. 4 shows the logic circuit data of the logic circuit shown in FIG. 4, FIG. 4 shows the delay time of each element, FIG. 5 is a flow chart showing the procedure of the critical path search unit, and FIG. 6 shows the contents of the threshold value storage unit. FIG. 7 is a flowchart showing a processing procedure of the comparison detection unit. FIG. 8 is a logic circuit diagram showing a result of performing timing correction on a partial circuit obtained as an output result of the comparison detection unit and its respective signal lines. FIG. 12 is a diagram showing a result of calculating a delay time for the delay time. 1 delay time calculation unit 2 critical path search unit 3 threshold setting unit 4 comparison detection unit 5 logic circuit data storage unit 6 threshold storage unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】論理回路中の信号経路の遅延時間を求める
遅延時間算出手段を備えた遅延時間解析装置において、 前記遅延時間算出手段により求められた遅延時間が期待
値よりも大きい信号経路をたどり、解析の対象となる論
理素子を検出するクリティカル・パス探索手段と、 前記クリティカル・パス探索手段により検出された論理
素子のうち、複数入力端子を持つ論理素子の各入力端子
に接続する信号経路の遅延時間を、前記論理素子に接続
する信号経路間で比較し、その差が予め設定された閾値
より大きい場合は、遅延時間の大きい方の信号経路に接
続する論理素子の情報を出力する比較手段と、 を有することを特徴とする論理回路の遅延時間解析装
置。
1. A delay time analyzing device comprising delay time calculating means for calculating a delay time of a signal path in a logic circuit, wherein a signal path whose delay time calculated by said delay time calculating means is larger than an expected value is traced. , A critical path search means for detecting a logic element to be analyzed, and a signal path of a signal path connected to each input terminal of a logic element having a plurality of input terminals among the logic elements detected by the critical path search means. Comparing the delay times between the signal paths connected to the logic element, and if the difference is larger than a preset threshold value, a comparing means for outputting information of the logic element connected to the signal path having the larger delay time. A delay time analysis device for a logic circuit, comprising:
JP63285814A 1988-11-14 1988-11-14 Logic circuit delay time analyzer Expired - Fee Related JP2666989B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63285814A JP2666989B2 (en) 1988-11-14 1988-11-14 Logic circuit delay time analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63285814A JP2666989B2 (en) 1988-11-14 1988-11-14 Logic circuit delay time analyzer

Publications (2)

Publication Number Publication Date
JPH02132387A JPH02132387A (en) 1990-05-21
JP2666989B2 true JP2666989B2 (en) 1997-10-22

Family

ID=17696434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63285814A Expired - Fee Related JP2666989B2 (en) 1988-11-14 1988-11-14 Logic circuit delay time analyzer

Country Status (1)

Country Link
JP (1) JP2666989B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0642253B2 (en) * 1987-10-07 1994-06-01 富士通株式会社 Critical path analysis processing method

Also Published As

Publication number Publication date
JPH02132387A (en) 1990-05-21

Similar Documents

Publication Publication Date Title
JP2563663B2 (en) Logic design processing device and timing adjustment method
JP3137056B2 (en) Fault propagation path extraction system and method, and recording medium on which control program is recorded
US6317861B1 (en) Delay verification device for logic circuit and delay verification method therefor
JP2666989B2 (en) Logic circuit delay time analyzer
US20080195367A1 (en) Clock gating analyzing apparatus, clock gating analyzing method, and computer product
JP2655105B2 (en) Fault location estimation method for sequential circuits
EP1521189B1 (en) Formal proof methods for analyzing circuit loading problems under operating conditions
CN112784511A (en) Automatic dismantling method for combined logic loop
JP2001021618A (en) Fault propagation path estimation method, fault propagation path estimation device, and recording medium
JPH11202033A (en) Critical path searching system
JP2845478B2 (en) Logic circuit delay time analyzer
JP2924766B2 (en) Hold time error elimination method and method
JP2000222452A (en) Logic synthesis optimization method and apparatus
JPH07121576A (en) Failure simulation device
JP3077617B2 (en) Delay simulator
JP2002259488A (en) Clock skew verification method
JPS61187047A (en) Logical circuit simulation system
JP3171236B2 (en) Input terminal competition pattern detection system
JP3087319B2 (en) Timing verification system
JPH11353347A (en) Logical simulation device, its method and record medium recording its controlling program
JP2001060216A (en) Logical equivalence verification device
US20100175037A1 (en) Method, apparatus, and program for correcting hold error
JP2984522B2 (en) Circuit verification system
JP2001155043A (en) Timing check method in logic simulation and recording medium recording timing check method
JPH1183945A (en) Fault diagnosis method for logic circuits

Legal Events

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