LACE: 민첩한 RISC-V 명령어 확장을 위한 대규모 언어 모델 기반 다중 에이전트 프레임워크
LACE: Large Language Model Aided Multi-Agent Framework for Agile RISC-V Instruction Extension
한국어 초록
도메인 특화 명령어 집합 구조 확장(ISAX)은 새로운 워크로드를 가속화하기 위해 RISC-V 생태계에서 널리 채택되고 있지만, 서로 다른 코어에 걸쳐 ISAX를 구현하고 검증하는 작업은 여전히 느리고 파편화되어 있습니다. 기존 프레임워크는 코어별 인터페이스 적응을 여전히 요구하며, 마이크로아키텍처나 ISAX 중 하나라도 변경되면 차등 테스팅(differential testing)이 중단되는 경우가 많습니다. 본 논문에서는 자연어 기반 ISAX 의도를 간결한 2단계 IR(연산 수준 및 HDL 작업 수준)로 변환하고, 대규모 저장소에서 검색 기반 국소화 RTL 수정을 수행하며, 컴파일러 독립적인 riscv-formal 검증 흐름(RVFI 사용 가능 여부 또는 계측을 전제함)으로 루프를 완결하는 대규모 언어 모델(LLM) 보조 다중 에이전트(multi-agent) 워크플로우인 LACE를 제시합니다. 네 가지 임베디드 RISC-V 코어에 걸쳐, LACE는 코드 국소화를 개선하고 통합 재작업을 줄이는 동시에 당사의 평가 환경 내에서 pass@1 생성 정확도를 거의 0에 가까운 수준에서 72.8%로 끌어올렸습니다. LACE의 코드는 https://github.com/UMN-ZhaoLab/LACE 에서 확인할 수 있습니다.
원문 초록
Domain-specific Instruction Set Architecture eXtensions (ISAX) are widely adopted in the RISC-V ecosystem to accelerate emerging workloads, but implementing and validating ISAXes across different cores remains slow and fragmented. Existing frameworks still require per-core interface adaptation, and differential testing often breaks once either the microarchitecture or the ISAX changes. We present LACE, an LLM-aided multi-agent workflow that translates natural-language ISAX intents into a compact two-level IR (operation-level and HDL task-level), performs retrieval-guided localized RTL edits over large repositories, and closes the loop with a compiler-agnostic riscv-formal checking flow (assuming RVFI availability or instrumentation). Across four embedded RISC-V cores, LACE raises pass@1 generation accuracy from near-zero to 72.8\% within our evaluation setup, while improving code localization and reducing integration rework. The code of LACE is available at https://github.com/UMN-ZhaoLab/LACE.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.02915v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.