Automating Hardware Design and Verification from Architectural Papers via a Neural-Symbolic Graph Framework

Haoyue Yang, Xuanle Zhao, Yujie Liu, Zhuojun Zou, Kailin Lyu, Changchun Zhou, Yao Zhu, Jie HaoarXiv 2025 · DOI

Reproducing cutting-edge hardware architectures from academic papers is a notorious "black box" problem. While a 30-page PDF might describe a revolutionary AI accelerator, the lack of open-source code and the inherent complexity of Hardware Description Languages (HDLs) like Verilog often leave engineers starting from scratch.

ArchCraft is a novel framework designed to bridge this gap. By mimicking the workflow of a human expert, ArchCraft transforms unstructured research papers into fully synthesizable, verified Register-Transfer Level (RTL) code. It employs a structured "Graphing-Symboling-Coding" workflow and an automated verification feedback loop to achieve state-of-the-art performance in generating complex, project-level hardware designs.

The Reproducibility Crisis in Hardware

The hardware community faces a significant reproducibility crisis. Unlike software research, where public repositories are standard, hardware papers often describe complex hierarchies and dataflows without releasing the underlying source code. Existing Large Language Models (LLMs) struggle with this task for two primary reasons:

  1. Scale: They can generate small circuit blocks but fail at "project-level" designs involving complex module hierarchies.
  2. Lack of Mental Models: Standard LLMs act as "black-box" generators, lacking the structured "mental model" a human engineer uses to plan a circuit's architecture before writing code.

The ArchCraft Framework

ArchCraft addresses these issues by introducing a Neural-Symbolic Graph Framework that decomposes the design process into four distinct phases:

  1. Graphing Phase: A specialized agent parses the paper to construct a formal Architectural Blueprint. This is a knowledge graph where nodes represent hardware modules/IO ports and edges represent dataflow and hierarchy.
  2. Symboling Phase: The framework translates the graph into a rigorous symbolic representation. It defines precise functional specifications and interface protocols (such as handshakes or memory interfaces) for every node in the graph.
  3. Coding Phase: Using the symbolic blueprint as a constraint, the system generates decoupled RTL (the circuit logic) and Testbenches (the verification environment).
  4. Compiling & Feedback Loop: The generated code is fed into Verilator, a hardware simulator. If errors are detected, a feedback loop provides error logs back to the agent for iterative refinement until the code is functionally correct.
The ArchCraft framework workflow: from paper parsing to symbolic grounding and iterative code generation.

Benchmarking with ArchSynthBench

To evaluate the framework, the authors introduced ArchSynthBench, the first benchmark specifically designed for synthesizing hardware from academic papers. It contains 50 project-level circuits derived from recent (2022–2025) hardware papers, totaling approximately 600 circuit blocks. Evaluation is conducted via a two-tiered scoring system: Paper-level (conceptual alignment with the source paper) and Code-level (quality, robustness, and synthesizability).

Key Results and Insights

ArchCraft significantly outperformed all baselines, including direct LLM generation (GPT-4o, o3-mini) and existing agent frameworks like VerilogCoder.

Using o3-mini as a backbone, ArchCraft achieved a Paper-level score of 86.18 and a Code-level score of 81.04, nearly doubling the performance of direct generation methods. Crucially, while previous methods often produced code that failed to compile, ArchCraft consistently produced code that passed compilation (indicated by the "Comp." checkmark in comparative evaluations).

Comparative evaluation of ArchCraft against direct LLM generation and existing agent frameworks on the ArchSynthBench dataset.

The core innovation is that hardware generation must be graph-driven. By forcing the LLM to build a formal graph first, the framework prevents the structural failures common in direct code generation. Furthermore, by decoupling interface definitions from internal logic, ArchCraft ensures that modules can successfully communicate—a common failure point in multi-module LLM designs.

Physical Feasibility

Beyond functional correctness, the authors verified the physical feasibility of the generated RTL using Synopsys Design Compiler, an industry-standard tool. The resulting Power, Performance, and Area (PPA) metrics were consistent with those reported in the original research papers, demonstrating that the generated code is ready for real-world hardware implementation and experimentation.

Conclusion

ArchCraft represents a significant leap forward in automated hardware design. By combining the creative potential of LLMs with the structural rigor of symbolic graphs and iterative verification, it provides a viable path toward solving the hardware reproducibility crisis. Future work will focus on refining cross-module port checking in deep hierarchies and extending the framework to support other Hardware Description Languages like Chisel.

Summary updated

BibTeX
@misc{yang2025automating,
  author = {Haoyue Yang and Xuanle Zhao and Yujie Liu and Zhuojun Zou and Kailin Lyu and Changchun Zhou and Yao Zhu and Jie Hao},
  title = {{Automating Hardware Design and Verification from Architectural Papers via a Neural-Symbolic Graph Framework}},
  year = {2025},
  eprint = {2511.06067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.06067},
}
Figure