Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5098517B2 - Power consumption analysis method and power consumption analysis apparatus - Google Patents
[go: Go Back, main page]

JP5098517B2 - Power consumption analysis method and power consumption analysis apparatus - Google Patents

Power consumption analysis method and power consumption analysis apparatus Download PDF

Info

Publication number
JP5098517B2
JP5098517B2 JP2007217186A JP2007217186A JP5098517B2 JP 5098517 B2 JP5098517 B2 JP 5098517B2 JP 2007217186 A JP2007217186 A JP 2007217186A JP 2007217186 A JP2007217186 A JP 2007217186A JP 5098517 B2 JP5098517 B2 JP 5098517B2
Authority
JP
Japan
Prior art keywords
circuit
measurement
measurement target
power consumption
circuits
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
JP2007217186A
Other languages
Japanese (ja)
Other versions
JP2009053747A (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 JP2007217186A priority Critical patent/JP5098517B2/en
Publication of JP2009053747A publication Critical patent/JP2009053747A/en
Application granted granted Critical
Publication of JP5098517B2 publication Critical patent/JP5098517B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)
  • Tests Of Electronic Circuits (AREA)

Description

本発明は消費電力解析方法及び消費電力解析装置に関し、特に半導体集積回路の消費電力を解析する消費電力解析方法及び消費電力解析装置に関する。   The present invention relates to a power consumption analysis method and a power consumption analysis device, and more particularly to a power consumption analysis method and a power consumption analysis device for analyzing power consumption of a semiconductor integrated circuit.

システムLSI(Large Scale Integrated circuit)チップの開発では、設計段階においてチップの消費電力の見積りを高い精度で算出しておく必要がある。
LSIチップの消費電力を見積もるためには、内部論理回路を構成する各ゲートの動作回数の計測が必要になる。そこで、論理シミュレーションから組み合わせ回路やレジスタなどの動作回数を計測し、負荷容量や基本回路の電流式より消費電力を計算する(たとえば、特許文献1参照)。
In the development of a system LSI (Large Scale Integrated circuit) chip, it is necessary to calculate the power consumption of the chip with high accuracy at the design stage.
In order to estimate the power consumption of the LSI chip, it is necessary to measure the number of operations of each gate constituting the internal logic circuit. Therefore, the number of operations of the combinational circuit and the register is measured from the logic simulation, and the power consumption is calculated from the load capacity and the current formula of the basic circuit (for example, see Patent Document 1).

システムLSIを構成する特徴部分について、高精度かつ高速に消費電力を解析する手法もある。たとえば、論理回路中のレジスタ毎の0/1確率データと、レジスタ毎の動作率データからゲートの動作率算出用テストパターンを作成し、作成されたテストパターンと、動作率算出用に編集されたネットリストとを用いたシミュレーションによってゲートの動作率を算出する手法がある(たとえば、特許文献2参照)。また、内部に大容量または多ポートのメモリを搭載するSoC(System on Chip)のような大規模LSIの消費電力の計算であれば、シミュレーションによってメモリアクセス回数と、メモリアクセス時の消費電流とを計測し、計測結果を用いてメモリ平均消費電力計算を実行することでメモリ平均消費電力を算出する手法もある(たとえば、特許文献3参照)。   There is also a technique for analyzing power consumption with high accuracy and high speed for the characteristic parts constituting the system LSI. For example, a test pattern for calculating an operating rate of a gate is created from 0/1 probability data for each register in the logic circuit and operating rate data for each register, and the created test pattern is edited for calculating the operating rate. There is a method of calculating the gate operation rate by simulation using a netlist (see, for example, Patent Document 2). If the power consumption of a large-scale LSI such as SoC (System on Chip) with a large-capacity or multi-port memory inside is calculated, the number of memory accesses and the current consumption during memory access are calculated by simulation. There is also a method of calculating memory average power consumption by performing measurement and executing memory average power consumption calculation using the measurement result (see, for example, Patent Document 3).

また、近年では、消費電力の削減に効果的なゲーテッドクロックバッファ(Gated Clock Buffer;以下、GCBとする)が、LSIに組み込まれるようになってきている。GCBは、ある回路ブロックが動作していないときは、その回路ブロック内のレジスタへのクロック入力を停止する機能を有する。このようなGCBの動作率は、個々のGCBに対して測定回路を手入力で設定し、シミュレーションを行って測定されていた。
特開平2−136755号公報 特開2001−350815号公報 特開2003−256495号公報
In recent years, a gated clock buffer (hereinafter referred to as GCB) effective for reducing power consumption has been incorporated into an LSI. The GCB has a function of stopping clock input to a register in a circuit block when the circuit block is not operating. Such an operation rate of the GCB has been measured by manually setting a measurement circuit for each GCB and performing a simulation.
Japanese Patent Laid-Open No. 2-136755 JP 2001-350815 A JP 2003-256495 A

しかし、従来の消費電力解析方法では、測定対象回路の動作回数を測定するためにカウンタを測定信号ごとに埋め込む必要があった。
FPGA(Field Programmable Gate Array)や、エミュレータ装置を用いて消費電力解析を行う場合には動作率測定用のカウンタも対象回路に合成されるため、合成された回路量が増大してしまうという問題点があった。また、消費電力の予測には、カウンタの計測データをダンプする必要がある。カウンタ数が増加することによってダンプ出力も大きくなるため、消費電力解析の速度が低下するという問題も生じる。また、シミュレーションによる消費電力解析においても、ダンプデータの増加によるシミュレーション速度の低下が問題となっている。
However, in the conventional power consumption analysis method, it is necessary to embed a counter for each measurement signal in order to measure the number of operations of the circuit to be measured.
When power consumption analysis is performed using an FPGA (Field Programmable Gate Array) or an emulator device, the counter for measuring the operation rate is also synthesized with the target circuit, so that the synthesized circuit amount increases. was there. In addition, the measurement data of the counter needs to be dumped in order to predict the power consumption. As the number of counters increases, the dump output also increases, which causes a problem that the speed of power consumption analysis decreases. Also, in the power consumption analysis by simulation, a decrease in simulation speed due to an increase in dump data is a problem.

ところで、従来設計者が手入力で挿入していたGCBは、動作率の測定に際してもGCBの挿入位置を把握している設計者が手入力で測定用カウンタを埋め込んでいた。しかし、近年では、論理合成ツールによって自動的に生成されるようになってきており、設計者が手入力で測定用カウンタを埋め込むことが困難になってきている。また、高い精度で動作率を測定するためには、GCBごとに測定用カウンタを設け、測定用カウンタのデータをダンプする必要がある。しかしながら、大規模なLSIとなると、大量のGCBが存在するため、手入力で測定用のカウンタを挿入することは難しい。加えて、GCBごとに設けられる測定用カウンタによってエミュレーションのリソース不足や、エミュレーション速度遅延が問題となる。   By the way, the GCB that has been manually inserted by a designer in the past has been embedded by a designer who knows the GCB insertion position manually when measuring the operation rate. However, in recent years, it has been automatically generated by a logic synthesis tool, and it has become difficult for a designer to embed a measurement counter manually. In order to measure the operation rate with high accuracy, it is necessary to provide a measurement counter for each GCB and dump the data of the measurement counter. However, in the case of a large-scale LSI, since a large amount of GCB exists, it is difficult to insert a measurement counter manually. In addition, the measurement counter provided for each GCB causes problems such as lack of emulation resources and emulation speed delay.

本発明はこのような点に鑑みてなされたものであり、消費電力の見積り精度を低下させることなく、解析時間を短縮することが可能な消費電力解析方法及び消費電力解析装置を提供することを目的とする。   The present invention has been made in view of the above points, and provides a power consumption analysis method and a power consumption analysis apparatus capable of reducing the analysis time without reducing the estimation accuracy of power consumption. Objective.

本発明では上記課題を解決するために、図1に示すような半導体集積回路の消費電力解析方法が提供される。本発明にかかる消費電力解析方法によれば、設計情報記憶手段1aに記憶される解析対象の半導体集積回路に関する設計回路情報を解析する。そして、共通の動作モードで動作する回路ブロックにおいて、その動作モードを規定する測定対象回路を抽出するとともに、この測定対象回路を特徴付ける特徴情報を抽出する。次に、測定対象回路を、測定対象回路が有する特徴によってグループ分けするために指定されたグループ分けポリシーと、測定対象回路の特徴情報と、に基づいて、グループ分けする。そして、グルーピング手段1dによって分けられたグループごとに動作回数を測定し、測定結果に基づいて測定グループに属する測定対象回路の動作率を算出する。   In order to solve the above problems, the present invention provides a power consumption analysis method for a semiconductor integrated circuit as shown in FIG. According to the power consumption analysis method according to the present invention, the design circuit information related to the analysis target semiconductor integrated circuit stored in the design information storage unit 1a is analyzed. Then, in a circuit block that operates in a common operation mode, a measurement target circuit that defines the operation mode is extracted, and feature information that characterizes the measurement target circuit is extracted. Next, the measurement target circuits are grouped based on the grouping policy designated for grouping according to the characteristics of the measurement target circuit and the characteristic information of the measurement target circuit. Then, the number of operations is measured for each group divided by the grouping unit 1d, and the operation rate of the measurement target circuit belonging to the measurement group is calculated based on the measurement result.

このような消費電力解析方法によれば、設計回路情報が解析され、動作モードが共通の回路ブロックにおいて動作モードを規定する測定対象回路と、その特徴情報とが抽出される。次に、測定対象回路を特徴によってグループ分けするグループ分けポリシーに基づいて、抽出された測定対象回路をグループ分けする。そして、グループ分けされた測定グループごとに動作回数を測定し、測定結果に基づいて各測定対象回路の動作率を算出する。   According to such a power consumption analysis method, design circuit information is analyzed, and a circuit to be measured that defines an operation mode in a circuit block having a common operation mode and its feature information are extracted. Next, the extracted measurement target circuits are grouped based on a grouping policy for grouping the measurement target circuits according to characteristics. Then, the number of operations is measured for each grouped measurement group, and the operation rate of each measurement target circuit is calculated based on the measurement result.

