JPH05128192A - Power consumption calculation method - Google Patents

Power consumption calculation method

Info

Publication number
JPH05128192A
JPH05128192A JP3287612A JP28761291A JPH05128192A JP H05128192 A JPH05128192 A JP H05128192A JP 3287612 A JP3287612 A JP 3287612A JP 28761291 A JP28761291 A JP 28761291A JP H05128192 A JPH05128192 A JP H05128192A
Authority
JP
Japan
Prior art keywords
power consumption
cell
signal change
change information
information
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
JP3287612A
Other languages
Japanese (ja)
Inventor
Kenichi Takatsuki
賢一 高槻
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3287612A priority Critical patent/JPH05128192A/en
Publication of JPH05128192A publication Critical patent/JPH05128192A/en
Pending legal-status Critical Current

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

PURPOSE:To calculate power consumption corresponding to the actual operation of an integrated circuit and to confirm the distribution of power consumption by defining the power consumption corresponding to the combination of input signals for each cell, reading in the signal change information of a logic simulation result and calculating the power consumption corresponding to the signal change information. CONSTITUTION:Logic simulation 5 is executed based on a circuit connection information 1, a test pattern 2 and a cell library 3 to obtain a logic simulation result (the signal change information for each cell) 6. The power consumption corresponding to the signal change information (the combination of input signals for each cell) 6 is retrieved from power consumption information 4 and the power consumption corresponding to the signal change information is calculated (7). When the calculation of the power consumption for the entire cells, color division display 8 of the calculated power consumption is made on a display and the file output of the power consumption is obtained. Thus, the power consumption corresponding to the actual operation of the integrated circuit can be obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、集積回路をCAD設計
する際に、複数のセルの動的な消費電力を計算する消費
電力計算方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power consumption calculation method for calculating dynamic power consumption of a plurality of cells when CAD designing an integrated circuit.

【0002】[0002]

【従来の技術】図1は、集積回路装置におけるセルの従
来の消費電力計算の方法を説明するための図であり、図
において11は電源配線である。電源配線11には3個のセ
ル12a,12b,12c が接続されている。各セル12a,12b,12c
には夫々静的な (固定された)消費電力WAS,WBS,W
CSが定義されている。この電源配線11の総消費電力W
は、各セルの消費電力の和として下記(1)式にて計算
される。 W=WAS+WBS+WCS …(1)
2. Description of the Related Art FIG. 1 is a diagram for explaining a conventional method of calculating power consumption of a cell in an integrated circuit device, in which 11 is a power supply wiring. Three cells 12a, 12b, 12c are connected to the power supply wiring 11. Each cell 12a, 12b, 12c
Static (fixed) power consumption W AS , W BS , W respectively
CS is defined. Total power consumption W of this power supply wiring 11
Is calculated by the following equation (1) as the sum of power consumption of each cell. W = W AS + W BS + W CS (1)

【0003】[0003]

【発明が解決しようとする課題】従来の消費電力計算は
以上のような方法で行われているので、静的な消費電
力、つまり各セルのある1つの動作状態での消費電力、
及びその総和しか表現できない。従って、実使用下での
消費電力、例えば単位時間当たりの消費電力は少ない
が、電力を消費している時間が長くて総消費電力が多い
とか、その逆とかの実使用にあった消費電力を計算でき
ないという問題点があった。
Since the conventional power consumption calculation is performed by the above method, the static power consumption, that is, the power consumption in one operating state of each cell,
And only the sum of them can be expressed. Therefore, the power consumption in actual use, for example, the power consumption per unit time is small, but the power consumption time is long and the total power consumption is large, and vice versa. There was a problem that it could not be calculated.

【0004】本発明はこのような問題点を解消するため
になされたものであり、実際の集積回路の動作に即した
消費電力を計算できる消費電力計算方法を提供すること
を目的とする。
The present invention has been made in order to solve such a problem, and an object thereof is to provide a power consumption calculation method capable of calculating the power consumption according to the actual operation of an integrated circuit.

【0005】[0005]

【課題を解決するための手段】本発明に係る消費電力計
算方法は、各セルごとに入力信号の組み合わせに対応し
た消費電力を定義し、論理シミュレーション結果の信号
変化情報を読み込み、信号変化情報に対応した消費電力
を計算することを特徴とする。
A power consumption calculation method according to the present invention defines power consumption corresponding to a combination of input signals for each cell, reads signal change information of a logic simulation result, and converts the signal change information into signal change information. The feature is that the corresponding power consumption is calculated.

【0006】[0006]

【作用】本発明の消費電力計算方法では、このように各
セルにおけるさまざまな信号変化パターンに対応させて
消費電力を計算するので、集積回路の実使用に即した消
費電力を計算することになる。
In the power consumption calculation method of the present invention, the power consumption is calculated in this manner in correspondence with various signal change patterns in each cell, so that the power consumption is calculated according to the actual use of the integrated circuit. ..

【0007】[0007]

【実施例】以下、本発明の実施例について具体的に説明
する。
EXAMPLES Examples of the present invention will be specifically described below.

【0008】図2は、本発明の一実施例の処理の流れを
示すフロー図である。図中1は論理下に入力する回路接
続情報、2は論理シミュレーションを動作させるテスト
パターン、3は各セルの各種情報を有するセルライブラ
リである。セルライブラリ3には各セルの入力信号の組
み合わせごとに定義した消費電力情報4が含まれてい
る。回路接続情報1とテストパターン2とセルライブラ
リ3とに基づいて、論理シミュレーションを実行し(図
中5)、論理シミュレーション結果(各セルの信号変化
情報)6を得る。次に、各セルの信号変化情報6(各セ
ルの入力信号の組み合わせ)に対応する消費電力を消費
電力情報4から検索し、その信号変化情報に合った消費
電力を計算する(図中7)。全セルについて消費電力の
計算を終了すると、計算された消費電力のディスプレイ
への色分け表示8を行うと共に、その消費電力のファイ
ル出力9を得る。
FIG. 2 is a flow chart showing the flow of processing in one embodiment of the present invention. In the figure, 1 is circuit connection information input under logic, 2 is a test pattern for operating a logic simulation, and 3 is a cell library having various information of each cell. The cell library 3 includes power consumption information 4 defined for each combination of input signals of each cell. Based on the circuit connection information 1, the test pattern 2, and the cell library 3, a logic simulation is executed (5 in the figure) to obtain a logic simulation result (signal change information of each cell) 6. Next, the power consumption corresponding to the signal change information 6 of each cell (combination of input signals of each cell) is searched from the power consumption information 4, and the power consumption suitable for the signal change information is calculated (7 in the figure). . When the calculation of the power consumption is completed for all the cells, the calculated power consumption is color-coded on the display 8 and the file output 9 of the power consumption is obtained.

【0009】以下、本発明の具体例について説明する。
図3は、各セル(本実施例では3個のセルA,B,C)
における消費電力情報4の一例を示している。セルAは
2個の入力ピンを有し、図3に示すように、各入力ピン
への信号のオン,オフにより4種の単位時間当たりの消
費電力WA0,WA1,WA2,WA3が定義されている。また
セルBは3個の入力ピンを有し、図3に示すように、各
入力ピンへの信号のオン,オフにより8種の単位時間当
たりの消費電力WB0,WB1,WB2,WB3,WB4,WB5
B6,WB7が定義されている。更にセルCは2個の入力
ピンを有し、図3に示すように、各入力ピンへの信号の
オン,オフにより4種の単位時間当たりの消費電力
C0,WC1,WC2,WC3が定義されている。
Specific examples of the present invention will be described below.
FIG. 3 shows each cell (three cells A, B, C in this embodiment).
7 shows an example of the power consumption information 4 in FIG. The cell A has two input pins, and as shown in FIG. 3, four kinds of power consumption W A0 , W A1 , W A2 , W A3 per unit time by turning on and off a signal to each input pin. Is defined. Further, the cell B has three input pins, and as shown in FIG. 3, eight kinds of power consumption W B0 , W B1 , W B2 , W per unit time are generated by turning on / off the signal to each input pin. B3 , W B4 , W B5 ,
W B6 and W B7 are defined. Further, the cell C has two input pins, and as shown in FIG. 3, four types of power consumption W C0 , W C1 , W C2 , W per unit time are generated by turning on and off the signal to each input pin. C3 is defined.

【0010】図4は、論理シミュレーションの実行によ
り出力される信号変化情報6の一例を示している。3個
の各セルA,B,Cの各入力ピンへの信号のオン,オフ
が、12段階の時間間隔t1 〜t12に応じて、図4に示す
ように制御されている。
FIG. 4 shows an example of the signal change information 6 output by the execution of the logic simulation. Three of each cell A, B, signals on to each input pin and C, off, depending on the time interval t 1 ~t 12 of 12 stages is controlled as shown in FIG.

