FormalFixer:通过规格、断言与 RTL 实现联合精化的意图对齐自动硬件修复
FormalFixer: Intent-Aligned Automated Hardware Repair via Joint Refinement of Specifications, Assertions, and RTL Implementations
Changyuan Yu · Hongce Zhang
中文摘要
硬件设计中的功能错误可能损害正确性与安全性,必须在流片前修复。形式属性验证(FPV)通过证明或反驳断言提供强保证,但断言失败并不总是 RTL 缺陷的证据:失败也可能源于有缺陷的断言,或源于语义正确但对直接形式化而言过于模糊或不完整的规格。这造成了一个现有以 RTL 为中心的方法未直接解决的实用修复问题:修复循环必须在决定修改哪个产物之前,对齐规格意图、验证意图与 RTL 行为。FormalFixer 通过面向带断言 Verilog 设计的多阶段、意图对齐修复工作流解决该问题。它将原始规格保留为权威基准真值,并追加经置信度过滤的精化以澄清隐式约束。FormalFixer 同时利用意图不匹配与验证器生成的反例锥图来指导迭代式 RTL 修补。该工作流显式检查规格—断言—RTL 对应关系。结果支持基于 FPV 的硬件修复中的意图对齐。
关键要点
- 01断言失败可能源于 RTL 缺陷、错误断言或模糊规格,现有 RTL 中心方法未直接处理该修复问题
- 02保留原始规格为权威真值,追加置信度过滤的精化以澄清隐式约束
- 03利用意图不匹配与验证器反例锥图指导迭代 RTL 修补
- 04工作流显式检查规格—断言—RTL 三者对应关系,结果支持基于 FPV 的意图对齐修复
解读
尚无解读。
原始英文摘要
arXiv:2611.24037v1 Announce Type: cross 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.