また、上記課題を解決するために、半導体集積回路の消費電力を解析する消費電力解析装置において、半導体集積回路に関する設計回路情報を記憶する設計情報記憶手段と、設計情報記憶手段に記憶される解析対象の半導体集積回路の設計回路情報を解析して、共通の動作モードで動作する回路ブロックにおいて動作モードを規定する測定対象回路を抽出するとともに、測定対象回路を特徴付ける特徴情報を抽出する測定対象回路解析手段と、測定対象回路を、測定対象回路が有する特徴によってグループ分けするために指定されたグループ分けポリシーと、測定対象回路の特徴情報と、に基づいて測定対象回路を測定グループにグループ分けするグルーピング手段と、測定グループごとに動作回数を測定し、測定結果に基づいて測定グループに属する測定対象回路の動作率を算出する動作率測定手段と、を有することを特徴とする消費電力解析装置、が提供される。   In order to solve the above problems, in a power consumption analysis apparatus for analyzing power consumption of a semiconductor integrated circuit, design information storage means for storing design circuit information related to the semiconductor integrated circuit, and analysis stored in the design information storage means Analyzes the design circuit information of the target semiconductor integrated circuit, extracts the measurement target circuit that defines the operation mode in the circuit block that operates in the common operation mode, and extracts the characteristic information that characterizes the measurement target circuit The measurement target circuits are grouped into measurement groups based on the analysis unit and the grouping policy designated for grouping the measurement target circuits according to the characteristics of the measurement target circuits and the characteristic information of the measurement target circuits. The number of operations is measured for each grouping means and measurement group, and the measurement group is based on the measurement result. Power analysis apparatus characterized by having a toggle rate measuring means for calculating an operation ratio of belonging measured circuit, is provided.

このような消費電力解析装置では、解析対象の半導体集積回路の設計回路情報を解析し、測定対象回路とその特徴情報とを抽出する。特徴情報に基づいて測定対象回路をグループ分けして、その測定グループごとに動作回数を測定し、各測定対象回路の動作率を算出する。   In such a power consumption analyzer, design circuit information of a semiconductor integrated circuit to be analyzed is analyzed, and a circuit to be measured and its characteristic information are extracted. The measurement target circuits are grouped based on the feature information, the number of operations is measured for each measurement group, and the operation rate of each measurement target circuit is calculated.

本発明では、消費電力解析のための動作率測定にあたって、設計回路情報に基づいて抽出される測定対象回路を、測定対象回路の有する特徴に基づいてグループ分けする。そして、グループ分けされた測定グループごとに動作回数を測定し、測定結果に基づいて各測定対象回路の動作率を算出する。このように、測定グループごとに動作回数を測定することにより、測定のために埋め込まれる測定回路の数を削減してエミュレーションすることが可能となる。この結果、測定回路の埋め込みにより発生するエミュレーションのリソース不足や、エミュレーション速度遅延を軽減することが可能となり、消費電力の見積り精度を低下させることなく、解析時間を短縮することができる。   In the present invention, in the operation rate measurement for power consumption analysis, the measurement target circuits extracted based on the design circuit information are grouped based on the characteristics of the measurement target circuit. Then, the number of operations is measured for each grouped measurement group, and the operation rate of each measurement target circuit is calculated based on the measurement result. In this way, by measuring the number of operations for each measurement group, the number of measurement circuits embedded for measurement can be reduced and emulated. As a result, a shortage of emulation resources and emulation speed delay caused by embedding the measurement circuit can be reduced, and the analysis time can be shortened without degrading the estimation accuracy of power consumption.

以下、本発明の実施の形態を図面を参照して説明する。
図1は、実施の形態に適用される発明の概念図である。本発明にかかる消費電力解析装置1は、設計情報記憶手段1a、解析情報記憶手段1b、測定対象回路解析手段1c、グルーピング手段1d、動作率測定手段1e、及び消費電力算出手段1fを有する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a conceptual diagram of the invention applied to the embodiment. The power consumption analysis apparatus 1 according to the present invention includes a design information storage unit 1a, an analysis information storage unit 1b, a measurement target circuit analysis unit 1c, a grouping unit 1d, an operating rate measurement unit 1e, and a power consumption calculation unit 1f.

設計情報記憶手段1aは、消費電力解析の対象である半導体集積回路の設計情報を記憶する記憶手段である。設計情報は、回路設計のために生成される情報であり、回路に関する設計回路情報や、論理シミュレーションに用いられるテスト情報などが含まれる。設計回路情報には、たとえば回路の接続状態を表現したチップのネットリスト、回路をフリップフロップ(Flip-Flop;以下、FFとする)や組み合わせ論理回路レベルで表現したRTL(Register Transfer Level)などがある。テスト情報には、たとえば、論理シミュレーションに用いられるテストベンチなどがある。   The design information storage unit 1a is a storage unit that stores design information of a semiconductor integrated circuit that is a target of power consumption analysis. The design information is information generated for circuit design, and includes design circuit information related to the circuit, test information used for logic simulation, and the like. The design circuit information includes, for example, a chip net list expressing the connection state of the circuit, a flip-flop (hereinafter referred to as FF), an RTL (Register Transfer Level) expressing the circuit at the combinational logic circuit level, and the like. is there. The test information includes, for example, a test bench used for logic simulation.

解析情報記憶手段1bは、消費電力解析処理で参照される情報と、解析結果情報とを記憶する記憶手段である。解析のために参照される情報として、グルーピングのためのグループ分けポリシーなどがある。解析結果情報として、測定対象回路解析手段1cによる解析結果、グルーピング手段1dによるグルーピングの結果などの情報がある。   The analysis information storage unit 1b is a storage unit that stores information referred to in the power consumption analysis process and analysis result information. Information referred to for analysis includes a grouping policy for grouping. The analysis result information includes information such as an analysis result by the measurement target circuit analysis unit 1c and a grouping result by the grouping unit 1d.

測定対象回路解析手段1cは、設計情報記憶手段1aに格納される設計回路情報を読み出し、これを解析して測定対象回路を抽出する。ここでは、共通の動作モードで動作する回路ブロックにおいて動作モードを規定する回路を測定対象回路とする。さらに、抽出された測定対象回路を特徴付ける特徴情報も抽出する。解析結果は、解析情報記憶手段1bに格納する。   The measurement target circuit analysis unit 1c reads design circuit information stored in the design information storage unit 1a, analyzes this, and extracts a measurement target circuit. Here, a circuit that defines an operation mode in a circuit block that operates in a common operation mode is a measurement target circuit. Further, feature information characterizing the extracted measurement target circuit is also extracted. The analysis result is stored in the analysis information storage unit 1b.

グルーピング手段1dは、測定対象回路解析手段1cが抽出した測定対象回路を所定のグループ分けポリシーに基づいてグループ分けする。グループ分けポリシーには、グループ分けのための規則が、測定対象回路の特徴に基づいて指定されている。たとえば、回路ブロックを構成する所定の回路素子の数、クロック周波数、回路ブロックのモジュール構成などが指定される。グループ分けポリシーは、予めユーザが設定しておくこともできるし、測定対象回路解析手段1cの解析結果に基づいてユーザが任意に設定するとしてもよい。また、解析結果に基づいて、消費電力解析装置1がグループ分けポリシーを設定するとしてもよい。グルーピング手段1dでは、解析情報記憶手段1bに格納されるグループ分けポリシーと、測定対象回路の特徴情報と、に基づいて測定対象回路を複数の測定グループにグループ分けする。なお、グループ分け処理で参照される特徴情報は、測定対象回路解析手段1cによって抽出された特徴情報に限定されない。設定されるグループ分けポリシーに対応して設計情報から適宜抽出される。グループ分けの結果は、解析情報記憶手段1bに格納する。   The grouping unit 1d groups the measurement target circuits extracted by the measurement target circuit analysis unit 1c based on a predetermined grouping policy. In the grouping policy, rules for grouping are specified based on the characteristics of the circuit to be measured. For example, the number of predetermined circuit elements constituting the circuit block, the clock frequency, the module configuration of the circuit block, and the like are designated. The grouping policy may be set in advance by the user, or may be arbitrarily set by the user based on the analysis result of the measurement target circuit analysis unit 1c. Further, based on the analysis result, the power consumption analysis apparatus 1 may set a grouping policy. The grouping unit 1d groups the measurement target circuits into a plurality of measurement groups based on the grouping policy stored in the analysis information storage unit 1b and the characteristic information of the measurement target circuit. Note that the feature information referred to in the grouping process is not limited to the feature information extracted by the measurement target circuit analysis unit 1c. It is appropriately extracted from the design information corresponding to the set grouping policy. The grouping result is stored in the analysis information storage unit 1b.

動作率測定手段1eは、測定グループごとに動作回数を測定し、測定結果に基づいて測定グループに属する測定対象回路の動作率を算出する。たとえば、設計回路情報に記述される設計回路に測定グループに対応する1つの測定回路を埋め込み、測定回路が埋め込まれた設計回路の回路情報に基づいて、エミュレータ装置でエミュレーションを実行させる。測定回路は、測定グループに属する測定対象回路の動作回数を計測する回路であり、エミュレーションによって測定グループ全体の動作回数が得られる。この測定グループ全体の動作回数に基づいて、グループ内の測定対象回路の動作率を算出する。   The operation rate measuring unit 1e measures the number of operations for each measurement group, and calculates the operation rate of the measurement target circuit belonging to the measurement group based on the measurement result. For example, one measurement circuit corresponding to the measurement group is embedded in the design circuit described in the design circuit information, and emulation is executed by the emulator device based on the circuit information of the design circuit in which the measurement circuit is embedded. The measurement circuit is a circuit that measures the number of operations of the measurement target circuit belonging to the measurement group, and the number of operations of the entire measurement group can be obtained by emulation. Based on the number of operations of the entire measurement group, the operation rate of the measurement target circuit in the group is calculated.

