SGLayout: Schema-Guided Closed-Loop Refinement for LLM-Driven Parameterized Layout Generation
Siyang Chen, Yuan Pu, Yuhan Qin, Zhaotan Lin, Siyuan Liang, Zhuolun He, Lining Zhang, Bei Yu
Abstract
Large Language Models (LLMs) have shown strong potential in parameterized layout generation via tool-augmented code synthesis. However, LLMs lack spatial awareness, making one-shot generation unreliable. While layout quality can be evaluated with established techniques, a critical gap remains: geometric-domain evaluation outcomes cannot be directly translated into actionable code-level fixes, trapping iterative refinement in blind refactoring. We propose SGLayout, a self-refining framework that closes this gap via a schema-guided mechanism. Upon code execution, a structured schema captures the correspondence between each code-level instance and its geometric attributes, establishing a bidirectional link between code space and geometry space. Emulating engineer review practices, SGLayout evaluates layouts along two complementary dimensions: intent compliance through quantitative structural checking and qualitative vision-language assessment, and rule compliance through DRC. All identified violations are then back-projected through the schema onto precise code targets, enabling surgical repair. This closed-loop process iterates until layout convergence. On a curated benchmark of 112 parameterized layout generation tasks using GDSFactory, SGLayout achieves a 76.79% pass rate, compared with 50.89% for the strongest baseline.
Create a lesson
Related papers
An Agentic Python Framework for LLM-Driven UVM Testbench Synthesis with Closed-Loop Compiler Feedback
Shared title terminology · Vikash Kumar
AutoC2V: Synthesis-Guided LLM Training for QoR-Optimized C++-to-Verilog Generation
Shared title terminology · Guanqi Lyu, Fei Zhao, Zhaojun Lu et al.
Rule-Guided and Trajectory-Aware Repair for LLM-Based HLS Generation
Shared title terminology · Xianjing Zhu, Wenqi Lou, Yuanbo Wen et al.
FPGA-GEN: Target-Aware RTL Generation via HLS
Shared title terminology · Luke Ztz Hu, Zhihan Xiao, Zhe Zhao et al.
ReLay: Bidirectional Layout-Code Translation and Library Evolution for Reusable and Process-Portable Analog Design
Shared title terminology · Minxing Chu, Quan Cheng, Anhang Li et al.
Bottom-Up FPGA Reconfigurable Accelerator Overlay Generation
Shared title terminology · Mohamed Bouaziz, Suhaib A. Fahmy