Search papers, labs, and topics across Lattice.
This paper introduces SchGen, a large language model for generating editable PCB schematics from natural language requests. To overcome the limitations of existing schematic formats, the authors propose a semantically grounded code representation that encodes schematic editing primitives with relative placement and pin-name-based wiring. They also construct a large-scale dataset of PCB schematics paired with user prompts using a human-agent collaborative pipeline. SchGen significantly outperforms alternative representations and larger general-purpose LLMs in wire connectivity accuracy and functional correctness, demonstrating the importance of representation design for generative models in complex hardware design.
LLMs can now generate editable PCB schematics from natural language, but only with the right semantic representation.
Printed circuit board (PCB) schematic design defines nearly all electronic hardware, but it remains manual and expertise-intensive. While generative AI has advanced digital and analog IC design, PCB schematic generation from natural-language intent is largely unexplored. This paper presents SchGen, the first large language model that generates editable PCB schematics from natural-language requests. The key challenge lies in the lack of an LLM-suited representation and a large-scale dataset. Current schematic formats are dominated by verbose, tool-specific syntax and geometry-heavy descriptions, making them difficult to generate reliably. We introduce a semantically grounded code representation that encodes schematic editing primitives with relative placement and pin-name-based wiring, transforming a geometry-driven generation problem into a semantics-driven matching task amenable to LLMs. We further construct a large-scale dataset of PCB schematics paired with user prompts via a human-agent collaborative pipeline that converts open-source hardware designs into our representation. Experiments show that SchGen significantly outperforms alternative representations and even larger general-purpose LLMs on wire connectivity accuracy and functional correctness. Our results highlight the critical role of representation design in enabling generative models for complex hardware design tasks.