New Interaction Paradigm for Complex EDA Software Leveraging GPT

Boyu Han, Xinyu Wang, Yifan Wang, Junyu Yan, Yidong TianarXiv 2023

Abstract

Electronic Design Automation (EDA) tools such as KiCad offer powerful functionalities but remain difficult to use, particularly for beginners, due to their steep learning curves and fragmented documentation. To address this challenge, we present SmartonAI, an AI-assisted interaction system that integrates large language models (LLMs) into the EDA workflow. SmartonAI enables natural language communication, intelligent task decomposition, and contextual plugin execution. The system consists of two main components: a Chat Plugin that breaks down user instructions into subtasks and retrieves tailored documentation, and a OneCommandLine Plugin that recommends and executes relevant plugins based on user intent. Preliminary results suggest that SmartonAI significantly reduces onboarding time and enhances productivity, representing a promising step toward generalizable AI-assisted interaction paradigms for complex software systems.

Introduction

Electronic Design Automation (EDA) tools—the software used to design everything from simple circuit boards to complex microprocessors—are incredibly powerful but notoriously difficult to master. Beginners face a "wall" of fragmented documentation, intricate user interfaces, and a lack of task-driven guidance. Even for experts, finding the right plugin or specific manual entry can be a major productivity sink. Current support mechanisms are often static or outdated, lacking an adaptive interface that can translate a designer's high-level intent into low-level software operations.

System Architecture: SmartonAI

SmartonAI is a modular system integrated into the KiCad ecosystem, designed to bridge the gap between user intent and software execution. Its architecture relies on two primary pillars:

The Chat Plugin (Interactive Guidance)

The Chat Plugin uses a hierarchical reasoning flow to provide grounded assistance. A MainGPT module first classifies user intent into one of 20 macro-task categories. This is then passed to a SubGPT that selects specific subtasks via dense retrieval. Finally, a QA GPT provides grounded answers using DocHelper, a Retrieval-Augmented Generation (RAG) subsystem that indexes official manuals, community posts, and code examples using FAISS and hybrid (BM25 + dense) search.

Hierarchical architecture of SmartonAI's Chat Plugin.

The OneCommandLine Plugin (Action Execution)

Instead of just providing information, this module enables direct action. It uses an LLM-based semantic parser to map natural language requests to specific KiCad plugins. It handles parameter filling and executes the command via KiCad’s Python API (JSON-RPC), effectively transforming a GUI-heavy tool into a flat, searchable action space.

Workflow of the OneCommandLine Plugin for semantic action execution.

Key Innovations and Insights

The development of SmartonAI revealed several critical insights for AI-assisted software interaction:

  • Hierarchical Decomposition: Rather than asking a single LLM to handle complex EDA queries, the "Main-Sub" architecture ensures the system remains interpretable and reduces the chance of the model losing context.
  • Source Attribution in RAG: By providing inline links to original manuals, the system builds trust. Users can verify suggestions against official documentation.
  • Semantic Plugin Matching: Treating software plugins as "tools" that an LLM can call allows the system to bridge the gap between natural language intent and technical execution.
  • Multilingual Accessibility: By using multilingual embedding models, the system allows non-English speakers to interact with software that might only have high-quality documentation in English.

Preliminary Results and Future Outlook

While the current focus is on architecture, preliminary findings are promising. SmartonAI significantly cuts down the time required for novice designers to become productive and improves tool discoverability. Users were able to find and execute relevant plugins via natural language much faster than navigating traditional menus.

Future work will focus on expanding the system beyond KiCad to other proprietary EDA tools, which will require retraining retrieval pipelines. Additionally, the authors plan to conduct formal usability studies using the System Usability Scale (SUS) and incorporate multimodal inputs, allowing the AI to "see" the schematic or PCB layout for spatially-aware guidance.

Summary updated

BibTeX
@misc{han2023new,
  author = {Boyu Han and Xinyu Wang and Yifan Wang and Junyu Yan and Yidong Tian},
  title = {{New Interaction Paradigm for Complex EDA Software Leveraging GPT}},
  year = {2023},
  eprint = {2307.14740},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.14740},
}
Figure