RISC-V processors based on increasingly popular open standard instruction set architecture (ISA) are challenging to verify because of their optional features, implementation flexibility, and custom extensions. However, their uniformity and modular design present a unique opportunity to develop a high-quality verification environment automatically. In this paper, we propose a tool named Codriver, which automatically produces a test environment for RISC-V processors using constrained random test vector generation, followed by an intelligent feedback mechanism. The results on four different RISC-V ISAs demonstrate Codriver’s capabilities, effectiveness, and versatility. The feedback mechanism applies incremental patches to the test bench to fill the functional coverage gaps and achieves high coverage ( \(\sim 99\%\) ) with a small set of instructions ( \(\sim 300-400\) ).

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Codriver: A Tool for Coverage-Driven Functional Verification of RISC-V Processors

  • Dikshant Yadav,
  • Priyanka Bhagat,
  • Pooja Beniwal,
  • Sneh Saurabh

摘要

RISC-V processors based on increasingly popular open standard instruction set architecture (ISA) are challenging to verify because of their optional features, implementation flexibility, and custom extensions. However, their uniformity and modular design present a unique opportunity to develop a high-quality verification environment automatically. In this paper, we propose a tool named Codriver, which automatically produces a test environment for RISC-V processors using constrained random test vector generation, followed by an intelligent feedback mechanism. The results on four different RISC-V ISAs demonstrate Codriver’s capabilities, effectiveness, and versatility. The feedback mechanism applies incremental patches to the test bench to fill the functional coverage gaps and achieves high coverage ( \(\sim 99\%\) ) with a small set of instructions ( \(\sim 300-400\) ).