消費電力算出手段1fは、算出された動作率に基づいて、消費電力の見積りを算出する。
このような構成の消費電力解析装置1により実行される消費電力解析方法について説明する。処理開始前に、消費電力解析の対象となる半導体集積回路の設計情報が設計情報記憶手段1aに格納される。処理が開始されると、測定対象回路解析手段1cが、設計回路情報を解析して動作モードが共通の回路ブロックの動作モードを規定する測定対象回路を抽出する。さらに、測定対象回路の特徴情報も抽出しておく。次に、グルーピング手段1dが、抽出された測定対象回路を、グループ分けポリシーと、測定対象回路の特徴情報とに基づいてグループ分けする。動作率測定手段1eは、グループ分けされた測定グループごとに測定回路を用意してエミュレーションを行って動作回数を測定し、得られた測定結果に基づいて各測定対象回路の動作率を算出する。そして、消費電力算出手段1fが、算出された動作率に基づいて、消費電力の見積りを算出する。
The power consumption calculation unit 1f calculates an estimate of power consumption based on the calculated operation rate.
A power consumption analysis method executed by the power consumption analysis apparatus 1 having such a configuration will be described. Prior to the start of processing, design information of a semiconductor integrated circuit to be subjected to power consumption analysis is stored in the design information storage unit 1a. When the process is started, the measurement target circuit analysis unit 1c analyzes the design circuit information and extracts a measurement target circuit that defines the operation mode of the circuit block having a common operation mode. Further, feature information of the circuit to be measured is also extracted. Next, the grouping unit 1d groups the extracted measurement target circuit based on the grouping policy and the characteristic information of the measurement target circuit. The operating rate measuring means 1e prepares a measuring circuit for each grouped measuring group, performs emulation to measure the number of operations, and calculates the operating rate of each measurement target circuit based on the obtained measurement result. Then, the power consumption calculation unit 1f calculates an estimate of power consumption based on the calculated operation rate.

以上のように、測定グループを単位として測定回路を配置して動作回数を測定することにより、動作回数の測定のために設計回路に埋め込まれる測定回路の数を削減して、エミュレーションを実行させることができる。この結果、エミュレーションのリソース不足や、エミュレーション速度遅延を軽減することが可能となり、消費電力の見積り精度を低下させることなく、解析時間を短縮することができる。また、従来、手入力で挿入されることの多かった測定回路を、適切な場所に自動配置することができるため、消費電力解析に要する手間と時間も大幅に削減することができる。   As described above, the number of measurement circuits embedded in the design circuit for measurement of the number of operations is reduced by arranging measurement circuits in units of measurement groups and measuring the number of operations. Can do. As a result, it is possible to reduce the shortage of emulation resources and emulation speed delay, and the analysis time can be shortened without reducing the power consumption estimation accuracy. In addition, since it is possible to automatically arrange measurement circuits that have been often inserted manually by hand at an appropriate location, the labor and time required for power consumption analysis can be greatly reduced.

以下、実施の形態を、GCBが組み込まれたLSIの消費電力を解析する場合を例に図面を参照して詳細に説明する。GCBは、GCBに接続する回路ブロックの動作モードを規定する回路であって、GCBがクロック入力を停止させているときは回路ブロックの動作モードはオフ、クロック入力を行っているときの動作モードはオンになる。消費電力の解析のため、GCBの動作回数を測定し、動作率を算出する。   Hereinafter, embodiments will be described in detail with reference to the drawings, taking as an example the case of analyzing the power consumption of an LSI incorporating a GCB. The GCB is a circuit that defines the operation mode of the circuit block connected to the GCB. When the GCB stops the clock input, the operation mode of the circuit block is OFF, and the operation mode when the clock input is performed is Turn on. In order to analyze the power consumption, the number of GCB operations is measured and the operation rate is calculated.

図2は、本発明の実施の形態の消費電力解析装置のハードウェア構成の一例を示した図である。ここでは、消費電力解析装置をホスト計算機で構成している。
消費電力解析装置(ホスト計算機)100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス107を介してRAM(Random Access Memory)102、ハードディスクドライブ(HDD:Hard Disk Drive)103、グラフィック処理装置104、入力インタフェース105、通信インタフェース106が接続されている。
FIG. 2 is a diagram illustrating an example of a hardware configuration of the power consumption analysis apparatus according to the embodiment of this invention. Here, the power consumption analysis apparatus is configured by a host computer.
The entire power consumption analysis apparatus (host computer) 100 is controlled by a CPU (Central Processing Unit) 101. A random access memory (RAM) 102, a hard disk drive (HDD) 103, a graphic processing device 104, an input interface 105, and a communication interface 106 are connected to the CPU 101 via a bus 107.

RAM102には、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。HDD103には、OSやアプリケーションプログラムが格納される。なお、半導体集積回路の設計情報及び解析情報は、HDD103、または、図示しないHDDインタフェースを介して接続する外部HDDに格納される。グラフィック処理装置104には、モニタ108が接続されており、CPU101からの命令に従って画像をモニタ108の画面に表示させる。入力インタフェース105には、キーボード109aやマウス109bが接続されており、キーボード109aやマウス109bから送られてくる信号を、バス107を介してCPU101に送信する。通信インタフェース106は、エミュレータ装置200に接続されている。   The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 stores various data necessary for processing by the CPU 101. The HDD 103 stores an OS and application programs. The design information and analysis information of the semiconductor integrated circuit are stored in the HDD 103 or an external HDD connected via an HDD interface (not shown). A monitor 108 is connected to the graphic processing device 104, and an image is displayed on the screen of the monitor 108 in accordance with a command from the CPU 101. A keyboard 109 a and a mouse 109 b are connected to the input interface 105, and signals transmitted from the keyboard 109 a and the mouse 109 b are transmitted to the CPU 101 via the bus 107. The communication interface 106 is connected to the emulator device 200.

消費電力解析装置100が、対象の半導体集積回路の設計データ及び全体テストベンチをエミュレータ装置200に送信することで、エミュレータ装置200に論理エミュレーションを実行させる。そして、エミュレータ装置200が実行したエミュレーション結果は、通信インタフェース106を介してCPU101に送られる。   The power consumption analysis apparatus 100 transmits the design data of the target semiconductor integrated circuit and the entire test bench to the emulator apparatus 200, thereby causing the emulator apparatus 200 to execute logic emulation. Then, the emulation result executed by the emulator device 200 is sent to the CPU 101 via the communication interface 106.

次に、消費電力解析処理の手順を説明する。以下に説明する各処理は、上記の消費電力解析装置100、または、消費電力解析装置100からの指示を受けたエミュレータ装置200が実行する。また、実施の形態では、消費電力解析装置100及びエミュレータ装置200は、ユーザからの開始指示によって各処理を実行し、処理が終了すると、処理結果をモニタ108画面に表示することとする。もちろん、各処理を自動的に実行させることもできる。なお、エミュレーション結果は、エミュレータ装置200から結果を取得した消費電力解析装置100がモニタ108に表示させるとする。   Next, the procedure of power consumption analysis processing will be described. Each process described below is executed by the power consumption analysis apparatus 100 or the emulator apparatus 200 that receives an instruction from the power consumption analysis apparatus 100. In the embodiment, the power consumption analysis apparatus 100 and the emulator apparatus 200 execute each process according to a start instruction from the user, and display the process result on the monitor 108 screen when the process ends. Of course, each process can be automatically executed. The emulation result is displayed on the monitor 108 by the power consumption analysis apparatus 100 that has acquired the result from the emulator apparatus 200.

図3は、実施の形態の消費電力解析処理の手順を示したフローチャートである。
まず、消費電力解析処理で参照されるデータについて説明する。設計情報記憶手段1aには、解析対象のチップの設計情報であるチップネットリスト301、RTL302、及び全体テストベンチ303が記憶される。チップネットリスト301は、消費電力の解析を行う対象チップのネットリストである。RTL302は、RTLレベルで記述された対象チップの回路情報である。全体テストベンチ303は、論理エミュレーションに用いられるテストベンチである。解析情報記憶手段1bには、解析に関する情報として、解析結果情報310、グルーピング制約320、グルーピング情報330、GCB動作率340、波形データ350、及び平均動作率360が記憶される。解析結果情報310には、解析結果として抽出されたGCB、GCBの特徴情報、及び特徴情報から導出されるグループ分けのための閾値などがある。グルーピング制約320は、グループ分けポリシーなど、グルーピング処理で参照される制約情報である。グルーピング情報330は、グループ分けされたGCBに関する情報である。GCB動作率340は、算出された各GCBの動作率に関する情報である。波形データ350は、エミュレータ装置200がエミュレーションを実行することによって生成された信号の波形データである。平均動作率360は、消費電力の見積りに用いるため、算出された時刻別データ平均動作率である。
FIG. 3 is a flowchart illustrating a procedure of power consumption analysis processing according to the embodiment.
First, data referred to in the power consumption analysis process will be described. The design information storage unit 1a stores a chip net list 301, an RTL 302, and an overall test bench 303, which are design information of a chip to be analyzed. The chip net list 301 is a net list of target chips for power consumption analysis. The RTL 302 is circuit information of the target chip described at the RTL level. The overall test bench 303 is a test bench used for logic emulation. The analysis information storage unit 1b stores analysis result information 310, grouping constraints 320, grouping information 330, GCB operation rate 340, waveform data 350, and average operation rate 360 as information related to analysis. The analysis result information 310 includes a GCB extracted as an analysis result, GCB feature information, a threshold for grouping derived from the feature information, and the like. The grouping constraint 320 is constraint information referred to in grouping processing such as a grouping policy. The grouping information 330 is information regarding grouped GCBs. The GCB operation rate 340 is information regarding the calculated operation rate of each GCB. The waveform data 350 is waveform data of a signal generated when the emulator device 200 executes emulation. Since the average operation rate 360 is used for estimating power consumption, it is a calculated average data operation rate by time.

続いて、処理の流れを説明する。利用者からの開始指示により、消費電力解析処理が開始される。
[ステップS01] 対象チップに関するチップネットリスト301を読み出し、ネットリスト解析を行う。解析では、GCBを抽出し、続いて抽出したGCBの特徴情報を抽出する。ここでは、特徴情報として、GCBごとに接続するFF数及びクロックバッファ(CLKBUF)数を算出する。以下、GCBに接続するFF数及びCLKBUF数を、接続FF数と表記する。さらに、GCBの数と、接続FF数とを対応付け、接続FF数ごとのGCBの数の分布状況が解析され、GCBのグループ化のための閾値が決定される。得られた情報は、解析結果情報310として管理される。詳細は後述する。
Subsequently, the flow of processing will be described. The power consumption analysis process is started in response to a start instruction from the user.
[Step S01] The chip net list 301 relating to the target chip is read out, and a net list analysis is performed. In the analysis, GCB is extracted, and subsequently extracted GCB feature information is extracted. Here, the number of FFs connected to each GCB and the number of clock buffers (CLKBUF) are calculated as feature information. Hereinafter, the number of FFs connected to the GCB and the number of CLKBUFs are expressed as the number of connected FFs. Further, the number of GCBs is associated with the number of connected FFs, the distribution situation of the number of GCBs for each number of connected FFs is analyzed, and a threshold for grouping the GCBs is determined. The obtained information is managed as analysis result information 310. Details will be described later.

[ステップS02] グルーピングが指示されると、ステップS01で取得したGCBを、その特徴情報である接続FF数と、決定されたグループ化のための閾値と、に基づいてグループ分けする。詳細は後述する。   [Step S02] When grouping is instructed, the GCB acquired in step S01 is grouped based on the number of connected FFs as the feature information and the determined threshold for grouping. Details will be described later.

[ステップS03] グループ化されたGCBグループ単位に、動作回数測定用のカウンタの埋め込みを行う。カウンタは、グループ化されたすべてのGCBのゲートイネーブル数をカウントする。詳細は後述する。   [Step S03] A counter for measuring the number of operations is embedded in each grouped GCB group. The counter counts the number of gate enables of all grouped GCBs. Details will be described later.

[ステップS04] エミュレータ装置に対し、ステップS03においてカウンタが埋め込まれたエミュレーション用の設計回路のデータを送信し、1回目の全体エミュレーションを実行させる。全体エミュレーション終了後、エミュレーション結果として、埋め込まれたカウンタから、測定されたカウント値をダンプする。そして、ダンプされたデータから時刻別のチップ全体のGCB動作率を算出し、算出されたGCB動作率から、時刻別データ平均動作率予測を行う。   [Step S04] Data of the design circuit for emulation in which the counter is embedded in step S03 is transmitted to the emulator device, and the first entire emulation is executed. After the entire emulation is completed, the measured count value is dumped from the embedded counter as the emulation result. Then, the GCB operation rate of the entire chip by time is calculated from the dumped data, and the data average operation rate by time is predicted from the calculated GCB operation rate.

[ステップS05] ステップS04で算出された時刻別データ平均動作率予測に基づいて、波形取得を行うポイントを選択する。時刻別データ平均動作率予測に基づき、動作率予測が変化しない期間については波形取得を行わず、前の期間のデータを使用する。これにより、波形データを取得する波形取得ポイントを少なくすることができる。このようにして、エミュレーション時間を短縮する。   [Step S05] Based on the time-averaged data average operation rate prediction calculated in step S04, a point for waveform acquisition is selected. Based on the time-based data average operating rate prediction, waveform acquisition is not performed for a period in which the operating rate prediction does not change, and data of the previous period is used. Thereby, the waveform acquisition point which acquires waveform data can be decreased. In this way, the emulation time is shortened.

[ステップS06] 波形取得ポイントを少なくしたモードで全体エミュレーション(2回目)を実行し、ステップS05で指定された期間のみの波形データを取得する。
[ステップS07] 全体エミュレーション(2回目)によって取得された波形データから平均動作率を算出し、算出された時刻別データ平均動作率から消費電力見積りを行う。
[Step S06] The entire emulation (second time) is executed in a mode in which the number of waveform acquisition points is reduced, and waveform data for only the period specified in step S05 is acquired.
[Step S07] An average operating rate is calculated from the waveform data acquired by the entire emulation (second time), and power consumption is estimated from the calculated time-based data average operating rate.

以上の処理手順が実行されることにより、解析対象のチップの消費電力見積りが算出される。消費電力の見積りに使用される動作回数の計測のための測定カウンタは、動作が類似する複数のGCBで構成されるGCBグループごとに設けられるので、測定カウンタの総数を削減することができる。   By executing the above processing procedure, the power consumption estimate of the analysis target chip is calculated. Since the measurement counter for measuring the number of operations used for estimating the power consumption is provided for each GCB group including a plurality of GCBs having similar operations, the total number of measurement counters can be reduced.

次に、測定対象回路解析処理(ステップS01)、グルーピング処理(ステップS02)、及びカウンタ埋め込み処理(ステップS03)を詳細に説明する。
まず、測定対象回路解析処理について説明する。図4は、測定対象回路解析処理の手順を示したフローチャートである。
Next, the measurement target circuit analysis process (step S01), the grouping process (step S02), and the counter embedding process (step S03) will be described in detail.
First, the measurement target circuit analysis process will be described. FIG. 4 is a flowchart showing the procedure of the measurement target circuit analysis process.

[ステップS11] チップネットリスト301を入力して解析し、GCBの抽出を行う。
[ステップS12] さらに、チップネットリスト301に基づき、ステップS11で抽出されたGCBの接続FF数を算出する。回路ブロック内のクロックバッファで消費される電力は、接続FF数と相関関係がある。共通のカウンタで動作回数を高精度で計測するには、同じような特徴を持つGCBをグループ化することが望ましい。そこで、接続FF数を算出し、グループ分けのための特徴情報とする。
[Step S11] The chip net list 301 is input and analyzed, and the GCB is extracted.
[Step S12] Further, based on the chip net list 301, the number of connected FFs of the GCB extracted in step S11 is calculated. The power consumed by the clock buffer in the circuit block has a correlation with the number of connected FFs. In order to measure the number of operations with a common counter with high accuracy, it is desirable to group GCBs having similar characteristics. Therefore, the number of connected FFs is calculated and used as feature information for grouping.

[ステップS13] ステップS12で算出された接続FF数と、GCB数との関係をグラフ化する。すなわち、1個当たりのGCBに接続されているFF数と、そのような構成のGCBが解析対象のチップにいくつあるかというGCB数の分布をグラフ化し、利用者に提供する。なお、自動でグループ化のための閾値を決定するときは、分布状況を把握できればよく、必ずしもグラフを作成する必要はない。   [Step S13] The relationship between the number of connected FFs calculated in step S12 and the number of GCBs is graphed. That is, the number of FFs connected to each GCB and the distribution of the number of GCBs indicating the number of GCBs having such a configuration in the analysis target chip are graphed and provided to the user. Note that when automatically determining a threshold value for grouping, it is only necessary to be able to grasp the distribution status, and it is not always necessary to create a graph.

[ステップS14] グラフ(GCBに接続されているFF数と、GCB数の分布とを表した図)に基づいて、人あるいは自動設定で、グループ分けのための接続FF数の閾値(グループ化方針)を決定し、グルーピング制約320に登録する。もちろん、接続FF数ごとに動作回数測定用のカウンタを設けることもできるが、GCBごとの接続FF数の分布状況によっては、効率的でない場合がある。そこで、接続FF数を所定の閾値で区切り、グループ化を図る。接続FF数の閾値を分布状況に応じて人が決定するときは、消費電力解析装置100は、モニタ108に作成したグラフを表示して、利用者の入力を待つ。キーボード109aまたはマウス109bを介してグループ化方針が入力されると、これをグルーピング制約320に登録する。自動設定のときは、予め閾値設定のポリシーを決めておく。消費電力解析装置100は、接続FF数ごとのGCBの分布状況と、閾値設定のポリシーとに基づいてグループ化方針を決定する。たとえば、「GCB数の変化の大きいところ」という基準があれば、そのような値を検索し、閾値にする。   [Step S14] Based on the graph (the diagram showing the number of FFs connected to the GCB and the distribution of the GCB number), the threshold of the number of connected FFs for grouping (grouping policy) by human or automatic setting ) Is registered and registered in the grouping constraint 320. Of course, a counter for measuring the number of operations can be provided for each number of connected FFs, but depending on the distribution of the number of connected FFs for each GCB, it may not be efficient. Therefore, the number of connected FFs is divided by a predetermined threshold value to achieve grouping. When a person determines the threshold value for the number of connected FFs according to the distribution status, the power consumption analysis apparatus 100 displays the created graph on the monitor 108 and waits for a user input. When a grouping policy is input via the keyboard 109a or the mouse 109b, it is registered in the grouping constraint 320. For automatic setting, a threshold setting policy is determined in advance. The power consumption analysis apparatus 100 determines a grouping policy based on the distribution status of the GCB for each number of connected FFs and a threshold setting policy. For example, if there is a criterion “a place where the change in the number of GCB is large”, such a value is searched and set as a threshold value.

以上の処理が実行されることにより、チップネットリスト301が解析され、解析結果として、解析対象チップのGCB及びGCBの接続FF数とともに、グループ化方針が決定される。   By executing the above processing, the chip net list 301 is analyzed, and the grouping policy is determined as the analysis result together with the GCB of the analysis target chip and the number of connected FFs of the GCB.

グループ化方針の決定を具体例を挙げて説明する。図5は、測定対象回路分析結果をグラフ化した一例を示した図である。
測定対象回路分析結果のグラフは、横軸が1個あたりのGCBに接続されているFF数であり、縦軸がGCBの数である。図の例では、GCBに接続されているFF数が、8→9、及び16→17と変化するときに、GCBの数が大きく変化している。したがって、ここでは、接続FF数が9と17を閾値としてグループ化を行うというグループ化方針が決定される。具体的には、GCBの接続FF数が0から8のグループA401、接続FF数が9から16のグループB402にグループ分けされる。接続FF数が17以上のGCBは、グループ化範囲を超えたGCBであり、それぞれ個別にカウンタを埋め込み動作率が測定される。
The determination of the grouping policy will be described with a specific example. FIG. 5 is a diagram illustrating an example of a graph of the measurement target circuit analysis result.
In the graph of the measurement target circuit analysis result, the horizontal axis represents the number of FFs connected to one GCB, and the vertical axis represents the number of GCBs. In the example shown in the figure, when the number of FFs connected to the GCB changes from 8 → 9 and 16 → 17, the number of GCBs changes greatly. Therefore, here, a grouping policy is determined in which the number of connected FFs is 9 and 17 as threshold values. Specifically, the groups are grouped into a group A 401 having 0 to 8 connected FFs for GCB and a group B 402 having 9 to 16 connected FFs. A GCB having 17 or more connected FFs is a GCB that exceeds the grouping range, and an operation rate is measured by individually embedding a counter.

