Industry Focus Towards Getting Maximum Performance with Optimum Power

With the latest evolution, performance per watt of power usage has become critical for any SoC. SoC designers are striving for energy conservation to manage the ultimate trade-off between power consumption and differentiating performance. Of greater importance are the application processors where a mere milliwatt of power consumption can make the difference between design win in the market-leading application or losing an opportunity to participate in the rapid growth market. SoC Power Management is gaining prominence in several traditional markets ranging from data center CPUs, automotive infotainment systems to IoT devices and wearables. In today’s world, SoCs are ideally expected to support a variety of use cases with optimum power levels.

Design Choices and Power Management Techniques in Complex SoCs

While CPUs, GPUs, and peripherals dominate SoC’s power management attention, other functional blocks are often overlooked. Today, interconnect technologies for accelerators & FPGA PLs also gain prominence in the SoC space with rising data center and cloud-oriented use-cases. More significant advantages have been realizable for those who have switched over to advanced Network-On-Chip (NoC) interconnect fabrics. Essential benefits of NoC are managing power consumption across different functional blocks of the SoC and the interconnects between them, not just the CPU and GPU. Since the interconnect links all major available blocks, it provides an excellent opportunity to enhance best power management practices:

  • Dynamic frequency and voltage scaling
  • Data path optimization
  • Different power islands
  • Clock gating
  • Adaptive voltage scaling
  • Standby/leakage current management

Thus, NoC brings in a lot of advantages compared to older bus & crossbar interconnect technologies. To leverage the power management strengths of the NoC, SoCs will need a dedicated unit that can manage all the different resources depending on the application’s requirements, like Xilinx Versal ACAP’s PLM unit and ZynqMP Ultrascale+ MPSoC’s PMUFW unit.

Power management in Xilinx Versal ACAP

versal-acap

source: Xilinx

Xilinx Versal ACAP has functional blocks in different power domains like LPD, FPD, PL, NoC, PMC, etc.

FP domain

    • Full Power Domain (FPD) is responsible for consuming high power. It mainly consists Cortex-A72 application processor for running a heavy application like Linux. It also has another high-power component like GPU, DP, PCIe, etc.

LP domain

    • Low Power Domain (LPD) mostly consists of small low-power peripherals like I2C, SPI, UART, etc. It also includes a cortex-R5 processor for running safety/secure/RTOS applications and on chip memories like OCM, TCM for faster memory access. This domain is also responsible for housing wakeup sources like UART, Ethernet, USB, etc.

PL domain

    • Programmable Logic (PL) domain includes DSP engine, Configurable logic block (CLB), Block RAM, Ultra RAM, and AI Engine blocks. This provides the improved application performance of the overall embedded system design.

NoC domain

    • The Network on Chip (NoC) provides the interconnects for the entire SoC units. It provides the connection between master and slave on an AXI4-based network and maps the global address space based on NoC interconnect.

PMC domain

    • Platform Management Controller (PMC) runs platform management firmware, which provides the platform management for the entire ACAP. The firmware running on PMC can manage the peripherals and power domains depending upon the user applications.

The power numbers of ACAP ranges from hundreds of watts to microwatts depending on the configuration. The individual power domains can be entirely powered down so that its power requirement, including static power, becomes virtually zero. Xilinx provides extensive software support for Power Management in the U-boot, ATF, Xen, Linux, and the BareMetal application.

Softnautics, with its rich experience in Platform Management on Xilinx Ultrascale+ MPSoC, was one of the early entrants into Versal ACAP platform management, supporting Xilinx extensively in developments across software layers in ATF, Xen, Linux, and BareMetal level. Going further, Softnautics has scaled up to keep some of the key end-customers of Xilinx.

Some of the key features implemented in power management on Versal ACAP by Softnautics are:

  • Linux suspend/resume with different wakeup sources
    • APU (Cortex-A72 runs Linux on the Versal ACAP can configure different peripherals such as UART, Ethernet (Wakeup on LAN), USB, etc. The Platform Management Controller (PMC) has been configured to handle multiple wake-up sources appropriately activated when the user suspends the system. This allows a complete power down of the Full Power Domain (FPD) domain.
    • When the wakeup source device generates a wakeup event, PMC gets the interrupt and powers up the FPD and APU running Linux.
  • Deep sleep with a periodic wakeup
    • In some cases, periodic task execution has been smartly catered to by creating a timer-based custom application on Realtime Processing Unit (RPU). RPU performs designated tasks with each timer event and goes into deep sleep mode by releasing all the resources.
  • Other use cases were:
    • PL only booting (only PL and PMC domain is up)
    • Ultra-low-power mode (only PMC is running in low power mode)
    • Complete chip-off (all domain including PMC are off, and context is stored in non-volatile memory region)

Xilinx’s Versal ACAP is a differentiating platform that will transform the horizon of power-hungry applications while smartly conserving energy and ensuring the best performance. Softnautics aims to continue playing key roles with its highly skilled talent pool to enable end-to-end solutions, leveraging Versal ACAP advancements in platform and power management.

rajan softnautics

Author: Rajan Vaja

Rajan is Manager at Softnautics and has been a key member in various Embedded Software projects across different domains for over ten years and lasts 4 years for MPSoC platform and power management. He has worked on audio domain solutions for Audience(Now Knowles), Platform Management solutions for Xilinx, etc., chipsets. He is passionate about enabling reliable, secure & low power platforms. He is from Junagadh and studied Electronics and Communications at one of the prominent colleges in Gujarat – Dharmsinh Desai University, Nadiad. He enjoys exploring new tools & technologies and spending free time with family. You can also find him on LinkedIn.

ravi softnautics

Author: Ravi Patel

Ravi is Staff Engineer at Softnautics and has been a key member in various Embedded Software projects across different domains for over seven years and lasts 4 years for MPSoC platform and power management. He has also worked on bluetooth firmware and having experience in Nordic and TI’s chips. He is passionate about working with practical & real-world embedded software solutions. He is from Nadiad and studied Electronics and Communications at one of the prominent colleges in Gujarat – Dharmsinh Desai University, Nadiad. He enjoys watching WebSeries/Movies and work with DIY activities during his free time. You can reach him at LinkedIn

Embedded Systems

VITIS AI on Xilinx ZynqMP UltraScale+