AI Silicon · Physical Design

From Transformer Math to Physical Silicon — Designing an LLM AI Accelerator

Published August 20, 2026 · Ondevtra Engineering · 14 min read

Large language models look elegant at the mathematical level: tokens become vectors, vectors move through repeated transformer layers, and the model produces probabilities for the next token. In silicon, however, those equations turn into a much harder engineering problem.

An LLM accelerator must perform enormous amounts of matrix and tensor computation while moving weights, activations, and key-value (KV) cache data through a limited amount of on-chip memory, interconnect, package bandwidth, power, and routing resources. This is where architecture meets physical design.

This article builds a practical physical-design mental model for the kinds of issues an LLM accelerator creates — from transformer math all the way down to congestion, IR drop, and thermal hotspots.

1. From Transformer Math to a Hardware Workload

LLM inference pipeline: from text tokens through embedding, context matrices, transformer layers, to next-token probability via softmax

The transformer starts with text, but the hardware very quickly sees numbers. A simplified flow is:

Text
  ↓
Tokens
  ↓
Embedding vectors
  ↓
Repeated transformer layers
  ├─ Attention (Q, K, V matrix ops)
  └─ Feed-forward / MLP
  ↓
Final hidden state
  ↓
Unembedding / output projection
  ↓
Logits → Softmax → Next-token probability

The embedding lookup is largely a memory-access problem. Once the representation enters the transformer layers, a large fraction of the work becomes matrix multiplication, tensor arithmetic, reductions, normalization, and data movement.

From the chip designer's point of view, two things dominate:

A matrix engine can be extremely fast, but it does not help if it is continuously waiting for weights or activations.

2. A Simplified LLM Accelerator Architecture

AI accelerator high-level architecture showing HBM, HBM PHY, NoC, SRAM buffers, tensor/matrix compute array, vector unit, and scalar control unit

A useful conceptual architecture contains:

The architectural goal is simple to state:

Keep expensive compute units busy while minimizing data movement.

But physically this immediately becomes complicated. Large SRAM macros consume area. Wide buses consume routing tracks. High-bandwidth interfaces constrain floorplanning. Large compute arrays create high switching activity and current demand. All of these effects interact with timing.

3. Prefill vs Decode — Two Very Different Workloads

Comparison of prefill (many tokens, large GEMMs, compute-bound) versus decode (sequential, memory-bound, KV cache bandwidth critical)

LLM inference is not one uniform workload. The same chip must handle two fundamentally different operating regimes.

Prefill (Prompt Processing)

During prefill, many prompt tokens are processed together. This gives:

Decode (Autoregressive Generation)

During decode, the model generates one or a few new tokens at a time. Now the chip repeatedly needs to access model weights, the growing KV cache, and the latest hidden representation. The workload becomes:

Design challenge: one chip must be efficient in both regimes. This affects memory hierarchy, NoC design, buffer sizing, compute-array shape, and ultimately the floorplan.

4. Physical Design Challenges in AI Chips

Four physical design challenges: congestion causing longer wires, timing closure with setup/hold violations, IR drop reducing local voltage, and thermal hotspots causing throttling

4.1 Routing Congestion

AI accelerators contain many repeated processing elements, wide data buses, large SRAM macros, high-bandwidth NoC links, and interfaces to HBM PHYs. All compete for limited routing resources.

If the floorplan forces too many buses through the same area, routing detours appear:

Congestion
   ↓
Longer routes
   ↓
Higher RC delay
   ↓
Setup violations
   ↓
More ECOs, slower frequency

Physical designers respond by moving or rotating macros, opening routing channels, reducing placement density, assigning higher metal layers to long buses, and coordinating with architecture when the physical structure itself is the bottleneck.

Floorplanning is often the first timing optimization.

4.2 Timing Closure

AI chips often have aggressive frequency targets and long interconnect between compute, SRAM, NoC, and control logic. Path delay is not only gate delay:

Total path delay = cell delay + wire RC + coupling + clock uncertainty + PVT variation

On advanced nodes, the wire can be as important as the logic. One of the most difficult loops is:

Timing violation
    ↓
Upsize cell / add buffer
    ↓
More area + capacitance
    ↓
More congestion
    ↓
Longer wires
    ↓
Timing gets worse

This is why timing closure cannot be treated as a sequence of isolated gate fixes. The physical context matters — and Multi-Mode Multi-Corner (MMMC) analysis becomes essential to converge across the full operating space.

