Abstract
Near-sensor computing requires a delicate balance between high-performance numerical processing and extreme energy constraints. This paper presents a multi-core RISC-V computing cluster that utilizes transprecision floating-point units (FPUs) to achieve this balance. By supporting multiple floating-point formats and employing hardware sharing across cores, the design achieves a peak energy efficiency of 162 Gflop/s/W in 22nm FDX technology. This performance significantly exceeds industry standards like the ARM Cortex-M4, proving that floating-point arithmetic can be efficiently integrated into resource-constrained edge devices.
Introduction
Edge devices in the Internet of Things (IoT) landscape increasingly require complex data processing, such as Deep Learning and advanced Digital Signal Processing (DSP). While fixed-point arithmetic has traditionally been favored for its energy efficiency, it often suffers from numerical instability and requires complex manual scaling. Floating-point (FP) arithmetic offers a wider dynamic range but is typically too power-hungry for "near-sensor" environments.
To address this, researchers from the University of Bologna and ETH Zürich developed a transprecision computing cluster. The core idea is that not all calculations require high 32-bit precision; by supporting smaller 16-bit formats and sharing FPU hardware among multiple RISC-V cores, the system provides the flexibility of FP at an energy cost approaching that of fixed-point logic.
System Architecture
The architecture is centered around a cluster of RI5CY cores, which are 4-stage, in-order RISC-V processors. The primary innovation lies in the integration of the transprecision FPU architecture, referred to as FPnew.
As shown in the architecture overview, the cluster utilizes a shared interconnect to allow multiple cores to access a pool of FPUs. This design choice is based on the observation that FPU instruction density in typical near-sensor applications is often below 50%, making dedicated FPUs per core inefficient in terms of silicon area and power leakage.
The FPU units are highly versatile, supporting standard 32-bit (float), 16-bit (float16), and bfloat16 formats. They leverage SIMD (Single Instruction, Multiple Data) vectorization to process two 16-bit operations simultaneously within a 32-bit datapath, effectively doubling throughput for lower-precision tasks.
Methodology and Evaluation
The researchers explored a wide design space, testing 18 configurations on a cycle-accurate FPGA emulator. Variables included the number of cores (8 or 16), the ratio of shared FPUs, and the number of pipeline stages (0 to 2). For energy-critical applications, a zero-stage combinational FPU was often found to be superior to higher-frequency pipelined versions due to reduced stall cycles and lower power overhead.
The hardware was evaluated using a benchmark suite representative of edge analytics, including 2D Convolution (CONV), Fast Fourier Transforms (FFT), K-Means clustering, and Support Vector Machines (SVM).
Key Results and Discussion
Implemented in a 22nm FDX technology node, the cluster demonstrated remarkable efficiency:
- Peak Energy Efficiency: 162 Gflop/s/W for half-precision (16-bit) vectors.
- Scalar Efficiency: 97 Gflop/s/W for standard 32-bit single-precision.
- Performance: A 16-core configuration reached a peak of 5.92 Gflop/s.
The study highlighted that vectorization is a critical driver of efficiency, as it reduces the overhead of instruction fetches and memory accesses. Furthermore, the 1/2 sharing factor (one FPU per two cores) emerged as a "sweet spot," providing sufficient throughput for most benchmarks while maintaining a compact area footprint of 3.5 Gflop/s/mm².
Conclusion
This work demonstrates that transprecision floating-point clusters can provide the numerical robustness required for modern edge algorithms without compromising the strict energy budgets of near-sensor devices. Future developments may include even lower-precision formats (8-bit minifloats) and enhanced compiler support for automatic vectorization to further simplify the deployment of high-performance analytics on the edge.
Summary updated