AGON: Automated Design Framework for Customizing Processors from ISA Documents
Chongxiao Li, Di Huang, Pengwei Jin, Tianyun Ma, Husheng Han, Shuyao Cheng, Yifan Hao, Yongwei Zhao, Guanglin Xu, Zidong Du, Rui Zhang, Xiaqing Li, Yuanbo Wen, Xing Hu, Qi Guo
TL;DR
This paper tackles the challenge of automatically designing highly efficient customized processors with minimal human effort. It proposes AGON, a framework that uses an ISA-derived nano-operator (nOP) function intermediate representation to express functionality while decoupling it from optimization, enabling multi-level design (instruction, ISA, processor) and PPA-aware auto-tuning. Through a detailed suite of primitives and an LLM-driven nOP generation pipeline, AGON demonstrates competitive RTL prototypes with correctness guarantees and achieves an average $2.35\times$ speedup over a BOOM baseline while reducing design effort. The approach offers a practical infrastructure for rapid prototyping and evaluation of domain-specific OoO processors in the LLM era, with strong potential to accelerate hardware design and exploration. Key contributions include the nOP IR, a set of scheduling primitives, and an end-to-end framework for automated RTL generation from ISA documents, validated by extensive experiments and comparisons to existing LLM-assisted methods.
Abstract
Customized processors are attractive solutions for vast domain-specific applications due to their high energy efficiency. However, designing a processor in traditional flows is time-consuming and expensive. To address this, researchers have explored methods including the use of agile development tools like Chisel or SpinalHDL, high-level synthesis (HLS) from programming languages like C or SystemC, and more recently, leveraging large language models (LLMs) to generate hardware description language (HDL) code from natural language descriptions. However, each method has limitations in terms of expressiveness, correctness, and performance, leading to a persistent contradiction between the level of automation and the effectiveness of the design. Overall, how to automatically design highly efficient and practical processors with minimal human effort remains a challenge. In this paper, we propose AGON, a novel framework designed to leverage LLMs for the efficient design of out-of-order (OoO) customized processors with minimal human effort. Central to AGON is the nano-operator function (nOP function) based Intermediate Representation (IR), which bridges high-level descriptions and hardware implementations while decoupling functionality from performance optimization, thereby providing an automatic design framework that is expressive and efficient, has correctness guarantees, and enables PPA (Power, Performance, and Area) optimization. Experimental results show that superior to previous LLM-assisted automatic design flows, AGON facilitates designing a series of customized OoO processors that achieve on average 2.35 $\times$ speedup compared with BOOM, a general-purpose CPU designed by experts, with minimal design effort.
