오픈소스 LLM 기반 정형 검증: RTL 복구를 위한 멀티 에이전트 파이프라인
Open-Source LLM-Driven Formal Verification: A Multi-Agent Pipeline for RTL Repair
한국어 초록
검증은 현대 칩 설계 노력의 대부분을 차지하지만, 수학적 정확성을 보장하는 정형 검증(formal verification) 도구는 여전히 비싸고 라이선스가 제한적입니다. 대규모 언어 모델(LLM)이 하드웨어 설계 분야에서 가능성을 보여주었으나, 기존의 RTL 복구 방식은 입력의 일부분만을 실행해보는 시뮬레이션을 통해 결과를 검증하거나 상용 도구에 의존하고 있으며, 정형 증명과 완전한 오픈소스 툴체인을 결합한 사례는 드뭅니다. 본 논문에서는 반례 유도 반복(counterexample-guided iteration)을 통해 RTL을 복구할 수 있도록 LLM을 오픈소스 정형 백엔드(Yosys, SymbiYosys, Z3)와 결합한 멀티 에이전트(multi-agent) 파이프라인을 제시합니다. 이 프레임워크는 정형 속성을 생성하고 설계를 검증하며, 설계가 k-인덕션(k-induction)에 의해 올바른 것으로 증명되거나 반복 예산이 소진될 때까지 반례를 다시 LLM에 피드백합니다. ALU 사례 연구를 통해 이 파이프라인이 정형 정확성 증명과 함께 실제 기능적 버그를 탐지하고 복구할 수 있음을 보여줍니다. 6개 벤치마크 스위트에 걸쳐 한 설계가 안정적으로 복구되며, 유계 커버 공허성(bounded-cover vacuity), 명세 모호성(specification ambiguity), 시점 논리 버그(temporal-logic bugs), 다중 속성 압박(multi-property pressure)이라는 네 가지 뚜렷한 실패 모드를 규명합니다. 본 연구를 상세한 실패 분석을 수반한 타당성 연구로 구성하며, 추가로 오픈소스 정형 검증 커뮤니티와 관련된 Yosys bind 지시문의 실질적인 한계를 보고합니다.
원문 초록
Verification consumes the majority of modern chip design effort, yet the formal verification tools that provide mathematical guarantees of correctness remain expensive and restrictively licensed. While large language models (LLMs) have shown promise for hardware design, existing approaches to RTL repair validate their results through simulation - which exercises only a subset of inputs - or rely on commercial tools, and few combine formal proof with an entirely open-source toolchain. In this paper, we present a multi-agent pipeline that couples an LLM with an open-source formal backend (Yosys, SymbiYosys, and Z3) to repair RTL through counterexample-guided iteration: the framework generates formal properties, verifies the design, and feeds counterexamples back to the LLM until the design is proved correct by k-induction or an iteration budget is exhausted. Through an ALU case study, we show that the pipeline can detect and repair a real functional bug with a formal proof of correctness. Across a six-benchmark suite, one design is repaired reliably, and we characterize four distinct failure modes: bounded-cover vacuity, specification ambiguity, temporal-logic bugs, and multi-property pressure. We frame this work as a feasibility study with a detailed failure analysis, and additionally report a practical limitation of the Yosys bind directive relevant to the open-source formal verification community.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2607.28877v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.