QtRvSim

QtRvSim 0.9.8

RISC-V CPU simulator for education purposes

  • By Czech Technical University
  • Open Source
  • Portable
  • Updated Oct 3, 2024
Download for Windows

About QtRvSim

RISC-V CPU simulator for education purposes

What's new in 0.9.8

  • Machine: aclintmtimer fix count type
  • GUI: fix a crash on nonexistent include
  • Use win32 config of libelf when compiling natively for Windows
  • CI: Add Windows Clang debug build and macos ARM
  • CLI: reporter dump to json
  • Machine: instruction parsing refactor
  • GUI: make printer settings persistent and scale to fit PDF page size
  • Assembler: fix immediate parsing
  • Assembler: implement GAS modifiers - PC rel still basic only
  • Machine: fix zext.w/h inst parse and fix tokenized for inst.xxx
  • Machine: fix parse_csr_address and CSR::RegisterMapByName key type
  • Machine and GUI: Pseudo LRU cache policy
  • Add 25x speed for teaching convenience
  • Machien and GUI: Include Jiri Stefan's work on branch predictor
  • Machien and GUI: BTB, BHT and BHR are implemented
  • Project: Explicit cmake qt major version option
  • Packaging: add Keywords entry into desktop file
  • Machine: add peripherals high/top address aliases for XLEN=64
  • GUI: switch "New" dialog page selection to tree widget, polishing required

For Ubuntu use https://launchpad.net/~qtrvsimteam/+archive/ubuntu/ppa
For SUSE, Fedora and Debian https://software.opensuse.org/download.html?project=home%3Ajdupak&package=qtrvsim
For Arch https://aur.archlinux.org/pkgbase/qtrvsim
WebAssembly online version https://comparch.edu.cvut.cz/qtrvsim/app

QtRvSim articles, presentations and their recordings as well as more about Computer Architectures
courses at the Czech Technical University in Prague are presented at https://comparch.edu.cvut.cz/

The educational VHDL RISC-V core modeled according to the QtRvSim (single cycle and 5-stage
pipeline) has been designed by Damir Gruncl for the CTU FEE Advanced Computer Architectures course
(RVapo VHDL sources and tested in GHDL simulation, on Xilinx Zynq and iCE-40 FPGA targets. On Zynq
target it runs as PMSM motor control coprocessor to solve inverse and forward Clarke and Park
transformations and other low level control (top level project). See the complete list of the OTREES
CTU theses for more related topics.

The online training site for QtRvSim processed assembly and C tasks evaluation has been prepared by
Jakub Pelc https://comparch.edu.cvut.cz/online-tools/webeval/

QtRvSim news and the evaluation web will be presented on RISC-V International Special Interest
Group: Academia and Training meeting at October 10 2024 at 8 AM Pacific Time (5 PM CEST). The
feedback is welcomed. I will be present on 2024 RISC-V Summit North America (October 22-23, 2024) as
well. …

Full release notes »

Technical details

PublisherCzech Technical University
AuthorPavel Pisa
Version0.9.8
Release date2024-10-03
LicenseGPL-3.0
Installer typezip
Architectureneutral
Package IDcvut.qtrvsim

Install QtRvSim from the command line

Install with Windows Package Manager
winget install --id=cvut.qtrvsim -e
Update to the latest version
winget upgrade --id=cvut.qtrvsim -e
Uninstall
winget uninstall --id=cvut.qtrvsim -e

computer-architecturecpu-emulatorrisc-vteaching

Frequently asked questions

Is QtRvSim free?

Yes. QtRvSim is free and open-source software released under the GPL-3.0 license.

What is the latest version of QtRvSim?

The latest version is 0.9.8, released on Oct 3, 2024.

Is it safe to download QtRvSim?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 2e3551c45b669d6e6a67a1486623ec1ec22a26be19ae496323b279281cd0c0ec.

Which Windows versions does QtRvSim support?

QtRvSim runs on Windows and is available for any architecture systems.

How do I uninstall QtRvSim?

Open Settings › Apps › Installed apps, find QtRvSim and select Uninstall. From the command line, run winget uninstall --id=cvut.qtrvsim -e.

Is there a portable version of QtRvSim?

Yes. QtRvSim is available as a portable ZIP archive (qtrvsim-mingw32-v0.9.8.zip, any architecture) that runs without installation. Copy it to any folder or USB drive and run it from there.