次に、グルーピング処理について説明する。
上記の説明では、測定対象回路分析結果に基づいて、グルーピングのための閾値をグループ化方針として設定するとしたが、測定精度を向上させるために、さらにグループを分割することもできる。たとえば、GCBには、論理合成で自動的に設定されるものと、設計者が手入力で挿入するものとがある。手入力で挿入されたGCBの動作率は電力見積りにて重要である可能性が高いことから、手入力されたGCBであれば、個別に測定を行うというグループ分けポリシーを設定することができる。なお、手入力であるかどうかは、RTL記述時にGCBが設定されているかどうかでわかる。
Next, the grouping process will be described.
In the above description, the threshold for grouping is set as the grouping policy based on the analysis result of the circuit to be measured. However, the group can be further divided to improve the measurement accuracy. For example, there are GCBs that are automatically set by logic synthesis and those that are manually inserted by a designer. Since the operation rate of the manually inserted GCB is likely to be important in power estimation, a grouping policy for performing individual measurement can be set for a manually input GCB. Whether it is manual input or not can be determined by whether GCB is set at the time of RTL description.

また、精度向上のためには、なるべく同じように動作するGCBをグループ化した方がよいことから、動作周波数やモジュール構成情報などに基づき、GCBグループをさらにサブグループに分割することもできる。このようなグループ分けポリシーは、接続FF数によってグループ化されたGCBグループを、さらにサブGCBグループに分割するときに利用される。   In order to improve accuracy, it is better to group GCBs that operate in the same way as much as possible. Therefore, the GCB group can be further divided into subgroups based on the operating frequency, module configuration information, and the like. Such a grouping policy is used when a GCB group grouped according to the number of connected FFs is further divided into sub-GCB groups.

図6は、グルーピング処理の手順を示したフローチャートである。図4と同じものには同じ番号を付し、説明は省略する。
ここで、図4で説明したデータを除く、消費電力解析処理で参照されるデータについて説明する。個別計測GCB情報331、グルーピングGCB情報332、グループa情報333、及びグループb情報334は、グルーピングされたGCBに関するグルーピング情報330に含まれる。個別計測GCB情報331は、個別にカウンタを設けて測定を行うGCBに関する情報である。グルーピングGCB情報332は、接続FF数に基づいてグループ分けされたGCBに関する情報である。グループa情報333及びグループb情報334は、グルーピングGCB情報332にグループ分けされたGCBグループをさらに分割したサブGCBグループに属するGCBに関する情報である。グルーピングパラメータ321は、グルーピング制約320に含まれ、グループ分けするときに参照されるパラメータが登録されている。
FIG. 6 is a flowchart showing the procedure of the grouping process. The same components as those in FIG. 4 are denoted by the same reference numerals, and description thereof is omitted.
Here, the data referred to in the power consumption analysis process excluding the data described in FIG. 4 will be described. The individual measurement GCB information 331, grouping GCB information 332, group a information 333, and group b information 334 are included in the grouping information 330 regarding the grouped GCB. The individual measurement GCB information 331 is information on the GCB that performs measurement by providing a counter individually. The grouping GCB information 332 is information related to GCBs grouped based on the number of connected FFs. The group a information 333 and the group b information 334 are information related to GCBs belonging to sub GCB groups obtained by further dividing the GCB group grouped into the grouping GCB information 332. The grouping parameter 321 is included in the grouping constraint 320, and a parameter referred to when grouping is registered.

[ステップS21] 解析結果情報310に設定されているGCB、GCBの接続FF数、及びグループ化方針(グループ化のための接続FF数の閾値)を読み出し、グループ化方針に基づいてGCBをグループ分けする。このとき、さらに、グループ分けポリシーが設定されていれば、設定されているポリシーも参照してグループ分けが行われる。接続FF数によるグループ化が行われ、個別に測定カウンタを設けて動作回数を計測するGCBと、共通の測定カウンタで動作回数を計測するGCBグループとに分けられる。個別に測定カウンタを設けるGCBは、個別計測GCB情報331に登録される。生成されたGCBグループと、そのGCBグループに属するGCBに関する情報は、グルーピングGCB情報332に登録される。   [Step S21] The GCB, the number of connected FFs of the GCB, and the grouping policy (threshold for the number of connected FFs for grouping) set in the analysis result information 310 are read, and the GCBs are grouped based on the grouping policy. To do. At this time, if a grouping policy is set, the grouping is performed with reference to the set policy. Grouping is performed based on the number of connected FFs, and it is divided into a GCB in which a measurement counter is individually provided to measure the number of operations and a GCB group in which the number of operations is measured with a common measurement counter. The GCB in which the measurement counter is individually provided is registered in the individual measurement GCB information 331. The generated GCB group and information related to the GCB belonging to the GCB group are registered in the grouping GCB information 332.

[ステップS22] 接続FF数によるグループ化が行われた後、生成された各GCBグループは、グルーピングパラメータ321に基づいてさらに分割される。ここでは、接続FF数によりグループ分けされたGCBグループが、さらに、グループaとグループbとのサブGCBグループに分割される。分割されたグループaに属するGCBに関する情報はグループa情報333、グループbに属するGCBに関する情報はグループb情報334に登録される。   [Step S22] After grouping by the number of connected FFs, each generated GCB group is further divided based on the grouping parameter 321. Here, the GCB groups grouped by the number of connected FFs are further divided into sub-GCB groups of group a and group b. Information on the GCB belonging to the divided group a is registered in the group a information 333, and information on the GCB belonging to the group b is registered in the group b information 334.

以上の処理手順が実行されることにより、接続FF数に基づいてグループ分けされたGCBグループが、さらに、グルーピングパラメータに基づいてグループ分割される。このようにして、電力的な影響が類似するGCBによりGCBグループを構成することにより、測定の精度を向上させることができる。   By executing the above processing procedure, the GCB groups grouped based on the number of connected FFs are further divided into groups based on the grouping parameters. Thus, the accuracy of measurement can be improved by configuring a GCB group with GCBs having similar power effects.

ここで、各処理をさらに詳細に説明する。なお、図3に示した消費電力解析処理の全体の手順では、グルーピング処理が全て終了した後、各グループに動作率算出用カウンタを埋め込む処理を行うとしたが、動作率算出用カウンタの埋め込みは、所属するグループが決定(グループには属さず単独測定を行うことが決定された場合も含む)したときに、随時行うとすることもできる。以下では、動作率算出用カウンタの埋め込みをグループ決定ごとに行うとして説明する。   Here, each process will be described in more detail. In the overall procedure of the power consumption analysis process shown in FIG. 3, after all the grouping processes are completed, the process for calculating the operation rate calculation counter is performed in each group. When the group to which the user belongs is determined (including the case where it is determined not to belong to the group and to perform independent measurement), it may be performed as needed. In the following description, it is assumed that the operation rate calculation counter is embedded every time a group is determined.

まず、接続FF数によるグループ化処理について説明する。図7は、グルーピング処理におけるグループ化の処理手順を示したフローチャートである。
ここでは、グループ分けポリシーとして、「手入力のGCBは個別に測定」、「接続FF数に基づいて閾値でグループ化」が設定されているとする。
First, the grouping process based on the number of connected FFs will be described. FIG. 7 is a flowchart showing a grouping process procedure in the grouping process.
Here, it is assumed that “manually input GCBs are individually measured” and “grouping by threshold based on the number of connected FFs” are set as the grouping policy.

解析結果情報310の先頭に設定されるGCBから、グループ化処理が開始される。
[ステップS211] 当該GCBは、手入力GCBであるかどうかが判定される。手入力GCBであるか否かは、RTL302に記述されているか否かで判定する。手入力されたGCBであるときには、処理をステップS214に進める。手入力されたGCBでないときは、処理をステップS212へ進める。
The grouping process is started from the GCB set at the head of the analysis result information 310.
[Step S211] It is determined whether or not the GCB is a manually input GCB. Whether it is a manually input GCB is determined by whether it is described in the RTL 302 or not. If it is a manually input GCB, the process proceeds to step S214. If it is not manually input GCB, the process proceeds to step S212.

[ステップS212] 当該GCBが手入力GCBでないときは、解析結果情報310に基づき、接続FF数を調査する。
[ステップS213] ステップS212で読み出された当該GCBの接続FF数の数と閾値を比較する。接続FF数が閾値を超えているときは、処理をステップS214へ進める。接続FF数が閾値より小さいときは、処理をステップS215へ進める。
[Step S212] If the GCB is not a manually input GCB, the number of connected FFs is examined based on the analysis result information 310.
[Step S213] The number of connected FFs of the GCB read in step S212 is compared with a threshold value. If the number of connected FFs exceeds the threshold value, the process proceeds to step S214. If the number of connected FFs is smaller than the threshold value, the process proceeds to step S215.

[ステップS214] 当該GCBが手入力である場合、あるいは、接続FF数が閾値より大きい場合は、単独で動作回数を計測するとし、単独で動作率算出用カウンタを挿入する。また、このGCBを個別計測GCB情報331に登録し、処理をステップS216へ進める。   [Step S214] If the GCB is manually input, or if the number of connected FFs is larger than the threshold value, the number of operations is measured alone, and an operation rate calculation counter is inserted independently. Also, this GCB is registered in the individual measurement GCB information 331, and the process proceeds to step S216.

[ステップS215] 当該GCBが手入力でなく、かつ、接続FF数が閾値より少ないときは、接続FF数に基づくグループ化を行う。すなわち、当該GCBをグルーピングGCB情報332に登録する。なお、図の例では、閾値は1つであるが、複数の閾値が設定されているときは、閾値によって分けられるグループのどれに所属するのかが判定され、対応するグループに登録される。   [Step S215] When the GCB is not manually input and the number of connected FFs is smaller than the threshold, grouping based on the number of connected FFs is performed. That is, the GCB is registered in the grouping GCB information 332. In the example shown in the figure, there is one threshold value. However, when a plurality of threshold values are set, it is determined which group belongs to the threshold value and registered in the corresponding group.

[ステップS216] すべてのGCBに関し、グループ分け処理が行われたかどうかを判定する。全GCBが終了していないときは、次のGCBを指定し、ステップS211に戻る。全GCBが終了しているときは、処理を終了する。   [Step S216] It is determined whether grouping processing has been performed for all GCBs. If all the GCBs are not completed, the next GCB is designated and the process returns to step S211. When all the GCBs are finished, the process is finished.

以上の処理手順が実行されることにより、接続FF数によるグルーピング処理が行われ、GCBは、個別計測対象のGCBと、接続FF数に応じたGCBグループとに分けられる。個別計測対象のGCBについては、単独で動作率算出用カウンタが挿入される。   By executing the above processing procedure, a grouping process is performed based on the number of connected FFs, and the GCB is divided into an individual measurement target GCB and a GCB group corresponding to the number of connected FFs. For the GCB to be individually measured, an operation rate calculation counter is inserted independently.

接続FF数に応じたGCBグループについては、さらに、グループ分割処理が行われる。図8は、グルーピング処理におけるグループ分割の処理手順を示したフローチャートである。図では、フローチャートとともに、処理ごとに生成されるグループの一例を示している。   For the GCB group corresponding to the number of connected FFs, group division processing is further performed. FIG. 8 is a flowchart showing the procedure of group division in the grouping process. In the figure, an example of a group generated for each process is shown together with a flowchart.

接続FF数によるグループ化が終了し、接続FF数に基づいて、グループID=1と、グループID=2の2つのGCBグループが生成されたとする。また、グループ分割のためのグループパラメータとして、動作周波数と、回路構成とが指定されていたとする。   Assume that grouping based on the number of connected FFs is completed, and two GCB groups with group ID = 1 and group ID = 2 are generated based on the number of connected FFs. Further, it is assumed that an operating frequency and a circuit configuration are specified as group parameters for group division.

[ステップS221] 処理が開始されると、接続FF数に基づいてグループ分けされたGCBグループを、GCBの動作周波数に基づいてグループ分割する。これにより、グループID=1のグループは、グループID=1_1と、グループID=1_2の2つのグループに分割される。同様に、グループID=2のグループは、グループID=2_1と、グループID=2_2の2つのグループに分割される。   [Step S221] When the process is started, the GCB groups grouped based on the number of connected FFs are divided into groups based on the GCB operating frequency. As a result, the group with group ID = 1 is divided into two groups with group ID = 1_1 and group ID = 1_2. Similarly, the group with group ID = 2 is divided into two groups with group ID = 2_1 and group ID = 2_2.

[ステップS222] 続いて、動作周波数に基づいてグループ分割されたグループを、回路構成(モジュール単位)に基づいてさらにグループ分割する。これにより、グループID=1_1のグループは、グループID=1_1_1と、グループID=1_1_2の2つのグループに分割される。他のグループも同様である。   [Step S222] Subsequently, the group divided based on the operating frequency is further divided into groups based on the circuit configuration (module unit). As a result, the group with group ID = 1_1 is divided into two groups with group ID = 1_1_1 and group ID = 1_1_2. The same applies to the other groups.

[ステップS223] グループ分割されたグループごとに動作率算出用カウンタを挿入する。ここでは、グループID=1_1_1、グループID=1_1_2、グループID=1_2_1、・・・、それぞれに動作率算出用カウンタが設定される。   [Step S223] An operation rate calculation counter is inserted for each group divided into groups. Here, the operation rate calculation counter is set for each of group ID = 1_1_1, group ID = 1_1_2, group ID = 1_2_1,...

以上の処理手順が実行されることにより、接続FF数によってグループ分けされたグループは、さらに、グルーピングパラメータに基づいてグループ分割される。これにより、同じように動作するGCBがグループとしてまとめられるため、測定精度を向上させることが可能となる。   By executing the above processing procedure, the groups grouped according to the number of connected FFs are further divided into groups based on the grouping parameters. Thereby, since GCB which operate | moves similarly is put together as a group, it becomes possible to improve a measurement precision.

次に、グループごとに埋め込まれた動作率算出用カウンタの一例を説明する。図9は、グループGCBごとにカウンタを埋め込んだエミュレーション用設計回路の一例を示した図である。   Next, an example of the operation rate calculation counter embedded for each group will be described. FIG. 9 is a diagram showing an example of an emulation design circuit in which a counter is embedded for each group GCB.

エミュレーション用設計回路500には、GCB(GCB−1,GCB−2,GCB−3、GCB−4,GCB−5)の動作率を測定するための測定回路510,520が挿入されている。   Measurement circuits 510 and 520 for measuring the operation rate of the GCB (GCB-1, GCB-2, GCB-3, GCB-4, GCB-5) are inserted in the emulation design circuit 500.

図の例では、測定対象のGCBは、そのクロック周波数に基づいて2種類のGCBグループにグループ分けされている。第1のグループは、clock−A(最速のfclockの周波数に対し、fclock/2の周波数のクロック信号)が入力されるGCB−1、GCB−2、及びGCB−3から成るグループである。対応する測定回路510は、GCB−1の出力するGCLK−1の変化を検出するレジスタ(図では、reg)511及びEXOR512と、GCB−2の出力するGCLK−2の変化を検出するレジスタ513及びEXOR514と、GCB−3の出力するGCLK−3の変化を検出するレジスタ515及びEXOR516と、EXOR512,514,516の出力を加算するAdd−A517と、カウンタA518と、を有する。第2のグループは、clock−B(最速のfclockの周波数に対し、fclock/4の周波数のクロック信号)が入力されるGCB−4及びGCB−5のグループである。対応する測定回路520は、GCB−4の出力するGCLK−4の変化を検出するレジスタ521及びEXOR522と、GCB−5の出力するGCLK−5の変化を検出するレジスタ523及びEXOR524と、EXOR522,524の出力を加算するAdd−B525と、カウンタB526と、を有する。   In the illustrated example, the GCBs to be measured are grouped into two types of GCB groups based on the clock frequency. The first group is a group consisting of GCB-1, GCB-2, and GCB-3 to which clock-A (a clock signal having a frequency of fclock / 2 with respect to the frequency of the fastest fclock) is input. The corresponding measurement circuit 510 includes registers 511 and EXOR 512 that detect a change in GCLK-1 output from GCB-1 and registers 513 that detect a change in GCLK-2 output from GCB-2. An EXOR 514, a register 515 and an EXOR 516 for detecting a change in GCLK-3 output from the GCB-3, an Add-A 517 for adding outputs from the EXORs 512, 514 and 516, and a counter A518 are included. The second group is a group of GCB-4 and GCB-5 to which clock-B (a clock signal having a frequency of fclock / 4 with respect to the frequency of the fastest fclock) is input. The corresponding measurement circuit 520 includes registers 521 and EXOR 522 that detect changes in GCLK-4 output from GCB-4, registers 523 and EXOR 524 that detect changes in GCLK-5 output from GCB-5, and EXORs 522 and 524. Add-B 525 for adding the outputs of, and a counter B 526.

測定回路510,520の動作を、測定回路510の場合で説明する。レジスタ511には、GCB−1の出力信号である前回のGCLK_1の出力が保持されており、EXOR512は、今回のGCLK_1とレジスタ511との値を比較して、その変化を監視する。そして、GCLK_1の信号変化を捉えると、EXOR512は、1処理周期の間、1を出力する。EXOR514及びEXOR516も同様に動作する。EXOR512,514,516の出力信号は、Add_A517に出力される。Add−A517は、入力信号を加算して、カウンタA518へ出力する。したがって、EXOR512,514,516のうち、1つの出力が1になれば1が出力され、2つの出力が1になれば2が出力される。同様に、すべて1であれば3が出力される。カウンタA518は、Add−A517の出力を加算するので、結果として、グループ化されたGCB−1、GCB−2、及びGCB−3の動作回数がまとめてカウントされる。このような回路によれば、各GCBにカウンタを配置しなくても、グループに属するGCBのトータルの動作回数を高い精度で測定することができる。   The operation of the measurement circuits 510 and 520 will be described using the measurement circuit 510. The register 511 holds the previous output of GCLK_1, which is the output signal of GCB-1, and the EXOR 512 compares the values of the current GCLK_1 and the register 511 and monitors the change. When capturing the signal change of GCLK_1, the EXOR 512 outputs 1 for one processing cycle. EXOR 514 and EXOR 516 operate similarly. The output signals of EXORs 512, 514, and 516 are output to Add_A517. Add-A 517 adds the input signals and outputs them to counter A 518. Therefore, if one output of EXORs 512, 514, and 516 is 1, 1 is output, and if two outputs are 1, 2 is output. Similarly, if all are 1, 3 is output. Since the counter A518 adds the output of Add-A517, as a result, the number of operations of the grouped GCB-1, GCB-2, and GCB-3 is collectively counted. According to such a circuit, the total number of operations of the GCBs belonging to the group can be measured with high accuracy without arranging a counter in each GCB.

こうして得られた測定結果に基づいて、グループごとの平均GCB動作率を算出する。平均GCB動作率は、動作回数(各グループのカウンタのカウント値)と、グループに属するGCBの数(GCB数)と、計測時間とから、
平均GCB動作率=(カウンタのカウント値÷GCB数)/計測時間
によって算出することができる。
Based on the measurement result thus obtained, an average GCB operation rate for each group is calculated. The average GCB operation rate is calculated from the number of operations (count value of the counter of each group), the number of GCBs (GCB number) belonging to the group, and the measurement time.
Average GCB operation rate = (count value of counter / number of GCBs) / measurement time.

上記のようにして、グループ化されたGCBごとに動作率を算出し、算出された動作率に基づいてチップ全体の消費電力予測を行う。
なお、上記の処理機能は、コンピュータによって実現することができる。その場合、消費電力解析装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記録装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(ReWritable)などがある。光磁気記録媒体には、MO(Magneto-Optical disk)などがある。
As described above, the operation rate is calculated for each grouped GCB, and the power consumption of the entire chip is predicted based on the calculated operation rate.
The above processing functions can be realized by a computer. In that case, a program describing the processing contents of the functions that the power consumption analyzer should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Optical disks include DVD (Digital Versatile Disc), DVD-RAM, CD-ROM (Compact Disc Read Only Memory), CD-R (Recordable) / RW (ReWritable), and the like. Magneto-optical recording media include MO (Magneto-Optical disk).

プログラムを流通させる場合には、たとえば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When distributing the program, for example, portable recording media such as a DVD and a CD-ROM in which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、たとえば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

