QtRVSim is a free and open source RISC-V CPU simulator for Linux, Windows and MacOS. You can use this application for education purposes. It is released under GNU General Public License v3.0. It comes with pipeline and cache visualization, integrated assembler and accepts ELF statically linked executable compiled for RISC-V target. Currently it supports 64-bit RISC-V ISA RV64IM and 32-bit RV32IM ELF.
Install QtRVSim on Ubuntu Linux
QtRVSim is available as a flatpak package file and Ubuntu PPA. You need to install the flatpak and flathub on your system first and restart it after the installation.
In the terminal app (ctrl+alt+t) run below QtRVSim flatpak install command.
flatpak install flathub cz.cvut.edu.comparch.qtrvsim
You can open QtRVSim using this command.
flatpak run cz.cvut.edu.comparch.qtrvsim
And uninstall it using
sudo flatpak uninstall cz.cvut.edu.comparch.qtrvsim
Install QtRVSim via PPA:
In the terminal command-line application run below commands one by one. It will add the PPA and install the latest version of QtRVSim on your system.
sudo add-apt-repository ppa:qtrvsimteam/ppa
sudo apt-get update
sudo apt-get install qtrvsim