자동 HDL 복구를 위한 사전 기반 변이 연산자
Dictionary-Guided Mutation Operators for Automated HDL Repair
한국어 초록
하드웨어 기술 언어(HDL) 설계의 자동 복구는 후보 복구의 거대한 탐색 공간과 HDL 문법이 부과하는 엄격한 구문·의미 제약 때문에 여전히 어렵다. 일반적인 변이 전략은 구문적으로 유효하지 않은 후보를 압도적으로 생성하여 컴파일과 시뮬레이션 예산을 낭비하는 반면, 합성(synthesis) 주도 및 템플릿 기반 접근은 일반성과 이식성에 각자의 제약을 부과한다. 본 논문에서는 ANTLR에서 도출한 DUT별 변이 어휘를 시뮬레이션 발산 기반 결함 국한(fault localization, FL) 모듈과 결합한 사전 기반 HDL 복구 시스템을 제안한다. 변이 연산자는 범주 제약 하의 토큰 치환·삽입·삭제를 regex 기반 매칭으로 Verilog 소스에 직접 적용하며, AST 조작이나 합성을 요구하지 않는다. FL 모듈은 단일 시뮬레이션 실행에서 발산하는 출력 와이어를 식별하고, 해당 신호에 대한 구조적 근접성으로 소스 라인에 점수를 매겨 변이 탐색을 의심도가 높은 구역으로 유도한다. 결정론적 표적 스weep은 유전 프로그래밍(GP) 탐색으로 넘어가기 전에 최고 점수 라인에서 사전상의 모든 변이를 소진한다. 여섯 DUT(시험 대상 설계) 계열에 걸친 CirFix 벤치마크 스위트에서 평가한 결과, 제안 방법은 CirFix가 복구하지 못하는 6-편집 다중 버그 사례를 포함해 14개 버그 변형에서 정답(oracle) 통과 복구를 생성했으며, 2-편집 벤치마크 변형에서 CirFix 대비 18배 속도 향상을 달성했다. 이 결과는 사전 제약 변이 연산자와 경량 시뮬레이션 발산 FL의 결합이, 형식 분석이나 합성 의존 없이 흔한 버그 클래스에 대한 자동 HDL 복구에 실용적이고 경쟁력 있는 접근임을 시사한다.
원문 초록
Automated repair of Hardware Description Language (HDL) designs remains challenging due to the large search space of candidate repairs and the strict syntactic and semantic constraints imposed by HDL grammars. Generic mutation strategies overwhelmingly generate syntactically invalid candidates that waste compilation and simulation budget, while synthesis-driven and template-based approaches impose their own constraints on generality and portability. In this paper, we propose a dictionary-guided HDL repair system that combines ANTLR-derived DUT-specific mutation vocabularies with a simulation-divergence fault localization (FL) module. The mutation operator applies category-constrained token substitutions, insertions, and deletions directly to Verilog source via regex-based matching, without requiring AST manipulation or synthesis. The FL module identifies diverging output wires from a single simulation run and scores source lines by structural proximity to those signals, directing the mutation search toward high-suspicion regions. A deterministic targeted sweep exhausts all dictionary mutations on the highest-scored lines before falling back to a genetic programming (GP) search. Evaluated on the CirFix benchmark suite across six design under test (DUT) families, the proposed approach produces correct oracle-passing repairs on 14 bug variants, including a 6-edit multi-bug instance that CirFix cannot repair, and achieves an 18x speedup over CirFix on a two-edit benchmark variant. These results indicate that dictionary-constrained mutation operators, combined with lightweight simulation-divergence FL, are a practical and competitive approach to automated HDL repair for common bug classes without formal analysis or synthesis dependencies.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.01775v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.