Lorecast: Layout-Aware Performance and Power Forecasting from Natural Language
Runzhi Wang, Prianka Sengupta, Cristhian Roman-Vicharra, Yiran Chen, Jiang Hu
TL;DR
Lorecast addresses the need for fast, layout-aware performance and power forecasts in early chip design stages by translating natural language prompts into Verilog code via LLMs and then forecasting post-routing power and timing (TNS) using an AST-based ML predictor. The method leverages Regulated Prompting with Implicit CoT (RePIC) and Iterative Prompting with Regulated Error Feedback (I-PREF) to ensure syntax correctness and stable code generation, while tolerating functional inaccuracies. Forecasts are produced with an XGBoost model trained on post-routing layout features, yielding near-ground-truth accuracy (≈$R^2=0.99$) and average errors around $2\%$, alongside substantial speedups (~$4.6\times$) compared with conventional HDL-based flows. This approach expands the practical use of LLM-generated HDL code in design space exploration, enabling rapid iteration and reduced reliance on expensive synthesis, even for large circuits.
Abstract
In chip design planning, obtaining reliable performance and power forecasts for various design options is of critical importance. Traditionally, this involves using system-level models, which often lack accuracy, or trial synthesis, which is both labor-intensive and time-consuming. We introduce a new methodology, called Lorecast, which accepts English prompts as input to rapidly generate layout-aware performance and power estimates. This approach bypasses the need for HDL code development and synthesis, making it both fast and user-friendly. Experimental results demonstrate that Lorecast achieves accuracy within a few percent of error compared to post-layout analysis, while significantly reducing turnaround time.
