ContractHIL-HLS: Contract-Aligned Multi-Agent Workflow with Hardware-in-the-Loop Feedback for HLS Design
The work presented as ContractHIL-HLS introduces a novel contract-aligned multi-agent workflow designed to bridge the gap between natural language specifications and practical high-level synthesis (HLS) design closure, including system- and board-level considerations. This research, authored by Jingbo Zhang, Haoxiang Sun, Wenbo Wang, and Wenbo Zhang, and published on arXiv, addresses the limitations of current LLM-assisted HLS approaches that often remain confined to kernel code generation. It is primarily intended for software engineers and researchers involved in HLS design, particularly those aiming to leverage AI for more robust and integrated hardware development workflows.
A core contribution lies in the introduction of a structured contract. This artifact serves as a semantic alignment layer, translating informal natural language requirements into explicit interfaces, detailed constraints, validation checks, and crucial rollback rules, thereby providing a formal basis for design and verification. Another significant technical idea is the expansion of the hardware feedback loop to encompass not just HLS compilation but also Vivado implementation, PYNQ runtime analysis, and power and failure evidence. This comprehensive feedback mechanism allows for iterative refinement that extends beyond initial code generation to achieve system- and board-level closure. The workflow decomposes agents not by conversational roles, but by semantic lowering and execution tasks. A Contract Agent translates natural language into the structured contract, an HTML Agent renders this contract persistently, and a Hardware-in-the-Loop (HIL) Agent executes, measures, and revises the design based on real-world hardware feedback. The effectiveness of this approach is demonstrated through evaluations on HLS-Eval tasks, showing improved testbench pass rates, and critically, on a post-quantum cryptography accelerator, where it significantly reduced average runtime while preserving verified message integrity. This work enables more reliable and efficient AI-driven HLS design by integrating formal specifications with comprehensive hardware-level feedback, potentially influencing future research towards more holistic and autonomous hardware development pipelines. This analysis is based on the provided abstract.