4.3 IR Drop and Power Density

AI compute arrays have very high switching activity because many MAC units operate simultaneously. Combined with wide buses, large clock networks, high frequency, and large SRAM structures, this creates substantial power density.

The power grid has resistance. When compute activity increases:

Current ↑
   ↓
IR drop ↑
   ↓
Local VDD ↓
   ↓
Cell delay ↑
   ↓
Timing margin ↓

This means power-integrity analysis and STA are not independent activities. A path that closes under ideal voltage may fail in a region suffering dynamic voltage droop.

4.4 Thermal Hotspots

Dense compute arrays create localized heat. Higher temperature causes increased leakage, timing shifts, reliability degradation, and additional power-grid stress. The feedback loop can become self-reinforcing:

Activity ↑ → Power ↑ → Temperature ↑ → Leakage ↑ → Power ↑ (again)

Thermal-aware floorplanning is critical for large AI accelerators to avoid throttling risk and lifetime reduction.

5. How These Issues Impact Timing and Power

Diagram showing how timing impact (longer interconnect, coupling noise, IR drop, variation leading to setup violations) and power impact (high activity, large capacitance, high frequency, voltage quadratic effect) are tightly coupled in AI chips

Dynamic power follows the relationship:

P_dynamic = α · C · V² · f

where:
  α = switching activity (very high in tensor arrays)
  C = switched capacitance (large buses + big macros)
  V = supply voltage (quadratic impact)
  f = frequency (high for throughput)

Power, timing, and thermal behavior are tightly coupled in AI chips. A stronger power grid improves IR drop and electromigration, but wider power metal consumes routing resources — potentially increasing congestion. This is the fundamental tradeoff that physical design must navigate.

Electromigration

High current density creates electromigration risk in power straps, vias, clock networks, and local high-current structures. Fixes include wider metal, more vias, additional straps, and better current spreading — but all of these compete for routing resources.

Clock Distribution

A large tensor engine may contain millions of sequential elements. The clock network must control skew, insertion delay, OCV sensitivity, transition quality, clock power, and routing congestion — all simultaneously. A CTS change can affect timing, power, IR drop, and congestion at once.

6. Physical Design Solutions and Best Practices

Physical design solutions table covering floorplanning, congestion management, timing closure MMMC, power integrity, clocking CTS, thermal management, signal integrity, and architectural co-design

Floorplanning

Congestion Management

Timing Closure (MMMC)

Power Integrity

Thermal Management

Signal Integrity

Architectural Co-Design

Some problems cannot be solved by physical implementation alone. When an SRAM is simply too far from compute, a NoC requires too much bandwidth through one region, or a clock target is unrealistic for the topology — the best "physical-design fix" is architectural feedback.

Good silicon is the result of Architecture + Physical Design + Verification + Software working together.

7. Why AI Silicon Is Harder Than Traditional Workloads

A chip takes years to architecture, implement, verify, fabricate, and deploy. AI models change much faster. This creates a difficult balance:

ApproachBenefitRisk
High specializationExcellent efficiency todayMay become obsolete with next model architecture
High flexibilitySupports evolving workloadsWastes power and area on generality

An AI accelerator must balance compute throughput, memory capacity, bandwidth, on-chip data reuse, interconnect, PPA, implementation feasibility, and flexibility for evolving models. Full-stack co-design is essential.

8. The Physical-Design View of PPA

Physical design is ultimately about finding a workable balance among Performance, Power, and Area:

There is rarely a single perfect answer. The best AI silicon is the design in which compute, memory, interconnect, timing, power, thermal behavior, package assumptions, and physical implementation work together as one system.

Conclusion

The mathematics of an LLM may be expressed as embeddings, attention, matrix multiplication, and probability distributions. But the silicon implementation has to deal with wires, resistance, capacitance, voltage drop, clocks, variation, heat, finite routing resources, and physical area.

Architecture defines what the chip wants to do. Physical design determines whether it can actually do it at the required performance, power, area, and reliability.

For LLM accelerators, the hardest problems sit at the boundaries: compute vs memory, architecture vs floorplan, power vs timing, clock vs variation, bandwidth vs congestion, performance vs thermal limits. Mastering these boundaries is what separates good AI silicon from great AI silicon.

References

Building AI Silicon?

Our physical design team works on advanced-node accelerator implementations. From floorplanning through signoff — we can help you close timing, manage power, and tape out on schedule.