VeriBug: An Attention-based Framework for Bug-Localization in Hardware Designs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Stracquadanio, Giuseppe, Medya, Sourav, Quer, Stefano, Pal, Debjit
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929213175496704
author Stracquadanio, Giuseppe
Medya, Sourav
Quer, Stefano
Pal, Debjit
author_facet Stracquadanio, Giuseppe
Medya, Sourav
Quer, Stefano
Pal, Debjit
contents In recent years, there has been an exponential growth in the size and complexity of System-on-Chip designs targeting different specialized applications. The cost of an undetected bug in these systems is much higher than in traditional processor systems as it may imply the loss of property or life. The problem is further exacerbated by the ever-shrinking time-to-market and ever-increasing demand to churn out billions of devices. Despite decades of research in simulation and formal methods for debugging and verification, it is still one of the most time-consuming and resource intensive processes in contemporary hardware design cycle. In this work, we propose VeriBug, which leverages recent advances in deep learning to accelerate debugging at the Register-Transfer Level and generates explanations of likely root causes. First, VeriBug uses control-data flow graph of a hardware design and learns to execute design statements by analyzing the context of operands and their assignments. Then, it assigns an importance score to each operand in a design statement and uses that score for generating explanations for failures. Finally, VeriBug produces a heatmap highlighting potential buggy source code portions. Our experiments show that VeriBug can achieve an average bug localization coverage of 82.5% on open-source designs and different types of injected bugs.
format Preprint
id arxiv_https___arxiv_org_abs_2401_09494
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle VeriBug: An Attention-based Framework for Bug-Localization in Hardware Designs
Stracquadanio, Giuseppe
Medya, Sourav
Quer, Stefano
Pal, Debjit
Hardware Architecture
Machine Learning
In recent years, there has been an exponential growth in the size and complexity of System-on-Chip designs targeting different specialized applications. The cost of an undetected bug in these systems is much higher than in traditional processor systems as it may imply the loss of property or life. The problem is further exacerbated by the ever-shrinking time-to-market and ever-increasing demand to churn out billions of devices. Despite decades of research in simulation and formal methods for debugging and verification, it is still one of the most time-consuming and resource intensive processes in contemporary hardware design cycle. In this work, we propose VeriBug, which leverages recent advances in deep learning to accelerate debugging at the Register-Transfer Level and generates explanations of likely root causes. First, VeriBug uses control-data flow graph of a hardware design and learns to execute design statements by analyzing the context of operands and their assignments. Then, it assigns an importance score to each operand in a design statement and uses that score for generating explanations for failures. Finally, VeriBug produces a heatmap highlighting potential buggy source code portions. Our experiments show that VeriBug can achieve an average bug localization coverage of 82.5% on open-source designs and different types of injected bugs.
title VeriBug: An Attention-based Framework for Bug-Localization in Hardware Designs
topic Hardware Architecture
Machine Learning
url https://arxiv.org/abs/2401.09494