← Latest papers
🤖 machine learning

TimingLLM: A Two-Stage Retrieval-Augmented Framework for Pre-Synthesis Timing Prediction from Verilog

TimingLLM is a two-stage retrieval-augmented framework that predicts post-synthesis timing metrics (WNS and TNS) directly from Verilog by combining a fine-tuned LLM oracle that extracts structural-timing cues with an LLM-based regressor enhanced by k-nearest neighbor retrieval.

Original authors: Armin Abdollahi, Negin Ashrafi, Mehdi Kamal, Massoud Pedram

Published 2026-04-28
📖 3 min read☕ Coffee break read

Original authors: Armin Abdollahi, Negin Ashrafi, Mehdi Kamal, Massoud Pedram

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are an architect designing a massive, complex skyscraper. In the world of computer chip design (Verilog), there is a huge problem: you don't know if your building will actually stand up or if the elevators will be too slow until the very end, after you’ve already spent millions of dollars on construction and materials.

Usually, to find out if your design "works" (specifically, if the electrical signals move fast enough), you have to run a massive, slow computer simulation called "synthesis." This is like building a miniature, expensive model of the skyscraper just to see if the stairs are too steep. It takes hours, or even days, and if you find a mistake, you have to start all over.

TimingLLM is like having a super-intelligent, instant building inspector who can look at your blueprints and tell you, "Hey, those elevators are going to be too slow," before you even buy a single brick.

Here is how this "Inspector" works, broken down into two stages:

Stage 1: The "Sketch Artist" (Reasoning)

Instead of just guessing, the first part of the AI acts like a detective. It reads your blueprints (the Verilog code) and writes a detailed "investigation report." It doesn't just say "it's slow"; it says, "I see a long hallway here, and the door at the end is too heavy, which will cause a delay."

It then turns this report into a "Digital Fingerprint." This fingerprint doesn't contain the actual code, but it captures the vibe of the design—how complex it is, how many "rooms" (gates) it has, and where the "traffic jams" (critical paths) are likely to happen.

Stage 2: The "Expert Consultant" (Retrieval & Steering)

Now, the second part of the AI takes over. This part is like a veteran engineer who has seen thousands of buildings before.

  1. The Library Search (Retrieval): The AI takes that "Digital Fingerprint" from Stage 1 and runs to a massive library of past projects. It says, "Find me three buildings that have a similar fingerprint to this one."
  2. The "Nudge" (Steering): This is the clever part. Instead of just reading the old projects, the AI uses them to "steer" its own thinking. Imagine you are trying to guess how much a house costs. If you see three similar houses nearby, you don't just add their prices together; you let their prices "nudge" your intuition in the right direction. In technical terms, the AI uses the "knowledge" from those similar past projects to fine-tune its own internal math, making its final guess much more accurate.

Why is this a big deal?

  • It’s Fast: It’s significantly faster than the old, heavy-duty simulation tools. It’s like getting an instant text message instead of waiting for a formal letter in the mail.
  • It’s Smart (and Accurate): It doesn't just guess; it reasons like a human engineer, which makes its errors much smaller.
  • It’s Adaptable: If you decide to change your building materials (switching "technology libraries") or if you want to see how the building handles a heatwave (changing "PVT corners"), you don't have to retrain the whole AI. You just give it a tiny bit of new information, and it learns the new rules almost instantly.

In short: TimingLLM turns a "wait-and-see" process into a "know-as-you-go" process, helping engineers build faster, better, and cheaper chips.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →