VeRLPy: Python Library for Verification of Digital Designs with Reinforcement Learning

Aebel Joe Shibu, Sadhana S, Shilpa N, Pratyush Kumar
8/9/2021
cs.ARcs.LGcs.SE
rl

Official code: aebeljs/VeRLPy (32 stars, Python, MIT, last commit 2022-10-05).

Abstract

Digital hardware is verified by comparing its behavior against a reference model on a range of randomly generated input signals. The random generation of the inputs hopes to achieve sufficient coverage of the different parts of the design.

Show full abstract

However, such coverage is often difficult to achieve, amounting to large verification efforts and delays. An alternative is to use Reinforcement Learning (RL) to generate the inputs by learning to prioritize those inputs which can more efficiently explore the design under test. In this work, we present VeRLPy an open-source library to allow RL-driven verification with limited additional engineering overhead. This contributes to two broad movements within the EDA community of (a) moving to open-source toolchains and (b) reducing barriers for development with Python support. We also demonstrate the use of VeRLPy for a few designs and establish its value over randomly generated input signals.

View on arXivView PDF

Code Implementations(1)

aebeljs/VeRLPyOfficial100%
MIT

VeRLPy is an open-source python library developed to improve the digital hardware verification process by using Reinforcement Learning (RL). It provides a generic Gym environment implementation for building cocotb-based testbenches for verifying any hardware design.

324PythonNov 8, 20204 years agoMIT
hardware-verificationreinforcement-learning

Similar Papers

Cite this paper

@article{shibu2021verlpy,
  title  = {VeRLPy: Python Library for Verification of Digital Designs with Reinforcement Learning},
  author = {Aebel Joe Shibu and Sadhana S and Shilpa N and Pratyush Kumar},
  year   = {2021},
  eprint = {2108.03978},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.03978}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.03978.svg)](https://codeofpaper.com/paper/2108.03978)

Discussion