4.3.1. Power Management Interface registers in the FPGA

The Power Management Interface consists of the memory locations and registers listed in Table 4.13. All registers except PWR_CONTROL are read-only.

Table 4.13. Power Management Interface registers in the FPGA

RegisterAddressDescription
PWR_CONTROL0x1001C000Enables RAM recording of voltage, current, and power.
PWR_VOLTAGE_CTL00x1001C010Present VDDCORE reading
PWR_VOLTAGE_CTL10x1001C014Present VSOC reading
PWR_VOLTAGE_CTL20x1001C018Present VDDRAM reading
PWR_VOLTAGE_CTL30x1001C01CPresent TPSENSE reading
PWR_VOLTAGE_CTL40x1001C020Present PWROK reading
PWR_VOLTAGE_AVG00x1001C030Average of VDDCORE over last 1024 readings
PWR_VOLTAGE_AVG10x1001C034Average of VSOC over last 1024 readings
PWR_VOLTAGE_AVG20x1001C038Average of VDDRAM over last 1024 readings
PWR_VOLTAGE_AVG30x1001C03CAverage of TPSENSE over last 1024 readings
PWR_MEMA0x1001C800-0x1001C8FFLast 512 IEM memreq and corereqs
PWR_MEMB0x1001C900-0x1001C9FFLast 512 VDDCORE readings
PWR_MEMC0x1001CA00-0x1001CAFFLast 512 VDDCORE power readings
PWR_MEMD0x1001CB00-0x1001CBFFLast 512 VSOC readings
PWR_MEME0x1001CC00-0x1001CEFFLast 512 VSOC power readings
PWR_MEMF0x1001CD00-0x1001CDFFLast 512 VDDRAM readings
PWR_MEMG0x1001CE00-0x1001CEFFLast 512 VDDRAM power readings
APC control0x10102000-0x10102FFFReserved

PWR_CONTROL

Setting the RAM Enable bit to 0 stops more data being recorded to the memories. This enables software to fix the history buffers for software analysis.

Table 4.14. PWR_CONTROL

BitsAccessDescription
[31:1]-

Reserved. Use read-modify-write to preserve value.

[0]Read/writeEnables cyclic recording of data to mem areas. (power-on reset state is 1)

PWR_VOLTAGE_CTLx

Read the voltage and current for the supplies listed in Table 4.15:

Table 4.15. PWR_READx registers

RegisterAddressDescription
PWR_VOLTAGE_CTL00x10010010Present VDDCORE reading
PWR_VOLTAGE_CTL10x10010014Present VSOC reading
PWR_VOLTAGE_CTL20x10010018Present VDDRAM reading
PWR_VOLTAGE_CTL30x1001001CPresent TPSENSE reading
PWR_VOLTAGE_CTL40x10010020Present PWROK reading

Table 4.16. PWR_READx content

BitsAccessDescription
[31:16]Read onlyPresent current level (or TPSENSA voltage if PWR_VOLTAGE_CTL3)
[15:0]Read onlyPresent voltage level (or TPSENSB voltage if PWR_VOLTAGE_CTL3)

Note

The reading from the register is relative and must be converted to an absolute value by the formula:

Voltage = (PWR_VOLTAGE_CTLx *18) / 655200

PWR_VOLTAGE_AVGx

Read the average voltage and current for the supplies listed in Table 4.15:

Table 4.17. PWR_AVGx registers

RegisterAddressDescription
PWR_VOLTAGE_AVG00x10010030Average of VDDCORE over last 1024 readings
PWR_VOLTAGE_AVG10x10010034Average of VSOC over last 1024 readings
PWR_VOLTAGE_AVG20x10010038Average of VDDRAM over last 1024 readings
PWR_VOLTAGE_AVG30x1001003CAverage of TPSENSE over last 1024 readings

Table 4.18. PWR_AVGx content

BitsAccessDescription
[31:16]Read onlyRead average current level (or TPSENSA voltage if PWR_VOLTAGE_AVG3)
[15:0]Read onlyRead average voltage level (or TPSENSB voltage if PWR_VOLTAGE_AVG3)

Note

The reading from the register is relative and must be converted to an absolute value by the formula:

Voltage = (PWR_VOLTAGE_AVGx *18) / 655200

PWR_MEMx

There are seven 512x32bit block RAMs embedded into the power monitor that enable reading the last 512 values. It also records the relative power consumed (voltage * current). This enables very fast software analysis of historical power use.

The RAM at 0x1001C800 records the history of requests from the PowerWise Interface. This enables the additional comparison of historical power use against requests from the IEM (and consequently the correlation between the two). See Table 4.15:

Table 4.19. PWR_MEMx registers

RegisterAddressDescription
PWR_MEMA0x1001C800- 0x1001CFFFRequests from the PowerWise Interface
PWR_MEMB0x1001D000- 0x1001D7FFLast 512 VDDCORE readings
PWR_MEMC0x1001D800- 0x1001DFFFLast 512 VDDCORE power readings
PWR_MEMD0x1001E000- 0x1001E7FFLast 512 VSOC readings
PWR_MEME0x1001E800- 0x1001EFFFLast 512 VSOC power readings
PWR_MEMF0x1001F000- 0x1001F7FFLast 512 VDDRAM readings
PWR_MEMG0x1001F800- 0x1001FFFFLast 512 VDDRAM power readings

Table 4.20. PWR_MEMx content

BitsAccessDescription
[31:16]Read onlyReserved.
[15:0]Read onlyVoltage or power level

Note

The reading from the register is relative and must be converted to an absolute value by Voltage = (PWR_MEMx *18) / 655200

Copyright © 2007-2011 ARM Limited. All rights reserved.ARM DUI 0425F
Non-Confidential