Adaptive Simulation with Virtual Prototypes for RISC-V: Switching Between Fast and Accurate at Runtime

Vladimir Herdt, Daniel Große, Sören Tempel, Rolf Drechsler

In: 38th IEEE International Conference on Computer Design (ICCD). IEEE International Conference on Computer Design (ICCD-2020) October 18-21 Hartford United States 2020.


Recently, Virtual Prototypes (VPs) were introduced for the emerging RISC-V Instruction Set Architecture(ISA) and become an important part of the growing RISC-V ecosystem. A central component of the VP is the Instruction Set Simulator(ISS). VPs should provide a high performance and at the same time yield accurate results, which are conflicting requirements. To tackle this problem, we present an efficient VP-based adaptive simulation that is tailored for the RISC-V ISA and allows to seamlessly switch the accuracy setting in the ISS at runtime. This enables to selectively simulate the application as fast as possible and as accurate as necessary. In this paper we focus on the performance impact of different accuracy settings and leave the evaluation of accuracy results for future work. OurRISC-V experiments demonstrate that up-to 543x speed-up is possible with a JIT-based setting in the ISS.


German Research Center for Artificial Intelligence
Deutsches Forschungszentrum für Künstliche Intelligenz