JP2970227B2 - Multi-stage logic optimizer - Google Patents

Multi-stage logic optimizer

Info

Publication number
JP2970227B2
JP2970227B2 JP4153742A JP15374292A JP2970227B2 JP 2970227 B2 JP2970227 B2 JP 2970227B2 JP 4153742 A JP4153742 A JP 4153742A JP 15374292 A JP15374292 A JP 15374292A JP 2970227 B2 JP2970227 B2 JP 2970227B2
Authority
JP
Japan
Prior art keywords
factor
cost
wiring
candidates
delay
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
JP4153742A
Other languages
Japanese (ja)
Other versions
JPH05342302A (en
Inventor
直孝 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4153742A priority Critical patent/JP2970227B2/en
Publication of JPH05342302A publication Critical patent/JPH05342302A/en
Application granted granted Critical
Publication of JP2970227B2 publication Critical patent/JP2970227B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理回路の最適化手段
に利用する。特に、多段論理の最適化手段に関する。
The present invention is used for optimizing a logic circuit. In particular, it relates to means for optimizing multi-stage logic.

【0002】[0002]

【従来の技術】従来、この種の多段論理最適化装置は、
対象回路の因子候補を列挙した後に、これらの因子自身
の面積コストおよび遅延コストのみによって最適な因子
を決定していた。
2. Description of the Related Art Conventionally, a multi-stage logic optimizing device of this kind has
After enumerating the factor candidates of the target circuit, the optimal factor was determined only by the area cost and the delay cost of these factors themselves.

【0003】[0003]

【発明が解決しようとする課題】このような従来例で
は、最適な因子を因子自身の面積コストおよび遅延コス
トのみで決定し、因子を採用した場合の配線コストを考
慮に入れていないので、配線による面積または遅延が無
視できないほどに増大し、結果として最適な回路が得ら
れない場合が生ずる欠点がある。
In such a conventional example, the optimum factor is determined only by the area cost and the delay cost of the factor itself, and the wiring cost when the factor is adopted is not taken into consideration. However, there is a disadvantage that the area or the delay due to the above-mentioned problem increases to a considerable extent, and as a result, an optimum circuit cannot be obtained.

【0004】本発明は、このような欠点を除去するもの
で、一層の回路面積の縮小および高速化が図れる手段を
もつ多段論理回路最適化装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a multi-stage logic circuit optimizing apparatus which eliminates such a drawback and has means for further reducing the circuit area and increasing the speed.

【0005】[0005]

【課題を解決するための手段】本発明は、与えられた入
力端子への信号到着時刻および出力端子への信号要求時
刻を含む制約条件を格納する制約条件入力手段と、多段
論理最適化対象回路の因子候補を列挙する因子候補列挙
手段と、制約条件入力手段に格納された制約条件に基づ
き上記因子候補列挙手段で列挙された因子候補の面積コ
ストおよび遅延コストを計算するコスト計算手段と、上
記因子候補列挙手段で列挙された因子候補の内でトータ
ルコストが最適な因子を決定する因子決定手段と、この
因子決定手段で決定された因子が所定の閾値を超えると
きにこの因子を採用する終了判定手段と、この終了判定
手段で採用された因子を上記多段論理回路へ適用して回
路構成を変更する因子代入手段とを備えた論理最適化装
置において、上記因子候補列挙手段で列挙された因子候
補のファンアウト数に基づき配線に関する面積コストお
よびまたは遅延コストを計算し、この計算結果の和であ
る配線コストに上記コスト計算手段で求まるコストを加
算した結果をトータルコストとして生成する配線コスト
計算手段を備えたことを特徴とする。
SUMMARY OF THE INVENTION The present invention provides a constraint input means for storing a constraint including a signal arrival time at a given input terminal and a signal request time at an output terminal, and a multi-stage logic optimization target circuit. Factor candidate enumeration means for enumerating the factor candidates of the above, cost calculation means for calculating the area cost and the delay cost of the factor candidates enumerated by the factor candidate enumeration means based on the constraints stored in the constraint condition input means, Factor deciding means for deciding a factor whose total cost is optimal among the factor candidates enumerated by the factor candidate enumerating means, and ending adopting this factor when the factor decided by this factor deciding means exceeds a predetermined threshold value A logic optimizing device comprising: a determination unit; and a factor substitution unit that changes a circuit configuration by applying the factor adopted by the end determination unit to the multi-stage logic circuit. The area cost and / or the delay cost of the wiring are calculated based on the number of fanouts of the factor candidates enumerated by the child candidate enumeration means, and the result obtained by adding the cost obtained by the cost calculation means to the wiring cost which is the sum of the calculation results is obtained. It is characterized by having a wiring cost calculating means for generating as a total cost.

【0006】[0006]

【作用】最適な因子を因子自身の面積コスト、遅延コス
トの他に配線コストも考慮に入れて決定する。これによ
り、配線による面積または遅延が無視できないほどに増
大し、結果として最適回路が得られなくなるのを回避で
きる。
The optimum factor is determined in consideration of the wiring cost in addition to the area cost and the delay cost of the factor itself. As a result, it is possible to avoid that the area or delay due to the wiring is increased to a level that cannot be ignored, and as a result, an optimum circuit cannot be obtained.

【0007】[0007]

【実施例】以下、本発明の一実施例について図面を参照
して説明する。図1はこの実施例を示す全体構成図で、
この実施例は、制約条件入力手段1、因子候補列挙手段
2、面積コスト計算手段3、遅延コスト計算手段4、配
線コスト計算手段5、因子決定手段6、終了判定手段7
および因子代入手段8から構成されている。図2を参照
すると、配線コスト計算手段5は、ファンアウト数計算
手段21、配線面積コスト計算手段22、配線遅延コス
ト計算手段23および配線コスト加算手段24から構成
されている。すなわち、この実施例は、図1および図2
または図3に示すように、与えられた入力端子への信号
到着時刻および出力端子への信号要求時刻を含む制約条
件を格納する制約条件入力手段1と、最適化の対象にな
る多段論理回路の因子候補を列挙する因子候補列挙手段
2と、制約条件入力手段1に格納された制約条件に基づ
き因子候補列挙手段2で列挙された因子候補の面積コス
トおよび遅延コストを計算するコスト計算手段である面
積コスト計算手段3および遅延コスト計算手段4と、因
子候補列挙手段2で列挙された因子候補の内でトータル
コストが最適な因子を決定する因子決定手段6と、この
因子決定手段6で決定された因子が所定の閾値を超える
ときにこの因子を採用する終了判定手段7と、この終了
判定手段7で採用された因子を上記多段論理回路へ適用
して回路構成を変更する因子代入手段8とを備え、さら
に、本発明の特徴とする手段として、因子候補列挙手段
2で列挙された因子候補のファンアウト数に基づき配線
に関する面積コストおよびまたは遅延コストを計算し、
この計算結果の和である配線コストに上記コスト計算手
段で求まるコストを加算した結果をトータルコストとし
て生成する配線コスト計算手段5を備える。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an overall configuration diagram showing this embodiment.
In this embodiment, constraint condition input means 1, factor candidate enumeration means 2, area cost calculation means 3, delay cost calculation means 4, wiring cost calculation means 5, factor determination means 6, end determination means 7
And factor substitution means 8. Referring to FIG. 2, the wiring cost calculating means 5 includes a fan-out number calculating means 21, a wiring area cost calculating means 22, a wiring delay cost calculating means 23, and a wiring cost adding means 24. That is, this embodiment is different from the embodiment shown in FIGS.
Alternatively, as shown in FIG. 3, a constraint condition input means 1 for storing constraint conditions including a signal arrival time at a given input terminal and a signal request time at an output terminal, and a multi-stage logic circuit to be optimized. Factor candidate enumeration means 2 for enumerating factor candidates, and cost calculation means for calculating the area cost and the delay cost of the factor candidates enumerated by the factor candidate enumeration means 2 based on the constraints stored in the constraint condition input means 1. Area cost calculation means 3 and delay cost calculation means 4, factor determination means 6 for determining the optimum factor among the factor candidates enumerated by factor candidate enumeration means 2, and factor determination means 6 determining the total cost. When the factor exceeds a predetermined threshold, the end determining means 7 adopts this factor, and the factor adopted by the end determining means 7 is applied to the multi-stage logic circuit to change the circuit configuration. And a factor assignment means 8 for further as a means which is a feature of the present invention, the area cost and or delay costs for wiring calculated based on the number of fan-out of the listed factors candidates factor candidate enumeration means 2,
There is provided a wiring cost calculating means 5 for generating a result obtained by adding a cost obtained by the cost calculating means to a wiring cost which is a sum of the calculation results as a total cost.

【0008】次に、この実施例の動作について図面を参
照して説明する。入力端子への信号の到着時刻、出力端
子への信号の要求時刻等の制約条件が入力されると、制
約条件入力手段1はこれを内部データ構造に変換して格
納する。次に因子候補列挙手段2は対象回路の因子候補
を列挙する。面積コスト計算手段3、遅延コスト計算手
段4は制約条件よりこれらの因子候補の面積コスト、遅
延コストを計算する。次に配線コスト計算手段5は、フ
ァンアウト数計算手段21により各因子のファンアウト
数を計算する。これを元に、配線面積コスト計算手段2
2はあらかじめテクノロジごとに見積もられた計算式よ
り配線の面積コストを、同様に、配線遅延コスト計算手
段23は配線の遅延コストを計算する。配線コスト加算
手段24は、これらの配線に関するコストを、面積コス
ト計算手段3、遅延コスト計算手段4で求めたコストに
加えてトータルのコストを計算する。因子決定手段6は
因子候補の中からトータルコストの最適なものを選択し
因子と決定する。次に終了判定手段7は、この決定され
た因子のコストが特定のしきい値を満たすかどうかのチ
ェックを行い、満たす場合には因子代入手段8により実
際に因子を対象回路に代入して回路構成を変更し、因子
候補列挙手段2からの処理を繰り返す。また、満たさな
い場合にはこれ以上の多段化は不可能と判断し処理を終
了する。
Next, the operation of this embodiment will be described with reference to the drawings. When constraint conditions such as the arrival time of a signal at an input terminal and the request time of a signal at an output terminal are input, the constraint condition input means 1 converts this into an internal data structure and stores it. Next, the factor candidate listing means 2 lists the factor candidates of the target circuit. The area cost calculation means 3 and the delay cost calculation means 4 calculate the area cost and the delay cost of these factor candidates based on the constraint condition. Next, the wiring cost calculation means 5 calculates the fanout number of each factor by the fanout number calculation means 21. Based on this, the wiring area cost calculation means 2
Reference numeral 2 denotes a wiring area cost based on a calculation formula estimated in advance for each technology, and similarly, a wiring delay cost calculation unit 23 calculates a wiring delay cost. The wiring cost adding means 24 calculates the total cost in addition to the costs relating to these wirings, in addition to the costs obtained by the area cost calculating means 3 and the delay cost calculating means 4. The factor determining means 6 selects an optimal one of the total costs from the factor candidates and determines it as a factor. Next, the end determination means 7 checks whether or not the cost of the determined factor satisfies a specific threshold value. If the cost is satisfied, the factor determination means 8 actually substitutes the factor into the target circuit by the factor substitution means 8. The configuration is changed, and the processing from the factor candidate listing means 2 is repeated. If the condition is not satisfied, it is determined that further multi-stage processing is impossible, and the process is terminated.

【0009】図3は図2に示す実施例の配線コスト計算
手段5を別な手段で実現した実施例の構成図であり、フ
ァンアウト数計算手段31、配線遅延コスト計算手段3
2、配線コスト加算手段33から構成されている。この
実施例では、配線コストの計算は遅延コストのみによっ
て行っている。また、配線コストの計算を面積コストの
みにより行うこともできる。
FIG. 3 is a block diagram of an embodiment in which the wiring cost calculating means 5 of the embodiment shown in FIG. 2 is realized by another means. The fan-out number calculating means 31, the wiring delay cost calculating means 3
2. It is composed of wiring cost adding means 33. In this embodiment, the calculation of the wiring cost is performed only by the delay cost. Further, the calculation of the wiring cost can be performed only by the area cost.

【0010】[0010]

【発明の効果】本発明は、以上説明したように、因子自
身のコストに加えて因子を採用した場合の配線コストも
考慮することにより、多段論理最適化後の回路の面積を
より小さくしたり、スピードをより速くすることができ
る効果がある。
According to the present invention, as described above, the area of the circuit after multi-stage logic optimization can be reduced by considering the wiring cost when the factor is employed in addition to the cost of the factor itself. This has the effect of increasing the speed.

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

【図1】本発明実施例の全体構成を示す図。FIG. 1 is a diagram showing an overall configuration of an embodiment of the present invention.

【図2】図1に含まれる配線コスト計算手段の第一の構
成を示す図。
FIG. 2 is a diagram showing a first configuration of a wiring cost calculation unit included in FIG. 1;

【図3】図1に含まれる配線コスト計算手段の第二の構
成を示す図。
FIG. 3 is a diagram showing a second configuration of the wiring cost calculation means included in FIG. 1;

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

1 制約条件入力手段 2 因子候補列挙手段 3 面積コスト計算手段 4 遅延コスト計算手段 5 配線コスト計算手段 6 因子決定手段 7 終了判定手段 8 因子代入手段 21、31 ファンアウト数計算手段 22 配線面積コスト計算手段 23、32 配線遅延コスト計算手段 24、33 配線コスト加算手段 DESCRIPTION OF SYMBOLS 1 Constraint condition input means 2 Factor candidate enumeration means 3 Area cost calculation means 4 Delay cost calculation means 5 Wiring cost calculation means 6 Factor determination means 7 Termination determination means 8 Factor substitution means 21, 31 Fanout number calculation means 22 Wiring area cost calculation Means 23, 32 Wiring delay cost calculating means 24, 33 Wiring cost adding means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 与えられた入力端子への信号到着時刻お
よび出力端子への信号要求時刻を含む制約条件を格納す
る制約条件入力手段と、最適化の対象になる多段論理回
路の因子候補を列挙する因子候補列挙手段と、上記制約
条件入力手段に格納された制約条件に基づき上記因子候
補列挙手段で列挙された因子候補の面積コストおよび遅
延コストを計算するコスト計算手段と、上記因子候補列
挙手段で列挙された因子候補の内でトータルコストが最
適な因子を決定する因子決定手段と、この因子決定手段
で決定された因子が所定の閾値を超えるときにこの因子
を採用する終了判定手段と、この終了判定手段で採用さ
れた因子を上記多段論理回路へ適用して回路構成を変更
する因子代入手段とを備えた論理最適化装置において、 上記因子候補列挙手段で列挙された因子候補のファンア
ウト数に基づき配線に関する面積コストおよびまたは遅
延コストを計算し、この計算結果の和である配線コスト
に上記コスト計算手段で求まるコストを加算した結果を
トータルコストとして生成する配線コスト計算手段を備
えたことを特徴とする多段論理最適化装置。
1. Constraint condition input means for storing constraint conditions including a signal arrival time at a given input terminal and a signal request time at an output terminal, and enumerate factor candidates of a multistage logic circuit to be optimized. Factor calculating means for calculating the area cost and the delay cost of the factor candidates enumerated by the factor candidate enumeration means based on the constraint conditions stored in the constraint condition input means, and the factor candidate enumeration means A factor determining means for determining a factor whose total cost is optimal among the factor candidates enumerated in the above, an end determining means for adopting this factor when the factor determined by the factor determining means exceeds a predetermined threshold, A logic substituting means for applying a factor adopted by the end determining means to the multi-level logic circuit to change a circuit configuration; Calculate the area cost and / or delay cost related to the wiring based on the number of fan-outs of the factor candidates listed in the column, and add the cost obtained by the cost calculating means to the wiring cost which is the sum of the calculation results as a total cost. A multi-stage logic optimizing device comprising a wiring cost calculating means for generating.
JP4153742A 1992-06-12 1992-06-12 Multi-stage logic optimizer Expired - Lifetime JP2970227B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4153742A JP2970227B2 (en) 1992-06-12 1992-06-12 Multi-stage logic optimizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4153742A JP2970227B2 (en) 1992-06-12 1992-06-12 Multi-stage logic optimizer

Publications (2)

Publication Number Publication Date
JPH05342302A JPH05342302A (en) 1993-12-24
JP2970227B2 true JP2970227B2 (en) 1999-11-02

Family

ID=15569121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4153742A Expired - Lifetime JP2970227B2 (en) 1992-06-12 1992-06-12 Multi-stage logic optimizer

Country Status (1)

Country Link
JP (1) JP2970227B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3092664B2 (en) 1998-06-24 2000-09-25 日本電気株式会社 Design support method

Also Published As

Publication number Publication date
JPH05342302A (en) 1993-12-24

Similar Documents

Publication Publication Date Title
US6090150A (en) Method of designing clock wiring and apparatus for implementing the same
US4628449A (en) Vector interrupt system and method
JP2970227B2 (en) Multi-stage logic optimizer
US6038384A (en) Input slope timing analysis and non-linear delay table optimization
JP2674462B2 (en) Semiconductor device
US5073871A (en) Main storage access priority control system that checks bus conflict condition and logical storage busy condition at different clock cycles
US7016932B2 (en) Adders and adder bit blocks having an internal propagation characteristic independent of a carry input to the bit block and methods for using the same
US7028273B2 (en) Delay optimization designing system and delay optimization designing method for a logic circuit and control program
JP3019020B2 (en) Circuit design method and system
US7219167B2 (en) Accessing configuration registers by automatically changing an index
US6167557A (en) Method and apparatus for logic synthesis employing size independent timing optimization
JP4053969B2 (en) Semiconductor integrated circuit design apparatus and semiconductor integrated circuit design method
JP2737490B2 (en) Logic circuit optimization processing method
JP2924464B2 (en) Logic synthesis method
JP3024241B2 (en) Automatic placement and routing system for integrated circuits
JPH04251961A (en) Placement design system for circuit block by cad
JP2635863B2 (en) Central processing unit
JP3087319B2 (en) Timing verification system
JP2024006425A (en) Signal detection device, vehicle, and method
JP2000228447A (en) Semiconductor integrated circuit design device, its wiring control method and memory medium wherein wiring control program is stored
CN118113297A (en) Code optimization method, device, medium and electronic equipment
JPH02170448A (en) Support system for deciding circuit size
JP3036590B2 (en) External device control circuit
JPH07182279A (en) Bus arbitration circuit
JPH02213153A (en) Block arrangement processing method