peRISCVcope is a simple rv32i interpreter written in C++ for teaching purposes. Currently, it is in alpha status.
The full code is available upon request. Please e-mail @dariosg for getting access to the source code and the lab handouts.
For a description of the architecture and the idea behind this project please read the following paper peRISCVcope: A Tiny Teaching-Oriented RISC-V Interpreter.
If you want to cite this work, please use the following reference: D. Suárez Gracia, A. Valero, R. G. Tejero, M. Villarroya and V. Viñals, "peRISCVcope: A Tiny Teaching-Oriented RISC-V Interpreter," 2022 37th Conference on Design of Circuits and Integrated Circuits (DCIS), Pamplona, Spain, 2022, pp. 01-06, doi: 10.1109/DCIS55711.2022.9970050.
Feedback is welcome and appreciated.
git clone https://github.com/riscv/riscv-gnu-toolchain.git
cd riscv-gnu-toolchain
./configure --prefix=$HOME/usr/riscv/ --with-arch=rv32g --with-abi=ilp32d
make
- Good ELF explanations
- RISC-V ELF