AGON: Automated Design Framework for Customizing Processors from ISA Documents
Customized processors are essential for domain-specific applications such as the Internet of Things (IoT) and multi-media embedded systems, yet their design often requires extensive expert intervention. Traditional approaches, including hardware design using encapsulated abstractions (<italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">e.g</i>., Chisel) and high-level synthesis (HLS) from languages like C or SystemC, reduce some manual efforts but remain either costly or suboptimal. Recent explorations into leveraging Large Language Models (LLMs) to generate RTL from natural language specifications have shown promise, but these methods still struggle with generating complex and high-performance processors mainly due to the complicated low-level details in the RTL code. In this work, we introduce AGON, a novel framework designed to facilitate the development of customized processor RTL from instruction set architecture (ISA) documents using LLMs. The framework comprises two layers: a functional description layer and a hardware implementation layer. At the functional layer, AGON employs a nano-operator (nOP)-based Intermediate Representation (IR) that abstracts basic instruction operations, thereby reducing the semantic gap between natural language and RTL code. This abstraction significantly shortens the descriptive code required for LLM generation, improving the generation accuracy in single-pass. At the hardware layer, AGON offers three abstraction levels (<italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">i.e</i>. instruction, ISA, and processor) along with rule-based primitives to systematically lower the nOP-based IR into a fully optimized processor implementation. This decoupled design not only ensures correctness-by-construction but also enables automated, PPA-aware performance optimization. We evaluate AGON by designing high-performance out-of-order processors that correctly execute practical programs. Experimental results demonstrate that processors generated with AGON achieve an average speedup of 4.51× on specific tasks compared to expert-designed general-purpose CPUs while requiring minimal design effort.
Authors
- Guanglin Xu (ORCID: https://orcid.org/0009-0007-7743-9088)
- Chongxiao Li (ORCID: https://orcid.org/0009-0004-2215-4892)
- Yuanbo Wen (ORCID: https://orcid.org/0000-0002-7775-2724)
- Yifan Hao (ORCID: https://orcid.org/0009-0002-9823-2573)
- Husheng Han (ORCID: https://orcid.org/0000-0003-0873-3471)
- Zidong Du (ORCID: https://orcid.org/0000-0002-7603-4210)
- Tianyun Ma (ORCID: https://orcid.org/0009-0006-4204-0686)
- Xiaqing Li (ORCID: https://orcid.org/0000-0002-7748-7967)
- Pengwei Jin (ORCID: https://orcid.org/0000-0002-8267-9824)
- Rui Zhang (ORCID: https://orcid.org/0000-0001-8691-8549)
- Xing Hu (ORCID: https://orcid.org/0000-0002-9979-0561)
- Shuyao Cheng (ORCID: https://orcid.org/0000-0002-6291-0531)
- Di Huang (ORCID: https://orcid.org/0000-0002-2370-0072)
- Qi Guo (ORCID: https://orcid.org/0000-0003-2530-5874)
- Yongwei Zhao (ORCID: https://orcid.org/0000-0002-5503-4457)
Institutions
- Chinese Academy of Sciences (CN)
- Beijing Jiaotong University (CN)
- Institute of Computing Technology (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tcad.2025.3617851
- Primary Topic
- Embedded Systems Design Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00