English

RAG-Enhanced Kernel-Based Heuristic Synthesis (RKHS): A Structured Methodology Using Large Language Models for Hardware Design

Hardware Architecture 2026-04-30 v1 Information Retrieval

Abstract

Heuristic design upholds modern electronic design automation (EDA) tools, yet crafting effective placement, routing, and scheduling strategies entails substantial expertise. We study how large language models (LLMs) can systematically synthesize reusable optimization heuristics beyond one-shot code generation. We propose RAG-Enhanced Kernel-Based Heuristic Synthesis (RKHS), which integrates retrieval-augmented generation (RAG), compact kernel heuristic templates, and an LLM-driven refinement loop inspired by iterative self-feedback. Applied to latency-minimizing list scheduling in high-level synthesis (HLS), a prototype reduces average schedule length by up to 11 percent over a baseline scheduler with only 1.3x runtime overhead, and the structured retrieval-synthesis loop generalizes to other EDA optimization problems.

Keywords

Cite

@article{arxiv.2604.26153,
  title  = {RAG-Enhanced Kernel-Based Heuristic Synthesis (RKHS): A Structured Methodology Using Large Language Models for Hardware Design},
  author = {Shiva Ahir and Alex Doboli},
  journal= {arXiv preprint arXiv:2604.26153},
  year   = {2026}
}

Comments

Presented at the NSF Workshop on Agents for Chip Design Automation, UCLA

R2 v1 2026-07-01T12:40:14.934Z