Open-source project
mortbopet/Ripes avatar
mortbopet/Ripes

Ripes: a Qt RISC-V simulator that needs Qt 6.5, Qt Charts and a recursive clone to build

A graphical processor simulator and assembly editor for the RISC-V ISA

3,505 stars390 forksC++MIT

At a glance

What is it?
Ripes by Morten Borup Petersen simulates RV32IMC and RV64IMC processors with an editor, cache models and memory-mapped I/O. Releases come as AppImage, Windows and Mac builds, plus an experimental WebAssembly version at ripes.dk.
Who is it for?
Ripes fits students and teachers who want to watch RV32IMC or RV64IMC code move through a processor, adjust a cache and poke memory-mapped I/O without writing a simulator. It is a poor fit for anyone who needs floating point or vector extensions, because the project names only the IMC variants.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 6 days ago.
What is it written in?
Mainly C++, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • mortbopet/Ripes3,505 ★ · +60
Star history
Repository2026-10-082026-11-25
mortbopet/Ripes3.4k3.5k

60 Stars in the last 48 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Ripes shows RV32IMC and RV64IMC code moving through selectable microarchitectures

Ripes is a visual computer architecture simulator and assembly code editor built for the RISC-V instruction set architecture. The first use case it lists is exploring how machine code is executed on a variety of microarchitectures, based on RV32IMC or RV64IMC. The word visual is the point: the program runs on a drawn processor, so the learner sees where an instruction sits instead of reading a trace.

The named instruction set coverage is narrow and specific. RV32IMC and RV64IMC are the two bases the project names. Floating point and vector extensions are not mentioned anywhere in the project description, so a course built around them has to confirm support before committing to this tool.

The project is written in C++ and distributed under the MIT license. The repository includes a src folder, a test folder, and an external folder that is populated by the recursive clone covered in the build section below.

Cache designs and memory-mapped I/O are first-class things to experiment with

Beyond the pipeline, the project lists two more topics Ripes can explore: how different cache designs influence performance, and how a processor interacts with memory-mapped I/O. The first turns the simulator into a way to compare cache configurations on the same program. The second lets a student write to an address and see a peripheral respond, which is where assembly stops being abstract.

The repository also holds docs, and the project points first-time users to the introduction and tutorial at docs/introduction.md, with further material under docs/README.md. The README itself does not describe individual processor models or cache parameters, so the exact list of selectable designs is in the application and the docs. Nothing in the project says how large a cache can be configured, how many levels exist, or which replacement policies are offered. Teachers planning a lab should open the application and check the settings before writing the assignment.

C and assembly are compiled and assembled inside the tool

Ripes is also an editor. One of the stated use cases is exploring how C and assembly code is compiled and assembled to executable machine code. The edit, assemble and run loop lives in one window, so a student can change a line of assembly and watch the processor view update.

The repository ships examples in three folders: examples/C, examples/ELF and examples/assembly, tied together in examples/examples.qrc. The presence of an ELF folder means pre-built executables are among the samples, not only source files. The C folder implies the C route exists as a path from source to machine code, though the README does not name a compiler or how it is invoked.

That gap matters for anyone setting up a lab image. The tool's own text says the C and assembly flow exists but not which toolchain it uses, what version it needs or what flags it passes. A teacher who needs reproducible C output should compile a test program early and confirm the result on every lab machine.

The browser version is labelled experimental and runs on Qt for WebAssembly

A line marked Experimental invites readers to try Ripes directly in a browser at ripes.dk. The same address is the project's homepage. The README explains that the browser deployment uses Qt for WebAssembly, and the repository has a wasm-release workflow badge beside the Windows, Mac and Linux ones.

The label is the project's own warning. A browser build has no install step, which suits a lecture hall where students bring locked-down laptops, but the author does not promise it matches the desktop application. Anyone depending on it for graded work should run the same program on a desktop build too and compare results.

