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
JPH0642253B2 - Critical path analysis processing method - Google Patents
[go: Go Back, main page]

JPH0642253B2 - Critical path analysis processing method - Google Patents

Critical path analysis processing method

Info

Publication number
JPH0642253B2
JPH0642253B2 JP62252695A JP25269587A JPH0642253B2 JP H0642253 B2 JPH0642253 B2 JP H0642253B2 JP 62252695 A JP62252695 A JP 62252695A JP 25269587 A JP25269587 A JP 25269587A JP H0642253 B2 JPH0642253 B2 JP H0642253B2
Authority
JP
Japan
Prior art keywords
pin
delay
critical
gate
stage
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 - Lifetime
Application number
JP62252695A
Other languages
Japanese (ja)
Other versions
JPH0195365A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62252695A priority Critical patent/JPH0642253B2/en
Publication of JPH0195365A publication Critical patent/JPH0195365A/en
Publication of JPH0642253B2 publication Critical patent/JPH0642253B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概 要〕 大規模ディジタル回路における遅延時間の解析処理方式
に関し、 クリティカルパルスの追跡およびクロックスキューチェ
ックの高速化のため必要な記憶容量の削減を目的とし、 各フリップフロップ又はゲート回路の端子ピン毎に積算
遅延時間値と前段フリップフロップ又はゲート回路の端
子ピン番号を格納するクリティカルディレイテーブルを
作成するクリティカルディレイテーブル作成手段と、次
に遅延時間計算すべき次段フリップフロップ又はゲート
回路の端子ピン番号とクリティカルパスを開始点までさ
かのぼった開始ピン番号を格納するイベントテーブルを
作成するイベントテーブル作成手段を備え、遅延時間計
算の開始点から最終点まで、フリップフロップ又はゲー
トの各段毎に、クリティカルディレイテーブル及びイベ
ントテーブルを、互いに相手テーブルを参照しつつ作成
して、遅延時間計算処理を実行するよう構成する。
DETAILED DESCRIPTION OF THE INVENTION [Overview] Regarding a delay time analysis processing method in a large-scale digital circuit, each flip-flop is provided for the purpose of reducing a storage capacity necessary for speeding up a critical pulse tracking and a clock skew check. Alternatively, a critical delay table creating means for creating a critical delay table storing the integrated delay time value and the previous stage flip-flop or the terminal pin number of the gate circuit for each terminal pin of the gate circuit, and the next stage flip-flop for which the delay time is to be calculated next Alternatively, an event table creating means for creating an event table that stores the terminal pin number of the gate circuit and the starting pin number of the critical path traced back to the starting point is provided, and the flip-flop or the gate of the flip-flop or the gate of Critical for each stage The lay tables and event table, create with reference to the other party table together, configured to execute the delay time calculation process.

〔産業上の利用分野〕[Industrial application field]

本発明はCAD(計算機緩用設計)に係わり、特に大規
模なディジタル回路における遅延時間の解析方式に関す
る。
The present invention relates to CAD (Computer Aided Design), and more particularly to a delay time analysis method in a large-scale digital circuit.

大規模なディジタル回路の設計においては、論理シミュ
レーションによって論理の正しさを確認すると共に、フ
リップフロップ間の遅延時間を算出し所定の許容範囲に
あるかを検証することが行われる。大規模ディジタル回
路の遅延時間計算処理には大きな計算機処理時間を要す
るため、効率的な計算方式が要望される。
In the design of a large-scale digital circuit, the correctness of logic is confirmed by logic simulation, and the delay time between flip-flops is calculated to verify whether it is within a predetermined allowable range. Since a large computer processing time is required for the delay time calculation processing of a large-scale digital circuit, an efficient calculation method is required.

〔従来の技術〕[Conventional technology]

大規模なディジタル回路の遅延時間計算処理では、考え
られる全てのパス(経路)を計算するには膨大な計算機
処理時間を要するため、一番厳しいパス(通常最も遅延
時間の大きいパスであるが、最も遅延時間の小さいパス
の場合もある。以下、クリティカルパスと呼ぶ)の遅延
時間(以下、ディレイと呼ぶ)を計算する方式をとって
いる。
In the delay time calculation processing of a large-scale digital circuit, a huge amount of computer processing time is required to calculate all possible paths (routes), so the most severe path (usually the path with the longest delay time, In some cases, the path has the shortest delay time, which will be referred to as a critical path hereinafter, and the delay time (hereinafter referred to as delay) is calculated.

第5図は従来の遅延時間計算処理方式を説明するための
図である。
FIG. 5 is a diagram for explaining a conventional delay time calculation processing method.

図(a)は、遅延時間の計算処理の対象となるディジタル
回路の例である。図(a)において、A,B,C,H,I
はフリップフロップ回路(以下FFと略記する)を、
D,E,F,Gは途中のゲート回路を示す。
FIG. (A) is an example of a digital circuit that is a target of delay time calculation processing. In Figure (a), A, B, C, H, I
Is a flip-flop circuit (hereinafter abbreviated as FF),
D, E, F, and G indicate gate circuits in the middle.

また、a,b,c,m,nはFFのクロックピンを示
し、d,e,f,g,h,i,j,k,lはFF又はゲ
ートの入力ピンを示す。
Further, a, b, c, m, and n indicate clock pins of FF, and d, e, f, g, h, i, j, k, and l indicate input pins of FF or gate.

遅延時間計算処理は、FFのA,B,Cのクロックピン
a,b,cを出発点として、クリティカルパスによるデ
ィレイ(以下、クリティカルディレイと呼ぶ)計算を開
始し、FF−H,Iのデータ入力ピンk又はlに到達す
るまで計算処理する。本例では、クリティカルパスは最
もディレイの大きいパスとする。
The delay time calculation process starts delay (hereinafter referred to as critical delay) calculation by a critical path from clock pins a, b, and c of A, B, and C of FF as a starting point, and outputs data of FF-H and I. Calculation processing is performed until the input pin k or l is reached. In this example, the critical path is the path with the largest delay.

計算処理は、出発点のFFから最終のFFまで、各ゲー
ト段ごとに次々とディレイ値を積算して積算ディレイ値
を計算し、複数入力のゲート段では、その各入力ピンま
での積算ディレイ値のうち最も大きい値を示すピンを通
る経路をクリティカルパスとして、この積算ディレイ値
を使用して次段ピンまでのディレイを加算したものが次
段ピンの積算クリティカルディレイ値である。このよう
にして、最終段FFの入力ピンまでの積算クリティカル
ディレイ値を計算する。第5図(a)に示したディジタル
回路に対する計算処理は、同図(b)に示すように、以下
に説明する手順で行われる。
The calculation process calculates the integrated delay value by sequentially integrating delay values for each gate stage from the starting FF to the final FF, and in a multi-input gate stage, the integrated delay value up to each input pin. Of the paths, the path passing through the pin showing the largest value is taken as the critical path, and the integrated delay value is used to add the delay to the next-stage pin to obtain the integrated critical delay value of the next-stage pin. In this way, the integrated critical delay value up to the input pin of the final stage FF is calculated. The calculation process for the digital circuit shown in FIG. 5 (a) is performed by the procedure described below, as shown in FIG. 5 (b).

クロック入力端子CLK1からFF−Aのピンaまでのデ
ィレイtaを回路構成データによる経路長から計算す
る。
The delay ta from the clock input terminal CLK1 to the pin a of the FF-A is calculated from the path length based on the circuit configuration data.

同様にクロック入力端子CLK2からFF−Bのピンbま
でのディレイtbを計算する。
Similarly, the delay tb from the clock input terminal CLK2 to the pin b of FF-B is calculated.

同様にクロック入力端子CLK3からFF−Cのピンcま
でのディレイtcを計算する。
Similarly, the delay tc from the clock input terminal CLK3 to the pin c of FF-C is calculated.

FF−AにおけるディレイとFF−Aの出力ピンから
ゲートDの入力ピンdまでの経路長によるディレイを加
算して、ピンaからピンdまでのディレイを算出し、こ
れにtaを加えた値をピンdのディレイtdとして算出
する。
The delay in FF-A and the delay due to the path length from the output pin of FF-A to the input pin d of gate D are added to calculate the delay from pin a to pin d, and the value obtained by adding ta to this is calculated. It is calculated as the delay td of the pin d.

同様に、FF−BにおけるディレイとFF−Bの出力
ピンからゲートDの入力ピンeまでの経路長によるディ
レイに、tbを加算してピンeのディレイteを算出す
る。
Similarly, tb is added to the delay due to the delay in FF-B and the path length from the output pin of FF-B to the input pin e of gate D to calculate the delay te of pin e.

同様に、ゲートEの入力ピンfのディレイtfを算出
する。
Similarly, the delay tf of the input pin f of the gate E is calculated.

同様に、ゲートEの入力ピンgのディレイtfを算出
する。
Similarly, the delay tf of the input pin g of the gate E is calculated.

ゲートDの入力ピンdとeのディレイtdとteを比
較する。td<teであれば、ピンeを通るパスをクリ
ティカルパスとする。
The delays td and te of the input pins d and e of the gate D are compared. If td <te, the path passing through the pin e is regarded as a critical path.

同様に、ゲートEの入力ピンfとgのディレイtfと
tgを比較し、tf<tgであればピンgを通るパスを
クリティカルパスとする。
Similarly, the delays tf and tg of the input pins f and g of the gate E are compared, and if tf <tg, the path passing through the pin g is determined as a critical path.

ゲートEにおけるディレイとゲートFの入力ピンhま
での経路長によるディレイに、クリティカルパスによる
ディレイtgを加えて、ゲートFの入力ピンhにおける
クリティカルパスを通るディレイの積算値:クリティカ
ル積算ディレイthを算出する。
The delay tg due to the critical path is added to the delay due to the delay at the gate E and the path length to the input pin h of the gate F, and the integrated value of the delay passing through the critical path at the input pin h of the gate F: the critical integrated delay th is calculated. To do.

同様に、ゲート回路DにおけディレイとゲートGの入
力ピンiまでの経路長によるディレイに、クリティカル
パスによるディレイteを加えて、ゲートGの入力ピン
iのクリティカル積算ディレイtiを算出する。
Similarly, the delay in the gate circuit D and the delay due to the path length to the input pin i of the gate G are added with the delay te due to the critical path to calculate the critical integration delay ti of the input pin i of the gate G.

同様に、ゲートGの入力ピンjのクリティカル積算デ
ィレイtjを算出する。
Similarly, the critical integration delay tj of the input pin j of the gate G is calculated.

ゲートGの入力ピンiとjのディレイtiとtjを比
較する。ti<tjであれば、ピンjを通るパスをクリ
ティカルパスとする。
The delays ti and tj of the input pins i and j of the gate G are compared. If ti <tj, the path passing through the pin j is set as a critical path.

ゲートDにおけるディレイとゲートHの入力ピンkま
での経路長によるディレイに、クリティカルディレイt
eを加えて、ゲートHの入力ピンkにおけるクリティカ
ル積算ディレイtkを算出する。
In addition to the delay at the gate D and the delay due to the path length of the gate H to the input pin k, the critical delay t
e is added to calculate the critical integration delay tk at the input pin k of the gate H.

ゲートGにおけるディレイとゲートIの入力ピンlま
での経路長によるディレイに、クリティカルディレイt
jを加えて、ゲートIの入力ピンlにおけるクリティカ
ル積算ディレイtlを算出する。
In addition to the delay in the gate G and the delay due to the path length to the input pin 1 of the gate I, the critical delay t
j is added to calculate the critical integration delay tl at the input pin 1 of the gate I.

以上の計算の結果、最終段のFFであるHとIの入力ピ
ンk及びlにおけるクリティカル積算ディレイが得ら
れ、ディレイが設計基準に適合するかをチェックするこ
とできる。
As a result of the above calculation, the critical integration delays at the input pins k and l of H and I, which are the final stage FFs, are obtained, and it is possible to check whether the delays meet the design criteria.

このディレイ計算をしたディジタル回路の設計者は、ク
リティカルディレイ値を知りたいだけではなく、どのよ
うなルートであったかも知りたい場合がある。また、F
Fのピンにおけるディレイチェック(以下、FFチェッ
クと呼ぶ)を行うには、クリティカルパスの開始側及び
終了側のFF間のクロックスキューも関係する。
The designer of the digital circuit that has performed this delay calculation may not only want to know the critical delay value, but may also want to know what route it was. Also, F
In order to perform the delay check (hereinafter referred to as FF check) on the F pin, the clock skew between the FFs on the start side and the end side of the critical path is also involved.

例えば、FF−Hのデータ入力ピンkに至るクリティカ
ルパスが破線で示すごとく、b→e→kであったとする
と、FF−Hにおけるディレイチェックは、データ入力
ピンkとクロックピンmの間で行われ、スキューはクロ
ックCLK1とCLK2の関係で決まる。即ち、 Tcd+Td+Tskew≦Tcm+τ を満足するかがチェックされる。
For example, if the critical path to the data input pin k of FF-H is b → e → k as indicated by the broken line, the delay check in FF-H is performed between the data input pin k and the clock pin m. The skew is determined by the relationship between clocks CLK1 and CLK2. That is, it is checked whether Tcd + Td + Tskew ≦ Tcm + τ is satisfied.

ここに、 Tcb:LSI端子からピンbまでのディレイ。Here, Tcb: Delay from LSI terminal to pin b.

TCM:LSI端子からピンmまでのディレイ。TCM: Delay from LSI terminal to pin m.

Td :ピンkまでのクリティカルディレイ値。Td: Critical delay value up to pin k.

Tskew:CLK1とCLK2間のスキュー値。Tskew: Skew value between CLK1 and CLK2.

τ:クロック周期。τ: Clock period.

例えば、FF−Iのデータ入力ピンlに至るクリティカ
ルパスが破線で示すごとく、c→g→h→j→lであっ
たとすると、FFチェックは、データ入力ピンlとクロ
ックピンnの間で行われ、同一クロックCLK3であってク
ロックスキューはない。
For example, if the critical path to the data input pin 1 of FF-I is c → g → h → j → l as shown by the broken line, the FF check is performed between the data input pin 1 and the clock pin n. The same clock CLK3 and no clock skew.

従来、クリティカルパスの追跡を高速に行い、且つクロ
ックスキューのチェックを早急に求めるためには次の方
法が採られていた。
Conventionally, the following method has been adopted in order to perform the tracking of the critical path at a high speed and to promptly check the clock skew.

(1)通過する全部のピンについてクリティカル積算ディ
レイ値と共に、クリティカルパスの開始ピンの番号を、
記憶させておき、終了ピンまで伝達させることにより、
FFチェック時の開始クロックピンの情報をすばやく入
手する。
(1) For all the passing pins, together with the critical integration delay value, the start pin number of the critical path,
By storing it and transmitting it to the end pin,
Quickly get information on the start clock pin at FF check.

(2)クリティカルパス上の各ピンにおいて、クリティカ
ル積算ディレイ値と共に、前段のピン番号を記憶させて
おく。これにより、、再度ディレイ計算なしでクリティ
カルパスの追跡ができるようにする。
(2) For each pin on the critical path, the pin number of the previous stage is stored together with the critical integration delay value. As a result, the critical path can be traced again without delay calculation.

(3)(1)と(2)の併用で、クリティカルパス上の各ピンに
おいて、クリティカル積算ディレイ値に加えて、前段の
ピン番号と開始ピン番号の両方を記憶させておく。
(3) By using both (1) and (2), both the pin number of the preceding stage and the starting pin number are stored in addition to the critical integration delay value for each pin on the critical path.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記従来のクロックピン情報入手の方法(1)〜(3)によれ
ば、次のような問題点があった。
According to the conventional methods (1) to (3) for obtaining clock pin information, there are the following problems.

(1)クリティカルディレイ算出後、クリティカルパスを
辿るには、再度ディレイ計算が必要となる。
(1) After calculating the critical delay, the delay calculation is required again to follow the critical path.

(2)クリティカルパスは終了ピンから逆追跡すれば簡単
に見つかるが、チェック時に開始ピンを見つけるとき
も、常に逆追跡をする必要がある。
(2) The critical path can be easily found by backtracking from the end pin, but it is necessary to always backtrack when finding the start pin when checking.

(3)大規模回路では全体回路のピン数が数万〜百万にも
なり、前段ピン番号と開始ピン番号の両方を記憶させる
ことは記憶容量的に問題がある。
(3) In a large-scale circuit, the number of pins of the whole circuit is in the range of tens of thousands to millions, and storing both the preceding-stage pin number and the starting pin number has a storage capacity problem.

本発明は、このような従来の問題点を解消したクリティ
カルパスの解析処理方式を提供しようとするものであ
る。
The present invention is intended to provide a critical path analysis processing method that solves the above conventional problems.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は、本発明のクリティカルパスの解析処理方式の
原理ブロック図を示す。
FIG. 1 is a block diagram showing the principle of the critical path analysis processing method according to the present invention.

図において、1はクリティカルディレイテーブルであ
り、各ピン毎に積算遅延時間値11と前段のピン番号12を
格納する。
In the figure, 1 is a critical delay table, which stores an integrated delay time value 11 and a pin number 12 of the preceding stage for each pin.

2はイベントテーブルであり、次に遅延時間値計算すべ
き次段ピン番号21とクリティカルパスを計算開始点まで
さかのぼった開始ピン番号22を格納する。
Reference numeral 2 is an event table, which stores the next-stage pin number 21 for which the delay time value is to be calculated next and the start pin number 22 that traces back to the calculation start point of the critical path.

3はクリティカルディレイテーブル作成手段であり、イ
ベントテーブル2を参照しつつ各段のフリップフロップ
又はゲートのピンごとにクリティカルディレイテーブル
を作成する。
Reference numeral 3 is a critical delay table creation means, which creates a critical delay table for each flip-flop or gate pin of each stage while referring to the event table 2.

4はイベントテーブル作成手段であり、クリティカルデ
ィレイテーブル1を参照しつつ各段ごとにイベントテー
ブル2を作成する。
Reference numeral 4 is an event table creating means, which creates the event table 2 for each stage while referring to the critical delay table 1.

〔作 用〕[Work]

イベントテーブル2は各FF段毎に備え、イベントテー
ブル2には次に計算すべき次段ピン番号21を記憶し、遅
延時間値計算を進行させる。このイベントテーブル2
に、次に計算すべきピン番号21と共に開始ピン番号22も
記憶させる。
The event table 2 is provided for each FF stage, the next stage pin number 21 to be calculated next is stored in the event table 2, and the delay time value calculation proceeds. This event table 2
The starting pin number 22 is stored together with the pin number 21 to be calculated next.

各ピン毎の積算遅延時間値の計算は、イベントテーブル
2の指示する順序で行われ、計算した積算遅延時間値11
は、前段ピン番号12と共にクリティカルディレイテーブ
ル1に格納する。イベントテーブル2は各ゲート段毎に
作成され、二つのゲート段分準備しておけばよく、処理
の済んだゲート段のテーブルの領域は、新しいゲート段
のテーブルの領域として使用することができる。
The calculation of the integrated delay time value for each pin is performed in the order instructed by the event table 2, and the calculated integrated delay time value 11
Are stored in the critical delay table 1 together with the preceding pin number 12. The event table 2 is created for each gate stage, and it suffices to prepare two gate stages, and the processed gate stage table region can be used as a new gate stage table region.

計算が次々と伝達されて、最終ピンに到達したところ
で、イベントテーブル2を開始ピンテーブルとして保存
する。別途格納してある開始ピンへのクロックと最終ピ
ンへのクロックの情報により、FFチェックのためのク
ロックスキューを求めることができる。
When the calculation is transmitted one after another and the final pin is reached, the event table 2 is saved as the starting pin table. The clock skew for the FF check can be obtained from the separately stored information on the clock to the start pin and the clock to the last pin.

以上のように、開始ピン情報は各ピン毎に持たせる必要
なく、二つのFF段のピン分だけで済むから所要記憶容
量は大幅に縮小される。
As described above, the start pin information does not have to be provided for each pin, and only the pins for two FF stages are required, so that the required storage capacity is greatly reduced.

例えば、ピン数が50万ピンであるとし、ゲート段数が20
段であるとし、開始ピン1本当り8バイトを要するとす
ると、開始ピン情報に要する記憶容量は、クリティカル
ディレイテーブルに設ける場合は、50万×8バイト=40
0万バイトとなり、イベントテーブルに記憶させる場合
は、1ゲート段分のイベントテーブル2の予想量は50万
ピン/20段=2.5万であるから 約2.5万×2×8バイト=40万バイトとなる。
For example, if the number of pins is 500,000 and the number of gate stages is 20,
Assuming that the number of stages is 8 bytes per start pin, the storage capacity required for start pin information is 500,000 × 8 bytes = 40 when provided in the critical delay table.
When it is stored in the event table, the expected amount of the event table 2 for one gate stage is 500,000 pins / 20 stages = 25,000, so about 25,000 x 2 x 8 bytes = 400,000 bytes. Become.

〔実施例〕〔Example〕

以下第2図乃至第4図に示す実施例により、本発明をさ
らに具体的に説明する。
The present invention will be described in more detail with reference to the examples shown in FIGS. 2 to 4.

第2図は、本発明の一実施例の処理装置における主記憶
上のメモリ使用状況を示す図である。
FIG. 2 is a diagram showing a memory usage state in the main memory in the processing apparatus according to the embodiment of the present invention.

図において、20はイベントテーブル領域であり、2ゲー
ト段分のイベントテーブルを格納する大きさを持つ。
In the figure, 20 is an event table area, which is large enough to store an event table for two gate stages.

10はクリティカルディレイテーブル領域であり、解析処
理対象回路のピン数分のクリティカルテーブルを格納す
る大きさを必要とする。
Reference numeral 10 is a critical delay table area, which requires a size for storing the critical table for the number of pins of the analysis processing target circuit.

30はクリティカルディレイテーブル作成プログラム領域
であり、積算ディレイルーチンその他を格納する。
Reference numeral 30 is a critical delay table creation program area, which stores an integration delay routine and the like.

40はイベントテーブル作成プログラム領域であり、次段
ピン検出ルーチン、ディレイ比較ルーチン、開始ピン検
出ルーチンを格納する。
An event table creation program area 40 stores a next stage pin detection routine, a delay comparison routine, and a start pin detection routine.

50は回路構成データ領域であり、設計されたディジタル
回路の構成を示す各種データを格納する。
A circuit configuration data area 50 stores various data indicating the configuration of the designed digital circuit.

60は初期データ領域であり、開始ピン番号、最終ピン番
号、クリティカルの定義(ディレイ最大か最小か)等の
初期条件を格納する。
An initial data area 60 stores initial conditions such as a start pin number, an end pin number, and critical definition (delay maximum or minimum).

第4図は、本発明の一実施例による処理を示すフローチ
ャートである。
FIG. 4 is a flow chart showing the processing according to one embodiment of the present invention.

第3図は、本発明の一実施例による処理例を示す図であ
る。
FIG. 3 is a diagram showing a processing example according to an embodiment of the present invention.

第3図において、A〜I,a〜l及びCLK1〜CLK3は、第
5図と同じく、それぞれFF又はゲート、ピン及びクロ
ック端子を示す。
In FIG. 3, A to I, a to l, and CLK1 to CLK3 indicate FFs or gates, pins, and clock terminals, respectively, as in FIG.

テーブル(2)−1は、第1ゲート段のイベントテーブル
を示し、テーブル(2)−2は第2ゲート段のイベントテ
ーブルを示す。テーブル(1)−1は、第1ゲート段に属
するFFの各ピン毎のクリティカルディレイテーブルを
示し、テーブル(1)−2は第2ゲート段に属するゲート
の各ピン毎のクリティカルディレイテーブルを示す。テ
ーブル(3)は、最終ゲート段のイベントテーブルであ
り、これが開始ピンテーブルとなったことを示す。
Table (2) -1 shows the event table of the first gate stage, and table (2) -2 shows the event table of the second gate stage. Table (1) -1 shows a critical delay table for each pin of the FF belonging to the first gate stage, and table (1) -2 shows a critical delay table for each pin of the gate belonging to the second gate stage. . The table (3) is the event table of the final gate stage, and shows that this is the start pin table.

以下、第4図のフローチャートの各ステップに従って、
第2図および第3図を参照して本実施例による処理の流
れを説明する。
Hereinafter, according to each step of the flowchart of FIG.
The flow of processing according to this embodiment will be described with reference to FIGS. 2 and 3.

イベントテーブル作成プログラムは、データ領域に格
納してある初期条件データ中の開始ピン情報を読み出
し、回路構成データを参照してテーブル(2)−0を作成
し、イベントテーブル領域に格納する。これには、次段
ピン及び開始ピン情報として共にa,b,cが記載され
る。テーブル(2)−0の作成を終わればクリティカルデ
ィレイテーブル作成プログラムに制御を渡す。
The event table creation program reads the start pin information in the initial condition data stored in the data area, creates the table (2) -0 by referring to the circuit configuration data, and stores it in the event table area. In this, a, b, and c are both described as the next-stage pin and start pin information. When the table (2) -0 has been created, control is passed to the critical delay table creation program.

クリティカルディレイテーブル作成プログラムは、テ
ーブル(2)−0に従って、ピンa,b,cの積算クリテ
ィカルディレイ値ta,tb,tcの計算を行い、前段ピン番号
も記載してテーブル(1)−1を作成し、クリティカルデ
ィレイテーブル領域に格納する。積算クリティカルディ
レイ値ta,tb,tcはそれぞれクロック端子CLK1,CLK2,CLK3
からピンa,b,cまでのディレイ値であり、前段ピン番号
はa,b,cである。テーブル(1)−1の作成を終われば制御
をイベントテーブル作成プログラムに渡す。
The critical delay table creation program calculates the integrated critical delay values ta, tb, tc of the pins a, b, c according to the table (2) -0, and also writes the previous stage pin number to obtain the table (1) -1. Create and store in the critical delay table area. The integrated critical delay values ta, tb, tc are clock terminals CLK1, CLK2, CLK3, respectively.
To the pins a, b, and c, and the preceding-stage pin numbers are a, b, and c. When the table (1) -1 has been created, control is passed to the event table creation program.

イベントテーブル作成プログラムは回路構成データか
ら、次に計算すべき次段ピンdとその開始ピンa、次段
ピンfとその開始ピンa、同様にeとb、gとcを記載
したテーブル(2)−1を作成し、イベントテーブル領域
に格納する。
The event table creation program is a table (2 which describes the next stage pin d and its start pin a, the next stage pin f and its start pin a, and similarly e and b, g and c to be calculated next from the circuit configuration data. ) -1 is created and stored in the event table area.

クリティカルディレイテーブル作成プログラムは、テ
ーブル(2)−1に従って、ピンaからピンd、ピンaか
らピンf、ピンbからピンe、ピンcからピンgまでの
ディレイ値を計算し、それぞれテーブル(1)−1のta,t
b,tcを加算した値ta,te,tf,tgを積算クリティカルディ
レイ値としてテーーブル(1)−2を作成しクリティカル
ディレイテーブル領域に格納する。
The critical delay table creation program calculates the delay values from pin a to pin d, pin a to pin f, pin b to pin e, and pin c to pin g according to table (2) -1. ) -1 ta, t
Table (1) -2 is created using the values ta, te, tf, and tg obtained by adding b and tc as integrated critical delay values and stored in the critical delay table area.