(付記1) 半導体集積回路の消費電力を解析する消費電力解析方法において、
設計情報記憶手段に記憶される前記半導体集積回路に関する設計回路情報を解析して、共通の動作モードで動作する回路ブロックにおいて前記動作モードを規定する測定対象回路を抽出するとともに、前記測定対象回路を特徴付ける特徴情報を抽出する手順と、
前記測定対象回路を、前記測定対象回路が有する特徴によってグループ分けするために指定されたグループ分けポリシーと、前記測定対象回路の前記特徴情報と、に基づいて前記測定対象回路を測定グループにグループ分けする手順と、
前記測定グループごとに動作回数を測定し、測定結果に基づいて前記測定グループに属する前記測定対象回路の動作率を算出する手順と、
を有することを特徴とする消費電力解析方法。
(Appendix 1) In a power consumption analysis method for analyzing power consumption of a semiconductor integrated circuit,
Analyzing design circuit information relating to the semiconductor integrated circuit stored in the design information storage means, and extracting a measurement target circuit that defines the operation mode in a circuit block that operates in a common operation mode. A procedure for extracting feature information to be characterized;
The measurement target circuits are grouped into measurement groups based on a grouping policy designated for grouping the measurement target circuits according to characteristics of the measurement target circuits and the feature information of the measurement target circuits. And the steps to
A procedure for measuring the number of operations for each measurement group and calculating an operation rate of the measurement target circuit belonging to the measurement group based on a measurement result;
A power consumption analysis method characterized by comprising:

(付記2) 前記測定対象回路の前記特徴情報を抽出する手順は、
前記設計回路情報を解析して前記測定対象回路に接続する所定の回路の数を算出し、前記所定の回路の数によって前記測定対象回路を特徴付ける、
ことを特徴とする付記1記載の消費電力解析方法。
(Supplementary Note 2) The procedure for extracting the feature information of the circuit to be measured is as follows:
Analyzing the design circuit information to calculate a predetermined number of circuits connected to the measurement target circuit, and characterizing the measurement target circuit according to the number of the predetermined circuits;
The power consumption analysis method according to supplementary note 1, wherein:

(付記3) 前記測定対象回路は、ゲーテッドクロックバッファであり、前記所定の回路は、前記ゲーテッドクロックバッファに接続するフリップフロップ回路及びクロックバッファである、
ことを特徴とする付記2記載の消費電力解析方法。
(Supplementary Note 3) The measurement target circuit is a gated clock buffer, and the predetermined circuit is a flip-flop circuit and a clock buffer connected to the gated clock buffer.
The power consumption analysis method according to supplementary note 2, wherein:

(付記4) 前記測定対象回路の前記特徴情報を抽出する手順は、算出された前記所定の回路の数に基づいて、前記測定対象回路あたりの前記所定の回路の数と、対応する前記測定対象回路の数との関係を解析して、前記測定対象回路のグループを分ける前記所定の回路の数の閾値を設定し、
前記グループ分けする手順は、前記所定の回路の数の閾値と、前記測定対象回路ごとに算出された前記所定の回路の数とを比較して、前記測定対象回路をグループ分けする、
ことを特徴とする付記2記載の消費電力解析方法。
(Supplementary Note 4) The procedure of extracting the feature information of the measurement target circuit is based on the calculated number of the predetermined circuits and the number of the predetermined circuits per measurement target circuit and the corresponding measurement target Analyzing the relationship with the number of circuits, setting a threshold value for the number of the predetermined circuits dividing the group of the circuit to be measured,
In the grouping procedure, the measurement target circuits are grouped by comparing the threshold of the number of the predetermined circuits with the number of the predetermined circuits calculated for each of the measurement target circuits.
The power consumption analysis method according to supplementary note 2, wherein:

(付記5) 前記測定対象回路の前記特徴情報を抽出する手順は、さらに、前記測定対象回路あたりの前記所定の回路の数と、対応する前記測定対象回路の数との関係をグラフ化し、生成されたグラフを表示装置に表示する、
ことを特徴とする付記4記載の消費電力解析方法。
(Additional remark 5) The procedure which extracts the said feature information of the said measurement object circuit further graphs the relationship between the number of the said predetermined circuits per said measurement object circuit, and the corresponding number of said measurement object circuits, and produces | generates Display the displayed graph on the display device,
The power consumption analysis method according to appendix 4, wherein:

(付記6) 前記測定対象回路の前記特徴情報を抽出する手順は、前記表示装置に表示された前記グラフを参照して入力された指定値を前記所定の回路の数の閾値に設定する、
ことを特徴とする付記5記載の消費電力解析方法。
(Additional remark 6) The procedure which extracts the said feature information of the said measuring object circuit sets the designated value input with reference to the said graph displayed on the said display apparatus to the threshold value of the said predetermined number of circuits,
The power consumption analysis method according to appendix 5, characterized in that:

(付記7) 前記測定対象回路の前記特徴情報を抽出する手順は、前記所定の回路の数に対する前記測定対象回路の数が大きく変化する値を前記所定の回路の数の閾値に設定する、
ことを特徴とする付記4記載の消費電力解析方法。
(Supplementary note 7) In the procedure of extracting the feature information of the measurement target circuit, a value that greatly changes the number of the measurement target circuits with respect to the number of the predetermined circuits is set as a threshold value of the number of the predetermined circuits.
The power consumption analysis method according to appendix 4, wherein:

(付記8) 前記グループ分けする手順は、
前記所定の回路の数に設定される閾値によって規定されるグループ化範囲を超える測定対象回路があったときには、前記測定対象回路をグループ化しない、
ことを特徴とする付記4記載の消費電力解析方法。
(Appendix 8) The procedure for grouping is as follows.
When there is a measurement target circuit that exceeds a grouping range defined by a threshold set to the predetermined number of circuits, the measurement target circuits are not grouped.
The power consumption analysis method according to appendix 4, wherein:

(付記9) 前記グループ分けする手順は、
前記測定対象回路が設計者の意図によって設定された回路に該当するかどうかを前記設計回路情報に基づいて判定し、該当すると判定されたときは、当該測定対象回路をグループ化しない、
ことを特徴とする付記4記載の消費電力解析方法。
(Appendix 9) The procedure for grouping is as follows.
Whether or not the measurement target circuit corresponds to a circuit set by the intention of the designer is determined based on the design circuit information, and when determined to be applicable, do not group the measurement target circuits,
The power consumption analysis method according to appendix 4, wherein:

(付記10) 前記グループ分けする手順は、
前記グループ分けポリシーとして、前記所定の回路の数の閾値に基づいてグループ化された測定グループを、さらに分割する分割ポリシーが設定されているときは、前記分割ポリシーと、前記測定対象回路の設計回路情報とに基づいて、前記測定グループに分割された前記測定対象回路を、サブ測定グループに分割する、
ことを特徴とする付記4記載の消費電力解析方法。
(Supplementary Note 10) The procedure for grouping is as follows.
When the division policy for further dividing the measurement group grouped based on the threshold value of the number of the predetermined circuits is set as the grouping policy, the division policy and the design circuit of the measurement target circuit Dividing the measurement target circuit divided into the measurement groups into sub measurement groups based on the information,
The power consumption analysis method according to appendix 4, wherein:

(付記11) 前記分割ポリシーには、前記サブ測定グループに分割する基準となる動作周波数または前記回路ブロックの構成、あるいは、前記動作周波数及び前記回路ブロック構成、が指定される、
ことを特徴とする付記10記載の消費電力解析方法。
(Supplementary Note 11) In the division policy, an operation frequency serving as a reference to be divided into the sub measurement groups or the configuration of the circuit block, or the operation frequency and the circuit block configuration are designated.
The power consumption analysis method according to supplementary note 10, wherein

(付記12) 前記測定対象回路の動作率を算出する手順は、
前記半導体集積回路の設計回路に、前記測定グループごとに1の測定回路を埋め込み、エミュレータ装置を用いて論理エミュレーションを行って、前記測定回路に前記測定グループに属するすべての前記測定対象回路の動作回数を計数させ、前記測定回路が計数した前記動作回数に基づいて、前記測定グループに属する前記測定対象回路個々の動作回数を算出する、
ことを特徴とする付記1記載の消費電力解析方法。
(Supplementary Note 12) The procedure for calculating the operation rate of the measurement target circuit is as follows:
In the design circuit of the semiconductor integrated circuit, one measurement circuit is embedded for each measurement group, logic emulation is performed using an emulator device, and the number of operations of all the measurement target circuits belonging to the measurement group is performed in the measurement circuit. And calculating the number of operations of each of the measurement target circuits belonging to the measurement group based on the number of operations counted by the measurement circuit.
The power consumption analysis method according to supplementary note 1, wherein:

(付記13) 半導体集積回路の消費電力を解析する消費電力解析装置において、
前記半導体集積回路に関する設計回路情報を記憶する設計情報記憶手段と、
前記設計情報記憶手段に記憶される解析対象の半導体集積回路の設計回路情報を解析して、共通の動作モードで動作する回路ブロックにおいて前記動作モードを規定する測定対象回路を抽出するとともに、前記測定対象回路を特徴付ける特徴情報を抽出する測定対象回路解析手段と、
前記測定対象回路を、前記測定対象回路が有する特徴によってグループ分けするために指定されたグループ分けポリシーと、前記測定対象回路の前記特徴情報と、に基づいて前記測定対象回路を測定グループにグループ分けするグルーピング手段と、
前記測定グループごとに動作回数を測定し、測定結果に基づいて前記測定グループに属する前記測定対象回路の動作率を算出する動作率測定手段と、
を有することを特徴とする消費電力解析装置。
(Additional remark 13) In the power consumption analyzer which analyzes the power consumption of a semiconductor integrated circuit,
Design information storage means for storing design circuit information relating to the semiconductor integrated circuit;
Analyzing design circuit information of a semiconductor integrated circuit to be analyzed stored in the design information storage means, extracting a measurement target circuit that defines the operation mode in a circuit block that operates in a common operation mode, and performing the measurement Measurement target circuit analysis means for extracting feature information characterizing the target circuit;
The measurement target circuits are grouped into measurement groups based on a grouping policy designated for grouping the measurement target circuits according to characteristics of the measurement target circuits and the feature information of the measurement target circuits. Grouping means to
An operation rate measuring means for measuring the number of operations for each measurement group, and calculating an operation rate of the measurement target circuit belonging to the measurement group based on a measurement result;
A power consumption analysis apparatus comprising:

