CovR: 추론 기반 강화학습을 통한 커버리지 인식 하드웨어 검증
CovR: Coverage-Aware Hardware Verification via Reasoning-Guided Reinforcement Learning
한국어 초록
설계 검증은 하드웨어 개발에서 여전히 가장 많은 자원이 소모되는 단계 중 하나로, 전체 설계 노력의 최대 70%를 소비하곤 합니다. 최근 연구에서는 테스트벤치(testbench) 생성을 자동화하기 위해 대규모 언어 모델(LLM)을 활용하는 방안을 모색해 왔지만, 기존 접근 방식의 대부분은 기능적 정확성에만 좁게 초점을 맞추어 커버리지 품질이라는 중요한 측면을 간과하고 있습니다. 이러한 격차를 해소하기 위해, 본 연구에서는 커버리지를 극대화하고자 자기 반성(self-reflection) 루프와 시뮬레이션 기반 피드백을 결합한 자동화된 테스트벤치 생성을 위한 에이전틱(agentic) 프레임워크인 CovR을 제시합니다. 이 파이프라인을 사용하여 강력한 교사 모델(teacher model)을 바탕으로 16,514개의 자연어 명세-RTL-추론-테스트벤치 튜플로 구성된 대규모 데이터셋(dataset)을 구축하여 커버리지 인식 감독(supervision)을 가능하게 합니다. 이를 기반으로, 시뮬레이션 및 커버리지 피드백에서 도출된 도구 보상을 활용하여 학생 모델(student model)을 최적화(optimization)하는, 커버리지 주도형 테스트벤치 생성에 맞춤화된 강화학습(RL) 프레임워크를 제안합니다. 실험 결과에 따르면 CovR 파인튜닝(fine-tuning) 모델은 VerilogEval 및 RTLLM V2.0에서 93.81%의 cov@10을, CVDP에서 87.76%의 cov@10을 달성하여 기존 최고 수준의 접근 방식보다 각각 7.97% 및 3.59% 앞서는 성능을 보였습니다. 나아가, 파인튜닝된 모델을 에이전틱 개선 파이프라인에 다시 배치하면 VerilogEval 및 RTLLM V2.0에서 cov@10이 94.27%로, CVDP에서는 91.39%로 더욱 향상됩니다. 또한 전체 검증 워크플로를 위한 플러그인 자극 생성 엔진(stimulus engine)으로 통합되었을 때, CovR은 커버리지를 18.95% 향상시키고 뮤테이션 감지 점수를 1.19% 개선하는 동시에 미감지 오류를 4.46% 밝혀냄으로써 LLM 기반 하드웨어 검증에서 커버리지에 대한 최적화의 중요성을 강조합니다.
원문 초록
Design verification remains one of the most resource-intensive stages of hardware development, often consuming up to 70% of the total design effort. While recent work has explored using Large Language Models (LLMs) to automate testbench generation, most existing approaches focus narrowly on functional correctness, overlooking the critical aspect of coverage quality. To bridge this gap, we present CovR, an agentic framework for automated testbench generation that combines self-reflection loops with simulation-based feedback to maximize coverage. Using this pipeline, we construct a large-scale dataset of 16,514 natural specification RTL reasoning testbench tuples with a strong teacher model, enabling coverage-aware supervision. Building on this, we propose a reinforcement learning (RL) framework tailored for coverage-driven testbench generation, leveraging tool-derived rewards from simulation and coverage feedback to optimize a student model. Experimental results show that the CovR finetuned model achieves 93.81% cov@10 on VerilogEval and RTLLM V2.0, and 87.76% cov@10 on CVDP, outperforming state-of-the-art approaches by 7.97% and 3.59%, respectively. Furthermore, deploying the finetuned model back into the agentic refinement pipeline further improves cov@10 to 94.27% on VerilogEval and RTLLM V2.0 and 91.39% on CVDP. Moreover, when integrated as a plug-in stimulus engine for full verification workflows, CovR improves coverage by 18.95% and mutation detection score by 1.19%, while revealing 4.46% undetected failures, highlighting the importance of optimizing for coverage in LLM-based hardware verification.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.19189v2제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.