イベントテーブル作成プログラムは、回路構成データ
を読み次に計算すべき次段ピンをk,i,hとする。次い
で、初期データ領域からクリティカルの方向を読み、デ
ィレイの大きい側であることを認識し、ピンdとeの積
算クリティカルディレイ値をテーブル(1)−2から読ん
で比較し、td<teであったからピンeを通るパスをピン
kへのクリティカルパスとして開始ピンをbとし、同様
にtf<tgであったからピンgを通るパスをピンhへのク
リティカルパスとして開始ピンをcとする。次段ピン
k,i,hと開始ピンb,b,cとしてテーブル(2)−
2を作成し、イベントテーブル領域のテーブル(2)−0
の格納されていた場所に格納する。
The event table creation program reads the circuit configuration data and sets the next-stage pins to be calculated next as k, i, and h. Next, read the critical direction from the initial data area, recognize that it is the side with the larger delay, read the integrated critical delay values of pins d and e from table (1) -2 and compare them, and find that td <te Since the path passing through the pin e is a critical path to the pin k, the starting pin is b. Similarly, since tf <tg, the path passing through the pin g is a critical path to the pin h and the starting pin is c. Table (2) -for the next-stage pins k, i, h and start pins b, b, c
2 is created, and the table (2) -0 in the event table area
Store it in the place where it was stored.

