QtRvSim 是捷克技术大学计算机体系结构教学团队开发的 RISC-V 处理器可视化仿真器,让汇编指令逐条执行时寄存器、内存和流水线的变化都直观可见。它内置汇编器、外设与中断支持,还能在浏览器里直接试用。适合学习计算机组成原理的学生、讲授体系结构的教师,以及想弄懂 RISC-V 底层运行机制的开发者。
核心亮点:
- 指令逐条执行,寄存器与内存变化实时可视化
- 内置汇编器,可直接编写并运行 RISC-V 程序
- 支持外设、中断与系统调用,贴近真实硬件
- 提供浏览器在线版本,免安装即可上手体验
当前版本 v0.9.9(2026-09-29 发布),开源协议 GPL-3.0,GitHub 650 star。
![]()

核心信息
| 软件名称 | Qtrvsim(cvut/qtrvsim) |
| 当前版本 | v0.9.9 |
| 更新日期 | 2026-09-29 |
| 开源协议 | GPL-3.0 |
| 软件分类 | macOS 软件 |
| 关键词 | computer-architecture、cpu-emulator、risc-v、teaching |
本次更新内容
- 新版本大幅提升模拟器与界面运行速度,并显示处理器频率,操作更流畅。
- 新增虚拟内存与地址转换支持,可运行更复杂的操作系统镜像,界面提供可视化统计。
- 汇编器修正运算符结果,分支预测更准确,调试信息与符号表导出更完善。
- 命令行新增符号表导出与输入映射选项,方便脚本化调试和自动化测试。
- 界面修复缩放与内存视图崩溃问题,隐藏寄存器更新更高效,并新增使用手册。
查看官方英文更新日志(原文)
* Machine/GUI: Not Most Recently Used cache policy by brsf11 * Machine/GUI: lot of speedup optimizations by Jakub Dupak * Core: use QElapsedTimer for similar speedup by Jakub Dupak * GUI: Show core frequency by Jakub Dupak * Packaging: updated SUSE packaging based on consultation with Lubos Kocman * Assembler: correct %hi operator result for lower 12 bits values above 0x7ff * Predictor: always taken result fix by Stepan Pressl * Project: add riscv nix shells * GUI: Ignore updates on hidden registers and batch update when shown * GUI: Performance optimizations by Jakub Dupak * CLI: defer start of code (play) to be run from QCoreApplication main event loop * CLI: Implemented console option to dump the symbol table by Markus Gschoßmann * Project: replace libelf with libelfin by Jakub Dupak * GUI: fix zoom scaling issue by Adam Nemec * Machine: add supervisor CSRs and sstatus handling by Adam Nemec * Machine: add TLB with policies and add Sv32 by Adam Nemec * GUI: add TLB visualization and statistics dock by Adam Nemec * GUI: add "As CPU (VMA)" memory access view by Adam Nemec * Sv32 MMU Implementation by Adam Nemec * Branch predictor and L2 cache access cli configuratio by Thanasis Kyprianos * Docs: Initial version of the User Manual in simple MarkDown format by Filip Kraus * CI: Deploy user manual as github pages by Jakub Dupak * GUI: use AddressWithMode to prevent crashes in memory view * CLI: Add support for mapping stdin to a host file in syscall emulation by Naoya Niwa * Machine: add SV39 / 64-bit page-table walker and TLB support by Adam Nemec * Support for xv6 (MIT PDOS), S-mode CSR and more by Adam Nemec * Docs: add virtual memory (TLB) documentation by Adam Nemec * GUI: Separate GUI into a library by Jakub Dupak * Project: switch libelfin to cvut fork by Jakub Dupak * Machine: work on MMU, TLB, memory and modes logic to really work by Pavel Pisa * Machine: extend memory-backed to support large/64-bit memory * GUI: program view read and write access through TLB and cache synchronization * Machine: add Sv39 support of PBMT, uncached control by page table * feat: added webeval integration to submit and load tasks by Jakub Pelc * Machine: postpone CSR access fault to commit stage * GUI: adapt address HexLineEdit and address column in memory views to XLEN64 * Machine: use CachePolicy for replacement computations in TLB * Machine: implement read and write access modifications by mstatus.MPRV * Packaging: switch to Qt6 as default, keep Qt5 for old distributions * Machine: set UXL in sstatus to 2 for RV64 ISA variant * CI: Use temporary GitHub mirror for stud-support tests (stopgap) * Debuginfo integration to integrated assembler and ELF up-to Dwarf-4 by Jakub Dupak * Project: move generated project_info.h to the project build directory * GUI: fix "#pragma qtrvsim tab core" function * GUI: delay printer and print dial
下载地址
以下为官方原包,本站不二次打包;多个文件为不同包型,按需选择其中一个下载即可:
qtrvsim-emscripten-v0.9.9.zip(便携版·解压即用 | 5.5 MB)
qtrvsim-macos-v0.9.9.dmg(官方原包 | 18.8 MB)
qtrvsim-macos-v0.9.9.zip(便携版·解压即用 | 40.7 MB)
qtrvsim-mingw32-v0.9.9.zip(便携版·解压即用 | 22.1 MB)
✅ 上方 SHA256 与官方发布值一致,可自行核对。
快速上手
- 运行下载好的安装包,把 QtRvSim 拖入「应用程序」文件夹完成安装。
- 首次启动后,在左侧编辑区编写或打开 RISC-V 汇编程序,准备运行。
- 使用集成汇编器把源码汇编成可执行程序,再载入模拟器。
- 点击运行控制按钮开始单步或连续执行,观察寄存器与内存变化。
提示:也可在浏览器中直接体验网页版,无需安装。
讨论(0 条)