Measurement of Energy Consumption at each Pipeline Stage.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Measurement of Energy Consumption at each Pipeline Stage.

525 Views
himanshudoshi
Contributor III

Hello Everyone,

Could any one provide me a demo script or code or the way to measure the energy consumption due to each pipeline stage. Since, I am measuring the energy consumption due to instructions and I am measuring them by keeping them as an interrupt. And I wanted to know how much current will be consumed at each pipeline stage for each instructions (eg. ADD,MOV,LDR,STR,MUL etc.)

My board is: LPCXpresso 54114

Thanks in advance.

Regards,

Himanshu Doshi

Labels (5)
2 Replies

357 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Himanshu Doshi,

I don't think it is possible to get the power consumption at each pipeline since in a 3-stage pipeline while one instruction is being executed, its successor is being decoded, and a third instruction is being fetched from memory. Also, the power consumption will be affected by the modules that are enabled and the operating frequency of the core. I would recommend you to take a look to the following application note that explains the LPC5411x Low power modes and wake up times:

http://www.nxp.com/documents/application_note/AN11799.zip 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

357 Views
himanshudoshi
Contributor III

Hii Carlos_Mendoza,

Thank you very much for your reply. Sorry for replying you so late.

Regards,

Himanshu Doshi