datasheets.com EBN.com EDN.com EETimes.com Embedded.com PlanetAnalog.com TechOnline.com  
Events
UBM Tech
UBM Tech

Design Article

Guidelines for early power analysis

Siddharth Guha & Kiran Vittal - Atrenta

2/11/2013 7:00 AM EST

Adopting a hybrid approach

It is clearly evident that doing a cycle-based evaluation for each condition of the power table for each cell in a design is not a scalable solution for large SoCs. So instead of taking a purely probabilistic approach, or a complete cycle-based approach, power analysis flows can take a hybrid approach depending on the following factors:

  1. Stage of the design, including availability of the RTL or netlist, or libraries for hard macro
  2. Availability of simulation data
  3. Design specific data – like memory, datapath, analog cells, black boxes, etc.

Figure 1: A typical early stage IP sub-system block

Suppose we have a design at an early stage of RTL coding. As shown in Figure 1, there are 4 blocks:

Block A: This is an RTL block for which simulation data is available.

Block B: This is an RTL block for which no simulation data is available so far.

Block C: This is a black box for which the RTL is still not available, but the designer is aware of some characteristics of this block.

Block D: This is block primarily consisting of memories and we have a simulation output file for this block.

As we can see, there is a fair variation in the progress and the characteristics of each block. Also, each block is at a different stage with respect to the availability of simulation data.  So the early power analysis flow should be able to handle the best information available.

Block A has RTL with simulation data information. So the power analysis tool should be able to accept a simulation file at the block level. Since this block is mostly standard cell logic, power analysis tools will consume a VCD or FSDB data and convert it into toggle counts and duty cycles for each net. This will ensure that power estimation is much faster than a cycle-based approach. The error introduced here because of the loss of spatial and temporal correlation will not affect the accuracy of results for this kind of a design.

Block B is also an early stage RTL design where the simulation data is still not available. But at this stage, the designer has some information regarding the critical signals. These will be clocks and control signals.

Here, we can specify the clock period of the clock and the activity information or toggle rate for critical signals.

Many times, it is hard to specify the toggle rate for a signal internal to the design. However, even for vector-less power estimation, capturing the information for such signals is important. So the flow should allow specifying toggle information on such signals.  One such signal is clock gating enables for blocks or registers.

Block C is a black box. There is no RTL information. So for such a case, the flow should be able to capture coarse design information, as shown below, in an early power analysis tool such as Atrenta’s SpyGlass® Power:

blackbox_power -instname block_c -equiv_nand2_count 3000 \
-register_count 100 –activity 0.3 -clocks a1 a2 -clock_percentage 0.5 0.5

The above command in the power analysis tool specifies that the black box will contain 3,000 NAND gate equivalent cells and 100 registers. Also, the average activity of this module will be 0.3. With this information and technology libraries the flow can estimate the power of this black box.

Block D contains many memories. Earlier in this section, we have seen that memories have a very high variation of dynamic power based on different access operations like “read” and “write”. So for this block, we need very accurate power estimation. A robust power estimation flow should be able to identify such logic from other logic in the design. Once it identifies such cells, it will enable very accurate tracing of each “when” condition for the cells. This is time-consuming, but the key is to be able to identify a critical number of cells that will benefit most from such detailed cycle-based evaluation.

The power analysis flow should be able to consume these different types of activity information and apply them based on design knowledge to estimate the power at an early stage in the design.



Next: Guideline 2




Cathy216

2/17/2013 3:52 PM EST

Just a note,

Being able to see the graphics helps understand the author's information. Having a "Tell us what you think " blocking the graphics does little to educate the people who wish to learn from this site. Perhaps somebody's code went a liitle haywire. Can the article be fixed? I for one hope so. Thanks to the Author for trying,very help full.
Richard Johnson

Sign in to Reply



BrianBailey

2/21/2013 1:36 PM EST

Can you let me know what browser and OS you are using. I do not see these problems, neither do others who are viewing the site.

Thanks for your help in improving the site.

Sign in to Reply



armstrong360

2/21/2013 2:07 PM EST

Another viewer using chromiun on Linux can't see the graphics...

Using firefox shows both the comments and graphics

Sign in to Reply



BrianBailey

2/21/2013 2:36 PM EST

I am going to try and turn off the comments from appear towards the head of the article. Another way around this problem is to click on the Print button towards the end of the article. This will open a new window with the complete article in it.

Sign in to Reply



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)