# riscv-software-src/riscv-tests

Repository: https://github.com/riscv-software-src/riscv-tests
Canonical: https://ross.abutalabs.com/products/riscv-tests
Homepage: https://riscv.atlassian.net/browse/RVG-476
Language: Assembly
License: NOASSERTION
License Family: other
Last push: 2026-08-14T22:09:19+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4879, "days_push": 19, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1236, forks 562 (observed 2026-08-28T04:04:05.019798+00:00)

## What it is
The official unit test suite for RISC-V processor implementations, written mostly in assembly. Tests are organized by test virtual machines (TVMs) covering user- and supervisor-level integer, floating-point, and vector instruction sets.

## Use cases
- verify a RISC-V processor implementation against the ISA spec
- run compliance tests for RV32 and RV64 cores
- test floating-point and vector extensions of a RISC-V CPU
- validate supervisor-level instructions in a RISC-V simulator
- regression-test a custom RISC-V core during development

## When to choose
- you are implementing or verifying a RISC-V processor, simulator, or emulator
- you need the canonical ISA-level unit tests maintained by the RISC-V community

## When to avoid
- you need application-level or software testing tools rather than CPU instruction tests
- you are not working with RISC-V hardware or simulation
- you need a turnkey compliance certification suite with formal reporting

## Facets
- artifact type: library
- maturity: active
- function: testing, developer-tools
- domain: hardware, embedded-systems, developer-tools
- platform: cli, cpp
- tags: risc-v, processor-verification, assembly, unit-tests, cpu-architecture, linux

## Member repositories
- riscv-software-src/riscv-tests (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:05.019798+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:00.801435+00:00, confidence not recorded.
  - readme: https://github.com/riscv-software-src/riscv-tests (fetched 2026-08-28T04:04:05.019798+00:00, sha e98b06774d7b)
  - homepage: https://riscv.atlassian.net/browse/RVG-476 (fetched 2026-08-29T12:21:16.325568+00:00, sha 9b9e8314182f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
