Introduction
As Artificial Intelligence (AI) and Machine Learning (ML) workloads continue to dominate modern computing, traditional architectures face the "Von Neumann Bottleneck"—the energy-intensive movement of data and instructions between memory and the CPU. Vector processors (SIMD) mitigate this by executing single instructions across multiple data elements. While several RISC-V vector designs have emerged, most were based on early, non-ratified versions of the specification.
This paper introduces Ara2, the first fully open-source vector processor to support the ratified (frozen) RISC-V Vector (RVV) 1.0 ISA. Developed by researchers at ETH Zurich and the University of Bologna, Ara2 serves as a high-performance, energy-efficient blueprint for data-parallel workloads, achieving a state-of-the-art efficiency of 37.8 DP-GFLOPS/W.
Architecture and Scalability
Ara2 is designed as a scalable co-processor for the CVA6 64-bit scalar core. The architecture is organized into independent "lanes," each containing its own Floating-Point Units (FPUs) and Arithmetic Logic Units (ALUs). This modularity allows the system to scale from 2 to 16 lanes depending on the target application's performance and area requirements.
Key features of the Ara2 architecture include:
- Hardware-Managed Coherence: A dedicated system ensures memory coherence between the scalar L1 cache and the vector unit, allowing the vector unit to access up-to-date data without the overhead of manual software fences.
- AXI Invalidation Filter: This component manages the interface with the memory interconnect, filtering invalidation signals to maintain high throughput.
Hardware Optimizations: The Slide Unit
One of the most significant technical challenges in vector processor design is the implementation of "slide" operations (data reshuffling). A naive all-to-all interconnect scales poorly, creating massive wiring congestion as the number of lanes increases.
To address this, the researchers developed an optimized Slide Unit (SLDU). Instead of a full crossbar, the SLDU is optimized to support power-of-two slides in a single cycle, while other shift amounts are handled via micro-operations. This strategic trade-off reduced the unit's area and multiplexer count by 70% for a 16-lane configuration compared to a baseline all-to-all interconnect, ensuring the design remains physically routable at high clock frequencies.
Performance Analysis and the Scalar Bottleneck
The researchers evaluated Ara2 using a suite of 11 kernels spanning linear algebra, digital signal processing (DSP), and scientific stencils. A critical finding of the study is the identification of the "Scalar Issue-Rate Ceiling."
For workloads with short vectors, the vector unit processes data so rapidly that the single-issue scalar core (CVA6) cannot fetch and decode instructions fast enough to keep the lanes occupied. This creates a performance plateau where adding more lanes does not improve throughput. The study demonstrates that performance ideality is a function of the "Byte-per-Lane" metric; to maintain efficiency when doubling the number of lanes, the vector length must also be doubled.
Multi-Core vs. Single-Core Clusters
To overcome the scalar issue-rate bottleneck, the authors explored multi-core clusters. Their findings suggest that for many real-world workloads, clustering multiple small vector cores is more efficient than building one massive core. For example, a cluster of eight 2-lane cores (totaling 16 FPUs) can be up to 3x faster than a single 16-lane core (also 16 FPUs) for small matrices. This performance gain stems from having eight scalar cores issuing instructions simultaneously, effectively bypassing the single-core issue-rate limit.
Conclusion
Ara2 represents a significant milestone in the open-source hardware ecosystem. By achieving 37.8 DP-GFLOPS/W in 22nm technology and reaching clock speeds of 1.35 GHz, it proves that open-source RVV 1.0 implementations can compete with proprietary designs. On compute-heavy kernels like matrix multiplication (matmul), Ara2 achieves an impressive 95% functional unit utilization. Future work will focus on optimizing the super-linear scaling of the Vector Load/Store Unit (VLSU) and improving compiler support to better exploit the advanced features of the RVV 1.0 standard.
Summary updated