Skip to content
STIMSMITH

riscv_instr_registry class

CodeArtifact

The `riscv_instr_registry` class is an eUVM RISCV-DV code artifact created to hold instruction-registration state and related functions that were previously static in `riscv_instr.sv`. It supports RISCV-DV instruction generation by preserving singleton-style registry behavior through an instance stored in `riscv_instr_gen_config`, and it is associated with RISCV-DV’s custom instruction factory approach that avoids slow UVM Factory lookups for large instruction sets.

First seen 5/25/2026
Last seen 5/25/2026
Evidence 2 chunks
Wiki v1

WIKI

Overview

riscv_instr_registry is a class introduced in the eUVM RISCV-DV port for instruction registry management. The DVCon paper describes that the original RISCV-DV SystemVerilog source had statically scoped variables in riscv_instr.sv used to register RISC-V instructions with the instruction generator. In the eUVM port, those variables and related functions were refactored into a separate class named riscv_instr_registry, specifically for instruction registry functionality. [registry-refactor]

Purpose

READ FULL ARTICLE →

NEIGHBORHOOD

No graph connections found for this entity yet. It may appear in future ingestion runs.

explore full graph →

RELATIONSHIPS

2 connections
Instruction Registry implements → 100% 2e
The riscv_instr_registry class implements instruction registration for RISCV-DV in eUVM.
riscv-dv part of → 100% 1e
The riscv_instr_registry class is part of the eUVM port of RISCV-DV.