The four release workflows named in the badges are windows-release.yml, mac-release.yml, linux-release.yml and wasm-release.yml. Each platform has its own pipeline, so a failure in one does not have to block the others, though the README gives no policy on which platform ships first.

Linux gets an AppImage, and Windows needs the C++ runtime for msvcp140.dll

Prebuilt binaries for Linux, Windows and Mac are on the Releases page. On Linux they arrive as an AppImage. To run one, run chmod a+x on the AppImage file and then run the file. The project says the AppImage should be compatible with most Linux distributions, which is a hedge and not a guarantee.

On Windows, the C++ runtime library must be available. If it is not, the application produces a msvcp140.dll error. The project notes you most likely already have it installed, and links a Microsoft download page for the case where you do not. A student whose machine shows that error needs the Microsoft Visual C++ runtime package, and no reinstall of Ripes will fix it.

The Mac build is mentioned only as available through the Releases page. The README adds no Mac-specific note, so any Gatekeeper or signing questions are outside what the project documents.

Building needs Qt 6.5.0 or newer with Qt Charts, CMake and a recursive clone

Building from source starts with three dependencies. Qt version 6.5.0 or newer, plus Qt Charts, which is not bundled with Qt by default but can be selected during Qt installation. CMake. And on Debian-style systems:

bash
sudo apt-get install libegl1-mesa-dev

Then Ripes builds as a standard CMake project:

code
git clone --recursive https://github.com/mortbopet/Ripes.git
cd Ripes/
cmake .
Unix:               Windows:
make                jom.exe / nmake.exe / ...

The --recursive flag matters because the repository has a .gitmodules file and an external folder; a plain clone leaves submodules empty. Qt must also be on your CMAKE_PREFIX_PATH, and the project points to Qt's own CMake manual for details. A missing Qt Charts module is the dependency most likely to surprise someone who accepted the default installer choices.

Releases arrive often, and the project asks for a citation

The release list shows v2.3.1 on 2026-10-28 and v2.3.0 on 2026-10-19, nine days apart, plus a release tagged continuous published on 2026-10-28, the same moment as v2.3.1. The last push to master was on 2026-10-22, and the repository is not archived. The continuous release is the one to avoid if you need a fixed version for a course, since its contents change; the numbered builds stay put.

For questions and feature requests the project uses a discussions page, bugs go to the issues page, and a Gitter room exists. A prepareRelease.py script and a docker folder sit in the repository for maintainers.

Papers and reports should cite Ripes as Morten Borup Petersen, Ripes, with the repository address, or the WCAE'21 paper, Ripes: A Visual Computer Architecture Simulator, from the 2021 ACM/IEEE Workshop on Computer Architecture Education. The BibTeX for both is in the repository text.

Editorial conclusion

Ripes fits students and teachers who want to watch RV32IMC or RV64IMC code move through a processor, adjust a cache and poke memory-mapped I/O without writing a simulator. It is a poor fit for anyone who needs floating point or vector extensions, because the project names only the IMC variants. Before building from source, check that your Qt install includes Qt Charts, since the default installer does not bundle it.

Frequently asked questions

What is Ripes simulator?

Ripes is a visual computer architecture simulator and assembly code editor for the RISC-V instruction set architecture. It covers RV32IMC and RV64IMC microarchitectures, cache designs and memory-mapped I/O.

How do I install Ripes?

Download a prebuilt binary for Linux, Windows or Mac from the Releases page, or use the experimental browser version at ripes.dk. On Linux, run chmod a+x on the AppImage; on Windows, the C++ runtime library must be present.

What are Ripes, the RISC-V tool?

Ripes is an MIT-licensed C++ and Qt application by Morten Borup Petersen, described in a WCAE'21 paper. Its latest release is v2.3.1, dated 2026-10-28.

Official sources

  1. License: MIT
  2. mortbopet/Ripes on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/mortbopet-ripes.svg)](https://hysenlabs.com/projects/mortbopet-ripes)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/mortbopet-ripes.svg)](https://hysenlabs.com/projects/mortbopet-ripes)

Was this useful?