HMPSoCs accelerators

,

UNICA, UNISS – HMPSoCs FPGA-based accelerators

ID: R1 Licence:
3-clause BSD
Owner:
UNICA
UNISS
Contacts:
francesca.palumbo@unica.it
francesco.ratto@unica.it
claudio.rubattu@uniss.it
Short DescriptionHMPSoCs FPGA-based accelerators leveraging on open-source architectural templates, and exploiting coarse-grained reconfigurable (CGR) approaches for edge computation.
Key features– Dataflow-based CGR coprocessors on FPGA-based MPSoCs
– Multitasking: the coprocessor is reconfigured to execute a different functionality, or a different implementation of the same functionality
– Multithreading: concurrent execution of multiple threads on the same accelerator
– Approximate computing for AI inference, with precision reconfigurable at run time
– Power and performance monitoring
Require– RTL description of the CGR accelerator and the RTL co-processor template
– Programming tables
– APIs
All these inputs are derivable with the MDC tool that is part of the MYRTUS DPE.
ProvideAcceleration infrastructure at the edge.
InputBinary files for the CGR coprocessor (configuration bitstream), software application instrumented with the APIs to utilize the co-processing unit.
OutputHeterogeneous and hardware-accelerated execution of the application.
UserDevelopers of edge applications that need flexible hardware acceleration on FPGA-based MPSoCs.
Benefits for the user– Higher energy efficiency than software execution, while keeping the flexibility to change functionality or implementation at run time
– Accelerators derived through an automated design methodology, applicable to other dataflow-based kernels
DownloadThe tool to derive this type of accelerators is available here: github.com/mdc-suite/mdc/wiki
Baseline examples of adaptive AI accelerators: github.com/mdc-suite/qonnx2mdc
Role in MYRTUSHardware-accelerated edge nodes of the MYRTUS infrastructure, on AMD Kria KV260 and Digilent ZedBoard platforms, integrated in the continuum through the Edge OS (K3s and Liqo).
TRL@M03
TRL@M364-5

How the accelerators are obtained


The HMPSoC accelerators are not an existing hardware block extended during the project: each accelerator is generated from scratch by the MDC tool for the kernels of a given application. Starting from the dataflow specifications of the functionalities to accelerate, MDC derives a single coarse-grained reconfigurable (CGR) datapath that can switch among them, together with the coprocessor template, the programming tables and the APIs needed to use it on FPGA-based multiprocessor systems-on-chip (MPSoCs). Depending on how they are generated, the accelerators support the execution modes shown in Figure 1:

  • Multitasking, executing different tasks in an interleaved way: functional multitasking, where the accelerator is reconfigured to perform a different task, and trade-off-oriented multitasking, where it switches between different implementations of the same task according to performance or resource constraints.
  • Multithreading, processing multiple instances of the same functionality concurrently, for example an encryption algorithm on a set of independent blocks, which makes better use of the customised deep pipeline of the CGR accelerator.

The same dataflow approach is also used for AI acceleration at the edge: with the QONNX2MDC frontend of MDC, inference engines are generated from quantized neural-network models, with a streaming-based architecture whose precision can be changed at run time.

Execution modes of the CGR coprocessor: functional reconfigurability, non-functional reconfigurability and multithreading

Figure 1. Supported execution modes of the accelerator.

Accelerators developed in MYRTUS


Within MYRTUS, UNICA and UNISS have used MDC, and the extensions of the tool developed in the project, to generate accelerators of each kind:

  • Multithreading. Multithread accelerators have been generated for AES encryption, FFT and HEVC filtering. On the AMD Kria KV260, they need fewer programmable-logic resources than replicating the accelerator for each thread, and they clearly outperform software execution on the Arm cores of the device.
  • Approximate computing. For machine-learning acceleration, adaptive inference engines reconfigure the precision of the computation at run time, reducing power consumption with respect to full-precision computation while keeping state-of-the-art accuracy. The work is now being extended towards vision transformers at the edge.
  • Security. Accelerators for AES-128 and AES-256 encryption and decryption are available, and a reconfigurable accelerator supporting both SHA and ASCON has been developed for crypto-agility.

