SPINALFUZZ: Coverage-Guided Fuzzing for SpinalHDL Designs

Activity: Talk or presentationContributed talkscience-to-science

Description

Boosting hardware design productivity is a ma- jor plus of SpinalHDL, a Scala-based Hardware Description Language (HDL). SpinalHDL achieves this by providing ob- ject oriented programming, functional programming, and meta- hardware description finally enabling the generation of Verilog code. Despite all the advantages of SpinalHDL, verification is the biggest challenge here as well. In this paper, we bring Coverage-Guided Fuzzing (CGF), a well- established software testing technique, to the SpinalHDL design flow. We have implemented our approach SPINALFUZZ on top of the fuzzer AFL++. We leverage Scala-features to automate as many tasks as possible and ease the integration of fuzzing in SpinalHDL. In the experiments we demonstrate the effectiveness of SPINALFUZZ in comparison to Constrained Random Verifica- tion (CRV). For a wide range of SpinalHDL designs we show that SPINALFUZZ outperforms CRV and reaches coverage-closure.
Period25 May 2022
Event titleKonferenz
Event typeConference
LocationSpainShow on map

Fields of science

  • 202017 Embedded systems
  • 202005 Computer architecture
  • 102005 Computer aided design (CAD)
  • 102 Computer Sciences
  • 102011 Formal languages

JKU Focus areas

  • Digital Transformation