FuzzWiz -- Fuzzing Framework for Efficient Hardware Coverage

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gadde, Deepak Narayan, Kumar, Aman, Lettnin, Djones, Simon, Sebastian
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911310529167360
author Gadde, Deepak Narayan
Kumar, Aman
Lettnin, Djones
Simon, Sebastian
author_facet Gadde, Deepak Narayan
Kumar, Aman
Lettnin, Djones
Simon, Sebastian
contents Ever-increasing design complexity of System-on-Chips (SoCs) led to significant verification challenges. Unlike software, bugs in hardware design are vigorous and eternal i.e., once the hardware is fabricated, it cannot be repaired with any patch. Despite being one of the powerful techniques used in verification, the dynamic random approach cannot give confidence to complex Register Transfer Leve (RTL) designs during the pre-silicon design phase. In particular, achieving coverage targets and exposing bugs is a complicated task with random simulations. In this paper, we leverage an existing testing solution available in the software world known as fuzzing and apply it to hardware verification in order to achieve coverage targets in quick time. We created an automated hardware fuzzing framework FuzzWiz using metamodeling and Python to achieve coverage goals faster. It includes parsing the RTL design module, converting it into C/C++ models, creating generic testbench with assertions, fuzzer-specific compilation, linking, and fuzzing. Furthermore, it is configurable and provides the debug flow if any crash is detected during the fuzzing process. The proposed framework is applied on four IP blocks from Google's OpenTitan chip with various fuzzing engines to show its scalability and compatibility. Our benchmarking results show that we could achieve around 90% of the coverage 10 times faster than traditional simulation regression based approach.
format Preprint
id arxiv_https___arxiv_org_abs_2410_17732
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FuzzWiz -- Fuzzing Framework for Efficient Hardware Coverage
Gadde, Deepak Narayan
Kumar, Aman
Lettnin, Djones
Simon, Sebastian
Hardware Architecture
Artificial Intelligence
Software Engineering
Ever-increasing design complexity of System-on-Chips (SoCs) led to significant verification challenges. Unlike software, bugs in hardware design are vigorous and eternal i.e., once the hardware is fabricated, it cannot be repaired with any patch. Despite being one of the powerful techniques used in verification, the dynamic random approach cannot give confidence to complex Register Transfer Leve (RTL) designs during the pre-silicon design phase. In particular, achieving coverage targets and exposing bugs is a complicated task with random simulations. In this paper, we leverage an existing testing solution available in the software world known as fuzzing and apply it to hardware verification in order to achieve coverage targets in quick time. We created an automated hardware fuzzing framework FuzzWiz using metamodeling and Python to achieve coverage goals faster. It includes parsing the RTL design module, converting it into C/C++ models, creating generic testbench with assertions, fuzzer-specific compilation, linking, and fuzzing. Furthermore, it is configurable and provides the debug flow if any crash is detected during the fuzzing process. The proposed framework is applied on four IP blocks from Google's OpenTitan chip with various fuzzing engines to show its scalability and compatibility. Our benchmarking results show that we could achieve around 90% of the coverage 10 times faster than traditional simulation regression based approach.
title FuzzWiz -- Fuzzing Framework for Efficient Hardware Coverage
topic Hardware Architecture
Artificial Intelligence
Software Engineering
url https://arxiv.org/abs/2410.17732