Toward RISC-V CSR Compliance Testing
- 4 May 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Embedded Systems Letters
- Vol. 13 (4) , 202-205
Abstract
Recently, the critical compliance testing (CT) problem for reduced instruction set computer (RISC)-V has received significant attention. However, control and status registers (CSRs), which form the backbone of the RISC-V privileged architecture specification, have been mostly neglected in the CT effort so far. In this letter, we first analyze the RISC-V privileged architecture specification in detail to group the CSRs into different classes according to their functionality. Based on the classes and additional common CSR characteristics, we come up with a set of fundamental CSR tests. These partly automatically generated CSR tests allow to check the compliance of RISC-V simulators and cores. We found several unknown errors in numerous RISC-V simulators. The results demonstrate the necessity for extensive CSR testing to ensure compliance with the RISC-V specification.Keywords
Funding Information
- German Federal Ministry of Education and Research (BMBF) within the project SATiSFy (16KIS0821K)
- Project VerSys (01IW19001)
- Project Scale4Edge (16ME0127)
This publication has 3 references indexed in Scilit:
- Towards Specification and Testing of RISC-V ISA Compliance⋆2020
- Verifying Instruction Set Simulators using Coverage-guided Fuzzing2019
- The gem5 simulatorACM SIGARCH Computer Architecture News, 2011