クリティカルディレイテーブル作成プログラムは、テ
ーブル(2)−2に従ってピンhのディレイ計算を行い、
テーブル(1)−3を作る。ピンgを通るパスがクリティ
カルであるから、ピンgからピンhまでのディレイ値を
計算しこれにtgを加えた値を積算クリティカルディレイ
値thとし、前段ピン番号gを付けてテーブル(1)−3を
作り、クリティカルディレイテーブル領域に格納する。
The critical delay table creation program calculates the delay of pin h according to Table (2) -2,
Make table (1) -3. Since the path passing through the pin g is critical, the delay value from the pin g to the pin h is calculated, and the value obtained by adding tg to this is set as the integrated critical delay value th, and the preceding pin number g is added to the table (1)- 3 is created and stored in the critical delay table area.

イベントテーブル作成プログラムは、テーブル(1)−
3の結果からピンjに関するテーブル(2)−3を作り、
イベントテーブル領域のテーブル(2)−1の格納されて
いた場所に格納する。
The event table creation program uses table (1)-
Create table (2) -3 for pin j from the result of 3,
Store in the location where the table (2) -1 in the event table area was stored.

クリティカルディレイテーブル作成プログラムは、ピ
ンiおよびピンjについてディレイ計算し、テーブル
(1)−4を作りクリティカルディレイテーブル領域に格
納する。
The critical delay table creation program calculates delays for pin i and pin j,
(1) -4 is created and stored in the critical delay table area.

