riscv-boom VS sail-riscv

Compare riscv-boom vs sail-riscv and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
riscv-boom sail-riscv
12 8
1,593 385
3.0% 2.9%
7.2 7.7
about 1 month ago 7 days ago
Scala Coq
BSD 3-clause "New" or "Revised" License 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.

riscv-boom

Posts with mentions or reviews of riscv-boom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-10.

sail-riscv

Posts with mentions or reviews of sail-riscv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-11.
  • RISC-V Vector benchmark results
    4 projects | news.ycombinator.com | 11 Nov 2023
    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
    3 projects | news.ycombinator.com | 23 Oct 2023
    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
    1 project | news.ycombinator.com | 2 Oct 2023
    > 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
    6 projects | news.ycombinator.com | 28 Jul 2023
    >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
    2 projects | /r/asm | 7 Jun 2023
  • C++17 RISC-V RV32/64/128 userspace emulator library
    5 projects | news.ycombinator.com | 18 Nov 2022
  • Starting up with RISC-V
    3 projects | /r/RISCV | 4 Feb 2022
    I guess you will also use Spike and the Sail model for RISC-V.
  • Areas to contribute in RISC-V RTL verification
    5 projects | /r/RISCV | 6 Mar 2021
    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?

When comparing riscv-boom and sail-riscv you can also consider the following projects:

rocket-chip - Rocket Chip Generator

litmus-tests-riscv - RISC-V architecture concurrency model litmus tests

openc910 - OpenXuantie - OpenC910 Core

riscv-isa-sim - Spike, a RISC-V ISA Simulator

XiangShan - Open-source high-performance RISC-V processor

riscv-dv - Random instruction generator for RISC-V processor verification

rsd - RSD: RISC-V Out-of-Order Superscalar Processor

riscv-coq - RISC-V Specification in Coq

riscv-mini - Simple RISC-V 3-stage Pipeline in Chisel

libriscv - C++20 RISC-V RV32/64/128 userspace emulator library

Cores-VeeR-EL2 - VeeR EL2 Core

force-riscv - Instruction Set Generator initially contributed by Futurewei