Notes · Lithography · October 2026

Building a computational lithography stack, from the optics up.

Every chip starts as a pattern of light. The software that decides how that light lands on a wafer, and how the mask has to be distorted so the right shape prints, comes from a handful of vendors and is tuned to their scanners. I’ve been building one of my own.

What it is

A lithography toolkit that models the whole path from a chip layout to what ends up in resist: the scanner’s optics, the mask, the resist, and the corrections a fab makes before a mask is ever written. It covers five scanner classes, from i-line to High-NA EUV.

EUV13.5 nm · NA 0.33 and 0.55
ArF immersion193 nm · NA 1.35
ArF dry193 nm · NA 0.93
KrF248 nm · NA 0.80
i-line365 nm · NA 0.60
  • Imaging with polarisation at high NA, and the EUV mask solved rigorously rather than as a flat stencil.
  • Resist and photon noise: line-edge roughness, and calibration to measured CDs.
  • Mask correction: OPC and inverse lithography (ILT).
  • Whole-chip sign-off: every layer printed and checked for bridges, breaks, pinches and uncovered vias.

Every part is checked against something outside itself: textbook limits, published reference data and independent solvers. Hundreds of checks run on every change. And every tool can be driven by an AI agent, so a flow can be described in words and run end to end.

The first real test: a chip, end to end

Test patterns only go so far. So I gave an AI agent access to the toolkit and asked it to design a basic chip and print it. It built a 4-bit ripple-carry adder from 36 NAND gates (logic, a standard cell, routing and a layout file), then took it through the whole flow on KrF and on 193 nm immersion. Every defect it found was mapped back to the circuit, and the adder was simulated with those faults: the chip passes only if the printed silicon still adds.

The same 193 nm masks under two illumination sources: 329 hotspots with an annular source, none with a quasar source
One of the four full adders on 193 nm immersion. With a common annular source, 329 places on the chip fail to print (red). With a source chosen for this layout, the same masks print cleanly.
329 → 0hotspots on 193i, by choosing the illumination
0.15 nmedge placement error after mask correction
512 / 512additions correct on the printed chip, KrF and 193i
One NAND2 cell's metal layer as it prints on KrF and on 193 nm immersion
One standard cell as it prints: KrF at 280 nm metal pitch, 193i at 130 nm.

It also shows where a scanner stops. Drawn at a 40 nm metal pitch, the same adder fails on 193i as a single exposure: that is the point where a fab needs EUV or pitch splitting, and the toolkit says so before a mask is made.

A resolution target printed by EUV: the mask, the light at the wafer, and an SEM-style view
A resolution target through EUV: the mask, the light at the wafer, and a top-down SEM-style view of the resist.

Why build this

Commercial tools are tuned to the scanners of the companies that build them. A newer scanner maker, or a research fab running its own process, gets a generic model at best. A toolkit built from the optics up can be fitted to any scanner: its real illumination, its measured lens errors, its process. That matters for anyone building semiconductor capability outside the usual supply chain, and in India most of all.

What’s next

01

Calibration on real silicon

Fit the models to one real scanner and a test reticle with CD-SEM data. The step that turns a simulator into a production model.

02

Multipatterning for DUV

Split layouts below the single-exposure limit into LELE, SADP and SAQP masks, then print and check every mask.

03

Process-window correction

Mask correction that holds across focus and dose, not just at the nominal setting.

04

Full-chip speed

Whole-layer imaging on the GPU, aiming at hours per square millimetre.

05

Fitting into real flows

Design-rule checks, OASIS and LEF / DEF, and hotspots in a form a router can avoid.

06

E-beam direct write

Proximity correction for electron-beam lithography, on the same correction engine.

To be clear about where it stands: these are simulation results. The models are checked against physics and other solvers, not yet against wafers from a real scanner. That is the next step, and the one I’m looking for partners for.

Early access

Running a fab, a scanner, or a process line?

The toolkit is not public. I’m opening it to a small number of fabs, scanner makers and research labs who want to try it on their own machines and layouts, starting with a short demo.

Request access ↗hello@chaii.wtf