ChaTCL: LLM-Based Multi-Agent RAG Framework for TCL Script Generation
Authors:
- 9 May 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 736-742
Abstract
Manually generating Tool Command Language (TCL) scripts is time-consuming and error-prone. Although large language models (LLMs) show promise in automating TCL script generation, they struggle with complex EDA tasks. They often fail to meet practical requirements and face compatibility issues across multiple tools. To address these limitations, we introduce ChaTCL, a multi-agent Retrieval-Augmented Generation (RAG) framework based on LLMs. Our contributions include: (1) creating fine-tuned datasets (NondomainT and DomainT) for TCL-specific LLMs, (2) designing a TCL-specific RAG framework with one-to- one retriever-database mapping to reduce hallucinations, and (3) implementing a multi-agent system that interprets user prompts and autonomously selects agents for script generation. Evaluated using TCLEval, ChaTCL outperforms models like ChatGPT-4.0- o and OpenAI o1-preview in generating accurate scripts across diverse tools and design stages.Keywords
This publication has 16 references indexed in Scilit:
- AssertLLM: Generating Hardware Verification Assertions from Design Specifications via Multi-LLMs2024
- RTLCoder: Outperforming GPT-3.5 in Design RTL Generation with Our Open-Source Dataset and Lightweight Solution2024
- Ask-EDA: A Design Assistant Empowered by LLM, Hybrid RAG and Abbreviation De-hallucination2024
- EDA Corpus: A Large Language Model Dataset for Enhanced Interaction with OpenROAD2024
- ChatChisel: Enabling Agile Hardware Design with Large Language Models2024
- Domain-Adapted LLMs for VLSI Design and Verification: A Case Study on Formal Verification2024
- ChatEDA: A Large Language Model Powered Autonomous Agent for EDAIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2024
- iEDA: An Open-source infrastructure of EDA2024
- Polymath: A Platform for Rapid Application Development of Modular EDA Tools2020
- Scripting for EDA tools: a case study2002