FPGA 인더루프 평가를 활용한 LLM 에이전트 기반 RISC-V CPU 설계
LLM Agent-Based Design of RISC-V CPUs with FPGA-in-the-Loop Evaluation
한국어 초록
CPU 후보에 대한 장시간 RTL 시뮬레이션은 수 시간이 걸릴 수 있는 반면, 짧은 진단 실행은 실행 후반에 나타나는 성능 저하를 놓칠 수 있다. 이러한 평가 비용은 LLM 에이전트 기반 CPU 개발에서 설계 결정을 지연시킬 수 있다. 본 논문은 LLM 에이전트가 FPGA 상에 CPU 후보를 구현하고 보드 상의 성능 측정을 활용해 설계 결정을 이끄는 개발 환경을 제시한다. 이를 단일 사이클 RV32I 코어를 3-wide 비순차 실행 RV32IM 코어로 발전시키는 사람 감독 하의 개발에 적용하였다. 최종 설계는 Artix-7 FPGA에서 130 MHz로 5.61 CoreMark/MHz에 도달한다. 동일한 CPU 후보에서 CoreMark를 8,000회 반복 실행할 때, 구현 과정을 포함한 FPGA 평가는 단일 스레드 RTL 시뮬레이션보다 9.6배 빨랐다. 한 사례에서는 짧은 진단 실행에서 개선된 후보가 장시간 실행에서는 성능이 저하됨을 보드 측정이 드러냈다. 이 결과는 후보 선택을 이끌었고 RTL 기반 근본 원인 분석과 수정으로 이어졌다.
원문 초록
Long-run RTL simulation of CPU candidates can take hours, while short diagnostic runs may miss performance degradation that emerges later in execution. This evaluation cost can delay design decisions in LLM-agent-based CPU development. We present a development environment in which LLM agents implement CPU candidates on an FPGA and use on-board performance measurements to guide design decisions. We applied it to the human-supervised development of a single-cycle RV32I core into a three-wide out-of-order RV32IM core. The final design reaches 5.61 CoreMark/MHz at 130 MHz on a Artix-7 FPGA. For the same CPU candidate running 8,000 CoreMark iterations, FPGA evaluation, including implementation, was 9.6x faster than single-threaded RTL simulation. In one case, board measurements revealed long-run performance degradation in a candidate that improved in a short diagnostic run. The result guided candidate selection and led to RTL-based root-cause analysis and a fix.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2610.39570v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.