JP5831067B2 - Power consumption analysis method, power consumption analysis apparatus, and power consumption analysis program - Google Patents

Power consumption analysis method, power consumption analysis apparatus, and power consumption analysis program Download PDF

Info

Publication number
JP5831067B2
JP5831067B2 JP2011199994A JP2011199994A JP5831067B2 JP 5831067 B2 JP5831067 B2 JP 5831067B2 JP 2011199994 A JP2011199994 A JP 2011199994A JP 2011199994 A JP2011199994 A JP 2011199994A JP 5831067 B2 JP5831067 B2 JP 5831067B2
Authority
JP
Japan
Prior art keywords
circuit
power consumption
macro
operation 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.)
Expired - Fee Related
Application number
JP2011199994A
Other languages
Japanese (ja)
Other versions
JP2013061811A (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 JP2011199994A priority Critical patent/JP5831067B2/en
Publication of JP2013061811A publication Critical patent/JP2013061811A/en
Application granted granted Critical
Publication of JP5831067B2 publication Critical patent/JP5831067B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、回路の消費電力を計算する消費電力解析方法、消費電力解析装置および消費電力解析プログラムに関する。 The present invention, power analysis method for calculating the power consumption of the circuit, and power consumption analysis device and power analysis program.

近年、システムの高集積化に伴う電力密度低減の要求や、Energy Star、省エネ法といった電気機器の消費電力規制の制定などにより、LSI等の回路の低消費電力化への要求がますます厳しくなり、LSI設計における低消費電力化技術の重要性が増している。   In recent years, demands for lower power consumption of LSIs and other circuits have become more stringent due to demands for reducing power density associated with higher system integration, and enactment of power consumption regulations for electrical equipment such as the Energy Star and the Energy Saving Act. The importance of low power consumption technology in LSI design is increasing.

LSI設計時の消費電力解析手法として、論理シミュレーションによって得られた回路各部の動作情報を元に回路要素ごとの消費電力を算出する手法が一般的におこなわれている。このような動作情報を取得するための論理シミュレーションとしては、セル・マクロに実際の信号伝搬遅延を反映した上で、ゲートレベルのイベントドリブンシミュレーションを用いるとグリッチなども考慮した精度が高い動作情報が得られる。しかし、このような実遅延を反映したゲートレベルのイベントドリブンシミュレーションには、非常にシミュレーション時間がかかる。近年のLSIは大規模化しており、チップレベルでこのようなイベントドリブンシミュレーションが現実的な時間では実行できない場合が増加している。   As a power consumption analysis method at the time of LSI design, a method of calculating power consumption for each circuit element based on operation information of each part of the circuit obtained by logic simulation is generally performed. As a logic simulation for acquiring such operation information, the actual signal propagation delay is reflected in the cell / macro, and if gate-level event-driven simulation is used, high-accuracy operation information that takes glitches into account can be obtained. can get. However, the gate-level event-driven simulation reflecting such actual delay takes a very long simulation time. In recent years, LSIs have become large-scale, and there is an increasing number of cases where such event-driven simulation cannot be executed in a realistic time at the chip level.

論理シミュレーションの高速化手法としては、ハードウェアエミュレータによるサイクルベース論理シミュレーションによりゲートレベルシミュレーションを高速化する手法がある。また、RTLやさらに高位のBehaviorレベルなど、ハードウェアの動作をより抽象度の高いレベルで記述することで記述量を減らしてシミュレーション時間を削減する手法がある。たとえば、クロックレベル記述という、RTLと動作レベル記述の中ほどの抽象度をもった動作記述で記述されたデータを用いてサイクルベースの論理シミュレーションをおこない、その結果得られた動作情報および別途用意したセル・マクロの電力計算式を元に消費電力計算をおこなう技術がある(たとえば、下記特許文献1参照。)。   As a method of speeding up logic simulation, there is a method of speeding up gate level simulation by cycle-based logic simulation by a hardware emulator. In addition, there is a technique for reducing simulation time by reducing the amount of description by describing hardware operations at a higher level of abstraction, such as RTL and higher behavior levels. For example, a cycle-based logic simulation is performed using data described in a clock level description, which is an RTL and a behavioral description having an intermediate level of abstraction in the middle of the behavioral level description. There is a technique for calculating power consumption based on a cell / macro power calculation formula (see, for example, Patent Document 1 below).

一方、LSIの大規模化により消費電力解析に用いる動作情報が巨大化し、ファイルサイズの増大や情報取得時間の増大などにより、LSIの全内部ノードの情報を取得・保持しておくことが困難になってきている。この問題の対処方法としては、たとえば、対象デザインの入出力信号、順序セル出力、機能マクロの入出力信号など限られた場所の動作情報のみを取得する。また、この限られた場所以外については、動作情報を与えた場所を起点として各素子の入力側から出力側に向かって動作情報を確率的に生成・伝播していくことで全ノードの動作情報を生成するという手法が知られている。この手法は、市販のCADツールの機能として組み込まれている。たとえば、Apache社PowerArtist、Cadence社PowerMeter、Synopsys社PrimeTime PXなどがある。   On the other hand, the operation information used for power consumption analysis becomes enormous due to the large scale of LSI, and it becomes difficult to acquire and hold information on all internal nodes of LSI due to increase in file size and increase in information acquisition time. It has become to. As a coping method for this problem, for example, only operation information in a limited place such as an input / output signal of a target design, an output of a sequential cell, and an input / output signal of a function macro is acquired. In addition to this limited location, the operation information of all nodes is generated by probabilistically generating and propagating the operation information from the input side to the output side of each element starting from the location where the operation information is given. A method of generating is known. This method is incorporated as a function of a commercially available CAD tool. Examples include Apache PowerArtist, Cadence PowerMeter, and Synopsys PrimeTime PX.

特開2005−293163号公報JP 2005-293163 A

LSIの消費電力解析用の動作情報をサイクルベースの論理シミュレーションから取得する場合を考えてみる。サイクルベース論理シミュレーションでは、各素子の値の評価がクロックサイクルごとに1度だけおこなわれるため、クロックサイクル中で変化する情報は欠落してしまい、結果として得られる各内部信号の動作は1クロックサイクルで1回しか得られない。動作情報の適用方法としては、上述したように、回路の全ネットにシミュレーションで得られた動作情報を適用する方法や、解析対象の入出力信号、順序セルの出力、機能マクロの出力信号など限られたノードに動作情報を適用して残りの信号には動作情報の確率的な伝搬処理により動作情報を生成・適用する方法などがある。   Consider a case where operation information for power consumption analysis of an LSI is acquired from a cycle-based logic simulation. In the cycle-based logic simulation, the value of each element is evaluated only once every clock cycle, so information that changes during the clock cycle is lost, and the operation of each internal signal obtained as a result is one clock cycle. Can only be obtained once. As described above, the operation information can be applied to all the nets of the circuit by applying the operation information obtained by simulation, input / output signals to be analyzed, output of sequential cells, output signals of function macros, etc. For example, there is a method of generating / applying the operation information to the remaining nodes and generating and applying the operation information to the remaining signals by stochastic propagation processing of the operation information.

マクロを含まない回路における各セルの動作情報については、動作情報の確率伝搬手法の改善などにより動作率について、ある程度の精度向上が期待できる。しかし、ある程度規模の大きい回路をまとめたマクロではマクロ内部の論理が複雑なため入力信号の動作情報を出力信号に確率伝搬することが困難なため、サイクルベースの動作情報と実際の動作の誤差が大きいマクロを含む回路において、確率伝搬手法を改善することだけで動作率の精度を向上させることは難しい。   With regard to the operation information of each cell in a circuit that does not include a macro, a certain degree of accuracy improvement can be expected for the operation rate by improving the probability propagation method of the operation information. However, since the macro internal logic is complicated, it is difficult to propagate the operation information of the input signal to the output signal with probability, so there is an error between the cycle-based operation information and the actual operation. In a circuit including a large macro, it is difficult to improve the accuracy of the operation rate only by improving the probability propagation method.

マクロ自体の消費電力については、動作情報の不確実さを予め考慮した電力モデルを作成することでマクロの消費電力解析の精度を上げることが可能であるが、そのマクロの出力ピンにつながる後段の論理回路については、仮に確率伝搬の手法を用いたとしても伝搬元であるマクロ出力の動作情報が不正確なため、精度を上げることができず、結果として消費電力解析の解析精度の低下につながる。   As for the power consumption of the macro itself, it is possible to improve the accuracy of the macro power consumption analysis by creating a power model that takes into account the uncertainty of the operation information in advance, but the latter stage connected to the output pin of the macro For logic circuits, even if the probability propagation method is used, the operation information of the macro output that is the propagation source is inaccurate, so the accuracy cannot be increased, resulting in a decrease in the analysis accuracy of the power consumption analysis. .

このようなサイクルベースの動作情報と実際の動作の誤差が大きいマクロとして、たとえば、XOR論理や多対一のセレクタ構造などのようにグリッチが発生しやすい構造をもつマクロの出力信号や、ダイナミック回路を使った機能マクロ論理の出力信号などがある。   As a macro having a large error between the cycle-based operation information and the actual operation, for example, an output signal of a macro having a structure in which glitches are likely to occur, such as XOR logic or a many-to-one selector structure, or a dynamic circuit Function macro logic output signals using

開示の消費電力解析方法、消費電力解析装置および消費電力解析プログラムは、上述した問題点を解消するものであり、マクロ出力の後段の回路の動作情報を回路単位で補正して回路全体の消費電力解析の精度を向上することを目的とする。 Power analysis method disclosed, power consumption analyzer and power analysis program is to solve the problems described above, consumption of the whole circuit by correcting the operation information of the circuit of the subsequent macro output circuit units The purpose is to improve the accuracy of power analysis.

上述した課題を解決し、目的を達成するため、開示技術は、消費電力解析装置を用いた消費電力解析方法において、前記消費電力解析装置が有する補正処理部が、解析対象の回路のサイクルベース論理シミュレーション実行により得られた回路動作情報と、前記解析対象の回路に含まれる、前記サイクルベース論理シミュレーションによる模擬動作と前記解析対象の回路の出力信号の現実の動作との違いに対応する誤差を含むマクロの動作情報に対する動作補正情報とに基づき前記解析対象の回路内の前記マクロの動作情報に含まれる前記誤差を補正し、前記消費電力解析装置が有する確定処理部が、前記解析対象の回路内の各信号の動作情報を確定する際に、補正後の動作情報を前記マクロの後段の回路に確率伝搬させて前記マクロの後段の回路の動作情報を確定し、前記消費電力解析装置が有する消費電力計算部が、前記確率伝搬させた前記動作情報を用いて前記マクロの後段の回路の消費電力を求めることを含む。 In order to solve the above-described problems and achieve the object, the disclosed technology is based on a cycle-based logic of a circuit to be analyzed in a power consumption analysis method using a power consumption analysis device. The circuit operation information obtained by the simulation execution and the error corresponding to the difference between the simulated operation by the cycle-based logic simulation and the actual operation of the output signal of the circuit to be analyzed included in the circuit to be analyzed based on the operation correction information for the operation information of the macro, the correcting the error contained in the operation information of the macro in a circuit to be analyzed, determination processing unit that the power consumption analysis device has the circuit of the analyzed when determining the operation information of each signal of the inner, after the macro operation information corrected by belief propagation on a circuit of a subsequent stage of the macro To confirm the operation information of the circuit, the power consumption calculation section included in the power consumption analysis device includes determining the power consumption of the circuit in the subsequent stage of the macro by using the said operation information obtained by belief propagation.

開示の消費電力解析方法、消費電力解析装置および消費電力解析プログラムによれば、マクロ出力の後段の回路の動作情報を回路単位で補正することにより、回路全体の消費電力解析の精度を向上できるという効果を奏する。 Power analysis method disclosed, according to the power consumption analysis device and power consumption analysis program, by correcting the operation information of the circuit of the subsequent macro output circuit units, it is possible to improve the accuracy of power analysis of the entire circuit There is an effect.

図1は、実施の形態1にかかる消費電力解析の処理概要を示す図である。FIG. 1 is a diagram illustrating an outline of processing of power consumption analysis according to the first embodiment. 図2は、実施の形態1にかかる消費電力解析装置を示すブロック図である。FIG. 2 is a block diagram of the power consumption analysis apparatus according to the first embodiment. 図3は、消費電力解析処理の手順を示すフローチャートである。FIG. 3 is a flowchart illustrating a procedure of power consumption analysis processing. 図4は、グリッチの信号波形を説明する図である。FIG. 4 is a diagram for explaining a glitch signal waveform. 図5は、ダイナミック回路の出力信号波形を説明する図である。FIG. 5 is a diagram for explaining the output signal waveform of the dynamic circuit. 図6は、グリッチを考慮した補正情報を示す図表である。FIG. 6 is a chart showing correction information in consideration of glitches. 図7は、ダイナミック回路の補正情報を示す図表である。FIG. 7 is a chart showing correction information of the dynamic circuit. 図8は、動作情報補正処理の詳細な手順の一例を示すフローチャートである。FIG. 8 is a flowchart illustrating an example of a detailed procedure of the operation information correction process. 図9は、消費電力解析をおこなう回路と動作情報、動作補正情報の例を示す回路図である。FIG. 9 is a circuit diagram illustrating an example of a circuit that performs power consumption analysis, operation information, and operation correction information. 図10は、マクロインスタンスに対する動作情報補正処理、および動作情報伝搬を説明する図である。FIG. 10 is a diagram illustrating operation information correction processing and operation information propagation for a macro instance. 図11は、実施の形態1にかかる電力解析による電力算出例を説明する回路図である(その1)。FIG. 11 is a circuit diagram for explaining an example of calculating power by power analysis according to the first embodiment (part 1). 図12は、実施の形態1にかかる電力解析による電力算出例を説明する回路図である(その2)。FIG. 12 is a circuit diagram for explaining an example of calculating power by power analysis according to the first embodiment (part 2). 図13は、実施の形態1の電力解析の手法を未適用時の電力算出例を説明する回路図である。FIG. 13 is a circuit diagram illustrating an example of power calculation when the method of power analysis according to the first embodiment is not applied. 図14は、実施の形態2にかかる動作補正情報とマクロの回路構成を示す図である。FIG. 14 is a diagram illustrating operation correction information and a macro circuit configuration according to the second embodiment. 図15は、実施の形態2にかかる動作情報補正処理を説明する図である。FIG. 15 is a diagram for explaining operation information correction processing according to the second embodiment. 図16は、実施の形態2にかかるマクロを含んだ回路を示す図である。FIG. 16 is a diagram illustrating a circuit including a macro according to the second embodiment. 図17は、動作情報の補正処理を説明する回路図である。FIG. 17 is a circuit diagram for explaining operation information correction processing. 図18は、動作情報を確定した結果を説明する回路図である。FIG. 18 is a circuit diagram for explaining the result of determining the operation information. 図19は、実施の形態2の電力解析の手法を未適用時の電力算出例を説明する回路図である。FIG. 19 is a circuit diagram illustrating an example of calculating power when the method of power analysis according to the second embodiment is not applied.

(実施の形態1)
以下に添付図面を参照して、開示技術の好適な実施の形態を詳細に説明する。開示技術は、サイクルベース論理シミュレーションで得られた動作情報を元にして回路(ゲート)単位で消費電力を計算することにより、回路単位での消費電力の解析精度を向上させる。特に、動作情報を確率伝搬させて動作情報を精度向上させることが困難なマクロが含まれても、このマクロ出力から先の回路の動作情報の精度を改善することにより、回路全体の電力解析精度を向上させる。
(Embodiment 1)
Hereinafter, preferred embodiments of the disclosed technology will be described in detail with reference to the accompanying drawings. The disclosed technology calculates power consumption in units of circuits (gates) based on operation information obtained by cycle-based logic simulation, thereby improving analysis accuracy of power consumption in units of circuits. In particular, even if it is difficult to improve the accuracy of motion information by propagating motion information, it is possible to improve the power analysis accuracy of the entire circuit by improving the accuracy of the motion information of the previous circuit from this macro output. To improve.

(消費電力解析の処理概要)
図1は、実施の形態1にかかる消費電力解析の処理概要を示す図である。開示技術では、サイクルベース動作情報と実際の出力信号の動作が大きく異なるマクロ(対象マクロ)101について、マクロ101の補正対象となる出力ピン101aの出力信号ごとの補正情報を別途用意しておく。そして、(1)補正情報に基づいて、回路100全体の動作情報のうち対象となるマクロ101の出力ピン101aの出力信号の動作情報を補正する。これにより、(2)出力ピン101aには、補正後の動作情報が入る。つぎに、(3)電力計算前の回路100内の各信号の動作情報を確定するフェーズで、この補正後の動作情報を後段のゲート(回路)102に確率伝搬する。そして、(4)電力計算処理では、確率伝搬による伝搬後の最終的な動作情報に基づいて消費電力解析を実行することにより、回路100の消費電力精度を向上させる。
(Outline of processing for power consumption analysis)
FIG. 1 is a diagram illustrating an outline of processing of power consumption analysis according to the first embodiment. In the disclosed technology, correction information for each output signal of the output pin 101a to be corrected by the macro 101 is separately prepared for a macro (target macro) 101 in which the operation of the actual output signal is greatly different from the cycle-based operation information. (1) Based on the correction information, the operation information of the output signal of the output pin 101a of the target macro 101 is corrected among the operation information of the entire circuit 100. As a result, (2) the corrected operation information is input to the output pin 101a. Next, (3) in the phase for determining the operation information of each signal in the circuit 100 before power calculation, the corrected operation information is propagated to the subsequent gate (circuit) 102. In (4) power calculation processing, power consumption accuracy of the circuit 100 is improved by executing power consumption analysis based on final operation information after propagation by probability propagation.

実施形態の消費電力解析で用いる内部ノードの動作情報としては、信号のトグル率(基準クロック1サイクル内にその信号が反転する回数の期待値)と、信号のデューティー比(全解析期間のうちその信号の値が1であった期間の比率)を想定している。消費電力解析に用いる動作情報としては、この他に動作情報の確率伝搬の補助情報としてサイクル内でその信号が変化する可能性がある範囲を示すタイミングウィンドウという情報などを用いることも考えられるが、以下の説明では、トグル率およびデューティー比を用いている。   The operation information of the internal node used in the power consumption analysis of the embodiment includes the toggle rate of the signal (expected value of the number of times the signal is inverted within one cycle of the reference clock) and the duty ratio of the signal (in the entire analysis period, The ratio of the period when the signal value was 1) is assumed. As the operation information used for the power consumption analysis, it is also possible to use information such as a timing window indicating a range in which the signal may change in the cycle as auxiliary information for probability propagation of the operation information. In the following description, the toggle rate and the duty ratio are used.

(消費電力解析装置の構成)
図2は、実施の形態1にかかる消費電力解析装置のブロック図を示す図である。図2に示す消費電力解析装置200は、汎用のコンピュータやサーバを用いて構成することができる。消費電力解析装置200は、CPU201と、ROM202と、RAM203と、I/F204と、バス205と、HDD等のストレージ206を含む。
(Configuration of power consumption analyzer)
FIG. 2 is a block diagram of the power consumption analysis apparatus according to the first embodiment. The power consumption analysis apparatus 200 shown in FIG. 2 can be configured using a general-purpose computer or server. The power consumption analysis apparatus 200 includes a CPU 201, a ROM 202, a RAM 203, an I / F 204, a bus 205, and a storage 206 such as an HDD.

CPU201は、ROM202に格納された消費電力解析プログラムを実行し、RAM203をワークエリアとして用いることにより、消費電力解析処理をおこなう制御部として機能する。I/F204にはキーボード210や外部のハードウェアエミュレータ211等からサイクルベースの回路動作情報、解析対象ネットリスト、マクロ101の動作補正情報等が入力され、ストレージ206に格納される。CPU201は、これら入力された情報に基づきマクロ101の動作情報の補正処理、および消費電力計算をおこなう。計算後の消費電力は、ディスプレイやI/F204を介して外部出力することができる。   The CPU 201 executes a power consumption analysis program stored in the ROM 202 and functions as a control unit that performs power consumption analysis processing by using the RAM 203 as a work area. Cycle-based circuit operation information, analysis target netlist, macro 101 operation correction information, and the like are input to the I / F 204 from the keyboard 210 or an external hardware emulator 211 and stored in the storage 206. The CPU 201 corrects the operation information of the macro 101 and calculates power consumption based on the input information. The calculated power consumption can be output externally via a display or the I / F 204.

(消費電力解析の全体概要)
図3は、消費電力解析処理の手順を示すフローチャートである。消費電力解析装置200がおこなう消費電力解析処理全体の概要を説明する。以下の説明では、ネットリスト中に実際に埋め込まれている個々のマクロをマクロの「インスタンス」と呼び、部品の種類としての「マクロ」101という文言と使い分ける。
(Overview of power consumption analysis)
FIG. 3 is a flowchart illustrating a procedure of power consumption analysis processing. An overview of the entire power consumption analysis process performed by the power consumption analysis apparatus 200 will be described. In the following description, each macro actually embedded in the netlist is referred to as a macro “instance” and used separately from the word “macro” 101 as the type of component.

1.準備:ステップS301
サイクルベース動作との誤差が大きい出力信号をもつマクロ101の動作補正情報を予め用意しておく(ステップS301)。用意しておく情報は、ハードウェアエミュレータ211のシミュレーション処理により得たサイクルベースの回路動作情報310と、電力の解析対象となる回路のネットリスト311と、マクロ101の動作補正情報312である。サイクルベースの回路動作情報310は、回路100内全ノードまたはマクロインスタンスの出力信号を含む限定的なノードの動作情報のどちらでもよい。動作補正情報312は、マクロ名、対象出力信号名、補正用情報等を含む。
1. Preparation: Step S301
Operation correction information of the macro 101 having an output signal with a large error from the cycle-based operation is prepared in advance (step S301). Information to be prepared includes cycle-based circuit operation information 310 obtained by simulation processing of the hardware emulator 211, a net list 311 of a circuit to be analyzed for power, and operation correction information 312 of the macro 101. The cycle-based circuit operation information 310 may be either all node in the circuit 100 or limited node operation information including the output signal of the macro instance. The motion correction information 312 includes a macro name, a target output signal name, correction information, and the like.

2.動作情報補正処理:ステップS302
つぎに、サイクルベースの回路動作情報310、ネットリスト311、動作補正情報312の入力に基づき回路動作情報310を補正する処理をおこなう。この補正処理では、ネットリスト311に含まれる全マクロインスタンスのうち、マクロ101が動作補正情報312に含まれるものに対して、そのマクロインスタンスの出力ピン101aのうち動作補正情報312に記述された全ての出力ピン101aについて、出力ピン101aが接続されたネットの動作情報を動作補正情報312に基づいて補正する。これにより、補正後のサイクルベースの回路動作情報310aが得られる。この補正処理における動作情報および補正方法の具体的な内容については後述する。
2. Operation information correction process: Step S302
Next, a process for correcting the circuit operation information 310 based on the inputs of the cycle-based circuit operation information 310, the netlist 311 and the operation correction information 312 is performed. In this correction processing, among all macro instances included in the netlist 311, all of the macro instances included in the operation correction information 312 are all described in the operation correction information 312 among the output pins 101 a of the macro instance. For the output pin 101a, the operation information of the net to which the output pin 101a is connected is corrected based on the operation correction information 312. As a result, corrected cycle-based circuit operation information 310a is obtained. Specific contents of the operation information and the correction method in this correction process will be described later.

3.回路内動作情報確定処理:ステップS303
消費電力計算のために回路100内の全ネットの動作情報を確定する処理では、動作情報補正処理ステップS302において動作補正をおこなった全てのネットの回路動作情報310aをそのネットの後段の回路に対して確率伝搬させて、順序セル103、マクロ101、回路出力104に到達するまで回路動作情報310aの伝搬をおこなう。この回路内動作情報確定処理では、電力解析に必要なその他のデータ(たとえば、配線容量情報、セル・マクロの電力ライブラリ等)313についても入力を受けて処理できる。そして、他の動作情報が未確定のネットがある場合は、確率伝搬処理により回路動作情報310aを確定する。
3. In-circuit operation information determination process: Step S303
In the process of determining the operation information of all the nets in the circuit 100 for power consumption calculation, the circuit operation information 310a of all the nets that have been subjected to the operation correction in the operation information correction processing step S302 is obtained with respect to the circuit of the subsequent stage of the net. Then, the circuit operation information 310a is propagated until the order cell 103, the macro 101, and the circuit output 104 are reached. In the in-circuit operation information determination process, other data (for example, wiring capacity information, cell / macro power library, etc.) 313 necessary for power analysis can be received and processed. If there is a net for which other operation information has not been determined, the circuit operation information 310a is determined by probability propagation processing.

4.消費電力計算処理:ステップS304
回路内動作情報確定処理ステップS303によって伝播された、補正された回路動作情報310aを用いて消費電力計算をおこない、消費電力解析結果314の情報を得る。上記の各情報(データ)は、消費電力解析装置200のストレージ206やRAM203等に格納後に外部出力される。
4). Power consumption calculation process: Step S304
Power consumption calculation is performed using the corrected circuit operation information 310a propagated in the in-circuit operation information determination processing step S303, and information on the power consumption analysis result 314 is obtained. Each of the above information (data) is externally output after being stored in the storage 206, RAM 203, etc. of the power consumption analysis apparatus 200.

