Advancing RTL Code Generation with LLMs

Advancing RTL Code Generation with LLMs

Repository-level code completion for hardware design automation

This research introduces RTLRepoCoder, a novel approach combining fine-tuning and retrieval augmentation to generate complex, repository-level RTL code for hardware design.

  • Addresses the gap in current LLM solutions that primarily focus on single modules rather than real-world, multi-file systems
  • Effectively handles long-context RTL code and complex cross-file dependencies
  • Combines fine-tuning and retrieval augmentation techniques to improve code generation quality
  • Designed specifically for Verilog and hardware design workflows

This innovation matters for Engineering by reducing the labor-intensive nature of RTL code development, potentially accelerating hardware design cycles and reducing development costs.

RTLRepoCoder: Repository-Level RTL Code Completion through the Combination of Fine-Tuning and Retrieval Augmentation

39 | 46