libriscv
sail-riscv
Our great sponsors
libriscv | sail-riscv | |
---|---|---|
16 | 9 | |
409 | 385 | |
- | 2.9% | |
9.6 | 7.7 | |
3 days ago | 7 days ago | |
C++ | Coq | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
libriscv
-
Ask HN: Looking for a project to volunteer on? (November 2023)
Seeking: https://github.com/fwsGonzo/libriscv
This is a C++ RISC-V emulator that focuses on isolating a single process, aka userspace emulation. I am currently working mostly on binary translation, and recently I have made a push to move it from experimental state to fully supported. Another experimental feature is embedding libtcc and using that for binary translation. It is fairly fast to compile, and gives decent speedups. The challenge is what to do now that (perhaps) some low hanging fruits have been picked.
-
Writing a Tiny RISC-V Emulator [video]
I definitely recommend people to consider the base ISA of RISC-V if they want to try to implement a CPU or even full-system emulation. I understand that implementing a GameBoy emulator might be more attractive because you are working towards something graphical, but you can definitely get something similar with RISC-V, eg. Doom (SDL example: https://github.com/fwsGonzo/libriscv/tree/master/examples/do...)
-
MSVC-compatible CMake project
This is the example project: https://github.com/fwsGonzo/libriscv/tree/master/examples/msvc
-
MSVC troubles
Pretty much two days of work: https://github.com/fwsGonzo/libriscv/commits/master
-
Hacker News top posts: Nov 21, 2022
Show HN: Libriscv – RISC-V userspace emulator library\ (7 comments)
- GitHub - fwsGonzo/libriscv: C++17 RISC-V RV32/64/128 userspace emulator library
- Show HN: C++17 RISC-V RV32/64/128 userspace emulator library
-
C++17 RISC-V RV32/64/128 userspace emulator library
There is a doom emulation demo here now: https://github.com/fwsGonzo/libriscv/tree/master/emulator/do...
You will need to add the shareware doom1.wad yourself. :)
sail-riscv
-
RISC-V Vector benchmark results
The official formal specification of the Vector Extension has just been merged into the Golden RISC-V model:
https://github.com/riscv/sail-riscv/commit/c90cf2e6eff5fa4ef...
-
Cascade: CPU Fuzzing via Intricate Program Generation
the retired instruction counters when written by software.
Funnily enough the Sail model had this bug too! https://github.com/riscv/sail-riscv/issues/256
-
Arm’s Cortex A510: Two Kids in a Trench Coat
> loose specification of the RISC-V ISA.
This is being worked on with the Sail model [1]. In order for a RISC-V extension to be ratified it ought to be implemented in Sail. The understanding is also that the RISC-V ISA manual should be built with code snippets from the Sail model (similar to how the Arm Arm is build from ASL definition). The main issue is a lack of people willing and able to write Sail for RISC-V. But that is beginning to change, since RISC-V member companies are increasingly use Sail. As an example, the RISC-V exception type is defined in [2]. Is that precise enough for you?
[1] https://github.com/riscv/sail-riscv
[2] https://github.com/riscv/sail-riscv/blob/master/model/riscv_...
-
RISC-V CPU formal specification F# edition
>it allows to formally verify the correctness of a particular ISA
That must be hypothetical. Functionalness of the language doesn't make anything that is written in it automatically subject to formal verification. (mechanized or pen and paper). What kind of correctness properties does it actually allow to formally verify? I understand if it was the F* language, which is a full blown dependently typed proof checker, but with F#, which is defined by the implementation and 300 page English spec, I don't think you can verify anything interesting. As far as I know F# itself doesn't have mechanized formal semantics and its type system could be unsound.
https://github.com/mit-plv/riscv-coq and https://github.com/riscv/sail-riscv (don't know how complete they are) approaches actually allow to formally (mechanically) verify riscv properties.
- 64-bit Arm ∩ 64-bit RISC V
- C++17 RISC-V RV32/64/128 userspace emulator library
-
Starting up with RISC-V
I guess you will also use Spike and the Sail model for RISC-V.
-
Areas to contribute in RISC-V RTL verification
Doing something leveraging the SAIL model would be valuable, as that's the official formal model: https://github.com/rems-project/sail-riscv
What are some alternatives?
chrgfx - Converts to and from tile based graphics from retro video game hardware
litmus-tests-riscv - RISC-V architecture concurrency model litmus tests
stduuid - A C++17 cross-platform implementation for UUIDs
riscv-isa-sim - Spike, a RISC-V ISA Simulator
lager - C++ library for value-oriented design using the unidirectional data-flow architecture — Redux for C++
riscv-dv - Random instruction generator for RISC-V processor verification
seer - Seer - a gui frontend to gdb
riscv-coq - RISC-V Specification in Coq
nomenus-rex - A CLI utility for the file mass-renaming
force-riscv - Instruction Set Generator initially contributed by Futurewei
GPU-Raytracer - GPU Raytracer from scratch in C++/CUDA
Forvis_RISCV-ISA-Spec - Formal specification of RISC-V Instruction Set