(動作情報補正処理について)
つぎに、回路動作情報310の補正処理について説明する。回路動作情報310の補正では、a.グリッチを考慮した補正、b.ダイナミック回路を考慮した補正をおこなう。
(About motion information correction processing)
Next, the correction process of the circuit operation information 310 will be described. In the correction of the circuit operation information 310, a. Correction in consideration of glitch, b. Make corrections considering the dynamic circuit.

これらグリッチとダイナミック回路について説明しておく。サイクルベースの動作情報と実際の動作の誤差が大きいマクロとしては、たとえば、XOR論理や多対一のセレクタ構造などのようにグリッチが発生しやすい構造をもつマクロの出力信号や、ダイナミック回路を使った機能マクロ論理の出力信号などがある。   These glitches and dynamic circuits will be described. As macros with large error between cycle-based operation information and actual operation, for example, use macro output signals or dynamic circuits with structures that are prone to glitches such as XOR logic and many-to-one selector structures. Function macro logic output signal.

図4は、グリッチの信号波形を説明する図である。図4(a)は、サイクルベースのシミュレーションで取得した信号波形であり、図4(b)は、この信号波形にグリッチが乗った状態を示している。図4(b)に示すようなグリッチが乗ることにより、サイクルベースのシミュレーションで取得した信号波形より動作率が大きくなることが分かる。定常的にグリッチが乗りやすい回路構造(XOR論理や多対一のセレクタ等)をもつマクロ101については、消費電力計算上の誤差は非常に大きくなる。具体的には、グリッチが乗った信号波形は、クロックサイクルCK内で変化するため、この信号波形のトグル変化(反転率)まで考慮した消費電力計算がおこなえない。   FIG. 4 is a diagram for explaining a glitch signal waveform. FIG. 4A shows a signal waveform acquired by a cycle-based simulation, and FIG. 4B shows a state in which a glitch is placed on this signal waveform. It can be seen that when the glitch as shown in FIG. 4B is applied, the operation rate becomes larger than the signal waveform acquired by the cycle-based simulation. For the macro 101 having a circuit structure (XOR logic, many-to-one selector, etc.) on which glitches can be easily steadily placed, the error in power consumption calculation becomes very large. Specifically, since the signal waveform on which the glitch is changed changes within the clock cycle CK, the power consumption calculation considering the toggle change (inversion rate) of the signal waveform cannot be performed.