【0011】消費電力計算のステップ(図2の7)で
は、図4に示すような信号変化情報6の各時間間隔にお
ける各セルの入力信号の組み合わせに対応した組み合わ
せを、図3に示すような消費電力情報4の入力信号の組
み合わせの中から検索し、その信号の組み合わせでの単
位時間当たりの消費電力を抽出する。例えばセルAの場
合について説明すれば、図4での各時間間隔tn (n=
1〜12) での入力ピン1と入力ピン2との信号変化の組
み合わせに一致する組み合わせを図3から検索し、その
組み合わせに対応する単位時間当たりの消費電力をWA0
〜WA3から抽出するという動作をt1 からt12まで繰り
返す。具体的には、時間間隔t1 では入力ピン1,入力
ピン2が共に0であるので、単位時間当たりの消費電力
A0を抽出し、時間間隔t3 では入力ピン1が1,入力
ピン2が0であるので、単位時間当たりの消費電力WA2
を抽出する。このようにして、各セル毎に抽出した時間
間隔t1 からt12に対応する単位時間当たりの消費電力
の一覧を図5に示す。
In the step of calculating the power consumption (7 in FIG. 2), the combinations corresponding to the combinations of the input signals of the respective cells at the respective time intervals of the signal change information 6 as shown in FIG. 4 are as shown in FIG. The combination of input signals of the power consumption information 4 is searched, and the power consumption per unit time in the combination of the signals is extracted. For example, in the case of the cell A, each time interval t n (n = n = n in FIG.
1 to 12), the combination matching the signal change combination of the input pin 1 and the input pin 2 is searched from FIG. 3, and the power consumption per unit time corresponding to the combination is calculated as W A0
The operation of extracting from W A3 is repeated from t 1 to t 12 . Specifically, since both the input pin 1 and the input pin 2 are 0 in the time interval t 1 , the power consumption W A0 per unit time is extracted, and the input pin 1 is 1 and the input pin 2 is in the time interval t 3. Is 0, power consumption W A2 per unit time
To extract. FIG. 5 shows a list of power consumption per unit time corresponding to the time intervals t 1 to t 12 extracted for each cell in this way.

【0012】各セルの総消費電力は時間間隔tn と単位
時間当たりの消費電力との積の総和により求められる。
具体的に示せば、セルAの総消費電力WA は下記(2)
式にて計算される。 WA =WA0×t1 +WA0×t2 +WA2×t3 +WA2×t4 +WA2×t5 +WA3×t6 +WA3×t7 +WA3×t8 +WA1×t9 +WA0×t10+WA0×t11+WA0×t12…(2) また、同様にして、セルBの総消費電力WB ,セルCの
総消費電力WC は夫々下記(3)式,(4)式にて計算
される。 WB =WB0×t1 +WB4×t2 +WB6×t3 +WB7×t4 +WB3×t5 +WB1×t6 +WB1×t7 +WB5×t8 +WB5×t9 +WB5×t10+WB7×t11+WB3×t12…(3) WC =WC2×t1 +WC3×t2 +WC3×t3 +WC2×t4 +WC0×t5 +WC0×t6 +WC1×t7 +WC3×t8 +WC3×t9 +WC2×t10+WC3×t11+WC1×t12…(4)
The total power consumption of each cell is obtained by summing the products of the time interval t n and the power consumption per unit time.
Specifically, the total power consumption W A of the cell A is (2) below.
Calculated by formula. W A = W A0 × t 1 + W A0 × t 2 + W A2 × t 3 + W A2 × t 4 + WA 2 × t 5 + W A3 × t 6 + W A3 × t 7 + W A3 × t 8 + W A1 × t 9 + W A0 × t 10 + WA 0 × t 11 + WA 0 × t 12 (2) Similarly, the total power consumption W B of the cell B and the total power consumption W C of the cell C are expressed by the following equations (3) and (4), respectively. ) Is calculated by the formula. W B = W B0 × t 1 + W B4 × t 2 + W B6 × t 3 + W B7 × t 4 + W B3 × t 5 + W B1 × t 6 + W B1 × t 7 + W B5 × t 8 + W B5 × t 9 + W B5 × t 10 + W B7 × t 11 + W B3 × t 12 ... (3) W C = W C2 × t 1 + W C3 × t 2 + W C3 × t 3 + W C2 × t 4 + W C0 × t 5 + W C0 × t 6 + W C1 × t 7 + W C3 × t 8 + W C3 × t 9 + W C2 × t 10 + W C3 × t 11 + W C1 × t 12 (4)