Integration in the continuum


The accelerators run on FPGA-based edge nodes of the MYRTUS reference infrastructure. The AMD Kria KV260 and Digilent ZedBoard boards are FPGA agents of a K3s cluster, with an x86 PC as control plane, and run the Edge OS, a custom Yocto-based Linux distribution with K3s and Liqo support. Within a unified design flow for deploying and orchestrating FPGA-accelerated workloads on edge MPSoCs, containerised hardware acceleration is deployed on the boards through the standard K3s workflow.

Through Liqo, the cluster is federated with the other edge and fog clusters of the infrastructure, where it is represented as a virtual node. The FPGA-based agents are therefore exposed as deployment targets to the MYRTUS orchestration layer: a workload is first assigned to the virtual node of the cluster and then bound to the target board. Like the other resources of the continuum, the nodes are integrated with the Distributed Knowledge Base, which the workload manager queries to know the available resources and where the monitored data of the nodes are made available. Power consumption and performance are monitored with the framework developed with UPM, described in Monitoring and Observability, and the nodes exchange data with the SenseIQ gateway at the fog over HTTP.

Technology Benefits and Innovations


The accelerators combine the efficiency of hardware acceleration with the flexibility usually associated with software: a single coarse-grained reconfigurable datapath can change functionality, implementation or precision at run time, and serve multiple threads concurrently, instead of requiring a dedicated accelerator for each case. Tagged-dataflow multithreading is particularly effective when workload concurrency varies and full spatial replication of the accelerator would need too many FPGA resources.

All the accelerators are derived through an automated design methodology, based on the MDC tool, that is applicable to any other dataflow-based kernel to be accelerated at the edge. Together with the Edge OS, this makes hardware-accelerated, dynamically orchestrated FPGA-based edge nodes part of a Kubernetes-based computing continuum.

Users


The accelerators themselves are application-specific: each one is generated for the kernels of a given application. What can be reused outside the project is the way they are obtained. Hardware and embedded system designers, developers of edge applications and researchers working on reconfigurable computing and AI acceleration at the edge can use the open-source MDC design suite to derive multitasking, multithreaded or adaptive accelerators of this kind for their own dataflow-based kernels, on AMD FPGA-based devices.

References


  • F. Ratto, Á. P. Máinez, C. Sau et al., “An Automated Design Flow for Adaptive Neural Network Hardware Accelerators”, Journal of Signal Processing Systems, 95, 1091–1113, 2023. DOI
  • F. Manca, F. Ratto, F. Palumbo, “ONNX-to-Hardware Design Flow for Adaptive Neural-Network Inference on FPGAs”, in Proc. SAMOS 2024. Zenodo
  • F. Ratto, C. Rubattu, L. Raffo, F. Palumbo, “System-level Support for Multi-thread Coprocessors with Tagged-dataflow and Coarse-grained Reconfigurability on FPGA-based MPSoCs”, Journal of Systems Architecture, 2026. DOI
  • C. Rubattu, M. Fois, F. Ratto, M. Fadda, P. Ruiu, R. Delussu, L. Raffo, F. Palumbo, “Seamless Integration of FPGA-based MPSoCs into Computing Continuum Infrastructures”, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2026. Zenodo
  • J. Encinas et al., “Modular and Composable Framework for Multipurpose Monitoring in Heterogeneous FPGA-Based Systems”, in Proc. SAMOS 2025. Zenodo
  • Target platforms: AMD Kria KV260, Digilent ZedBoard
  • MDC tool: github.com/mdc-suite/mdc; github.com/mdc-suite/qonnx2mdc
Competenze

Postato il

30 Gennaio 2025