Skip to content

RISC-V CPU simulator

Teaching-focused RISC-V CPU simulator with a Qt interface and browser version

Copyleft (OSI) · GPL-3.0
  • Linux

Listed by , founder & editor

58

Health

Active

Overview

Stars

650

Last commit

26 days ago

Oct 2026

Repository age

5 years

since Dec 2020

Latest version

v0.9.9

Sep 2026

Contributors

–

5 active in 90 days

Releases

1

last 12 months

Language

C++

QtRvSim is a RISC-V CPU simulator built for computer architecture education. It comes from the Computer Architectures Education project at Czech Technical University. The graphical app is written in C++ with Qt and shows how instructions move through the processor.

It has an integrated assembler and can call an external make utility. It also works with LLVM and GNU toolchains, including the 64-bit GNU toolchain for RV32I targets. Peripherals, interrupts, control and status registers and system calls are supported. The documentation lists the supported instructions and the limits of the implementation.

You can try an experimental WebAssembly build in a browser without installing anything. Otherwise, download binary packages for Windows and generic GNU/Linux, use Flathub, or build with CMake on Linux and macOS. Qt 5 and Qt 6 are supported. The license is GPL-3.0. Commits continue, with the latest release at v0.9.9.

Who it's for

Computer architecture instructors

It was built for teaching, and the browser build lets students try it with no install.

Skip if: You need a cycle-accurate model of a specific commercial chip.

Students learning RISC-V assembly

The integrated assembler lets you write and run code in one place.

Skip if: You want to run full operating systems rather than small programs.

The problem it solves

Teaching how a CPU executes instructions is hard without something to watch. QtRvSim lets students write RISC-V code and see it run on a simulated processor, without hardware.

Strengths

  • Integrated assembler, plus LLVM and GNU toolchain support
  • Browser-based WebAssembly version needs no install
  • Supports peripherals, interrupts and system calls
  • Builds with Qt 5 or Qt 6 on Linux and macOS
  • Binary packages for Windows and GNU/Linux

Trade-offs

  • WebAssembly version is experimental
  • Documented limitations in the implementation
  • Only one release in the past year

Self-host RISC-V CPU simulator

Self-hostable
No (desktop or local app)

Quick start

git clone --recurse-submodules https://github.com/cvut/qtrvsim.git

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is open source under GPL-3.0.

Can I run it without installing?

Yes. An experimental WebAssembly version runs in most browsers.

Which platforms are supported?

Windows and Linux via binary packages, plus macOS by building from source. A Flathub package exists.

What toolchains work with it?

Both LLVM and GNU toolchains, plus its own integrated assembler.

Similar tools in Simulation software

OpenBVE

Simulation software

3D cab-view train simulator for Linux that loads BVE route and train formats

389 73 today Thriving BSD-2-Clause

jev-drone

Simulation software

305 43 2 months ago Slowing MIT

Hopsan

Simulation software

Multi-domain system simulation tool for hydraulic and mechatronic engineers and students

243 46 12 days ago Active Apache-2.0

GElectrical

Simulation software

Desktop tool for analyzing LV/MV electrical distribution networks from a schematic

201 26 18 days ago Slowing GPL-3.0

PyBERT

Simulation software

Python simulator for serial link bit error rate, for high-speed signal engineers

161 72 15 days ago Active BSD-3-Clause

pathview

Simulation software

Browser-based block diagram editor for building and simulating dynamic systems in Python

102 14 5 days ago Thriving MIT