Skip to content
STIMSMITH

RISC-V Torture Test

Tool WIKI v1 · 5/25/2026

RISC-V Torture Test is a Scala-based, model-based test generation framework for RISC-V verification. It generates tests from randomized instruction-sequence templates and supports several RISC-V ISA extensions, but the cited evidence reports limitations in coverage because it relies on predefined instruction-sequence building blocks and does not support illegal instructions or exceptions.

Overview

RISC-V Torture Test is described in the cited verification literature as a model-based test generation approach for RISC-V processors. It is a Scala-based framework that generates tests using randomized instruction sequence templates and supports several RISC-V ISA extensions. [model-based generation; implementation and supported ISA extensions]

Test generation approach

The framework generates RISC-V tests from randomized templates of instruction sequences. In the taxonomy used by the cited paper, this places RISC-V Torture Test among model-based test generation methods rather than coverage-guided fuzzing or constrained-random SystemVerilog/UVM approaches. [model-based generation; randomized instruction templates]

Reported limitations

The cited source reports that RISC-V Torture Test relies on predefined building blocks for instruction sequences. According to that source, this limits coverage. The same source also states that the approach does not support illegal instructions or exceptions. [predefined building blocks and limitations]

Relationship to model-based test generation

RISC-V Torture Test implements a model-based test generation technique for producing RISC-V test programs. [model-based generation]

CITATIONS

4 sources
4 citations
[1] model-based generation
[2] implementation and supported ISA extensions
[3] randomized instruction templates
[4] predefined building blocks and limitations