riscv-isa-sim
Spike, a RISC-V ISA Simulator (by riscv-software-src)
jailhouse
Linux-based partitioning hypervisor (by siemens)
riscv-isa-sim | jailhouse | |
---|---|---|
15 | 3 | |
2,475 | 1,758 | |
2.7% | 0.9% | |
9.4 | 0.0 | |
7 days ago | 7 months ago | |
C | C | |
GNU General Public License v3.0 or later | 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.
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.
jailhouse
Posts with mentions or reviews of jailhouse.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-13.
-
Is there a way to run RISCV sim spike on bare metal?
You could run it inside something like jailhouse hypervisor (https://github.com/siemens/jailhouse) if you want to give it direct dedicated "baremetal" access to hardware. You could do this inside of a buildroot linux image. This would need a customized simulator.
-
Nano98: Windows 98 that boots and runs under 5MB
Yes indeed, and Siemens even has their own hypervisor: https://github.com/siemens/jailhouse
-
Rust for realtime motion control.
Yeah, I think that is what something like https://www.toradex.com/computer-on-modules/apalis-arm-family/nxp-imx-8 is useful for, where it has a separate core. Or even on linux you can use isolcpus to get pseudo-isolation. There are also hardware hypervisors like Jailhouse (https://github.com/siemens/jailhouse) which can completely isolate hardware resources and I suppose might prevent the GPU from causing an issue with realtime task. But this definitely affects ease-of-use and probably requires a reduced feature set in the language (no dynamic allocations) and lots of unsafe code.
What are some alternatives?
When comparing riscv-isa-sim and jailhouse you can also consider the following projects:
riscv-arch-test
linux-embedded-hal - Implementation of the `embedded-hal` traits for Linux devices
sail-riscv - Sail RISC-V model
embedded-trainings-2020
rvv-intrinsic-doc
wiser - :racehorse: Extremely minimal vmm for linux written in C. Hopefully someday will spin linux-vm for you.
qemu
Hypervisor-From-Scratch - Source code of a multiple series of tutorials about the hypervisor. Available at: https://rayanfam.com/tutorials
nanoCH32V305
ethercat - Rust wrapper for the IgH EtherCAT master
riscv-none-elf-gcc-xpack - A binary distribution of the GNU RISC-V Embedded GCC toolchain
kernel-fuzzer-for-xen-project - Kernel Fuzzer for Xen Project (KF/x) - Hypervisor-based fuzzing using Xen VM forking, VMI & AFL
riscv-isa-sim vs riscv-arch-test
jailhouse vs linux-embedded-hal
riscv-isa-sim vs sail-riscv
jailhouse vs embedded-trainings-2020
riscv-isa-sim vs rvv-intrinsic-doc
jailhouse vs wiser
riscv-isa-sim vs qemu
jailhouse vs Hypervisor-From-Scratch
riscv-isa-sim vs nanoCH32V305
jailhouse vs ethercat
riscv-isa-sim vs riscv-none-elf-gcc-xpack
jailhouse vs kernel-fuzzer-for-xen-project