HERO: Heterogeneous Embedded Research Platform for Exploring RISC-V Manycore Accelerators on FPGA

Andreas Kurth, Pirmin Vogel, Alessandro Capotondi, Andrea Marongiu, Luca Benini

Introduction

In the development of Heterogeneous Embedded Systems on Chip (HESoCs), researchers face a significant "research gap." Industry-leading chips, such as those from Apple or NVIDIA, integrate powerful CPUs with specialized accelerators but remain proprietary "black boxes" that cannot be modified. Conversely, software simulators like gem5 offer flexibility but are often too slow to run full software stacks and may fail to accurately model complex hardware interactions like interconnect contention or memory management unit (MMU) behavior.

HERO (Heterogeneous Embedded Research Platform) addresses this by providing an open-source, FPGA-based "white box" platform. It combines the stability of a hard ARM host processor with the flexibility of a configurable, manycore RISC-V accelerator, enabling cycle-accurate research at speeds orders of magnitude faster than software simulation.

Hardware Architecture

The HERO hardware architecture is designed to balance general-purpose processing with high-performance acceleration. As shown in Figure 1, the system utilizes an ARM Juno SoC as a "hard" host, featuring Cortex-A57 and A53 cores to provide a full Linux environment. This host is connected via a high-speed TLX-400 interface to a Programmable Manycore Accelerator (PMCA) implemented on a Xilinx Virtex-7 FPGA.

Overview of the HERO hardware architecture, integrating an ARM Juno SoC host with a RISC-V based Programmable Manycore Accelerator (PMCA) on FPGA.

The PMCA is based on the Parallel Ultra-Low-Power (PULP) architecture, which organizes 32-bit RISC-V processing elements (PEs) into clusters. A standout feature of this architecture is the Remapping Address Block (RAB). This hardware component enables Shared Virtual Memory (SVM), allowing the RISC-V cores to share the same virtual memory space as the ARM host. This eliminates the need for complex, manual data copying, as programmers can simply pass pointers between the host and the accelerator.

Software Stack and Programmability

A core philosophy of HERO is that hardware research is only as useful as the system's programmability. To this end, HERO provides a complete software-hardware stack that supports OpenMP 4.5. This allows developers to offload compute-intensive kernels to the RISC-V cores using standard #pragma omp target directives, significantly lowering the barrier to entry for running real-world applications.

The HERO full-stack integration, illustrating the layers from heterogeneous applications down to the hardware components.

The stack includes a heterogeneous cross-compilation toolchain based on GCC and a specialized runtime environment (RTE). Furthermore, HERO includes automated cycle-accurate event tracing. Because the tracer is implemented directly in the FPGA logic, it can monitor hardware signals without interfering with the execution of the program being studied.

Evaluation and Key Results

The platform was evaluated using a variety of benchmarks, including Matrix-Matrix Multiplication, PageRank, and Random Hough Forest. Key findings include:

  • Scalability: The system successfully implemented up to 64 RISC-V cores on a single FPGA, achieving a throughput of over 1.9 Giga-Instructions Per Second (GIPS). Performance scaling remained near-linear up to 48 cores.
  • SVM Efficiency: The Shared Virtual Memory approach proved to be a major performance driver. In the PageRank benchmark, SVM reduced total execution time by 60% by eliminating pointer-heavy data copies. In simple data-shuffling tasks (MemCopy), the overhead reduction reached 95%.
  • Simulation Speed: By maintaining a one-to-one correspondence between FPGA clock cycles and the target architecture, HERO provides reliable performance data while outperforming software simulators by several orders of magnitude.

Conclusion and Future Work

While HERO is limited by FPGA resource constraints and lower clock frequencies (30–60 MHz) compared to final silicon, it provides a uniquely accessible and high-performance environment for hardware-software co-design. The research team is currently porting HERO to the newer Xilinx Zynq UltraScale+ MPSoC and plans to release the platform as an open-source project to foster community-driven computer architecture research.

Summary updated

BibTeX
@inproceedings{kurth2017hero,
  author = {Andreas Kurth and Pirmin Vogel and Alessandro Capotondi and Andrea Marongiu and Luca Benini},
  title = {{HERO: Heterogeneous Embedded Research Platform for Exploring RISC-V Manycore Accelerators on FPGA}},
  booktitle = {Repository},
  year = {2017},
  doi = {10.3929/ethz-b-000219249},
}
Figure