Firefly: Shedding Light on Verification Gaps using LLM-Powered Mutation Testing

2025

Closed access Metadata (CSL-JSON)
DOI 10.1109/mlcad65511.2025.11189125
Data confidence 70 medium
How this score is calculated

It is built from checkable properties of the record itself: whether the article has a DOI, how many independent sources confirmed its data, whether the required fields are filled in, and how recent the latest confirmation is. Disagreement between sources and a missing identifier lower it. A value of 80 or above means the record was published without further checking; 60 to 79 means it is published at reduced confidence, with a manual check advisable. A record verified by an editor by hand is never pushed below 90 by a recalculation. This scores our data about the article, not the article itself.

Abstract

Design verification remains one of the most challenging and resource-intensive stages in hardware development, with verification quality often dependent on the experience and judgment of engineers. Despite decades of research and tool development, functional bugs continue to escape to silicon, leading to costly respins and delayed product cycles. This paper introduces Firefly, a mutation testing framework that leverages large language models (LLMs) to inject context-aware faults into hardware designs. By evaluating whether a given verification infrastructure can detect these injected faults, Firefly reveals hidden weaknesses in the test suite and coverage model.We evaluate Firefly on two processors with contrasting architectures and verification strategies: Maveric Core 2, a five-stage RV64I pipeline, and Bitty, a 16-bit multicycle educational core. Both designs achieve high conventional coverage metrics—95% and 90% combined line and toggle coverage, respectively. However, Firefly reveals that a significant fraction of injected faults remain undetected: 28% of bugs went undetected in Maveric Core 2, and 67% in Bitty. These results highlight the limitations of traditional coverage-based assessment and underscore the need for deeper infrastructure qualification. Firefly addresses this gap through LLM-driven mutation testing, providing a lightweight, non-intrusive, and open-source solution that integrates seamlessly into modern verification workflows.