Every layer of a chip starts life as a photomask — a 6-inch glass plate carrying that layer's entire pattern at $4\times$ magnification, projected back down onto the wafer one flash at a time. From design file to printed wafer, the flow looks like this:
A few things are worth knowing about why this glass plate is one of the most demanding objects in the fab:
A mask is a magnified master, not a 1:1 stencil. Projection optics shrink the mask pattern by $4\times$, so a 100 nm wafer feature starts as a 400 nm chrome shape on the plate. That magnification is deliberate: it relaxes the mask shop's defect and placement budget by the same factor, and it is why resolution is quoted at the wafer with $R = k_1 \lambda / \mathrm{NA}$ while the mask itself is drawn four times looser. EUV masks break the glass-plate picture — at $13.5\,\mathrm{nm}$ nothing transmits, so the "mask" is a mirror coated with 40–50 molybdenum/silicon bilayers that reflects the patterned light instead.
The mask no longer looks like the chip. Because printed features are far smaller than the exposure wavelength, every polygon is pre-distorted with optical proximity correction (OPC): serifs, hammerheads, and sub-resolution assist bars that never print themselves but force the printed contour true. A leading-edge mask data file runs to terabytes, and writing one plate with an electron beam takes 10–30 hours — the mask shop runs computational lithography nearly as heavy as the fab's.
One mask defect repeats on every die. A particle or chrome flaw on the master prints identically into all 1000+ wafers that mask will ever expose, so blanks are inspected die-to-database before patterning, written masks are re-inspected after every major step, and defects are nanomachined away with electron-beam or focused-ion-beam repair. Finished masks ship with a pellicle — a thin film stretched millimeters above the pattern that holds any landing particle far out of focus. EUV pellicles that survive $13.5\,\mathrm{nm}$ bombardment without dimming the beam took the industry the better part of a decade.
The mask set paces and prices the node. A leading-edge chip needs 80+ masks, one per patterning layer, and a full set costs $15\,\mathrm{M}+$ — committed before the first wafer starts. That is why multiproject wafers exist for prototyping, why mask turnaround (days to weeks per layer revision) sets the iteration speed of a tape-out, and why a single mask respin can erase a product's margin.
Read a mask through a *master-copy* lens rather than a *stencil* lens: the number that matters is not how fine one flash prints but how many trillions of copies one plate must print flawlessly — every hard problem in the mask shop, from terabyte OPC data to e-beam repair to EUV pellicles, is ultimately a different way of protecting that multiplication.