- Date
- 2026-11-06
- Feature
- Worst-Case Points, in ASE-Integrator
- Test case
- A sky130 bandgap reference: device mismatch at the typical corner (91 random variables), six outputs from a 0–70 °C sweep
- Short answer
- In about six minutes, Worst-Case Points found the 3σ and 3.5σ worst cases of all six outputs, in both directions. A brute-force run of 470,016 samples, 3.6 hours of simulation, confirmed 22 of those 24 answers. The tool had already flagged the other two.
The question before volume
A design that passes at nominal and across a few hundred Monte Carlo samples is not yet ready for volume. In volume, rare events happen every day. If a spec limit sits exactly three standard deviations (3σ) from the mean, about 1,350 parts in every million miss it on that side. Ship a million units, and that one spec alone gives you more than a thousand rejects or returns.
So the questions that decide a volume tape-out are about the tails of the distribution:
- How far is each spec limit from the edge, in sigma?
- Which combination of device variations takes the circuit there?
- Will that margin survive the next design change?
Customers ask the same questions in their own terms. Many, automotive customers in particular, ask for a process capability (Cpk) of 1.33 or 1.67: four or five standard deviations between the mean and the nearest spec limit.
Why the tails are hard
A few hundred samples show the middle, not the edge
A Monte Carlo run of a few hundred samples gives you a good mean and a good standard deviation. It holds few samples beyond 3σ, often none: on a given side you expect one in every 740 samples.
"None of my samples failed" says less than it sounds
Zero failures in 1,000 samples shows, with 95% confidence, only that the failure rate is below 0.3%. That is about 2.75σ. Showing a 4σ margin by zero failures takes about 95,000 samples; 5σ takes about 10.5 million.
The bell-curve shortcut
The usual shortcut is the mean plus or minus k standard deviations. That works when the output is bell-shaped. Many outputs are not: anything bounded, folded or built as a ratio. There the shortcut can be wrong in either direction, including the dangerous one. There is an example below.
Brute force gets expensive fast
You can always run more samples. But every extra half sigma multiplies the cost by roughly four to ten (table below).
A failing sample is not a design corner
When a big run does produce failures, each one is a random draw of every variable at once. It tells you that the circuit can fail. It does not tell you the most likely way it fails, and it makes a poor corner to design against or to re-check after a fix.
What Worst-Case Points gives you
Worst-Case Points works from the Monte Carlo run you already have. For every output, in each direction a spec can fail, it finds the most likely combination of device variations that takes the output to the sigma level you choose. Then it simulates the circuit there.
- A real circuit, not an extrapolation. The worst-case value is a SPICE simulation of one concrete set of device values.
- Open it and look. Open the point as an ordinary simulation and probe it like any other run: waveforms, operating points, everything.
- See why. The point shows which devices moved, and how far. Variation Contribution shows which ones dominate the spread. Double-click a device in either, and it lights up in your schematic in its own colour.
- Keep it. Export the point to a file, so other test benches can run at it: a transient, a stress test or a trim run at the 3.5σ worst case. Re-run it after every design change.
- Honest when it can't. When it can't pin a point down, it says "not converged" instead of handing you a number.
How we checked it
Our test case is a bandgap reference in SkyWater's open-source 130 nm PDK (sky130), with device mismatch at the typical process corner: 91 independent random variables. A temperature sweep from 0 to 70 °C gives six outputs:
- the output voltage at 27 °C;
- the amplifier's offset;
- three temperature coefficients: end-point, box method, and the slope at 27 °C that a trim would null;
- the turnover temperature, where the slope is zero.
Worst-Case Points started from an ordinary 500-sample Monte Carlo run. It found the worst case of every output in both directions, at 3σ and at 3.5σ: 24 worst-case points.
The numbers behind the figure
| Output | Mean | σ | Lowest sample | Highest sample | Worst case at 3σ: low / high | At 3.5σ: low / high |
|---|---|---|---|---|---|---|
| Output voltage at 27 °C (V) | 0.97020 | 0.01245 | 0.93214 | 1.00611 | 0.93275 / 1.00730 | 0.92660 / 1.01359 |
| Amplifier offset (mV) | −0.066 | 1.475 | −4.560 | 4.084 | −4.692 / 4.536 | −5.460 / 5.306 |
| Tempco, end-point (ppm/°C) | 27.37 | 15.69 | −19.76 | 86.12 | −21.07 / 77.07 | −29.13 / 85.41 |
| Tempco, box method (ppm/°C) | 28.04 | 14.47 | 2.39 | 86.12 | not converged / 76.90 | not converged / 85.22 |
| Tempco, slope at 27 °C (ppm/°C) | 24.75 | 15.68 | −22.27 | 83.53 | −23.72 / 74.45 | −31.77 / 82.80 |
| Turnover temperature (°C) | −69.9 | 105.1 | −1,764 | 113.3 | −543 / 101.3 | −973 / 129.9 |
| Output | Past the 3σ line: low / high | Past the 3.5σ line: low / high |
|---|---|---|
| Output voltage at 27 °C | 2 / 0 | 0 / 0 |
| Amplifier offset | 0 / 0 | 0 / 0 |
| Tempco, end-point | 0 / 1 | 0 / 1 |
| Tempco, box method | – / 1 | – / 1 |
| Tempco, slope at 27 °C | 0 / 1 | 0 / 1 |
| Turnover temperature | 2 / 1 | 1 / 0 |
Over all six outputs, four different samples are past a 3σ line, and one is past a 3.5σ line.
| Output | Bins | Samples per bin, left to right |
|---|---|---|
| Output voltage at 27 °C | 0.920 to 1.020 V, 25 bins | 0, 0, 0, 2, 2, 6, 6, 11, 33, 36, 70, 57, 65, 59, 36, 42, 30, 25, 11, 6, 1, 2, 0, 0, 0 |
| Amplifier offset | −6.5 to 6.5 mV, 26 bins | 0, 0, 0, 2, 3, 4, 5, 9, 22, 38, 49, 62, 52, 69, 69, 52, 27, 19, 10, 2, 5, 1, 0, 0, 0, 0 |
| Tempco, end-point | −40 to 95 ppm/°C, 27 bins | 0, 0, 0, 0, 2, 4, 5, 10, 20, 29, 30, 49, 67, 65, 68, 55, 38, 21, 20, 7, 3, 3, 2, 1, 0, 1, 0 |
| Tempco, box method | −40 to 95 ppm/°C, 27 bins | 0, 0, 0, 0, 0, 0, 0, 0, 26, 38, 34, 51, 67, 65, 68, 55, 38, 21, 20, 7, 3, 3, 2, 1, 0, 1, 0 |
| Tempco, slope at 27 °C | −40 to 95 ppm/°C, 27 bins | 0, 0, 0, 2, 1, 5, 7, 14, 25, 30, 35, 62, 72, 66, 58, 45, 36, 17, 11, 7, 3, 0, 3, 0, 1, 0, 0 |
| Turnover temperature | −1,100 to 150 °C, 25 bins | 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, 5, 11, 34, 76, 149, 143, 66, 10, 1; plus 1 below the chart (−1,764) |
Then we ran the brute force: 470,016 Monte Carlo samples, in 24 batches with separate seeds. That is enough to pin the true 3.5σ value of each output to about ±0.05σ. It took 3.6 hours of simulation on 16 parallel simulators.
- Not one of the 470,016 simulations failed.
- The 24 batches agreed with each other statistically.
- Both runs used the PDK's recommended simulator settings and tight solver tolerances.
For each of the 24 points we compared two things:
- the brute force's value at that sigma level, with its 95% confidence band;
- the value Worst-Case Points reported, and how many of the 470,016 samples lie beyond it. That count gives the value's real sigma level.
The result: 22 of 24
| Output | 3σ high | 3σ low | 3.5σ high | 3.5σ low |
|---|---|---|---|---|
| Output voltage | ✓ | ✓ | ✓ | ✓ |
| Amplifier offset | ✓ | ✓ | ✓ | ✓ |
| Tempco, end-point | ✓ | ✓ | ✓ | ✓ |
| Tempco, box method | ✓ | flagged | ✓ | flagged |
| Tempco, slope at 27 °C | ✓ | ✓ | ✓ | ✓ |
| Turnover temperature | ✓ | ✓ | ✓ | ✓ |
✓: the value Worst-Case Points reported is inside the brute force's 95% band. Flagged: the tool marked the point "not converged".
At 22 of the 24 points, the reported value is inside the band. Measured against all 470,016 samples, the real sigma levels of those 22 values are 2.98 to 3.02 where we asked for 3, and 3.46 to 3.54 where we asked for 3.5.
The other two are the low side of the box-method tempco. That measure can never be negative, and nobody sets a lower limit on it. Its true 3σ value is 2.15 ppm/°C, just above zero. Worst-Case Points marked both points "not converged" rather than pass off a guess.
The numbers at 3.5σ:
| Output | Side | Brute force: 3.5σ value [95% band] | Worst-Case Points | Its real sigma level |
|---|---|---|---|---|
| Output voltage (V) | high | 1.01325 [1.01269, 1.01390] | 1.01359 | 3.54 |
| low | 0.92638 [0.92578, 0.92709] | 0.92660 | 3.49 | |
| Amplifier offset (mV) | high | 5.341 [5.253, 5.417] | 5.306 | 3.48 |
| low | −5.411 [−5.487, −5.343] | −5.460 | 3.54 | |
| Tempco, end-point (ppm/°C) | high | 85.18 [84.39, 86.06] | 85.41 | 3.52 |
| low | −29.39 [−30.35, −28.64] | −29.13 | 3.49 | |
| Tempco, box method (ppm/°C) | high | 85.18 [84.39, 86.06] | 85.22 | 3.50 |
| low | 1.65 [1.57, 1.69] | not converged | – | |
| Tempco, slope at 27 °C (ppm/°C) | high | 82.43 [81.81, 83.28] | 82.80 | 3.52 |
| low | −31.84 [−33.04, −31.09] | −31.77 | 3.49 | |
| Turnover temperature (°C) | high | 132.2 [128.9, 137.0] | 129.9 | 3.46 |
| low | −961 [−1,028, −896] | −973 | 3.51 |
Where the shortcut goes wrong
Here is the bell-curve shortcut against the same brute force, at 3.5σ. We gave the shortcut its best chance: its mean and standard deviation come from all 470,016 samples, not from a few hundred.
| Output | Side | Shortcut: mean ± 3.5σ | Brute force [95% band] | Worst-Case Points |
|---|---|---|---|---|
| Output voltage (V) | high | 1.01337 | 1.01325 [1.01269, 1.01390] | 1.01359 |
| Tempco, box method (ppm/°C) | high | 81.5 | 85.2 [84.4, 86.1] | 85.2 |
| Turnover temperature (°C) | high | 432 | 132 [129, 137] | 130 |
| Turnover temperature (°C) | low | −573 | −961 [−1,028, −896] | −973 |
- Output voltage is bell-shaped, and the shortcut is right.
- The box-method tempco folds at zero, and the shortcut is optimistic: 81.5 ppm/°C against a real 85.2. A spec of 83 ppm/°C would look safe at 3.5σ, and it isn't.
- The turnover temperature has long, lopsided tails. The shortcut is about 300 °C too pessimistic on one side and about 390 °C too optimistic on the other.
Worst-Case Points lands inside the band on all four.
The turnover temperature is a ratio, and its denominator is the curve's curvature. On a nearly straight curve it runs far outside the 0–70 °C range, and that is what gives it such long tails.
You can see both shapes in the histograms above: the box-method tempco stops at zero, and the turnover temperature trails far off to the left.
Six minutes against 3.6 hours
Worst-Case Points answered all 24 questions in about six minutes, the 500-sample Monte Carlo run included: 4,337 simulations in all. The brute force needed 470,016 simulations and 3.6 hours, 34 times as long.
And brute force only gets worse as the sigma level rises. This is what a check like ours would take on this bench, at 27.6 ms a sample with 16 simulators in parallel:
| Sigma level | Parts per million beyond it (one side) | Samples to pin the value to ±0.05σ | Time on this bench |
|---|---|---|---|
| 3σ | 1,350 | 105,000 | 48 minutes |
| 3.5σ | 233 | 469,000 | 3.6 hours |
| 4σ | 32 | 2.7 million | 21 hours |
| 4.5σ | 3.4 | 20 million | 7 days |
| 5σ | 0.29 | 200 million | 2 months |
| 6σ | 0.001 | 41 billion | 36 years |
We stopped at 3.5σ because that is where a brute-force check stops being affordable. And this bench is a fast one: a 71-point DC sweep. A transient test bench can take seconds per sample, not milliseconds.
What this means on the way to volume
- Sign off at the corners your design actually has. A worst-case point belongs to your circuit and your spec, not to a generic process corner.
- Know each margin in sigma. Pass or fail over a few hundred samples says little about the tails. A sigma level for each spec says a lot.
- Fix the cause, then re-run the same point. See which devices drive the failure, change the design, and re-simulate exactly the same point in a single simulation.
- Carry the point into your other tests. Trim, stress and transient tests can all run at the worst case you found.
- Spend compute where it counts. Minutes per sigma level, on every design iteration, instead of hours or months of brute force.
Worst-Case Points is part of ASE-Integrator, alongside its Monte Carlo runs and Variation Contribution.