Accelerate Cycle-Level Full-System Simulation of Multi-Core RISC-V Systems with Binary Translation

Xuan Guo, Robert Mullins
5/22/2020
cs.AR

Official code: nbdd0121/r2vm (113 stars, Rust, Apache-2.0, Rust, last commit 2025-08-19).

Abstract

It has always been difficult to balance the accuracy and performance of ISSs. RTL simulators or systems such as gem5 are used to execute programs in a cycle-accurate manner but are often prohibitively slow.

Show full abstract

In contrast, functional simulators such as QEMU can run large benchmarks to completion in a reasonable time yet capture few performance metrics and fail to model complex interactions between multiple cores. This paper presents a novel multi-purpose simulator that exploits binary translation to offer fast cycle-level full-system simulations. Its functional simulation mode outperforms QEMU and, if desired, it is possible to switch between functional and timing modes at run-time. Cycle-level simulations of RISC-V multi-core processors are possible at more than 20 MIPS, a useful middle ground in terms of accuracy and performance with simulation speeds nearly 100 times those of more detailed cycle-accurate models.

View on arXivView PDF

Code Implementations(1)

nbdd0121/r2vmOfficial100%
RustApache-2.0

Rust RISC-V Virtual Machine

1139Rust, AssemblyMay 21, 20201 years agoApache-2.0

Similar Papers

Cite this paper

@article{guo2020accelerate,
  title  = {Accelerate Cycle-Level Full-System Simulation of Multi-Core RISC-V Systems with Binary Translation},
  author = {Xuan Guo and Robert Mullins},
  year   = {2020},
  eprint = {2005.11357},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.11357}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.11357.svg)](https://codeofpaper.com/paper/2005.11357)

Discussion