cavatools
Cavatools is a RISC-V architectural simulator. (by phaa-eu)
riscv-isa-sim
Spike, a RISC-V ISA Simulator (by riscv-software-src)

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
cavatools | riscv-isa-sim | |
---|---|---|
2 | 15 | |
4 | 2,573 | |
- | 2.3% | |
4.0 | 9.3 | |
over 1 year ago | 4 days ago | |
C++ | C | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cavatools
Posts with mentions or reviews of cavatools.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-09.
-
Help needed in building cavatools
here is what i did. $git clone https://github.com/phaa-eu/cavatools then cloned all the 4 repos into a directory riscv-tools. checkedout risv-opcodes to relavant commit.
riscv-isa-sim
Posts with mentions or reviews of riscv-isa-sim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
RISC-V simulator
Someone correct me if I'm wrong, but Spike is considered the gold standard for RISV-V simulation, in terms of support for extensions and overall correctness. As I understand it, QEMU is faster and easier to use for day-to-day for general software development.
- Help needed in building cavatools
- GCC 13 Adds RISC-V T-Head Vendor Extension Collection
-
Hardware/software to run RISC-V ASM?
Spike is an RISC-V instruction set simulator: https://github.com/riscv-software-src/riscv-isa-sim
-
most underrated cpp project you’ve seen?
I really like the source code for the Spike RISC-V ISA Simulator. It's not very heavily commented, though, so you really need to read the code.
- C++17 RISC-V RV32/64/128 userspace emulator library
- Buying RISC-V development board
-
Is there a way to run RISCV sim spike on bare metal?
If you want to run bare metal with no RTOS, it should be possible, but you will need to replace the main startup program (https://github.com/riscv-software-src/riscv-isa-sim/blob/master/spike_main/spike.cc) with some program to set up the hardware and instantiate the simulator, load the OS image etc and then have a decent runtime environment to that supports malloc() etc and redirect IO to serial or flash memory etc. There is a bit of work you would need to do.
- switching between privilege levels
-
Starting up with RISC-V
I guess you will also use Spike and the Sail model for RISC-V.
What are some alternatives?
When comparing cavatools and riscv-isa-sim you can also consider the following projects:
riscv-opcodes - RISC-V Opcodes
qemu
riscv-arch-test
riscv-none-elf-gcc-xpack - A binary distribution of the GNU RISC-V Embedded GCC toolchain
nanoCH32V305
tinyemu - Fabrice Bellard's tinyemu (https://bellard.org/tinyemu/)
jailhouse - Linux-based partitioning hypervisor
discreture - A modern C++ library for efficiently and easily iterating through common combinatorial objects, such as combinations, permutations, partitions and more.
sail-riscv - Sail RISC-V model
rvv-intrinsic-doc
ch32v307 - Including the SDK、HDK、Datasheet of RISC-V MCU CH32V307 and other relevant development materials
cavatools vs riscv-opcodes
riscv-isa-sim vs qemu
riscv-isa-sim vs riscv-arch-test
riscv-isa-sim vs riscv-none-elf-gcc-xpack
riscv-isa-sim vs nanoCH32V305
riscv-isa-sim vs tinyemu
riscv-isa-sim vs jailhouse
riscv-isa-sim vs riscv-opcodes
riscv-isa-sim vs discreture
riscv-isa-sim vs sail-riscv
riscv-isa-sim vs rvv-intrinsic-doc
riscv-isa-sim vs ch32v307

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured