chipyard icon indicating copy to clipboard operation
chipyard copied to clipboard

Block level per cycle power using Voltus

Open wit-impulse opened this issue 4 years ago • 2 comments

Background Work

Feature Description

Is it possible to obtain power numbers for every cycle for a particular block. I did not find any resource to get it using the Voltus tool. Thanks.

Motivating Example

Block : System cycle 1: 10 mW cycle 2: 9.8 mW : : cycle n: 10.1mW

wit-impulse avatar Oct 19 '22 20:10 wit-impulse

Voltus is not really designed to give you cycle-by-cycle power, nor is any commercial power analysis tool, really. Judging from the Voltus user guide, it seems like you somewhat abuse it by setting a really short period and resolution in the set_dynamic_power_simulation command and then querying the fine-grained power data using the options like -frame, -insts, and -time_steps to the query_power_data command. In order to do this, you need to keep your input waveform very short or else the tool will run out of compute resources.

For the future - please make this issue in hammer-cadence-plugins rather than Chipyard.

harrisonliew avatar Oct 19 '22 22:10 harrisonliew

[Closing as stale + answered + Hammer-related] There's now also some Joules integrations, which are way more RTL level!

Fi50 avatar Mar 31 '25 08:03 Fi50