ab-riscv-primitives 0.0.1

Composable RISC-V primitives (instructions, registers) and abstractions around them
Documentation
  • Coverage
  • 18.55%
    341 out of 1838 items documented0 out of 31 items with examples
  • Size
  • Source code size: 462.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 19.99 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 33s Average build duration of successful builds.
  • all releases: 33s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • nazar-pc/abundance
    23 6 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nazar-pc

Composable RISC-V primitives (instructions, registers) and abstractions around them.

The primitives are designed to be generic over the number of general purpose registers, and a macro system allows composing base ISA like RV64 with a desired set of standard or custom extensions/instructions. Trait abstractions are designed to allow expressing generic APIs without hardcoding specific types whenever possible.

The immediate needs dictate the current set of available instructions and extensions. Consider contributing if you need something not yet available.

ab-riscv-interpreter crate contains a complementary interpreter implementation, but these primitives are completely independent.

Does not require a standard library (no_std) or an allocator.