arXiv AI

BugGen 2.0: Rethinking the Roles of LLMs for Scalable RTL Bug Synthesis

BugGen 2.0 redefines how large language models (LLMs) are used for generating RTL bug datasets by delegating structural analysis, target selection, and validation to deterministic algorithms, while the LLM focuses on localized semantic rewriting. Across multiple IP blocks and LLMs, BugGen 2.0 achieves all requested compilable bug scenarios with a high coverage of mutation types, reduces token usage by 6.8×–15.4× compared to BugGen 1.0, and cuts simulation effort by skipping large portions of variant simulations. The approach yields a high acceptance rate of generated bugs with minimal estimation error, demonstrating lower inference and simulation costs while maintaining consistency across models and designs.

arXiv AI
Jul 23

Beyond Fail-to-Pass: Iterative Hardening of Co-Generated Bug Reproduction Tests and Fixes

arXiv:2607. 19843v1 Announce Type: cross Abstract: Large language models (LLMs) have made automated program repair (APR) increasingly practical for real-world bugs, but repairing directly from bug reports remains underconstrained.

By Yuhao Tan, Zhibang Yang, Fangkai Yang, Yuan Yao, Yu Kang, Lu Wang, Pu Zhao, Xin Zhang, Xiaoxing Ma, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang
arXiv Machine Learning
Sep 10

Robustness of LLM-Generated SystemVerilog Assertions to Semantics-Preserving RTL Transformations

The paper evaluates how robust large language models are at generating SystemVerilog Assertions (SVA) when the underlying RTL code undergoes semantics‑preserving transformations such as operand reordering, identifier renaming, and redundant parenthesization. Using a curated dataset and two open‑source models (Qwen2.5‑Coder‑7B and DeepSeek‑Coder‑V2‑Lite), the authors find that 9.7%–27.0% of behaviors that were correct on the original RTL become incorrect after transformation, revealing significant instability that aggregate accuracy metrics can hide.

By FNU Aditi
arXiv AI
Sep 3

Dictionary-Guided Mutation Operators for Automated HDL Repair

The paper introduces a dictionary-guided HDL repair system that uses ANTLR-derived mutation vocabularies and a simulation-divergence fault localization module to generate syntactically valid Verilog mutations. The mutation operator performs token substitutions, insertions, and deletions via regex matching, while the fault localization scores source lines based on proximity to diverging output wires, guiding the search. Evaluated on the CirFix benchmark, the approach achieves correct repairs on 14 bug variants, including a multi-bug case, and outperforms CirFix with an 18x speedup on a two-edit benchmark.

By Maisha Mastora, Dean Sullivan
arXiv AI
Nov 14

Guided Generation of Linux Kernel Semantic Patches with Small Local Language Models

The paper investigates whether small open language models can generate Coccinelle semantic patches for Linux kernel API changes. By decomposing training examples into change variants and guiding the model with feedback, a local model (Qwen2.5-Coder 7B) achieves 35.3% conversion success on a test set of 122 driver conversions, outperforming direct prompting and other models. The framework includes a compile critic that filters non‑buildable rules, ensuring higher precision of the generated patches.

By Mohanned Ahmed