【0013】全セルについての消費電力の計算が終了す
ると、計算結果をファイル出力すると共に、レイアウト
パターン上に消費電力に応じてセルを色分け表示する。
図6は、消費電力のディスプレイ表示におけるレイアウ
トパターンへの消費電力分布の色分け表示の一例を示し
ている。図中8aは、各セル8bを配置した結果のレイアウ
トパターンである。本例では、網目模様は消費電力W1
以上のセル、斜線模様は消費電力W2 からW1 の間のセ
ル、白ぬきは消費電力W2 以下のセルを示しており、夫
々を異なる色にて色分け表示する。このように、レイア
ウトパターン上に消費電力を色分け表示すると、消費電
力の分布を一目で認識できるという効果がある。
When the calculation of the power consumption of all the cells is completed, the calculation result is output as a file and the cells are displayed in different colors on the layout pattern according to the power consumption.
FIG. 6 shows an example of color-coded display of the power consumption distribution on the layout pattern in the display of the power consumption. In the figure, 8a is a layout pattern as a result of arranging the cells 8b. In this example, the mesh pattern has power consumption W 1
The above cells, the shaded patterns indicate cells between the power consumptions W 2 and W 1 , and the white boxes indicate the cells whose power consumption is below W 2 , and each of them is color-coded and displayed. As described above, displaying the power consumption in different colors on the layout pattern has an effect that the distribution of the power consumption can be recognized at a glance.

【0014】図7は、本発明の他の実施例の処理の流れ
を示すフロー図である。上記実施例では各セルの総消費
電力のファイル出力とレイアウトパターン上への色分け
表示とを行う場合について説明したが、図7に示すよう
に消費電力の計算結果を、自動配置配線処理における情
報として入力させてもよい。図7におけるステップ10で
は、消費電力計算の出力ファイル9の中に、図5に示す
ような各セルの消費電力の情報を出力し、これを参照し
ながら、電源配線の経路を決定し、接続するセルの消費
電力の総和により電源配線の幹線及び枝線の幅を制御す
る。
FIG. 7 is a flow chart showing the flow of processing of another embodiment of the present invention. In the above-described embodiment, the case where the file output of the total power consumption of each cell and the color-coded display on the layout pattern are performed has been described. However, as shown in FIG. You may enter it. In step 10 in FIG. 7, information about the power consumption of each cell as shown in FIG. 5 is output to the output file 9 for power consumption calculation, and the route of the power supply wiring is determined and connected with reference to this information. The width of the main line and the branch line of the power supply wiring is controlled by the total power consumption of the cells.

【0015】[0015]

【発明の効果】以上のように、本発明によれば各セルの
消費電力を入力信号の組み合わせに対応した形で定義
し、論理シミュレーションの結果を参照して消費電力を
計算するので、集積回路の実際の動作に即した消費電力
を計算できる。また、消費電力の情報を色分けしてレイ
アウトパターンデータ上に表示する場合には、消費電力
分布をひと目で確認できるという効果を奏する。
As described above, according to the present invention, the power consumption of each cell is defined in a form corresponding to the combination of input signals, and the power consumption is calculated with reference to the result of the logic simulation. Power consumption can be calculated according to the actual operation of. Further, when the power consumption information is color-coded and displayed on the layout pattern data, the power consumption distribution can be confirmed at a glance.

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

【図1】従来の消費電力計算を説明するための図であ
る。
FIG. 1 is a diagram for explaining a conventional power consumption calculation.

【図2】本発明の消費電力計算方法の一実施例の処理手
順を示すフロー図である。
FIG. 2 is a flowchart showing a processing procedure of an embodiment of a power consumption calculation method of the present invention.

【図3】本発明における消費電力情報の一例を示す図で
ある。
FIG. 3 is a diagram showing an example of power consumption information according to the present invention.

【図4】本発明における信号変化情報の一例を示す図で
ある。
FIG. 4 is a diagram showing an example of signal change information according to the present invention.

【図5】本発明における消費電力計算結果の一例を示す
図である。
FIG. 5 is a diagram showing an example of a power consumption calculation result in the present invention.

【図6】本発明における消費電力分布表示の一例を示す
図である。
FIG. 6 is a diagram showing an example of a power consumption distribution display according to the present invention.

【図7】本発明の消費電力計算方法の他の実施例の処理
手順を示すフロー図である。
FIG. 7 is a flowchart showing a processing procedure of another embodiment of the power consumption calculation method of the present invention.

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

1 回路接続情報 2 テストパターン 3 セルライブラリ 4 消費電力情報 6 論理シミュレーション結果(信号変化情報) 8 消費電力(ディスプレイ表示) 8a レイアウトパターン 8b セル 9 消費電力(ファイル) 1 circuit connection information 2 test pattern 3 cell library 4 power consumption information 6 logic simulation result (signal change information) 8 power consumption (display) 8a layout pattern 8b cell 9 power consumption (file)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 夫々に複数の信号が入力される集積回路
の複数のセルの消費電力を計算する方法において、前記
信号の組み合わせに対応する消費電力情報を前記各セル
ごとに準備し、前記信号の組み合わせについての論理シ
ミュレーションを施して信号変化情報を得、前記消費電
力情報を参照して前記信号変化情報に応じた消費電力を
計算することを特徴とする消費電力計算方法。
1. A method of calculating power consumption of a plurality of cells of an integrated circuit to which a plurality of signals are respectively input, wherein power consumption information corresponding to a combination of the signals is prepared for each cell, The power consumption calculation method is characterized in that signal change information is obtained by performing a logical simulation for the combination of, and power consumption corresponding to the signal change information is calculated with reference to the power consumption information.
JP3287612A 1991-11-01 1991-11-01 Power consumption calculation method Pending JPH05128192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3287612A JPH05128192A (en) 1991-11-01 1991-11-01 Power consumption calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3287612A JPH05128192A (en) 1991-11-01 1991-11-01 Power consumption calculation method

Publications (1)

Publication Number Publication Date
JPH05128192A true JPH05128192A (en) 1993-05-25

Family

ID=17719528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3287612A Pending JPH05128192A (en) 1991-11-01 1991-11-01 Power consumption calculation method

Country Status (1)

Country Link
JP (1) JPH05128192A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000323575A (en) * 1999-05-10 2000-11-24 Asahi Kasei Microsystems Kk Verification method for electronic circuit
US6493659B1 (en) 1998-05-29 2002-12-10 Nec Corporation Power consumption calculating apparatus and method of the same
JP2013041406A (en) * 2011-08-15 2013-02-28 Fujitsu Ltd Current consumption calculation device, current consumption calculation program and current consumption calculation method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493659B1 (en) 1998-05-29 2002-12-10 Nec Corporation Power consumption calculating apparatus and method of the same
JP2000323575A (en) * 1999-05-10 2000-11-24 Asahi Kasei Microsystems Kk Verification method for electronic circuit
JP4571251B2 (en) * 1999-05-10 2010-10-27 旭化成エレクトロニクス株式会社 Electronic circuit verification method
JP2013041406A (en) * 2011-08-15 2013-02-28 Fujitsu Ltd Current consumption calculation device, current consumption calculation program and current consumption calculation method

Similar Documents

Publication Publication Date Title
JPH03257671A (en) Design uptake system
JPH07200642A (en) Delay time calculating device for semiconductor integrated circuit
US6675366B1 (en) System and method for disabling schematics
JPH05128192A (en) Power consumption calculation method
JPH0955433A (en) Simulating device and method of semiconductor integrated circuit
JP2557856B2 (en) CAD system
JP2751215B2 (en) Wiring equipment by group
Leonard et al. A 66-MHz DSP-augmented RAMDAC for smooth-shaded graphic applications
JP2002183232A (en) Device and method for displaying lsi layout data
CN103268418B (en) A kind of method of quick reading intersection electrical parameter graph
Freeman et al. Interactive computer graphics for CAD
JPH01181150A (en) Simulation system for logic circuit
CN114545858A (en) Method, system, device and equipment for controlling switch indicator light
JPH06209044A (en) Designing device for semiconductor integrated circuit
Wrona The profits of CAAD can be increased by an integrated participatory design approach
JPS63100575A (en) Emphasizing and displaying system for sub line for logic circuit diagram
JPH05282395A (en) Bidirectional pin input/output switching method for hardware simulator
JP2637245B2 (en) How to determine switchgear operating procedures for substations
JPH0682382B2 (en) CAD device with simulation function
JPS63296173A (en) Delay analysis system
JPH09223163A (en) Automatic wiring path generating device
JPH04107783A (en) Circuit diagram input method
JPH01261783A (en) Arrangement system for circuit diagram
JPH04289919A (en) Arithmetic unit
JPS62219071A (en) Animation display control and processing system