FormalFixer: Intent-Aligned Automated Hardware Repair via Joint Refinement of Specifications, Assertions, and RTL Implementations
Changyuan Yu, Hongce Zhang
Key points
From the paper's conclusion- This creates a practical repair problem that existing RTL-centric methods do not directly address: the repair loop must align specification intent, verification intent, and RTL behavior before deciding which artifact to change. \textsc{FormalFixer} addresses this problem with a multi-stage, intent-aligned repair workflow for Verilog designs with assertions.
Abstract
Functional errors in hardware designs can compromise correctness and security, and must be fixed before tape-out. Formal property verification (FPV) provides strong guarantees by proving or refuting assertions, but a failed assertion is not always evidence of an RTL defect: the failure may also come from a buggy assertion or from a specification that is semantically correct but too ambiguous or incomplete for direct formalization. This creates a practical repair problem that existing RTL-centric methods do not directly address: the repair loop must align specification intent, verification intent, and RTL behavior before deciding which artifact to change. \textsc{FormalFixer} addresses this problem with a multi-stage, intent-aligned repair workflow for Verilog designs with assertions. It preserves the original specification as authoritative ground truth and appends confidence-filtered refinements to clarify implicit constraints. \textsc{FormalFixer} uses both intent mismatch and verifier-generated counterexample cone graphs to guide iterative RTL patching. This workflow explicitly checks specification--assertion--RTL correspondence. Results support intent alignment for FPV-based hardware repair.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- REFORGE: LLM-Assisted RTL Bug Repair with Structured Context and Verification FeedbackarXiv · 2026
- Automated Multi-Line Bug Repair Using Model Checker Aided LLMs: A Case Study on RISC-V ProcessorsarXiv · 2026
- A Survey on LLM-Integrated Hardware Design VerificationarXiv · 2026
- RTLDetective: Agentic RTL Debugging through Dataflow Analysis and Simulation-Guided Fault LocalizationarXiv · 2026
- HaVen-Agent: Enhancing Hallucination-Mitigated Verilog Code Generation Aligned with HDL Engineers through Code Repair and Multi-Agent OrchestrationACM Transactions on Design Automation of Electronic Systems · 2026
- GRODE-RTL: Source-Mapped Dependency Views for LLM-Based RTL RepairarXiv · 2026