[論文レビュー] LocalV: Exploiting Information Locality for IP-level Verilog Generation
LocalV は長文を短いタスクに分解し、IPレベル Verilog 生成を行う局所性対応型アプローチを採用。RealBench(45.0%対21.6%)および CVDP(cid003) で SOTA を上回る合格率を達成。
The generation of Register-Transfer Level (RTL) code is a crucial yet labor-intensive step in digital hardware design, traditionally requiring engineers to manually translate complex specifications into thousands of lines of synthesizable Hardware Description Language (HDL) code. While Large Language Models (LLMs) have shown promise in automating this process, existing approaches-including fine-tuned domain-specific models and advanced agent-based systems-struggle to scale to industrial IP-level design tasks. We identify three key challenges: (1) handling long, highly detailed documents, where critical interface constraints become buried in unrelated submodule descriptions; (2) generating long RTL code, where both syntactic and semantic correctness degrade sharply with increasing output length; and (3) navigating the complex debugging cycles required for functional verification through simulation and waveform analysis. To overcome these challenges, we propose LocalV, a multi-agent framework that leverages information locality in modular hardware design. LocalV decomposes the long-document to long-code generation problem into a set of short-document, short-code tasks, enabling scalable generation and debugging. Specifically, LocalV integrates hierarchical document partitioning, task planning, localized code generation, interface-consistent merging, and AST-guided locality-aware debugging. Experiments on RealBench, an IP-level Verilog generation benchmark, demonstrate that LocalV substantially outperforms state-of-the-art (SOTA) LLMs and agents, achieving a pass rate of 45.0% compared to 21.6%.
研究の動機と目的
- IPレベル RTL/Verilog 生成を自動化して手作業の工数を削減する動機付け。
- ハードウェア仕様が短文から短コード生成を可能にする情報局所性を示すかを調査。
- 文書を分割しタスクを計画し、コード断片を生成・統合するマルチエージェント枠組みを開発。
- 局所性誘導デバッグを有効にしてエラーを最小限の仕様断片へ追跡できるようにする。
提案手法
- 長い自然言語文書からモジュラーな Verilog モジュールを生成するIPレベル Verilog 生成として定式化。
- 各コード単位の文書とコードの関連度分布のエントロピーを用いて情報局所性を定量化。
- 階層的文書前処理、断片ベースのタスク計画、サブタスクごとの制約付き RTL 生成、接口整合性を伴う断片統合、AST に基づく局所性対応デバッグを備える LocalV を開発。
- 計画・生成・デバッグの各段階で Retriever Agent を用い、各サブタスクに局所化された文書断片を取得。
- 局所性対応デバッグループを適用し、波形/AST のエラーを特定の文書断片へ追跡し、ターゲットとなる修正アクションを出力。
- RealBench および CVDP(cid003) を対象に LocalV を SOTA の LLM・エージェントベース系と比較して評価。

実験結果
リサーチクエスチョン
- RQ1IPレベル Verilog 生成を短文・短コードタスクへ情報喪失なく分割できるか。
- RQ2局所性対応の前処理・計画・デバッグが長文 HDL 生成の構文的・機能的正確性を改善するか。
- RQ3RealBench および CVDP で LocalV は最先端のモノリシックおよびエージェントベースのベースラインと比べてどうか。
- RQ4 indexing・計画・デバッグの構成要素が全体の性能と効率に与える影響は何か。
主な発見
- LocalV は RealBench で SOTA ベースラインより高い機能的合格率を達成(45.0% vs 21.6%)。
- Claude ベースのバックボーンを用いた LocalV は Table 3 の全タスクで 75.0% の構文正確性と 45.0% の機能正確性を達成し、複数のベースラインを上回る。
- インデックス作成、計画、デバッグは重要であり、インデックスを外すと全体性能が約10ポイント低下し、デバッグとインデックスを外すと機能合格率が約20%へ低下。
- AES IP の検索品質は LocalV バリアントで精度と再現率がともに 0.93 を示し、断片局在化の信頼性を示す。
- PPA 分析では LocalV 生成モジュールが Golden RTL に対して面積・遅延・電力をそれぞれ 2.37%、4.34%、4.63% 改善。
- 情報局所性は RTL・Merger・Debugger エージェントに必要な文脈を大幅に削減(例: 70.8%、54.8%、61.6%)。

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。