#specification #translation #regsiter

softcore-rv64

A Rust translation of the RISC-V 64 specification

6 releases (breaking)

Uses new Rust 2024

0.5.0 Oct 19, 2025
0.4.1 Jul 30, 2025
0.3.0 Jul 6, 2025
0.2.0 Jun 16, 2025
0.1.0 Jun 8, 2025

#41 in Emulators

Download history 74/week @ 2025-07-14 72/week @ 2025-07-21 132/week @ 2025-07-28 11/week @ 2025-08-04 2/week @ 2025-08-11 2/week @ 2025-08-18 14/week @ 2025-09-01 2/week @ 2025-09-08 7/week @ 2025-09-29 3/week @ 2025-10-06 60/week @ 2025-10-13 66/week @ 2025-10-20 5/week @ 2025-10-27

135 downloads per month
Used in softcore-asm-rv64

MIT/Apache

6.5MB
18K SLoC

Softcore RISC-V 64

This library is a wrapper around a Rust translation of the official RISC-V executable specification. The software core can be used to test the behavior of the hardware, for instance to check if a memory access is allowed, or the register state after taking a trap. This is especially helpful to test or verify low-level software, such as kernels, hypervisors, or firmware.

The raw translation is exposed in the [raw] module. A more polished (and slightly more stable) interface is exposed through the [Core] methods.


Softcore RV64

A Rust translation of the RISC-V executable specification.

This crate is still experimental, see the project repository for more details.

Dependencies