HYPERHEURIST: A Simulated Annealing-Based Control Framework for LLM-Driven Code Generation in Optimized Hardware Design

arXiv cs.AI / 4/20/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper introduces HYPERHEURIST, a simulated annealing-based control framework that uses LLM-generated RTL as intermediate candidates rather than direct final hardware designs.
  • It improves reliability by staging the workflow: first filtering candidates through compilation, structural checks, and simulation to retain only functionally valid RTL.
  • Power-Performance-Area (PPA) optimization is applied only after a candidate has passed compilation and simulation, helping balance correctness with efficiency.
  • Experiments on eight RTL benchmarks show that the staged approach produces more stable and repeatable optimization results than single-pass LLM-generated RTL.
  • Overall, the work demonstrates a tighter loop between LLM code generation and hardware verification/optimization to achieve both functional correctness and power efficiency.

Abstract

Large Language Models (LLMs) have shown promising progress for generating Register Transfer Level (RTL) hardware designs, largely because they can rapidly propose alternative architectural realizations. However, single-shot LLM generation struggles to consistently produce designs that are both functionally correct and power-efficient. This paper proposes HYPERHEURIST, a simulated annealing-based control framework that treats LLM-generated RTL as intermediate candidates rather than final designs. The suggested system not only focuses on functionality correctness but also on Power-Performance-Area (PPA) optimization. In the first phase, RTL candidates are filtered through compilation, structural checks, and simulation to identify functionally valid designs. PPA optimization is restricted to RTL designs that have already passed compilation and simulation. Evaluated across eight RTL benchmarks, this staged approach yields more stable and repeatable optimization behavior than single-pass LLM-generated RTL.