Overview
RISC-V compliance suites are directed test suites used in RISC-V processor verification to provide structured architectural validation and feature coverage. The evidence describes ImperasTS as a directed suite family that complements constrained-random generation by targeting areas where random stimulus can leave coverage gaps. [C1]
Within this flow, TS-ISA provides architectural validation tests described as similar to compliance suites and included with ImperasDV licences. Additional ImperasTS suites target vector extensions, virtual memory, and protection features. [C2]
Suite Types
The ImperasTS family described in the evidence includes:
- TS-ISA: architectural validation tests, similar to compliance suites, included with ImperasDV licences. [C2]
- TS-VECT: targeted test suites for RISC-V vector extensions. [C2]
- TS-MMU / PMP / ePMP: directed suites for virtual memory management and memory protection features. [C2]
The vector, MMU, PMP, and ePMP suites are configured to match the user's RISC-V processor. [C3]
Role in Coverage Closure
Directed compliance-oriented suites are used to close coverage gaps left by broader random exploration. The evidence gives an example in which coverage analysis found weak points in Sv39 and Sv48 page-table walks; adding TS-MMU tests exposed a subtle ordering issue in TLB flush logic. [C3]
A typical hybrid verification workflow begins with constrained-random sweeps using STING, then applies functional coverage analysis with ImperasFC, and finally uses targeted directed suites such as ImperasTS where coverage gaps remain. [C4]
Self-Checking and Reference Comparison
ImperasTS suites are described as self-checking and as automatically comparing results against a reference model. This makes them useful for detecting subtle design issues while accelerating coverage closure. [C5]
In a broader flow, ImperasDV can provide lock-step comparison against a reference model, catching errors at instruction retirement. This debug style helps identify mismatches immediately and simplifies root-cause analysis. [C6]
Portability and Lifecycle Use
The evidence describes a portable RISC-V verification approach in which tests can run across simulation, emulation, FPGA prototyping, and silicon. Tests developed during RTL bring-up can remain useful in later validation stages. [C7]
The same stimulus can be reused in environments such as VCS simulation, ZeBu emulation, and HAPS prototyping, with Verdi used for centralized debug in the described flow. [C8]
Benefits
The compliance-suite-oriented directed testing approach contributes to:
- Faster coverage closure, by combining random stimulus for unexpected behavior with directed suites for precise closure. [C9]
- Improved debug efficiency, by using self-checking tests and lock-step comparison to identify mismatches early. [C6]
- Scalability and reproducibility, through logged seeds and directed reruns across regression cycles. [C9]
- Future-ready compliance coverage, including RISC-V profiles such as RVA22 and RVA23 and privilege-related specifications such as MMU, PMP, hypervisor, and vector extensions. [C9]
Position in a RISC-V Verification Strategy
The evidence recommends using broad constrained-random exploration first, then applying targeted ImperasTS suites for compliance, MMU, PMP, and vector extensions where coverage gaps remain. Coverage and debug results can be integrated by merging ImperasFC or ImperasSC results into Verdi and replaying failing cases deterministically in VCS. [C10]