Nanyang Technological University
UVM-based verification of a five-stage pipelined RV32IM RISC-V core
Abstract
dc:description.abstractThis dissertation investigates instruction-level functional verification of a self-developed five-stage pipelined RV32IM (32-bit base integer instruction set with the standard multiplication/division extension) RISC-V (Reduced Instruction Set Computer Five) processor core and presents a Universal Verification Methodology (UVM)-based lockstep framework using Spike as the reference model. C/assembly test programs are compiled to produce an Executable and Linkable Format (ELF) for Spike and a memory-initialization hex for the design under test (DUT), ensuring the same instruction stream and consistent initialization. A UVM monitor captures commit information at the write-back boundary, including program counter updates, register write-back events, and memory access effects. A scoreboard controls Spike via a DPI-C wrapper to execute one instruction per step and compares golden results against the DUT, reporting mismatches for debugging and regression. The framework exposed defects in instruction decoding, immediate generation, hazard handling, control-flow redirection, and write-back logic. After fixes, the DUT matched Spike within the verification scope. Coverage results confirm full execution of the supported RV32IM instruction set and improved depth after adding corner-case tests and constrained random test cases.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Liu, Yuke
- Advisor dc:contributor.supervisor
-
- Goh Wang Ling
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/214943