03-01-2020 06:08 PM
I am currently running some basic mathematical operations such as addition and multiplication using the UART within the PS of a Zynq-7000. I was wondering if there was a way to measure the power consumed for this operation and display it over a serial terminal such as Tera Term.
03-03-2020 03:00 PM
Quite difficult I would say...
This is software running on the processor?
Unless you can measure the current on the power rail in question (depends if your hardware supports this, pmbus/i2c on the power regulator that let's you read the current from the Isense line) and have a measure of the voltage on the die (you can use the XADC for this) you won't know the power. Even then you'd probably need to run the software over a long period of time and understand the average power consumption because it would be difficult to correlate the software application execution to the current measurement
03-04-2020 05:46 AM
Thank you for the response.
I am currently only using the PS (processing system) part of the Zynq-7000 on which I am running some basic mathematical operation code. Eventually I want to move this to performing the mathematical operation on the PL (programmable logic) and output the results over a serial COM port terminal (which I think would include bringing in the PS). Any tips on how to do this?
I’m assuming if the design is mainly evolved around the PL, power consumption and timing would be much easier to measure?