Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12710 Discussions

Measuring the dynamic power consumption of my C program

Altera_Forum
Honored Contributor II
1,224 Views

Hi,  

 

I am using a Cyclone III board with NiOS EDS v12.0. I have an image processing algorithm and I would like to measure the power consumption of this algorithm during its execution. I see that the "POWER DISPLAY" LCD display shows power values throughout the execution of the code. Can anyone help me with this - How do I record these values so that I can compute an average offline? 

 

Thanks,  

Nirmala
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
407 Views

Hi Nirmala, 

 

First, is your power display working well ? 

If you want to record the power values, you should connect MAX II in your Qsys system. 

Thanks to the FSM bus (MAX II, Flash, SRAM), you can manage to read some 

registers of MAX II, particularly those of power datas. 

 

regards,
0 Kudos
Reply