用多智能体系统自动实现高效FPGA硬件设计
A2H-MAS: An Algorithm-to-HLS Multi-Agent System for Automated and Reliable FPGA Implementation
- 分层多智能体协同,模块化分工确保正确性
- 在无线通信算法上实现低资源、低延迟的FPGA设计
- 适合需要自动化硬件部署的算法研发团队
算法开发与硬件实现之间的鸿沟仍是挑战,尤其在无线通信等对延迟和资源敏感的领域。尽管MATLAB提供了成熟的算法原型环境,但通过高层次综合(HLS)将其转化为高效FPGA实现仍需专家调优和反复迭代。近年来大语言模型(LLMs)为自动化该过程带来新可能,但现有方法存在幻觉、遗忘、领域知识不足及忽略关键性能指标等问题。为此,我们提出A2H-MAS:一种模块化、分层的多智能体系统。系统层面,通过明确分工、标准化接口与基于执行的验证,保障正确性与可复现性;算法层面,采用数据流导向的模块分解与算法-硬件协同设计,认识到算法选择对硬件效率的影响往往大于指令级优化。在典型无线通信算法上的实验表明,A2H-MAS持续生成功能正确、资源高效且延迟优化的HLS设计,展现出复杂硬件开发流程中的有效性和鲁棒性。
原文摘要 · Abstract (English)
Bridging the gap between algorithm development and hardware realization remains a persistent challenge, particularly in latency- and resource-constrained domains such as wireless communication. While MATLAB provides a mature environment for algorithm prototyping, translating these models into efficient FPGA implementations via High-Level Synthesis (HLS) often requires expert tuning and lengthy iterations. Recent advances in large language models (LLMs) offer new opportunities for automating this process. However, existing approaches suffer from hallucinations, forgetting, limited domain expertise, and often overlook key performance metrics. To address these limitations, we present A2H-MAS, a modular and hierarchical multi-agent system. At the system level, A2H-MAS assigns clearly defined responsibilities to specialized agents and uses standardized interfaces and execution-based validation to ensure correctness and reproducibility. At the algorithmic level, it employs dataflow-oriented modular decomposition and algorithm-hardware co-design, recognizing that the choice of algorithm often has a larger impact on hardware efficiency than pragma-level optimization. Experiments on representative wireless communication algorithms show that A2H-MAS consistently produces functionally correct, resource-efficient, and latency-optimized HLS designs, demonstrating its effectiveness and robustness for complex hardware development workflows.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。