イベントテーブル作成プログラムは、ピンlについて
のイベントテーブル(2)−4を作る。そのためには、テ
ーブル(1)−4を読み、ピンiとピンjの積算クリティ
カルディレイ値を比較し、ti<tjであったから、ピンl
へのクリティカルパスはピンjを通るパスであることが
判り、開始ピン番号としてcを記載する。作成したテー
ブル(2)−4はイベントテーブル領域のテーブル(2)−2
のあった場所に格納する。
The event table creation program creates the event table (2) -4 for pin l. To do so, read Table (1) -4, compare the integrated critical delay values of pin i and pin j, and since ti <tj, pin l
It is found that the critical path to the path is a path passing through the pin j, and c is described as the starting pin number. The created table (2) -4 is the table (2) -2 in the event table area.
Store it where there was.

クリティカルディレイテーブル作成プログラムは、ピ
ンkについてディレイ計算を行いテーブル(1)−5を作
る。即ち、テーブル(2)−2からクリティカルパスはb
→e→kであることが判るから、ピンeからピンkまで
のディレイを計算しteを加算してtkを算出し、前段ピン
番号eを付加する。次いで、ピンlについてディレイ計
算し、テーブル(1)−5を作る。即ち、クリティカルパ
スはピンjを通るパスであるから、ピンjからピンlへ
のディレイを計算し、これにtjを加算して積算ディレ
イ値tlとし、前段ピン番号jを付加する。テーブル
(1)−5が、求める最終段のピンkおよびlの積算クリ
ティカルディレイ値tkおよびtlである。作成したテ
ーブルはクリティカルディレイテーブル領域に格納す
る。
The critical delay table creation program performs delay calculation for pin k and creates table (1) -5. That is, from Table (2) -2, the critical path is b
Since it is known that → e → k, the delay from the pin e to the pin k is calculated, te is added to calculate tk, and the preceding pin number e is added. Next, the delay calculation is made for the pin l, and Table (1) -5 is created. That is, since the critical path is a path passing through the pin j, the delay from the pin j to the pin l is calculated, tj is added to this, and the integrated delay value tl is added, and the preceding pin number j is added. table
(1) -5 is the integrated critical delay values tk and tl of the pins k and l at the final stage to be obtained. Store the created table in the critical delay table area.