図5は、ダイナミック回路の出力信号波形を説明する図である。ダイナミック回路では毎クロックサイクルCKごとに評価動作が実行される。仮に、ダイナミック回路の論理出力値として回路のプリチャージ時の出力値と逆の値が出力され続けていた場合、実際の回路動作としてはプリチャージのフェーズのたびに信号が強制的にプリチャージ値(論理出力値と逆の値)にドライブされることになる。   FIG. 5 is a diagram for explaining the output signal waveform of the dynamic circuit. In the dynamic circuit, the evaluation operation is executed every clock cycle CK. If the logic output value of the dynamic circuit continues to be output in reverse to the output value at the time of precharging the circuit, the actual circuit operation is that the signal is forcibly precharged at each precharge phase. It will be driven to (the value opposite to the logical output value).

これにより、図5(b)に示すように、毎クロックサイクルにパルスが乗ったような信号波形になる。サイクルベースのシミュレーションの場合には動作情報として取得されるのは評価フェーズの値のみであるため、図5(a)に示す信号波形を動作情報として記録することとなり、回路の実際の動作とかけ離れて動作率が低くなってしまう。なお、プリチャージパルスを隠ぺいするためにマクロ101の出力部分にラッチを設けることが多いが、このラッチによる遅延増加の影響を避けるために、ダイナミック回路動作する信号波形をそのままマクロ101から出力させることも少なくない。   As a result, as shown in FIG. 5B, a signal waveform having a pulse on every clock cycle is obtained. In the case of cycle-based simulation, since only the value of the evaluation phase is acquired as the operation information, the signal waveform shown in FIG. 5A is recorded as the operation information, which is far from the actual operation of the circuit. The operation rate will be low. In order to conceal the precharge pulse, a latch is often provided at the output portion of the macro 101. In order to avoid the influence of the delay increase due to this latch, the signal waveform for operating the dynamic circuit is output from the macro 101 as it is. Not a few.

a.グリッチを考慮した補正について
上記グリッチの影響を考慮した補正として、マクロの出力信号にグリッチの乗りやすさに応じた係数値を補正情報とする。そして、回路動作情報310に対して、出力信号のトグル率を係数倍して補正する。
a. About Correction Considering Glitch As a correction considering the effect of the glitch, a coefficient value corresponding to the ease of riding the glitch on the macro output signal is used as correction information. Then, the circuit operation information 310 is corrected by multiplying the toggle rate of the output signal by a factor.

図6は、グリッチを考慮した補正情報を示す図表である。図6に示すグリッチに関する動作補正情報312の例では、たとえば、マクロ1の出力信号2に対して係数値2.0が設定されている。この「係数」については、たとえば事前にマクロ101単体のシミュレーションなどにより得た論理出力のトグル率と、実際の波形から得られたトグル率との関係を調べることにより予め求め用意しておくことができる。この係数は、トグル率に掛け合わせられる。すなわち、補正式は下記となる。
新トグル率=トグル率×係数値
新デューティー比=デューティー比
FIG. 6 is a chart showing correction information in consideration of glitches. In the example of the motion correction information 312 related to the glitch illustrated in FIG. 6, for example, the coefficient value 2.0 is set for the output signal 2 of the macro 1. This “coefficient” can be obtained and prepared in advance by examining the relationship between the toggle rate of the logic output obtained by simulation of the macro 101 alone and the toggle rate obtained from the actual waveform in advance. it can. This factor is multiplied by the toggle rate. That is, the correction formula is as follows.
New toggle rate = toggle rate x coefficient value New duty ratio = duty ratio

b.ダイナミック回路を考慮した補正について
上記ダイナミック回路を考慮した補正では、出力信号ごとに制御クロックピン名、プリチャージ極性を補正情報とする。制御クロックピンは、出力信号を作っているダイナミック回路のプリチャージ/評価フェーズのタイミングを取っているクロック入力ピンであり、プリチャージ極性は、プリチャージフェーズでその出力信号が0になるか1になるかを示す情報である。
b. About Correction Considering Dynamic Circuit In the correction considering dynamic circuit, the control clock pin name and the precharge polarity are used as correction information for each output signal. The control clock pin is a clock input pin that is timing the precharge / evaluation phase of the dynamic circuit that produces the output signal, and the precharge polarity is set to 0 or 1 when the output signal becomes 0 in the precharge phase. This is information indicating whether or not

図7は、ダイナミック回路の補正情報を示す図表である。図7に示すダイナミック回路に関する動作補正情報312の例では、たとえば、マクロ2の出力信号1に対してプリチャージ極性が1、プリチャージをする制御クロック名がCK2として設定される。これらの補正情報である「制御クロックピン名」、「プリチャージ極性」はマクロ101の論理仕様書、もしくはマクロ101の開発元から容易に入手でき予め用意できる情報である。ダイナミック回路出力は、論理出力値がプリチャージ極性と同じときには信号変化が起きず、プリチャージ極性と逆のときには制御クロックと同じ周期のパルス信号が出力されることになる。このため、デューティー比が信号が1である期間の割合であることに注意すると、補正式はプリチャージ極性が1の場合と0の場合でそれぞれ以下のようになる。下記では、回路動作情報に含まれるマクロ101の出力信号がプリチャージ極性と逆の値である確率と、制御クロックの動作率を元にトグル率を算出する。   FIG. 7 is a chart showing correction information of the dynamic circuit. In the example of the operation correction information 312 related to the dynamic circuit shown in FIG. 7, for example, the precharge polarity is set to 1 and the control clock name for precharging is set to CK2 for the output signal 1 of the macro 2. These correction information “control clock pin name” and “precharge polarity” are information that can be easily obtained from the logic specifications of the macro 101 or the developer of the macro 101 and prepared in advance. The dynamic circuit output does not change when the logic output value is the same as the precharge polarity, and outputs a pulse signal having the same cycle as the control clock when the logic output value is opposite to the precharge polarity. Therefore, when attention is paid to the fact that the duty ratio is the ratio of the period in which the signal is 1, the correction equations are as follows when the precharge polarity is 1 and 0, respectively. In the following, the toggle rate is calculated based on the probability that the output signal of the macro 101 included in the circuit operation information has a value opposite to the precharge polarity and the operation rate of the control clock.

プリチャージ極性=0の場合
新トグル率=制御クロックトグル率×デューティー比
新デューティー比=デューティー比−デューティー比/2=デューティー比/2
When precharge polarity = 0 New toggle rate = Control clock toggle rate x Duty ratio New duty ratio = Duty ratio-Duty ratio / 2 = Duty ratio / 2

プリチャージ極性=1の場合
新トグル率=制御クロックトグル率×(1−デューティー比)
新デューティー比=デューティー比+(1−デューティー比)/2
When precharge polarity = 1 New toggle rate = Control clock toggle rate x (1-duty ratio)
New duty ratio = Duty ratio + (1-Duty ratio) / 2

さらに、ダイナミック回路の動作を抑止する制御入力信号がある場合は、マクロ101の論理仕様書等に基づき、これら「制御入力信号」と、「制御極性」についても情報として補正情報に加えることができる。図7の例では、たとえば、マクロ2の制御入力信号がEN1、制御極性が1である。これにより、制御入力信号のデューティー比をダイナミック回路が動作した割合とみなして上記の新トグル率を下記のようにさらに補正してもよい。この場合、制御入力信号が抑止値である確率を元に補正する。   Further, when there is a control input signal that suppresses the operation of the dynamic circuit, these “control input signal” and “control polarity” can be added to the correction information as information based on the logic specifications of the macro 101 and the like. . In the example of FIG. 7, for example, the control input signal of macro 2 is EN1, and the control polarity is 1. Accordingly, the new toggle rate may be further corrected as follows by regarding the duty ratio of the control input signal as the rate at which the dynamic circuit operates. In this case, correction is performed based on the probability that the control input signal is a suppression value.

制御入力信号が1で回路動作の場合
新トグル率’=新トグル率×(制御入力信号のデューティー比)
制御入力信号が0で回路動作の場合
新トグル率’=新トグル率×(1−制御入力信号のデューティー比)
When the control input signal is 1 and the circuit is operating New toggle rate '= New toggle rate x (duty ratio of control input signal)
When the control input signal is 0 and the circuit is operating New toggle rate '= New toggle rate x (1- Duty ratio of control input signal)

制御入力信号がある場合の新デューティー比は、プリチャージパルスによるデューティーの変化が制御入力信号のデューティー比によって補正されるため、以下のようになる。
プリチャージ極性=0,制御入力信号=1で回路動作の場合
新デューティー比=デューティー比−デューティー比/2×(制御入力信号デューティー比)
プリチャージ極性=0,制御入力信号=0で回路動作の場合
新デューティー比=デューティー比−デューティー比/2×(1−制御入力信号デューティー比)
プリチャージ極性=1,制御入力信号=1で回路動作の場合
新デューティー比=デューティー比+(1−デューティー比)/2×(制御入力信号デューティー比)
プリチャージ極性=1,制御入力信号=0で回路動作の場合
新デューティー比=デューティー比+(1−デューティー比)/2×(1−制御入力信号デューティー比)
The new duty ratio when there is a control input signal is as follows because the change in duty due to the precharge pulse is corrected by the duty ratio of the control input signal.
Circuit operation with precharge polarity = 0 and control input signal = 1 New duty ratio = duty ratio-duty ratio / 2 x (control input signal duty ratio)
In case of circuit operation with precharge polarity = 0 and control input signal = 0, new duty ratio = duty ratio-duty ratio / 2 x (1-control input signal duty ratio)
In case of circuit operation with precharge polarity = 1, control input signal = 1 new duty ratio = duty ratio + (1-duty ratio) / 2 × (control input signal duty ratio)
In case of circuit operation with precharge polarity = 1, control input signal = 0, new duty ratio = duty ratio + (1-duty ratio) / 2 × (1-control input signal duty ratio)

また、マクロ101内部でダイナミック回路出力がマクロ出力に至る途中でさらにグリッチが乗る場合などは、一つの出力信号に上記a.グリッチと、b.ダイナミック回路の両方の補正情報をもたせ、b.ダイナミック回路の補正後に、a.グリッチの補正をおこなえばよい。   In the case where a glitch is further added in the middle of the macro 101 until the dynamic circuit output reaches the macro output, the above a. A glitch; b. Provide correction information for both dynamic circuits, b. After correction of the dynamic circuit, a. A glitch correction may be performed.

(動作情報補正処理の流れについて)
図8は、動作情報補正処理の詳細な手順の一例を示すフローチャートである。消費電力解析装置200がおこなう、図3のステップS302に示した動作情報補正処理の詳細について説明する。はじめに、ネットリスト311に含まれる全てのマクロインスタンスから動作情報補正処理(ステップS302)がまだ実行されていないものを一つ選択する(ステップS801)。たとえば、インスタンスA(マクロ種類B)を選択したとする。
(About the flow of motion information correction processing)
FIG. 8 is a flowchart illustrating an example of a detailed procedure of the operation information correction process. Details of the operation information correction processing shown in step S302 of FIG. 3 performed by the power consumption analysis apparatus 200 will be described. First, one of all macro instances included in the netlist 311 that has not been subjected to the operation information correction process (step S302) is selected (step S801). For example, assume that instance A (macro type B) is selected.

つぎに、動作補正情報312の中からマクロBの情報を取得する(ステップS802)。そして、動作補正情報312にマクロBの情報が存在するかチェックし(ステップS803)、存在すれば(ステップS803:Yes)、ステップS804に移行し、存在しなければ(ステップS803:No)、ステップS801に戻る。   Next, macro B information is acquired from the motion correction information 312 (step S802). Then, it is checked whether or not macro B information exists in the motion correction information 312 (step S803). If it exists (step S803: Yes), the process proceeds to step S804, and if it does not exist (step S803: No), step The process returns to S801.

つぎに、ステップS804では、インスタンスAの出力ピン101aから、未選択の出力ピン101aを一つ選択する(ステップS804)。たとえば、出力ピンSを選択したとする。そして、動作補正情報312に選択した出力ピンSの情報が存在するかチェックし(ステップS805)、存在すれば(ステップS805:Yes)、ステップS806に移行し、存在しなければ(ステップS805:No)、ステップS804に戻る。   In step S804, one unselected output pin 101a is selected from the output pins 101a of the instance A (step S804). For example, assume that the output pin S is selected. Then, it is checked whether the information of the selected output pin S exists in the operation correction information 312 (step S805). If it exists (step S805: Yes), the process proceeds to step S806, and if it does not exist (step S805: No). ), The process returns to step S804.

つぎに、ステップS806では、回路動作情報310からインスタンスAの出力ピンSにつながる信号の動作情報(トグル率、デューティー比)を取得し、出力ピンSの補正情報に基づいて新しいトグル率とデューティー比を求め、回路動作情報310を更新する。この際、補正処理をおこなったということを記録しておく(ステップS806)。   Next, in step S806, the operation information (toggle rate, duty ratio) of the signal connected to the output pin S of the instance A is acquired from the circuit operation information 310, and the new toggle rate and duty ratio are obtained based on the correction information of the output pin S. And the circuit operation information 310 is updated. At this time, it is recorded that correction processing has been performed (step S806).

つぎに、インスタンスAの全ての出力ピン101aを選択したかチェックし(ステップS807)、全ての出力ピン101aを選択済みであれば(ステップS807:Yes)、ステップS808に移行し、未だ未選択の出力ピン101aがあれば(ステップS807:No)、ステップS804に戻る。   Next, it is checked whether all the output pins 101a of the instance A have been selected (step S807). If all the output pins 101a have been selected (step S807: Yes), the process proceeds to step S808, and has not yet been selected. If there is the output pin 101a (step S807: No), the process returns to step S804.

最後に、ステップS808では、ネットリスト311中の全てのマクロインスタンスを選択したかチェックし(ステップS808)、未選択のマクロインスタンスがあれば(ステップS808:No)、ステップS801に戻り、全てのマクロインスタンスを選択済みであれば(ステップS808:Yes)、以上説明した動作情報補正処理を終了する。   Finally, in step S808, it is checked whether all macro instances in the netlist 311 have been selected (step S808). If there is an unselected macro instance (step S808: No), the process returns to step S801, and all macros are selected. If the instance has been selected (step S808: Yes), the operation information correction process described above is terminated.

(消費電力解析処理の具体例)
つぎに、消費電力解析処理について、具体的な回路例を用いて説明する。図9は、消費電力解析をおこなう回路と動作情報、動作補正情報の例を示す回路図である。各ネットに記載されたトグル率Tとデューティー比D、および動作補正情報312を入力として処理する場合の例について説明する。
(Specific example of power consumption analysis processing)
Next, the power consumption analysis process will be described using a specific circuit example. FIG. 9 is a circuit diagram illustrating an example of a circuit that performs power consumption analysis, operation information, and operation correction information. An example in which the toggle rate T, the duty ratio D, and the operation correction information 312 described in each net are processed as input will be described.

図10は、マクロインスタンスに対する動作情報補正処理、および動作情報伝搬を説明する図である。図10には、一つのマクロインスタンスA(マクロX)に対する処理別に上段、中段、下段にそれぞれ記載してある。はじめに、図10の上段に示すように、上述した2.動作情報補正処理(ステップS302)では、マクロインスタンスAは、マクロX(101)のインスタンスなので、動作補正情報312からマクロXの情報を検索する。これにより、マクロXの補正情報として、出力ピンS1とS2の補正情報が得られる。得られた補正情報から、出力ピンS1は、上のa.グリッチの補正、出力ピンS2はb.ダイナミック回路の補正をおこなうことになる。   FIG. 10 is a diagram illustrating operation information correction processing and operation information propagation for a macro instance. In FIG. 10, the upper, middle, and lower stages are described for each process for one macro instance A (macro X). First, as shown in the upper part of FIG. In the motion information correction process (step S302), since the macro instance A is an instance of the macro X (101), information on the macro X is retrieved from the motion correction information 312. Thereby, the correction information of the output pins S1 and S2 is obtained as the correction information of the macro X. From the obtained correction information, the output pin S1 is connected to the a. Glitch correction, output pin S2 is b. The dynamic circuit is corrected.

そして、動作情報補正処理(ステップS302)では、図10の中段に示すように、上記補正式にしたがって、各出力ピンS1,S2につながるネットの回路動作情報310を補正する。たとえば、出力ピンS1のトグル率T(toggle_rate)は、0.3×2.5=0.75に補正され、出力ピンS2のデューティー比D(duty)は、0.4+(1−0.4)/2=0.7に補正される。   In the operation information correction process (step S302), as shown in the middle part of FIG. 10, the circuit operation information 310 of the net connected to each output pin S1, S2 is corrected according to the correction formula. For example, the toggle rate T (toggle_rate) of the output pin S1 is corrected to 0.3 × 2.5 = 0.75, and the duty ratio D (duty) of the output pin S2 is 0.4+ (1−0.4 ) /2=0.7.

この後、上述した3.回路内動作情報確定処理(ステップS303)では、図10の下段に示すように、補正をおこなった2つのネットの回路動作情報310aを後段の回路に伝搬する。この回路例では、後段の回路が単純なバッファ(Buf)1001のため、入力信号の回路動作情報310aをそのまま出力まで伝搬させるだけでよく、確率計算は必要ない。   Thereafter, the above-mentioned 3. In the in-circuit operation information determination process (step S303), as shown in the lower part of FIG. 10, the circuit operation information 310a of the two nets subjected to correction is propagated to the subsequent circuit. In this circuit example, since the subsequent circuit is a simple buffer (Buf) 1001, it is only necessary to propagate the circuit operation information 310a of the input signal to the output as it is, and no probability calculation is required.

つぎに、上述した補正後の回路動作情報310aを元にした消費電力解析について説明する。マクロ101後段の各バッファの消費電力について考えると、バッファ(Buf)1001のスイッチング電力(回路が動作することで消費される電力)は「(トグル率)×(信号変化1回当たりのバッファの消費エネルギー)」で求められる。このため、インスタンスA(マクロX)101の出力ピンS1につながるバッファ1001aについては、本実施の形態の電力解析の手法を適用しない場合に比べてスイッチング電力が2.5倍(0.75/0.3)になり、出力ピンS2につながるバッファ1001bについては、ダイナミック電力が6倍(1.2/0.2)になる。   Next, power consumption analysis based on the above-described corrected circuit operation information 310a will be described. Considering the power consumption of each buffer subsequent to the macro 101, the switching power of the buffer (Buf) 1001 (power consumed by the operation of the circuit) is “(toggle rate) × (buffer consumption per signal change). Energy) ”. For this reason, the switching power of the buffer 1001a connected to the output pin S1 of the instance A (macro X) 101 is 2.5 times (0.75 / 0) that of the case where the power analysis method of the present embodiment is not applied. .3), the dynamic power of the buffer 1001b connected to the output pin S2 is 6 times (1.2 / 0.2).

これは、本実施の形態の電力解析の手法を未適用としていた、サイクルベース動作率を元に解析した消費電力では過小評価となることを意味する。上記a.グリッチを考慮した補正については、係数の算出時動作と実動作の違いなどにより、多少の補正誤差は出るが、b.ダイナミック回路を考慮した補正については、ダイナミック回路動作による信号波形を元にした補正であるため、ほぼ誤差のない補正となる。   This means that the power consumption analyzed based on the cycle-based operating rate, which has not been applied to the power analysis method of the present embodiment, is underestimated. A. As for the correction considering the glitch, some correction errors occur due to the difference between the coefficient calculation operation and the actual operation, but b. Since the correction considering the dynamic circuit is based on the signal waveform by the dynamic circuit operation, the correction is almost error-free.

また、リーク電力(漏れ電流などによって回路が動作しなくても消費し続ける電力)について、このリーク電力は、一般的に入力信号の値によって変わるため、このような入力信号の値を考慮したリーク電力解析をおこなう場合は、入力信号のデューティー比を用いて計算をおこなう。このことから、b.ダイナミック回路を考慮した補正では、上記の手法によりデューティー比も修正されるため、リーク電力の解析精度についても併せて向上することができる。   In addition, for leakage power (power that continues to be consumed even if the circuit does not operate due to leakage current, etc.), this leakage power generally varies depending on the value of the input signal. When performing power analysis, calculation is performed using the duty ratio of the input signal. From this, b. In the correction considering the dynamic circuit, the duty ratio is also corrected by the above-described method, so that the analysis accuracy of the leakage power can also be improved.

(消費電力の算出例)
つぎに、本実施の形態にかかるスイッチング電力の算出例について説明する。例として、図9に示した回路100について、マクロを除いた部分のスイッチング電力について説明する。回路動作情報310は、各回路の入力信号と、マクロ101の出力信号に与えられており、その他のネットの動作情報は、確率伝搬によって求める。説明を簡単にするために、図示の回路例では、マクロ101の他は、2入力のAND、OR、XORと、バッファ(Buf)の回路のみ使用する。また、説明を単純にするためにマクロ101以外の各ゲートのスイッチング電力を以下のように計算することにする。
各ゲートのスイッチング電力=(対象ゲートの出力信号のトグル率)×100[uW]
(Example of calculating power consumption)
Next, an example of calculating the switching power according to the present embodiment will be described. As an example, the switching power of the circuit 100 shown in FIG. 9 excluding the macro will be described. The circuit operation information 310 is given to the input signal of each circuit and the output signal of the macro 101, and other network operation information is obtained by probability propagation. In order to simplify the description, in the illustrated circuit example, in addition to the macro 101, only two-input AND, OR, XOR, and buffer (Buf) circuits are used. In order to simplify the description, the switching power of each gate other than the macro 101 is calculated as follows.
Switching power of each gate = (toggle ratio of output signal of target gate) × 100 [uW]

動作情報の確率伝搬の手法としては、単純なモデルを用いる。AND、ORの場合は、片側の入力信号が変化したときにもう片側の入力がANDなら1、ORなら0のときにその信号変化が出力に伝搬し、XORの場合は他方の入力信号の値に関わらず出力に伝搬するとしている。そして、2つの入力信号および出力信号(トグル率T,デューティー比D)を(T1,D1)(T2,D2)(TO,DO)としたときに、(T1,D1)(T2,D2)から(TO,DO)を以下のように求めることにする。   A simple model is used as a method of probability propagation of motion information. In the case of AND or OR, when the input signal on one side changes, the signal change propagates to the output when the input on the other side is AND, and when it is OR, the value of the other input signal in the case of XOR. Regardless, it will propagate to the output. When the two input signals and output signals (toggle ratio T, duty ratio D) are (T1, D1) (T2, D2) (TO, DO), (T1, D1) (T2, D2) (TO, DO) is determined as follows.

AND:TO=T1×D2+T2×D1,DO=D1×D2
OR :TO=T1×(1−D2)+T2×(1−D1),DO=1−(1−D1)×(1−D2)
XOR:TO=T1+T2,DO=D1×(1−D2)+(1−D1)×D2
バッファは入力の(T,D)をそのまま出力に用いる。
AND: TO = T1 × D2 + T2 × D1, DO = D1 × D2
OR: TO = T1 * (1-D2) + T2 * (1-D1), DO = 1- (1-D1) * (1-D2)
XOR: TO = T1 + T2, DO = D1 * (1-D2) + (1-D1) * D2
The buffer uses the input (T, D) as it is for output.

図11、図12は、実施の形態1にかかる電力解析による電力算出例を説明する回路図である。図11に示すように、上述した2.動作情報補正処理(ステップS302)では、動作補正情報312として、マクロXの出力ピンS1,S2に対する補正情報が与えられているため、マクロインスタンスA,Bそれぞれの出力ピンS1,S2の出力信号の動作情報を補正することになる。上述したa.グリッチ、b.ダイナミック回路を考慮した計算式に基づいて求めた各信号の新しい(補正後の)動作情報を矢印(→)後段に併記している。出力ピンS1については、トグル率を係数に基づき2.5倍、出力ピンS2については、クロックCKのトグル率2.0に(1−デューティー比)を掛けたものが新しいトグル率としている。   FIG. 11 and FIG. 12 are circuit diagrams illustrating an example of calculating power by power analysis according to the first embodiment. As shown in FIG. In the operation information correction process (step S302), since the correction information for the output pins S1 and S2 of the macro X is given as the operation correction information 312, the output signals of the output pins S1 and S2 of the macro instances A and B respectively. The operation information is corrected. A. Glitch, b. New (corrected) operation information of each signal obtained based on a calculation formula considering the dynamic circuit is shown in the subsequent stage of the arrow (→). For the output pin S1, the toggle rate is 2.5 times based on the coefficient, and for the output pin S2, the toggle rate 2.0 of the clock CK multiplied by (1-duty ratio) is the new toggle rate.

上述した3.回路内動作情報確定処理(ステップS303)では、補正した回路動作情報310aを後段の回路に確率伝搬する。伝搬後の各ネットの動作情報を図12に示す。この結果に基づいて消費電力計算をおこなったマクロ以外の回路(a)〜(h)のダイナミック電力は、(a)0.3×100+(b)0.9×100+(c)0.6×100+(d)0.41×100+(e)1.53×100+(f)1.53×100+(g)1.6×100+(h)1.6×100=847uWとなる。   2. As described above. In the in-circuit operation information determination process (step S303), the corrected circuit operation information 310a is probabilistically propagated to the subsequent circuit. The operation information of each net after propagation is shown in FIG. The dynamic power of the circuits (a) to (h) other than the macro for which the power consumption is calculated based on the result is (a) 0.3 × 100 + (b) 0.9 × 100 + (c) 0.6 × 100+ (d) 0.41 × 100 + (e) 1.53 × 100 + (f) 1.53 × 100 + (g) 1.6 × 100 + (h) 1.6 × 100 = 847 uW.

対比のために、本実施の形態の電力解析の手法を適用しなかった場合の電力について説明する。図13は、実施の形態1の電力解析の手法を未適用時の電力算出例を説明する回路図である。図13には、入力側から出力側に向かって動作情報を確率伝搬して全ネットの動作情報を確定した状態を示している。確率伝搬で生成した回路動作情報は下線付きで示した。ここで、マクロX(101)は、入力から出力への動作情報の確率伝搬ができず、出力値に設定された動作情報をそのまま後段に伝搬するものとする。このときのマクロX(101)以外の部分のダイナミック電力は、(a)0.3×100+(b)0.9×100+(c)0.6×100+(d)0.29×100+(e)0.52×100+(f)0.52×100+(g)1.3×100+(h)1.3×100=573uWとなる。このように、本実施の形態1による電力解析の手法を適用しなかった場合には、約32%過小に消費電力を計算していることが分かる。   For comparison, the power in the case where the power analysis method of the present embodiment is not applied will be described. FIG. 13 is a circuit diagram illustrating an example of power calculation when the method of power analysis according to the first embodiment is not applied. FIG. 13 shows a state in which motion information is propagated with probability from the input side to the output side and the motion information of all nets is determined. Circuit operation information generated by probability propagation is underlined. Here, it is assumed that the macro X (101) cannot propagate the probability of the motion information from the input to the output, and propagates the motion information set as the output value as it is to the subsequent stage. The dynamic power of the portion other than the macro X (101) at this time is (a) 0.3 × 100 + (b) 0.9 × 100 + (c) 0.6 × 100 + (d) 0.29 × 100 + (e ) 0.52 × 100 + (f) 0.52 × 100 + (g) 1.3 × 100 + (h) 1.3 × 100 = 573 uW. Thus, when the method of power analysis according to the first embodiment is not applied, it can be seen that the power consumption is calculated to be about 32% too low.

以上説明した実施の形態1によれば、動作情報取得のための論理シミュレーションの工数を増大させることなく、電力解析の精度を向上させることができる。動作情報の補正(変換)のための処理が入るだけで、その後の電力解析処理自体に大きな処理の追加はないため、全体の解析時間へのオーバーヘッドも小さく、短時間で解析できる。   According to the first embodiment described above, the accuracy of power analysis can be improved without increasing the number of steps of logic simulation for acquiring operation information. Only the processing for correcting (converting) the operation information is included, and since no large processing is added to the subsequent power analysis processing itself, the overhead for the entire analysis time is small and analysis can be performed in a short time.

(実施の形態2)
つぎに、実施の形態2では、ダイナミック回路動作を考慮した回路動作情報の補正において、実施の形態1の構成に加えて、複数クロックおよび制御入力信号が付いた場合の動作補正の例について説明する。図14は、実施の形態2にかかる動作補正情報とマクロの回路構成を示す図である。動作補正情報312における制御入力信号の極性は、制御入力が1で回路動作の場合に1、0で回路動作の場合に0としている。以下の説明では、この動作補正情報312を用いるものとして説明する。
(Embodiment 2)
Next, in the second embodiment, in the correction of circuit operation information in consideration of the dynamic circuit operation, an example of operation correction when a plurality of clocks and control input signals are added in addition to the configuration of the first embodiment will be described. . FIG. 14 is a diagram illustrating operation correction information and a macro circuit configuration according to the second embodiment. The polarity of the control input signal in the operation correction information 312 is 1 when the control input is 1 and the circuit is operating, and 0 when the circuit is operating. In the following description, this operation correction information 312 will be used.

マクロA(101)は、ダイナミック回路1401,1402を備え、ダイナミック回路1401は、制御信号EN1および制御クロックCK1で動作し、出力ピンS1から信号出力する。ダイナミック回路1402は、制御信号INH2および制御クロックCK2で動作し、出力ピンS2,S3から信号出力する。   The macro A (101) includes dynamic circuits 1401 and 1402, and the dynamic circuit 1401 operates with the control signal EN1 and the control clock CK1 and outputs a signal from the output pin S1. The dynamic circuit 1402 operates with the control signal INH2 and the control clock CK2, and outputs signals from the output pins S2 and S3.

図15は、実施の形態2にかかる動作情報補正処理を説明する図である。図15上段が補正前の動作情報であり、下段が補正後の動作情報となる。図15の上段に示すように、マクロA(101)の補正前の動作情報の各信号について、トグル率T,デューティー比D(T,D)について説明する。制御クロックCK1は(2,0.5)、制御クロックCK2は(0.5,0.5)、制御信号EN1は(0.3,0.7)、制御信号INH2は(0.2,0.2)、出力ピンS1は(0.3,0.3)、出力ピンS2は(0.1,0.4)、出力ピンS3は(0.1,0.4)であったとする。   FIG. 15 is a diagram for explaining operation information correction processing according to the second embodiment. The upper part of FIG. 15 is the operation information before correction, and the lower part is the operation information after correction. As shown in the upper part of FIG. 15, the toggle rate T and the duty ratio D (T, D) will be described for each signal of the operation information before correction of the macro A (101). The control clock CK1 is (2, 0.5), the control clock CK2 is (0.5, 0.5), the control signal EN1 is (0.3, 0.7), and the control signal INH2 is (0.2, 0). .2), the output pin S1 is (0.3, 0.3), the output pin S2 is (0.1, 0.4), and the output pin S3 is (0.1, 0.4).

動作補正情報312を用いた補正により、図15の下段に示すように、出力ピンS1に対する動作補正をおこなうと、トグル率toggle_rate=(1−duty)×(制御CK toggle_rate)×制御信号duty=(1−0.3)×2.0×0.7=0.98となる。また、デューティー比duty=duty+[(1−duty)/2}×制御信号duty=0.3+{(1−0.3)/2}×0.7=0.545となる。   As shown in the lower part of FIG. 15, when the operation correction for the output pin S <b> 1 is performed by the correction using the operation correction information 312, the toggle rate toggle_rate = (1-duty) × (control CK toggle_rate) × control signal duty = ( 1−0.3) × 2.0 × 0.7 = 0.98. Also, the duty ratio duty = duty + [(1-duty) / 2} × control signal duty = 0.3 + {(1-0.3) / 2} × 0.7 = 0.545.

出力ピンS2に対する動作補正をおこなうと、トグル率toggle_rate=(1−duty)×(制御CK toggle_rate)×(1−制御信号duty)=(1−0.4)×0.5×(1−0.2)=0.24となる。また、デューティー比duty=duty+{(1−duty)/2}×(1−制御信号duty)=0.4+{(1−0.4)/2}×(1−0.2)=0.64となる。   When the operation correction for the output pin S2 is performed, the toggle rate toggle_rate = (1-duty) × (control CK toggle_rate) × (1-control signal duty) = (1-0.4) × 0.5 × (1-0 .2) = 0.24. Further, duty ratio duty = duty + {(1-duty) / 2} × (1-control signal duty) = 0.4 + {(1-0.4) / 2} × (1-0.2) = 0. 64.

出力ピンS3に対する動作補正をおこなうと、トグル率toggle_rate=duty×(制御CK toggle_rate)×(1−制御信号duty)=0.4×0.5×(1−0.2)=0.16となる。また、デューティー比duty=duty−(duty/2)×(1−制御信号duty)=0.4−(0.4/2)×(1−0.2)=0.24となる。   When the operation correction for the output pin S3 is performed, the toggle rate toggle_rate = duty × (control CK toggle_rate) × (1−control signal duty) = 0.4 × 0.5 × (1-0.2) = 0.16. Become. Further, the duty ratio becomes duty = duty− (duty / 2) × (1−control signal duty) = 0.4− (0.4 / 2) × (1−0.2) = 0.24.

図16は、実施の形態2にかかるマクロを含んだ回路を示す図である。図16の回路は、図14、図15に示したマクロA(101)を含んだ回路の例であり、各回路の入力およびマクロA(101)の入出力には、図16に示すサイクルベースの動作情報(トグル率T,デューティー比D)がアノーテートされているとする。   FIG. 16 is a diagram illustrating a circuit including a macro according to the second embodiment. The circuit of FIG. 16 is an example of a circuit including the macro A (101) shown in FIGS. 14 and 15, and the cycle base shown in FIG. 16 is used for the input of each circuit and the input / output of the macro A (101). Is assumed to be annotated. (Toggle rate T, Duty ratio D)

図17は、動作情報の補正処理を説明する回路図である。図17には、動作補正情報312を用いてマクロインスタンス1(マクロA)の出力ピンS1,S2,S3の動作情報を補正した結果を矢印(→)後段に併記している。制御入力信号の動作情報は、最終的には上述した3.回路内動作情報確定処理(ステップS303)で入力側の回路から伝搬された動作情報で上書きされることになる。   FIG. 17 is a circuit diagram for explaining operation information correction processing. In FIG. 17, the result of correcting the operation information of the output pins S1, S2, and S3 of the macro instance 1 (macro A) using the operation correction information 312 is shown in the subsequent stage of the arrow (→). The operation information of the control input signal is finally the above described 3. In the in-circuit operation information determination process (step S303), the operation information propagated from the input-side circuit is overwritten.

しかし、2.動作情報補正処理(ステップS302)では、マクロA(101)の内部クロックCK1,CK2の制御情報として取り扱うため、3.回路内動作情報確定処理(ステップS303)後のグリッチ等を含めた動作情報ではなく、初期の動作情報であるサイクルベースの動作情報を用いておこなう必要がある。制御クロックCK1,CK2の入力は、サイクル単位の波形が規定された信号であるため、3.回路内動作情報確定処理(ステップS303)によって動作情報が書き変わることはない。   However, 2. In the operation information correction process (step S302), since it is handled as control information of the internal clocks CK1 and CK2 of the macro A (101), 3. It is necessary to use cycle-based operation information, which is initial operation information, instead of operation information including glitches after the in-circuit operation information determination process (step S303). Since the inputs of the control clocks CK1 and CK2 are signals in which waveforms in cycle units are defined, 3. The operation information is not rewritten by the in-circuit operation information determination process (step S303).

図18は、動作情報を確定した結果を説明する回路図である。上記の3.回路内動作情報確定処理(ステップS303)によって動作情報を確定した結果を示す。実施の形態2による電力解析の手法適用時のマクロA(101)以外の回路(a)〜(i)のダイナミック電力は、((a)0.3+(b)0.5+(c)0.2+(d)0.9205+(e)0.9205+(f)0.16+(g)0.16+(h)0.36+(i)0.36)×100uW=388.1uWとなる。   FIG. 18 is a circuit diagram for explaining the result of determining the operation information. 3. above. The result of determining the operation information by the in-circuit operation information determination process (step S303) is shown. The dynamic power of the circuits (a) to (i) other than the macro A (101) when the power analysis method according to the second embodiment is applied is ((a) 0.3+ (b) 0.5+ (c) 0. 2+ (d) 0.9205+ (e) 0.9205+ (f) 0.16+ (g) 0.16+ (h) 0.36+ (i) 0.36) × 100 uW = 388.1 uW.

対比のために、本実施の形態の電力解析の手法を適用しなかった場合の電力について説明する。図19は、実施の形態2の電力解析の手法を未適用時の電力算出例を説明する回路図である。回路(a)〜(i)のダイナミック電力を「(対象ゲートの出力信号のトグル率T)×100[uW]」としてマクロ以外の回路のダイナミック電力を求めると、ダイナミック電力は、((a)0.3+(b)0.5+(c)0.2+(d)0.45+(e)0.45+(f)0.08+(g)0.08+(h)0.3+(i)0.3)×100uW=266uWとなる。このように、本実施の形態2による電力解析の手法を適用しなかった場合には、約31%過小に消費電力を計算していることが分かる。   For comparison, the power in the case where the power analysis method of the present embodiment is not applied will be described. FIG. 19 is a circuit diagram illustrating an example of calculating power when the method of power analysis according to the second embodiment is not applied. When the dynamic power of the circuits (a) to (i) is determined as “(toggle ratio T of the output signal of the target gate) × 100 [uW]” and the dynamic power of the circuits other than the macro is obtained, the dynamic power is ((a) 0.3+ (b) 0.5+ (c) 0.2+ (d) 0.45+ (e) 0.45+ (f) 0.08+ (g) 0.08+ (h) 0.3+ (i) 0. 3) × 100 uW = 266 uW Thus, it can be seen that when the method of power analysis according to the second embodiment is not applied, the power consumption is calculated to be about 31% too low.

以上説明した実施の形態2によれば、複数の制御信号およびクロック入力があるマクロを含む場合でも、動作情報取得のための論理シミュレーションの工数を増大させることなく、電力解析の精度を向上させることができる。動作情報の補正(変換)のための処理が入るだけで、その後の電力解析処理自体に大きな処理の追加はないため、全体の解析時間へのオーバーヘッドも小さく、短時間で解析できる。   According to the second embodiment described above, even when a plurality of control signals and a clock input include a macro, the accuracy of power analysis is improved without increasing the number of logic simulation steps for acquiring operation information. Can do. Only the processing for correcting (converting) the operation information is included, and since no large processing is added to the subsequent power analysis processing itself, the overhead for the entire analysis time is small and analysis can be performed in a short time.

そして、上記各実施の形態による動作情報の補正は、サイクルベース論理シミュレーションにより得られた動作情報に基づき、ゲート単位で動作情報を補正するため、動作情報を確率伝搬させて動作情報を精度向上させることが困難なマクロが含まれても、このマクロ出力から先の回路の動作情報の精度を改善でき、電力解析の処理を高速におこなえる。加えて、クロックサイクル中で変化するグリッチやダイナミック回路の出力を考慮した補正をおこなう。これにより、サイクルベースの動作情報と実際の動作の誤差が大きいマクロに対応できるようになり、これらマクロを含む回路の消費電力解析を精度よく短時間で行えるようになる。   The correction of the operation information according to each of the above embodiments corrects the operation information in units of gates based on the operation information obtained by the cycle-based logic simulation, so that the operation information is probabilistically propagated to improve the accuracy of the operation information. Even if a difficult macro is included, the accuracy of the operation information of the previous circuit can be improved from this macro output, and the power analysis process can be performed at high speed. In addition, correction is performed in consideration of glitches that change during the clock cycle and the output of the dynamic circuit. As a result, it becomes possible to deal with macros having large errors between cycle-based operation information and actual operations, and power consumption analysis of circuits including these macros can be performed with high accuracy in a short time.

101 マクロ
101a(S1,S2,S3) 出力ピン
200 消費電力解析装置
201 CPU
202 ROM
203 RAM
204 I/F
211 ハードウェアエミュレータ
310 回路動作情報
310a 補正後の回路動作情報
311 ネットリスト
312 動作補正情報
314 消費電力解析結果
CK1,CK2 制御クロック
101 Macro 101a (S1, S2, S3) Output pin 200 Power consumption analyzer 201 CPU
202 ROM
203 RAM
204 I / F
211 Hardware Emulator 310 Circuit Operation Information 310a Corrected Circuit Operation Information 311 Netlist 312 Operation Correction Information 314 Power Consumption Analysis Result CK1, CK2 Control Clock

Claims (9)

消費電力解析装置を用いた消費電力解析方法において、
前記消費電力解析装置が有する補正処理部が、解析対象の回路のサイクルベース論理シミュレーション実行により得られた回路動作情報と、前記解析対象の回路に含まれる、前記サイクルベース論理シミュレーションによる模擬動作と前記解析対象の回路の出力信号の現実の動作との違いに対応する誤差を含むマクロの動作情報に対する動作補正情報とに基づき前記解析対象の回路内の前記マクロの動作情報に含まれる前記誤差を補正し、
前記消費電力解析装置が有する確定処理部が、前記解析対象の回路内の各信号の動作情報を確定する際に、補正後の動作情報を前記マクロの後段の回路に確率伝搬させて前記マクロの後段の回路の動作情報を確定し、
前記消費電力解析装置が有する消費電力計算部が、前記確率伝搬させた前記動作情報を用いて前記マクロの後段の回路の消費電力を求めること
を特徴とする消費電力解析方法。
In the power consumption analysis method using the power consumption analysis device,
The correction processing unit included in the power consumption analysis apparatus includes circuit operation information obtained by executing cycle-based logic simulation of a circuit to be analyzed , simulation operation by the cycle-based logic simulation included in the circuit to be analyzed , and the based on the operation correction information for the operation information of the macro including the error corresponding to the difference between the actual operation of the output signal of a circuit to be analyzed, the error included in the operation information of the macro in the circuit of the analyzed Correct,
Determination processing unit that the power consumption analyzer possessed, when determining the operation information of each signal in the circuit of the analyzing object, the macro operation information corrected by belief propagation on a circuit of a subsequent stage of the macro Confirm the operation information of the subsequent circuit,
A power consumption analysis method, wherein a power consumption calculation unit included in the power consumption analysis apparatus obtains power consumption of a circuit subsequent to the macro using the operation information propagated by the probability.
前記回路動作情報は、前記解析対象の回路のトグル率および解析期間中の前記解析対象の回路のデューティー比を含むことを特徴とする請求項1に記載の消費電力解析方法。 The power consumption analysis method according to claim 1, wherein the circuit operation information includes a toggle rate of the analysis target circuit and a duty ratio of the analysis target circuit during an analysis period. 前記動作補正情報は、前記マクロの出力信号の動作率に対する係数を含み、前記トグル率を前記係数を用いて補正することを特徴とする請求項2に記載の消費電力解析方法。   The power consumption analysis method according to claim 2, wherein the operation correction information includes a coefficient for an operation rate of the macro output signal, and the toggle rate is corrected using the coefficient. 前記動作補正情報は、ダイナミック回路動作する前記マクロの出力信号のプリチャージ制御クロック名と、プリチャージフェーズでの極性情報とを含み、前記マクロの出力信号がプリチャージ極性と逆の値である確率と、制御クロックの動作率を元に前記トグル率を算出することを特徴とする請求項2に記載の消費電力解析方法。   The operation correction information includes a precharge control clock name of an output signal of the macro that operates in a dynamic circuit and polarity information in a precharge phase, and the probability that the output signal of the macro is a value opposite to the precharge polarity. The power consumption analysis method according to claim 2, wherein the toggle rate is calculated based on an operation rate of a control clock. 前記動作補正情報は、さらに前記マクロの出力信号の動作/抑止を制御する制御入力信号名と、当該制御入力信号の制御極性とを含み、前記制御入力信号が抑止値である確率を元に前記トグル率を補正することを特徴とする請求項4に記載の消費電力解析方法。   The operation correction information further includes a control input signal name for controlling operation / inhibition of the macro output signal and a control polarity of the control input signal, and the control input signal is based on a probability that the control input signal is an inhibition value. The power consumption analysis method according to claim 4, wherein the toggle rate is corrected. 前記動作補正情報に含まれる前記係数は、予め前記マクロ単体のシミュレーションにより得た論理出力のトグル率と、実際の波形から得られるトグル率との関係に基づき求めたものを用いることを特徴とする請求項3に記載の消費電力解析方法。   The coefficient included in the motion correction information uses a coefficient obtained in advance based on a relationship between a toggle rate of a logical output obtained by simulation of the macro alone and a toggle rate obtained from an actual waveform. The power consumption analysis method according to claim 3. 前記動作補正情報に含まれる前記プリチャージ制御クロック名と、前記極性情報は、前記マクロの仕様に基づき予め用意したものを用いることを特徴とする請求項4に記載の消費電力解析方法。   5. The power consumption analysis method according to claim 4, wherein the precharge control clock name and the polarity information included in the operation correction information are prepared in advance based on specifications of the macro. 解析対象の回路のサイクルベース論理シミュレーション実行により得られた回路動作情報と、前記解析対象の回路に含まれる、前記サイクルベース論理シミュレーションによる模擬動作と前記解析対象の回路の出力信号の現実の動作との違いに対応する誤差を含むマクロの動作情報に対する動作補正情報とに基づき前記解析対象の回路内の前記マクロの動作情報に含まれる前記誤差を補正する補正処理部と、
前記解析対象の回路内の各信号の動作情報を確定する際に、補正後の動作情報を前記マクロの後段の回路に確率伝搬させて前記マクロの後段の回路の動作情報を確定する確定処理部と、
前記確率伝搬させた前記動作情報を用いて前記マクロの後段の回路の消費電力を求める消費電力計算部を備えことを特徴とする消費電力解析装置。
Circuit operation information obtained by executing cycle-based logic simulation of the circuit to be analyzed, simulation operation by the cycle-based logic simulation and actual operation of the output signal of the circuit to be analyzed included in the circuit to be analyzed a correction processing unit for correcting the error contained in the operation information of the macro in the circuit of the analyzed based on the operation correction information for the operation information of the macro including the error corresponding to the difference between,
When determining the operation information of each signal in the circuit of the analyzing target, determination processing of the operation information corrected by belief propagation to the subsequent circuit of the macro determines the operation information of a circuit of a subsequent stage of the macro And
Power analysis device characterized by Ru with a power consumption calculation section for obtaining the power consumption of the circuit in the subsequent stage of the macro by using the operation information said to belief propagation.
消費電力解析装置の消費電力解析プログラムにおいて、In the power consumption analysis program of the power consumption analyzer,
前記消費電力解析装置が有する補正処理部に、解析対象の回路のサイクルベース論理シミュレーション実行により得られた回路動作情報と、前記解析対象の回路に含まれる、前記サイクルベース論理シミュレーションによる模擬動作と前記解析対象の回路の出力信号の現実の動作との違いに対応する誤差を含むマクロの動作情報に対する動作補正情報とに基づき、前記解析対象の回路内の前記マクロの動作情報に含まれる前記誤差を補正させ、  In the correction processing unit included in the power consumption analysis device, circuit operation information obtained by executing cycle-based logic simulation of a circuit to be analyzed, simulation operation by the cycle-based logic simulation included in the circuit to be analyzed, and The error included in the macro operation information in the analysis target circuit is calculated based on the operation correction information for the macro operation information including an error corresponding to a difference from the actual operation of the output signal of the analysis target circuit. Let me correct it,
前記消費電力解析装置が有する確定処理部に、前記解析対象の回路内の各信号の動作情報を確定する際に、補正後の動作情報を前記マクロの後段の回路に確率伝搬させて前記マクロの後段の回路の動作情報を確定させ、  When the operation information of each signal in the analysis target circuit is determined by the determination processing unit included in the power consumption analysis apparatus, the corrected operation information is probabilistically propagated to the subsequent circuit of the macro, and the macro Confirm the operation information of the subsequent circuit,
前記消費電力解析装置が有する消費電力計算部に、前記確率伝搬させた前記動作情報を用いて前記マクロの後段の回路の消費電力を求めさせること  Causing a power consumption calculation unit included in the power consumption analysis apparatus to calculate power consumption of a circuit subsequent to the macro using the operation information propagated by the probability.
を特徴とする消費電力解析プログラム。  Power consumption analysis program characterized by
JP2011199994A 2011-09-13 2011-09-13 Power consumption analysis method, power consumption analysis apparatus, and power consumption analysis program Expired - Fee Related JP5831067B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011199994A JP5831067B2 (en) 2011-09-13 2011-09-13 Power consumption analysis method, power consumption analysis apparatus, and power consumption analysis program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011199994A JP5831067B2 (en) 2011-09-13 2011-09-13 Power consumption analysis method, power consumption analysis apparatus, and power consumption analysis program

Publications (2)

Publication Number Publication Date
JP2013061811A JP2013061811A (en) 2013-04-04
JP5831067B2 true JP5831067B2 (en) 2015-12-09

Family

ID=48186428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011199994A Expired - Fee Related JP5831067B2 (en) 2011-09-13 2011-09-13 Power consumption analysis method, power consumption analysis apparatus, and power consumption analysis program

Country Status (1)

Country Link
JP (1) JP5831067B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10726179B1 (en) 2019-03-13 2020-07-28 Kabushiki Kaisha Toshiba Circuit design supporting method and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100910A (en) * 2020-09-07 2020-12-18 海光信息技术有限公司 Power consumption model training method, power consumption testing method and device for processor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148833A (en) * 1998-09-10 2000-05-30 Fujitsu Ltd Method for estimating power consumption
JP2001265847A (en) * 2000-03-22 2001-09-28 Nec Corp Device and method for predicting power consumption
JP5029247B2 (en) * 2007-09-21 2012-09-19 富士通株式会社 Power calculation device, method, and program
JP2012043170A (en) * 2010-08-19 2012-03-01 Ricoh Co Ltd Power consumption estimation method of semiconductor integrated circuit and power consumption estimation device of semiconductor integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10726179B1 (en) 2019-03-13 2020-07-28 Kabushiki Kaisha Toshiba Circuit design supporting method and storage medium

Also Published As

Publication number Publication date
JP2013061811A (en) 2013-04-04

Similar Documents

Publication Publication Date Title
US6763505B2 (en) Apparatus and method for automated use of phase abstraction for enhanced verification of circuit designs
US10354042B2 (en) Selectively reducing graph based analysis pessimism
US20070277144A1 (en) Conversion of circuit description to an abstract model of the circuit
US20090210841A1 (en) Static timing analysis of template-based asynchronous circuits
US10025895B2 (en) Circuit simulation using a recording of a reference execution
TW201140357A (en) Techniques for analysis of logic designs with transient logic
US9727668B2 (en) Delta retiming in logic simulation
US8627263B2 (en) Gate configuration determination and selection from standard cell library
US20160217245A1 (en) Static timing analysis (sta) using derived boundary timing constraints for out-of-context (ooc) hierarchical entity analysis and abstraction
US10248746B1 (en) Method and apparatus for estimating ideal power of an integrated circuit design
US6748573B2 (en) Apparatus and method for removing effects of phase abstraction from a phase abstracted trace
US20110295536A1 (en) Clock jitter analyzing method and apparatus
US11593543B2 (en) Glitch power analysis with register transfer level vectors
US6745377B2 (en) Apparatus and method for representing gated-clock latches for phase abstraction
JP5831067B2 (en) Power consumption analysis method, power consumption analysis apparatus, and power consumption analysis program
US7992112B2 (en) Hardware verification programming description generation apparatus, high-level synthesis apparatus, hardware verification programming description generation method, hardware verification program generation method, control program and computer-readable recording medium
US20090077440A1 (en) Apparatus and method for verifying target cicuit
US10055532B2 (en) Collapsing terms in statistical static timing analysis
US7983891B1 (en) Receiver dependent selection of a worst-case timing event for static timing analysis
JP6089627B2 (en) Power consumption estimation apparatus and power consumption estimation method
US20080141199A1 (en) Methods and apparatuses for timing analysis of electronics circuits
Duggirala et al. On the theory of stochastic processors
US8332792B2 (en) Implementing and checking electronic circuits with flexible ramptime limits and tools for performing the same
US7552410B1 (en) Estimating LUT power usage
Hartl et al. Architectural vulnerability factor estimation with backwards analysis

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140508

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150428

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150625

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150929

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151012

R150 Certificate of patent or registration of utility model

Ref document number: 5831067

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees