mlsanityData to 7 Oct 2026

AutoFSM: A Multi-agent Framework for FSM Code Generation with IR and SystemC-Based Testing

arXiv 2512.11398 ↗First posted 12 Dec 2025cs.SE cs.MAcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

With the rapid advancement of large language models (LLMs) in code generation, their applications in hardware design are receiving growing attention. However, existing LLMs face several challenges when generating Verilog code for finite state machine (FSM) control logic, including frequent syntax errors, low debugging efficiency, and heavy reliance on test benchmarks. To address these challenges, this paper proposes AutoFSM, a multi-agent collaborative framework designed for FSM code generation tasks. AutoFSM introduces a structurally clear intermediate representation (IR) to reduce syntax error rate during code generation and provides a supporting toolchain to enable automatic translation from IR to Verilog. Furthermore, AutoFSM is the first to integrate SystemC-based modeling with automatic testbench generation, thereby improving debugging efficiency and feedback quality. To systematically evaluate the framework's performance, we construct SKT-FSM, the first hierarchical FSM benchmark in the field, comprising 67 FSM samples across different complexity levels. Experimental results show that, under the same base LLM, AutoFSM consistently outperforms the open-source framework MAGE on the SKT-FSM benchmark, achieving up to an 11.94% improvement in pass rate and up to a 17.62% reduction in syntax error rate. These results demonstrate the potential of combining LLMs with structured IR and automated testing to improve the reliability and scalability of register-transfer level (RTL) code generation.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 12 of its 19 references that are in the map. First posted on arXiv 12 Dec 2025.

Builds on

12 of 19 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024VerilogCoder: Autonomous Verilog Coding Agents with Graph-based Planning and Abstract Syntax Tree (AST)-based Waveform Tracing Tool15 Aug

Other references · 11

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  4. 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 197
  5. 2023RTLLM: An Open-Source Benchmark for Design RTL Generation with Large Language Modelcited by 143
  6. 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 136
  7. 2023ChipGPT: How far are we from natural language hardware designcited by 101
  8. 2024BetterV: Controlled Verilog Generation with Discriminative Guidancecited by 99
  9. 2023RTLCoder: Outperforming GPT-3.5 in Design RTL Generation with Our Open-Source Dataset and Lightweight Solutioncited by 69
  10. 2025A Survey of Research in Large Language Models for Electronic Design Automationcited by 38
  11. 2024LLM-Aided Testbench Generation and Bug Detection for Finite-State Machinescited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026SiliconMind-V1: Multi-Agent Distillation and Debug-Reasoning Workflows for Verilog Code Generation
  2. 2024AutoSafeCoder: A Multi-Agent Framework for Securing LLM Code Generation through Static Analysis and Fuzz Testing
  3. 2025VFlow: Discovering Optimal Agentic Workflows for Verilog Generation
  4. 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metric
  5. 2026LLM-FSM: Scaling Large Language Models for Finite-State Reasoning in RTL Code Generation
  6. 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
  7. 2025A Survey on Code Generation with LLM-based Agents
  8. 2024AutoVCoder: A Systematic Framework for Automated Verilog Code Generation using LLMs