Search papers, labs, and topics across Lattice.
The paper introduces SimulatorCoder, an LLM-based agent that generates and optimizes DNN accelerator simulators from natural language descriptions using domain-specific prompt engineering techniques like In-Context Learning (ICL) and Chain-of-Thought (CoT) reasoning. By employing a multi-round feedback-verification flow, SimulatorCoder translates high-level requirements into efficient, architecture-aligned simulator code. Experiments on the SCALE-Sim benchmark show that the generated simulators achieve cycle-level fidelity (less than 1% error) and consistently lower simulation runtimes compared to manually implemented simulators.
Forget hand-coding DNN accelerator simulators – LLMs can now generate cycle-accurate, faster simulators directly from natural language, slashing development time.
This paper presents SimulatorCoder, an agent powered by large language models (LLMs), designed to generate and optimize deep neural network (DNN) accelerator simulators based on natural language descriptions. By integrating domain-specific prompt engineering including In-Context Learning (ICL), Chain-of-Thought (CoT) reasoning, and a multi-round feedback-verification flow, SimulatorCoder systematically transforms high-level functional requirements into efficient, executable, and architecture-aligned simulator code. Experiments based on the customized SCALE-Sim benchmark demonstrate that structured prompting and feedback mechanisms substantially improve both code generation accuracy and simulator performance. The resulting simulators not only maintain cycle-level fidelity with less than 1% error compared to manually implemented counterparts, but also consistently achieve lower simulation runtimes, highlighting the effectiveness of LLM-based methods in accelerating simulator development. Our code is available at https://github.com/xiayuhuan/SimulatorCoder.