イベントテーブル作成プログラムは、テーブル(2)−
2とテーブル(2)−4から最終ピンkとピンlの開始ピ
ン情報b,cを抜き出してテーブル(3)としてイベント
テーブル領域に保存する。テーブル(3)からクロックス
キューチェックに必要な開始ピンを知ることができる。
The event table creation program uses table (2)-
2 and the starting pin information b and c of the final pin k and the pin 1 from the table (2) -4 are extracted and stored in the event table area as the table (3). The starting pin required for clock skew check can be found from table (3).

〔発明の効果〕〔The invention's effect〕

以上説明のように本発明によれば、大規模ディジタル回
路のディレイ解析において、所要記憶容量が少なくて、
クリティカルパスの追跡およびクロックスキューのチェ
ックを高速に行うことができ、データ処理効率の向上に
寄与する効果は大である。
As described above, according to the present invention, in the delay analysis of the large-scale digital circuit, the required storage capacity is small,
The tracking of the critical path and the checking of the clock skew can be performed at high speed, and the effect of improving the data processing efficiency is great.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例におけるメモリ使用状況を示
す図、 第4図は本発明の一実施例による処理を示すフローチャ
ート、 第3図は本発明の一実施例による処理例を示す図、 第5図は従来例による処理例を示す図である。 図面において、 1はクリティカルディレイテーブル、 2はイベントテーブル、 3はクリティカルディレイテーブル作成手段、 4はイベントテーブル作成手段、 10はクリティカルディレイテーブル領域、 11は積算遅延時間値、12は前段ピン番号、 20はイベントテーブル領域、 21は次段ピン番号、22は開始ピン番号、 30はクリティカルディレイテーブル作成プログラム領
域、 40はイベントテーブル作成プログラム領域、 50は回路構成データ領域、60は初期データ領域、 をそれぞれ示す。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a diagram showing a memory use situation in one embodiment of the present invention, FIG. 4 is a flowchart showing a process according to one embodiment of the present invention, and FIG. FIG. 5 is a diagram showing a processing example according to an embodiment of the invention, and FIG. 5 is a diagram showing a processing example according to a conventional example. In the drawings, 1 is a critical delay table, 2 is an event table, 3 is a critical delay table creating means, 4 is an event table creating means, 10 is a critical delay table area, 11 is an accumulated delay time value, 12 is a previous pin number, 20 Is the event table area, 21 is the next pin number, 22 is the start pin number, 30 is the critical delay table creation program area, 40 is the event table creation program area, 50 is the circuit configuration data area, and 60 is the initial data area. Show.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】大規模ディジタル回路における遅延時間の
解析処理方式であって、 各フリップフロップ又はゲート回路の端子ピン毎に積算
遅延時間値(11)と前段フリップフロップ又はゲート回路
の端子ピン番号(12)を格納するクリティカルディレイテ
ーブル(1)を作成するクリティカルディレイテーブル作
成手段(3)と、 次に遅延時間計算すべき次段フリップフロップ又はゲー
ト回路の端子ピン番号(21)とクリティカルパスを開始点
までさかのぼった開始ピン番号(22)を格納するイベント
テーブル(2)を作成するイベントテーブル作成手段(4)を
備え、 遅延時間計算の開始点から最終点まで、フリップフロッ
プ又はゲートの各段毎に、クリティカルディレイテーブ
ル(1)及びイベントテーブル(2)を、互いに相手テーブル
を参照しつつ作成して、遅延時間計算処理を実行するよ
う構成したことを特徴とするクリティカルパスの解析処
理方式。
1. A method of analyzing delay time in a large-scale digital circuit, comprising: an integrated delay time value (11) for each terminal pin of each flip-flop or gate circuit and a terminal pin number ( 12), a critical delay table creating means (3) for creating a critical delay table (1), and a terminal pin number (21) of the next-stage flip-flop or gate circuit for which the delay time is to be calculated and a critical path are started. Equipped with event table creation means (4) that creates an event table (2) that stores the starting pin number (22) traced back to the point, from the start point to the final point of delay time calculation, for each stage of the flip-flop or gate. In addition, the critical delay table (1) and the event table (2) are created while referencing each other's table, and the delay time calculation process is performed. A critical path analysis processing method characterized by being configured to execute processing.
JP62252695A 1987-10-07 1987-10-07 Critical path analysis processing method Expired - Lifetime JPH0642253B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62252695A JPH0642253B2 (en) 1987-10-07 1987-10-07 Critical path analysis processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62252695A JPH0642253B2 (en) 1987-10-07 1987-10-07 Critical path analysis processing method

