← 研踪 PaperTrailarXiv:2611.39330 · v1
SDCoder: LLM-Based Timing Constraint Generation via RL and Type-Routed Reference Injection
首次提交 2026-11-29 12:43
版本更新 2026-11-29 12:43
雷达观测 2026-12-01 12:25
摘要
Synopsys Design Constraints (SDC) scripts define the timing requirements used in synthesis and static timing analysis. Generating correct SDC scripts from specifications and RTL is challenging because a script may execute successfully while still missing required constraints or targeting incorrect design objects. We present SDCoder, a locally deployable 14B model for automatic SDC generation. We first build 61,826 verified training examples and train the model using supervised fine-tuning followed by reinforcement learning (GRPO) with OpenSTA-based rewards. However, we find that GRPO struggles with constraint types that rarely appear correctly in sampled outputs, particularly multicycle paths. To address this limitation, we measure recall for each constraint type and identify those that remain poorly learned. We then fine-tune the model on complete reference scripts containing these types, together with replay data to preserve previously learned capabilities. We also introduce SDCBench-X, a 140-task benchmark that evaluates generated scripts by comparing their resulting constraint states with references. SDCoder passes 87 of 100 general tasks and 39 of 40 rare-type tasks, compared with 84 and 4 for GRPO alone and 72 and 22 for GPT-6.1-sol. On the existing SDCBench, SDCoder matches GPT-6.1-sol at pass@1, passing 19 of 22 tasks.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-29 12:43 · 最新观测版本
SDCoder: LLM-Based Timing Constraint Generation via RL and Type-Routed Reference Injection
Synopsys Design Constraints (SDC) scripts define the timing requirements used in synthesis and static timing analysis. Generating correct SDC scripts from specifications and RTL is challenging because a script may execute successfully while still missing required constraints or targeting incorrect design objects. We present SDCoder, a locally deployable 14B model for automatic SDC generation. We first build 61,826 verified training examples and train the model using supervised fine-tuning followed by reinforcement learning (GRPO) with OpenSTA-based rewards. However, we find that GRPO struggles with constraint types that rarely appear correctly in sampled outputs, particularly multicycle paths. To address this limitation, we measure recall for each constraint type and identify those that remain poorly learned. We then fine-tune the model on complete reference scripts containing these types, together with replay data to preserve previously learned capabilities. We also introduce SDCBench-X, a 140-task benchmark that evaluates generated scripts by comparing their resulting constraint states with references. SDCoder passes 87 of 100 general tasks and 39 of 40 rare-type tasks, compared with 84 and 4 for GRPO alone and 72 and 22 for GPT-6.1-sol. On the existing SDCBench, SDCoder matches GPT-6.1-sol at pass@1, passing 19 of 22 tasks.
查看此版本解读 →查看此版本原文 ↗