JuxtaPiton: Enabling Heterogeneous-ISA Research with RISC-V and SPARC FPGA Soft-cores

Katie Lim, Jonathan Balkind, David Wentzlaff

Abstract

Energy efficiency has become an increasingly important concern in computer architecture due to the end of Dennard scaling. Heterogeneity has been explored as a way to achieve better energy efficiency and heterogeneous microarchitecture chips have become common in the mobile setting. Recent research has explored using heterogeneous-ISA, heterogeneous microarchitecture, general-purpose cores to achieve further energy efficiency gains. However, there is no open-source hardware implementation of a heterogeneous-ISA processor available for research, and effective research on heterogeneous-ISA processors necessitates the emulation speed provided by FPGA prototyping. This work describes our experiences creating JuxtaPiton by integrating a small RISC-V core into the OpenPiton framework, which uses a modified OpenSPARC T1 core. This is the first time a new core has been integrated with the OpenPiton framework, and JuxtaPiton is the first open-source, general-purpose, heterogeneous-ISA processor. JuxtaPiton inherits all the capabilities of OpenPiton, including vital FPGA emulation infrastructure which can boot full-stack Debian Linux. Using this infrastructure, we investigate area and timing effects of using the new RISC-V core on FPGA and the performance of the new core running microbenchmarks.

Introduction

As Dennard scaling reaches its limits, computer architects are increasingly turning to heterogeneity to sustain performance and energy efficiency improvements. While "big.LITTLE" microarchitectures are prevalent in mobile devices, these typically utilize cores of the same Instruction Set Architecture (ISA). Heterogeneous-ISA systems—combining different ISAs like x86, ARM, or RISC-V—offer a broader design space for optimization. However, research in this domain has been hampered by the lack of open-source hardware platforms capable of running full-stack operating systems at emulation speeds. JuxtaPiton addresses this gap by providing a cache-coherent, FPGA-ready platform where a 64-bit SPARC core and a 32-bit RISC-V core coexist and share memory.

System Architecture

JuxtaPiton was developed by integrating the PicoRV32, a compact multicycle RISC-V core, into the OpenPiton manycore framework. OpenPiton natively utilizes modified OpenSPARC T1 cores, making this the first instance of a new ISA being integrated into the framework.

The JuxtaPiton architecture showing SPARC (Tile 0) and RISC-V (Tile 1) cores connected via the P-Mesh network.

The integration process involved several key technical innovations:

  • Cache Integration and Coherence: We developed specialized "transducers" to connect the PicoRV32 core to OpenPiton’s L1.5 cache. This enables the RISC-V core to participate in the P-Mesh cache coherence protocol, facilitating seamless memory sharing with SPARC cores.
  • Endianness Management: To resolve the conflict between big-endian SPARC and little-endian RISC-V, we implemented hardware-level data bus flipping and utilized software macros to maintain data consistency.
  • Software Proxying: Given that the PicoRV32 lacks an MMU and privileged modes, we implemented a proxy system. The RISC-V core offloads its system calls to the SPARC core, which runs a full Debian Linux stack.
Architectural comparison between the OpenSPARC T1 and PicoRV32 cores.

Evaluation and Results

The platform was evaluated on a Digilent Genesys2 FPGA board (Xilinx Kintex-7) using standard riscv-tests and a suite of microbenchmarks including hanoi, binsearch, and quicksort.

Resource Utilization and Timing

The PicoRV32 core is highly area-efficient, requiring approximately 1/30th of the logic (LUTs) of a single OpenSPARC T1 core. On the Kintex-7 FPGA, we were able to fit either 2 SPARC cores or up to 7 RISC-V cores, with logic resources being the primary bottleneck. In terms of timing, the RISC-V tile achieved a maximum frequency of 114 MHz, slightly exceeding the 109 MHz achieved by the SPARC tile.

Performance Trade-offs

As expected, the simpler PicoRV32 core is slower, exhibiting a 4x to 8x slowdown compared to the SPARC core across microbenchmarks. Notably, the binsearch benchmark showed the smallest performance gap (4x), as both cores were limited by the shared L2 cache and memory latency rather than execution pipeline depth.

Conclusion

JuxtaPiton represents the first open-source, general-purpose, heterogeneous-ISA processor platform. By demonstrating that the OpenPiton framework can host disparate ISAs in a cache-coherent environment, we provide a foundation for future research into multi-ISA operating systems and runtime process migration. Future work will explore the integration of more complex RISC-V cores, such as Ariane or Rocket, to further investigate microarchitectural trade-offs.

Summary updated

Abstract

Energy efficiency has become an increasingly important concern in computer architecture due to the end of Dennard scaling. Heterogeneity has been explored as a way to achieve better energy efficiency and heterogeneous microarchitecture chips have become common in the mobile setting. Recent research has explored using heterogeneous-ISA, heterogeneous microarchitecture, general-purpose cores to achieve further energy efficiency gains. However, there is no open-source hardware implementation of a heterogeneous-ISA processor available for research, and effective research on heterogeneous-ISA processors necessitates the emulation speed provided by FPGA prototyping. This work describes our experiences creating JuxtaPiton by integrating a small RISC-V core into the OpenPiton framework, which uses a modified OpenSPARC T1 core. This is the first time a new core has been integrated with the OpenPiton framework, and JuxtaPiton is the first open-source, general-purpose, heterogeneous-ISA processor. JuxtaPiton inherits all the capabilities of OpenPiton, including vital FPGA emulation infrastructure which can boot full-stack Debian Linux. Using this infrastructure, we investigate area and timing effects of using the new RISC-V core on FPGA and the performance of the new core running microbenchmarks.
BibTeX
@inproceedings{lim2019juxtapiton,
  author = {Katie Lim and Jonathan Balkind and David Wentzlaff},
  title = {{JuxtaPiton: Enabling Heterogeneous-ISA Research with RISC-V and SPARC FPGA Soft-cores}},
  booktitle = {FPGA},
  year = {2019},
  url = {https://openreview.net/forum?id=lHj1QoRSMZ},
}
Figure