Publications (2)

Publication Number Publication Date
JPH0195365A JPH0195365A (en) 1989-04-13
JPH0642253B2 true JPH0642253B2 (en) 1994-06-01

Family

ID=17240963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62252695A Expired - Lifetime JPH0642253B2 (en) 1987-10-07 1987-10-07 Critical path analysis processing method

Country Status (1)

Country Link
JP (1) JPH0642253B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2666989B2 (en) * 1988-11-14 1997-10-22 株式会社東芝 Logic circuit delay time analyzer
JP2785708B2 (en) * 1994-09-22 1998-08-13 日本電気株式会社 Logic simulation method
CN112241613B (en) * 2019-07-19 2023-12-29 瑞昱半导体股份有限公司 Method for detecting pin association of circuit and computer processing system thereof

Also Published As

Publication number Publication date
JPH0195365A (en) 1989-04-13

Similar Documents

Publication Publication Date Title
US6305001B1 (en) Clock distribution network planning and method therefor
US5751596A (en) Automated system and method for identifying critical timing paths in integrated circuit layouts for use with automated circuit layout system
JP2000268080A (en) Static / dynamic timing verification method and storage medium
Agrawal et al. A hardware logic simulation system
CN117907812B (en) Circuit detection method and device, electronic device, storage medium, and program product
WO2004070634A1 (en) Method of estimating path delays in an ic
US7073153B2 (en) Route searching method and storage medium thereof
JPH0642253B2 (en) Critical path analysis processing method
US20030018462A1 (en) Multi-clock system simulation
Oh et al. Efficient logic-level timing analysis using constraint-guided critical path search
JP2853649B2 (en) How to create a logic simulation model
US20070266348A1 (en) Circuit conjunctive normal form generating method, circuit conjunctive normal form generating device, hazard check method and hazard check device
JP2002259488A (en) Clock skew verification method
US7010765B2 (en) Method for identifying removable inverters in an IC design
JPH06232735A (en) Designing method of synchronous digital electronic circuit
Auletta et al. A comparison of synchronous and asynchronous FSMD designs
JP2567985B2 (en) Digital circuit path automatic selection method and digital circuit path automatic selection device
JP2781081B2 (en) Logical operation method by parallel operation mechanism
US10133835B1 (en) System and method for computationally optimized characterization of complex logic cells
JPH08153129A (en) Easy reuse device
Kang et al. Accurate logic simulation by overcoming the unknown value propagation problem
JP2996153B2 (en) ASIC verification method
Weih et al. Verification of speed-independent data-path circuits
JP3191183B2 (en) Scan test control gate insertion method
CN116976255A (en) Module time sequence processing method, device and equipment of chip and storage medium