Rule2DRC: Benchmarking LLM Agents for DRC Script Synthesis with Execution-Guided Test Generation

Jinuk Kim, Junsoo Byun, Donghwi Hwang, Seong-Jin Park, Hyun Oh Song

arXiv:2605.15669 · 2026-05-22 공개 · arXiv · PDF

llm-agents drc-scripts execution-guided test-generation chip-layouts split-tester rule-synthesis execution-correctness

Abstract

Manufacturable chip layouts must satisfy thousands of geometry-based design rules, and design rule checking (DRC) enforces them by running executable DRC scripts on layouts. Translating natural language rules into correct DRC scripts is labor-intensive and requires specialized expertise, motivating LLM agents for DRC script synthesis and debugging. However, existing benchmarks have small evaluation sets and often evaluate scripts by code similarity rather than execution correctness, and prior machine learning-based methods either ignore execution feedback or require labeled test layouts as agent's input. To this end, we introduce Rule2DRC, a large-scale benchmark for DRC script coding agents with 1,000 rule-to-script tasks and 13,921 evaluation chip layouts for execution-based scoring. Rule2DRC provides an evaluation pipeline that measures functional correctness via DRC execution outcomes without requiring evaluation layouts as input to the agent. We also propose SplitTester, a tester agent for program selection that uses execution feedback to generate discriminative test cases and separate previously indistinguishable candidate scripts, substantially improving Best-of-N selection performance in this domain. We release the code at https://github.com/snu-mllab/Rule2DRC.

한국어 요약

한 줄 요약

**[Chip Design / LLM Agent]** Rule2DRC가 1,000 rule-to-script task·13,921 실 chip layout으로 execution-based scoring 제공 — code similarity가 아닌 functional correctness 측정, SplitTester가 discriminative test로 Best-of-N 선택 substantially 향상.

핵심 기여도

핵심 아이디어

DRC script 합성 평가는 code similarity가 아닌 execution-based functional correctness로 측정되어야 하며, evaluation layout을 agent 입력으로 요구하지 않는 평가 파이프라인과 execution feedback 기반 discriminative test 생성 tester(SplitTester)가 결합되면 LLM agent의 실용 합성 능력이 의미 있게 측정·향상된다.

기술적 접근법

주요 결과

의의 및 한계

**의의**: EDA·chip design 분야의 LLM agent benchmark 표준 정립, execution-based scoring으로 평가 신뢰성 강화, SplitTester가 Best-of-N selection의 일반 보조 도구로 확장 가능. **한계**: DRC script 도메인 특화로 다른 EDA·HDL 도메인 일반화 추가 검증, 1,000 rule이 실제 chip 설계의 thousands rule을 완전 커버하지 않을 수 있음, SplitTester가 candidate 다양성에 의존.

실용적 활용