Abstract
In semiconductor manufacturing, high-quality Very-Large-Scale Integration (VLSI) layout pattern libraries are essential for Design for Manufacturability (DFM) tasks, including lithography simulation and hotspot detection. However, existing generative models for layout synthesis often suffer from fixed-size constraints, limited controllability, and a significant communication gap between designers and automated tools. This paper introduces ChatPattern, the first framework to integrate Large Language Models (LLMs) with conditional discrete diffusion models for layout generation. By utilizing an LLM agent as an orchestrator, ChatPattern enables natural language-driven customization, autonomous error handling, and the generation of "free-size" layouts through recursive in-painting and out-painting techniques.
Introduction
The creation of VLSI layout pattern libraries is a labor-intensive process traditionally requiring manual synthesis or complex scripting. While recent advancements in generative AI, such as Generative Adversarial Networks (GANs) and Diffusion models, have automated parts of this workflow, they remain limited by three primary challenges. First, most models are restricted to fixed-size patches (e.g., 128x128), which do not represent the variable dimensions required in real-world chip design. Second, these models lack fine-grained control, making it difficult for designers to specify process-specific constraints. Finally, there is a persistent friction point between the natural language requirements of designers and the technical parameters required by layout tools.
ChatPattern addresses these issues by decoupling the generation process into a reasoning-heavy front-end and a specialized generative back-end, allowing for a flexible, interactive design environment.
The ChatPattern Framework
Front-End: The LLM Agent as Orchestrator
Rather than tasking an LLM with generating raw binary matrices—a task for which they are poorly suited—ChatPattern employs the LLM (e.g., GPT-4) as an "indefatigable layout builder." The agent interacts with high-level documentation and tool logs to perform several critical functions:
- Requirement Auto-Formatting: It translates natural language prompts (e.g., "Generate 50,000 patterns for Layer-10001") into structured API calls.
- Task Planning: It decomposes complex requests into manageable sub-tasks, such as initial generation, layout extension, and legalization.
- Autonomous Error Handling: When a layout fails Design Rule Checks (DRC), the LLM analyzes the error logs and invokes specific tools to modify only the problematic regions, mimicking the iterative workflow of a human designer.
Back-End: Conditional Discrete Diffusion
The generative engine is a conditional discrete diffusion model designed for flexibility. To optimize memory and processing, layouts are represented as 2D topology matrices (Squish Pattern Representation). The model is conditioned on specific layout properties, such as process layers, to ensure style consistency.
To overcome the "fixed-size" limitation, ChatPattern utilizes recursive painting techniques:
- Out-painting: Generates new borders for an existing pattern to extend its dimensions.
- In-painting: Modifies the adjacency borders where two patches meet, ensuring a seamless merge that adheres to design rules without breaking connectivity.
Experimental Evaluation
Dataset and Setup
The framework was evaluated using layout maps from the ICCAD 2014 contest. Researchers extracted 2048x2048 nm² images and converted them into 128x128 topology matrices, focusing on two distinct styles: Layer-10001 and Layer-10003.
Key Results
ChatPattern was benchmarked against state-of-the-art (SOTA) models, including DiffPattern and LayoutTransformer.
- Fixed-Size Benchmarks: On standard 128x128 patches, ChatPattern achieved 99.9% legality and demonstrated higher diversity scores than previous models, benefiting from its multi-source training data.
- Free-Size Generation: The framework's superiority was most evident when generating larger 1024x1024 layouts. While traditional methods—which rely on simple stitching—saw legality drop to a mere 0.32%, ChatPattern maintained a legality rate between 47.8% and 94.9% (varying by layer style) by intelligently merging borders through the LLM-guided feedback loop.
- Qualitative Performance: The LLM agent successfully identified and corrected "unseen" mistakes, autonomously deciding to re-paint regions that violated design rules without requiring human intervention.
Discussion and Future Work
ChatPattern represents a significant shift in VLSI design, moving from static generation to an interactive, agentic workflow. By treating layout generation as a recursive painting task, the framework theoretically allows for the creation of layouts of infinite size.
However, limitations remain. When generating extremely large "oversized" patterns, the model can occasionally lose global coherence, as it primarily focuses on local window-based generation. Additionally, very intricate, long-range design rules can still be violated during recursive extension. Future research will focus on providing "global guidance" to ensure structural integrity across massive chip areas while maintaining the flexibility of the current agentic approach.
Conclusion
ChatPattern bridges the gap between natural language intent and complex VLSI manufacturing requirements. By leveraging LLMs for reasoning and diffusion models for specialized synthesis, it provides a scalable, controllable, and highly legal solution for modern layout pattern generation.
Summary updated