Foundations¶
The background that every algorithm guide relies on. It assumes basic calculus (derivatives, \(\sum\) notation) and no linear algebra. Every equation is derived step by step, with small numerical examples. The worked examples follow the SimPL paper, so each chapter notes the section of that paper it covers.
| # | Chapter | What you learn |
|---|---|---|
| 1 | The placement problem and wirelength | cells, nets, the density limit, the three placement stages, how wire is measured (HPWL) |
| 2 | The math toolkit, gently | notation, vectors, matrices, derivatives with many variables, "bowls", big-O |
| 3 | Quadratic placement | wires as springs, the linear system \(Q\vec x = \vec b\), a worked example, why everything collapses |
| 4 | Solving a million equations | Jacobi, conjugate gradient, condition number, preconditioning |
| 5 | Net models: clique, star and Bound2Bound | turning a many-pin net into springs; Bound2Bound measures HPWL exactly |
| 6 | Density, potentials and Poisson's equation | demand and supply on a grid, a potential landscape, Poisson's equation, solving it with cosine waves |
Chapter 2 is the longest; read it slowly, and come back to its notation table (§2.1) whenever a formula looks unfamiliar. Readers who know linear algebra can skip chapter 2 and skim chapter 4.
flowchart LR
f1["1 · Placement problem"]:::found --> f3["3 · Quadratic placement"]:::found
f2["2 · Math toolkit"]:::found --> f3
f3 --> f5["5 · Net models"]:::found
f3 --> f4["4 · Solving linear systems"]:::found
f3 --> f6["6 · Density and potentials"]:::found
classDef io fill:#fef3c7,stroke:#d97706,color:#451a03
classDef stage fill:#ccfbf1,stroke:#0f766e,color:#042f2e
classDef found fill:#e0e7ff,stroke:#4f46e5,color:#1e1b4b
classDef simpl fill:#fce7f3,stroke:#db2777,color:#500724
classDef mov fill:#dbeafe,stroke:#2563eb,color:#172554
classDef fixed fill:#e5e7eb,stroke:#374151,color:#111827
After the foundations, continue with an algorithm guide, for example SimPL.