Back to search

EPFL

Open-Source and Configurable RISC-V Platforms for Exploring TinyAI Heterogeneous Systems

Abstract

dc:description

The growing demand for real-time machine learning has accelerated the adoption of edge computing, which processes data locally to reduce latency, enhance privacy, and improve energy efficiency. Ultra-low-power edge applications (TinyAI) face stringent constraints in performance, power, and area, often operating within milliwatt budgets and on millimeter-scale system-on-chips (SoCs). Prototyping such systems requires hardware/software co-design platforms capable of real-time execution and accurate performance and energy measurements. To overcome these challenges, I developed the FPGA EMUlation (FEMU), an open-source and configurable RISC-V framework for prototyping and evaluating TinyAI applications on SoC-based FPGAs. This approach combines a heterogeneous system implemented in reconfigurable logic with a software environment running on an application-class processor under a standard operating system. Virtualized I/O enables flexible communication, signal processing, and verification. Custom accelerators can be added as software models or register transfer level (RTL) modules, while silicon-derived models provide performance and energy estimations. At the core of FEMU lies a heterogeneous system that combines a flexible host to run control and communication tasks with specialized accelerators tailored to specific application domains. However, each accelerator presents unique requirements in terms of ports, bandwidth, performance, area, and power trade-offs. As a result, a highly configurable host is essential to adapt both hardware and software to the diverse needs of these accelerators. To address these limitations, I designed the eXtendible Heterogeneous Energy Efficient Platform (X-HEEP), an open-source and configurable RISC-V platform that integrates seamlessly within FEMU to support the connection of TinyAI accelerators. X-HEEP provides configurable central processing units (CPUs), memory, interconnects, and peripherals, while its eXtendible Accelerator InterFace (XAIF) enables the integration of accelerators with a wide range of requirements. The platform supports FPGA prototyping, ASIC implementation, and mixed SystemC/RTL simulation, streamlining design space exploration and optimization. While most accelerators target domain-specific tasks, more versatile solutions are required for addressing a broader range of applications with varying demands. In this context, graphics processing units (GPUs) have proven particularly effective in exploiting data parallelism across diverse workloads. When integrated with a host like X-HEEP, GPUs form accelerated processing units (APUs), creating unified systems capable of efficiently handling both control-oriented and compute-intensive tasks. To explore this direction, I developed the embedded GPU (e-GPU), an open-source and configurable RISC-V platform that integrates within X-HEEP to investigate the feasibility and trade-offs of leveraging GPUs in the TinyAI domain. Its extensive configurability enables area and power optimization to meet the requirements of these applications. Furthermore, a custom Tiny Open Computing Language (Tiny-OpenCL) implementation provides a lightweight programming framework for these resource-constrained devices. Collectively, FEMU, X-HEEP, and e-GPU form a unified, flexible, and efficient ecosystem for TinyAI design, addressing the challenges of configurability, extensibility, and programmability through dedicated hardware/software co-design.

Degree

thesis:*
Grantor dc:publisher
EPFL
Year dc:date
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Machetti, Simone
Contributors dc:contributor
  • Atienza Alonso, David

Subjects

dc:subject × 10

Rights

Language dc:language
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
EPFL
Base URL
infoscience.epfl.ch/server/oai/openaire4
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Machetti, Simone. Open-Source and Configurable RISC-V Platforms for Exploring TinyAI Heterogeneous Systems. EPFL, 2025. https://doi.org/10.5075/epfl-thesis-10819