実施の形態に適用される発明の概念図である。It is a conceptual diagram of the invention applied to embodiment. 本発明の実施の形態の消費電力解析装置のハードウェア構成の一例を示した図である。It is the figure which showed an example of the hardware constitutions of the power consumption analyzer of embodiment of this invention. 実施の形態の消費電力解析処理の手順を示したフローチャートである。It is the flowchart which showed the procedure of the power consumption analysis process of embodiment. 測定対象回路解析処理の手順を示したフローチャートである。It is the flowchart which showed the procedure of the measurement object circuit analysis process. 測定対象回路分析結果をグラフ化した一例を示した図である。It is the figure which showed an example which graphed the measurement object circuit analysis result. グルーピング処理の手順を示したフローチャートである。It is the flowchart which showed the procedure of the grouping process. グルーピング処理におけるグループ化の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the grouping in a grouping process. グルーピング処理におけるグループ分割の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the group division | segmentation in grouping processing. グループGCBごとにカウンタを埋め込んだエミュレーション用設計回路の一例を示した図である。It is the figure which showed an example of the design circuit for emulation which embedded the counter for every group GCB.

符号の説明Explanation of symbols

1 消費電力解析装置
1a 設計情報記憶手段
1b 解析情報記憶手段
1c 測定対象回路解析手段
1d グルーピング手段
1e 動作率測定手段
1f 消費電力算出手段
DESCRIPTION OF SYMBOLS 1 Power consumption analyzer 1a Design information storage means 1b Analysis information storage means 1c Measurement object circuit analysis means 1d Grouping means 1e Operation rate measurement means 1f Power consumption calculation means

Claims (5)

半導体集積回路の消費電力を解析する消費電力解析方法において、
設計情報記憶手段に記憶される前記半導体集積回路に関する設計回路情報を解析して、クロックと前記クロックの出力を制御する信号を入力して回路ブロックへの前記クロックの入力を制御する測定対象回路を複数抽出するとともに、それぞれの前記測定対象回路を特徴付ける特徴情報を抽出する手順と、
複数の前記測定対象回路を、前記特徴情報に基づいて複数の前記測定対象回路を含む測定グループにグループ分けする手順と、
前記測定グループごとに動作回数を測定し、測定結果に基づいて前記測定グループに属する前記測定対象回路の動作率を算出する手順と、
を有することを特徴とする消費電力解析方法。
In a power consumption analysis method for analyzing power consumption of a semiconductor integrated circuit,
Analyzes the design circuit information about the semiconductor integrated circuit to be stored in the design information storage unit, the measurement target circuit for controlling the input of the clock to the clock and the clock circuit block receives a signal for controlling the output of the A procedure for extracting a plurality of feature information that characterizes each of the measurement target circuits,
A procedure for grouping a plurality of measurement target circuits into a measurement group including a plurality of measurement target circuits based on the feature information;
A procedure for measuring the number of operations for each measurement group and calculating an operation rate of the measurement target circuit belonging to the measurement group based on a measurement result;
A power consumption analysis method characterized by comprising:
前記測定対象回路の前記特徴情報を抽出する手順は、
前記設計回路情報を解析して前記測定対象回路に接続する所定の回路の数を算出し、前記所定の回路の数によって前記測定対象回路を特徴付ける、
ことを特徴とする請求項1記載の消費電力解析方法。
The procedure for extracting the feature information of the measurement target circuit is as follows:
Analyzing the design circuit information to calculate a predetermined number of circuits connected to the measurement target circuit, and characterizing the measurement target circuit according to the number of the predetermined circuits;
The power consumption analysis method according to claim 1.
前記測定対象回路の前記特徴情報を抽出する手順は、算出された前記所定の回路の数に基づいて、前記測定対象回路あたりの前記所定の回路の数と、対応する前記測定対象回路の数との関係を解析して、前記測定対象回路のグループを分ける前記所定の回路の数の閾値を設定し、
前記グループ分けする手順は、前記所定の回路の数の閾値と、前記測定対象回路ごとに算出された前記所定の回路の数とを比較して、前記測定対象回路をグループ分けする、
ことを特徴とする請求項2記載の消費電力解析方法。
The procedure for extracting the feature information of the measurement target circuit is based on the calculated number of the predetermined circuits, the number of the predetermined circuits per the measurement target circuit, and the corresponding number of the measurement target circuits. The threshold of the number of the predetermined circuits that divide the group of the circuit to be measured is set,
In the grouping procedure, the measurement target circuits are grouped by comparing the threshold of the number of the predetermined circuits with the number of the predetermined circuits calculated for each of the measurement target circuits.
The power consumption analysis method according to claim 2.
前記測定対象回路の動作率を算出する手順は、
前記半導体集積回路の設計回路に、前記測定グループごとに1の測定回路を埋め込み、エミュレータ装置を用いて論理エミュレーションを行って、前記測定回路に前記測定グループに属するすべての前記測定対象回路の動作回数を計数させ、前記測定回路が計数した前記動作回数に基づいて、前記測定グループに属する前記測定対象回路個々の動作を算出する、
ことを特徴とする請求項1記載の消費電力解析方法。
The procedure for calculating the operation rate of the measurement target circuit is as follows:
In the design circuit of the semiconductor integrated circuit, one measurement circuit is embedded for each measurement group, logic emulation is performed using an emulator device, and the number of operations of all the measurement target circuits belonging to the measurement group is performed in the measurement circuit. And calculating an operation rate of each measurement target circuit belonging to the measurement group based on the number of operations counted by the measurement circuit.
The power consumption analysis method according to claim 1.
半導体集積回路の消費電力を解析する消費電力解析装置において、
前記半導体集積回路に関する設計回路情報を記憶する設計情報記憶手段と、
前記設計情報記憶手段に記憶される解析対象の半導体集積回路の設計回路情報を解析して、クロックと前記クロックの出力を制御する信号を入力して回路ブロックへの前記クロックの入力を制御する測定対象回路を複数抽出するとともに、それぞれの前記測定対象回路を特徴付ける特徴情報を抽出する測定対象回路解析手段と、
複数の前記測定対象回路を、前記特徴情報に基づいて複数の前記測定対象回路を含む測定グループにグループ分けするグルーピング手段と、
前記測定グループごとに動作回数を測定し、測定結果に基づいて前記測定グループに属する前記測定対象回路の動作率を算出する動作率測定手段と、
を有することを特徴とする消費電力解析装置。
In a power consumption analyzer that analyzes the power consumption of a semiconductor integrated circuit,
Design information storage means for storing design circuit information relating to the semiconductor integrated circuit;
It analyzes the design circuit information of the semiconductor integrated circuit to be analyzed stored in the design information storage unit, the measurement for controlling the input of the clock to the clock and the clock of the circuit block by inputting a signal for controlling the output A plurality of target circuits, and measurement target circuit analysis means for extracting feature information characterizing each of the measurement target circuits;
Grouping means for grouping a plurality of measurement target circuits into measurement groups including the plurality of measurement target circuits based on the feature information;
An operation rate measuring means for measuring the number of operations for each measurement group, and calculating an operation rate of the measurement target circuit belonging to the measurement group based on a measurement result;
A power consumption analysis apparatus comprising:
JP2007217186A 2007-08-23 2007-08-23 Power consumption analysis method and power consumption analysis apparatus Expired - Fee Related JP5098517B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007217186A JP5098517B2 (en) 2007-08-23 2007-08-23 Power consumption analysis method and power consumption analysis apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007217186A JP5098517B2 (en) 2007-08-23 2007-08-23 Power consumption analysis method and power consumption analysis apparatus

Publications (2)

Publication Number Publication Date
JP2009053747A JP2009053747A (en) 2009-03-12
JP5098517B2 true JP5098517B2 (en) 2012-12-12

Family

ID=40504812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007217186A Expired - Fee Related JP5098517B2 (en) 2007-08-23 2007-08-23 Power consumption analysis method and power consumption analysis apparatus

Country Status (1)

Country Link
JP (1) JP5098517B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5785725B2 (en) 2010-10-15 2015-09-30 富士通株式会社 Power estimation apparatus, power estimation method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11149496A (en) * 1997-11-19 1999-06-02 Toshiba Corp Gated clock design support apparatus, gated clock design support method, and computer-readable recording medium storing gated clock design support program
WO2007037017A1 (en) * 2005-09-29 2007-04-05 Fujitsu Limited Consumed power analyzing method, and consumed power analyzing device
JP4330573B2 (en) * 2005-09-30 2009-09-16 富士通株式会社 Power consumption evaluation method, power consumption evaluation system

Also Published As

Publication number Publication date
JP2009053747A (en) 2009-03-12

Similar Documents

Publication Publication Date Title
JP2009266237A (en) Peak power detection in digital designs using emulation systems
US20080127001A1 (en) Power consumption analyzing method and computer- readable storage medium
US7900172B2 (en) Method and apparatus for analyzing power consumption
US7856608B2 (en) Method and apparatus for generating current source noise model for creating semiconductor device model used in power supply noise analysis
US8468478B2 (en) Methods for measurement and prediction of hold-time and exceeding hold time limits due to cells with tied input pins
JP2009271818A (en) Design support program, design support apparatus and design support method
JP4651620B2 (en) Power calculation apparatus, power calculation method, tamper resistance evaluation apparatus, and tamper resistance evaluation method
JP4468410B2 (en) Software execution device and cooperative operation method
JP5785725B2 (en) Power estimation apparatus, power estimation method and program
US20050114805A1 (en) Device, system and method for VLSI design analysis
JP5098517B2 (en) Power consumption analysis method and power consumption analysis apparatus
JP5018781B2 (en) Signal selection device, circuit correction device, circuit simulator, circuit emulator, signal selection method and program
JP2011238137A (en) Performance estimation device
US8340952B2 (en) Power estimation method and device therefor
US8756544B2 (en) Method for inserting characteristic extractor
US8341579B2 (en) Method, apparatus, and system for analyzing operation of semiconductor integrated circuits
JP5146087B2 (en) Power consumption estimation method, circuit design support apparatus and program
US9268898B1 (en) Estimating power consumption of a circuit design
JP2007004563A (en) Library creation apparatus, library creation program, and library creation method
US20160217239A1 (en) Method and system for selecting stimulation signals for power estimation
JP4985466B2 (en) Power consumption estimation method, power consumption estimation device, and power consumption estimation program
CN118966108B (en) Analysis method, analysis device, electronic device, storage medium, and program product for circuit controllability
US11188697B1 (en) On-chip memory access pattern detection for power and resource reduction
WO2025085076A1 (en) Evaluating power dissipation
WO2026072054A1 (en) System and method for power estimation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120802

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: 20120828

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120910

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees