arXiv:2607.25283v1 cs.AI

ContractHIL-HLS: HLS 설계를 위한 하드웨어 인 더 루프 피드백 기반 계약 정렬 다중 에이전트 워크플로우

ContractHIL-HLS: Contract-Aligned Multi-Agent Workflow with Hardware-in-the-Loop Feedback for HLS Design

Jingbo Zhang, Haoxiang Sun, Wenbo Wang, Wenbo Zhang

제출 2026-07-28

한국어 초록

본 논문에서는 실용적인 고위 수준 합성(HLS) 엔지니어링을 위한 계약 정렬(contract-aligned) 다중 에이전트(multi-agent) 워크플로우인 ContractHIL-HLS를 제안합니다. 이 워크플로우는 세 가지 기여를 제공합니다. 첫째, 자연어 요구사항을 명시적인 인터페이스, 제약 조건, 검증(validation) 확인 및 롤백 규칙으로 변환하는 의미론적 정렬(semantic-alignment) 및 작업 실행 아티팩트로서 구조화된 계약(structured contract)을 도입합니다. 둘째, HLS, Vivado, PYNQ 런타임, 전력 및 실패 증거를 생성 과정에 다시 제공하여 피드백 루프에 하드웨어 정보를 통합함으로써, 대규모 언어 모델(LLM) 지원 HLS를 커널(kernel) 코드에서 시스템 및 보드 수준 클로저(closure)로 확장합니다. 셋째, 대화형 역할 대신 의미론적 저수준화(lowering) 및 실행 작업에 따라 에이전트를 분해합니다. Contract Agent는 자연어를 계약으로 저수준화하고, HTML Agent는 계약을 영구적인 구조화된 HTML로 렌더링하며, Hardware-in-the-Loop Agent는 측정된 증거를 바탕으로 설계를 구현하고 수정합니다. ContractHIL-HLS의 평가는 두 부분으로 나누어 진행됩니다. 로컬에서 실행 가능한 94개의 HLS-Eval 작업에서 구조화된 계약은 소형 설계에서 가장 큰 성능 향상을 제공하여 추정 단일 샘플 테스트벤치 통과율을 64.0%에서 70.2%로 향상시켰으며, 전체 흐름은 pass@1 70.4%와 pass@5 76.6%에 도달합니다. HLS-Eval은 보드 수준 설계를 다루지 않으므로, 보드에서 테스트된 ML-KEM/ML-DSA 양자 내성 암호(PQC) 보안 메시지 가속기에서도 ContractHIL-HLS를 검증했습니다. 여기서 유지된 듀얼 비트스트림 구성은 복호화된 메시지 검증을 보존하면서 두 이미지 모두에서 양수 라우팅 WNS를 기록함과 동시에 6개 메시지의 평균 텍스트 런타임을 207.3 ms에서 52.4 ms로 단축시켰습니다. 본 연구의 결과물은 BJUT-CS316-LAB/ContractHIL-HLS(https://github.com/BJUT-CS316-LAB/ContractHIL-HLS)에서 오픈 소스로 공개됩니다.

원문 초록

This paper presents ContractHIL-HLS, a contract-aligned multi-agent workflow for practical high-level synthesis (HLS) engineering. The workflow makes three contributions. First, it introduces a structured contract as the semantic-alignment and task-execution artifact that translates natural language requirements into explicit interfaces, constraints, validation checks, and rollback rules. Second, it incorporates hardware information into the feedback loop by feeding HLS, Vivado, PYNQ runtime, power, and failure evidence back into generation, thereby extending LLM-assisted HLS from kernel code toward system- and board-level closure. Third, it decomposes agents by semantic lowering and execution tasks rather than by conversational roles: a Contract Agent lowers natural language into the contract, an HTML Agent renders the contract as persistent structured HTML, and a Hardware-in-the-Loop Agent implements and revises the design with measured evidence. We evaluate ContractHIL-HLS in two parts. On 94 locally executable HLS-Eval tasks, the structured contract provides the largest small design gain, improving the estimated single-sample testbench pass rate from 64.0% to 70.2%; the full flow reaches 70.4% pass@1 and 76.6% pass@5. Because HLS-Eval does not exercise board-level design, we also validate ContractHIL-HLS on a board tested ML-KEM/ML-DSA post-quantum cryptography (PQC) secure-message accelerator, where the retained dual-bitstream organization reduces six-message average text runtime from 207.3 ms to 52.4 ms with positive routed WNS on both images while preserving decrypted-message verification. We open-source our work at BJUT-CS316-LAB/ContractHIL-HLS (https://github.com/BJUT-CS316-LAB/ContractHIL-HLS).

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2607.25283v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.