Optical proximity correction (OPC) adjusts a mask's pattern to compensate for the predictable distortions that occur when light diffracts through features smaller than or comparable to the lithography system's exposure wavelength. Rather than simply shrinking or scaling the intended design, OPC algorithms apply pattern-dependent corrections, biasing line widths, adding serifs at corners, adjusting feature edges, based on each feature's specific local geometry and its neighboring features, since the diffraction-driven printing distortion a feature experiences depends on exactly what surrounds it.
The reason a uniform scaling factor cannot solve this problem is that diffraction distortion is inherently local, not global. An isolated line surrounded by open space experiences different diffraction-driven light interference than an identical line packed tightly between neighbors, so the two need different corrections even though they were drawn with the same intended width; OPC algorithms therefore evaluate each feature in the context of its actual surroundings and compute a correction specific to that local pattern density and spacing, which is why OPC output looks visually different from the original design, serifs, jogs, and biased edges that would be meaningless if applied uniformly but are precisely targeted to counteract that feature's specific diffraction behavior.
This pattern-dependence is also why OPC has become one of the most computationally intensive steps in mask preparation as feature sizes have shrunk relative to exposure wavelength. Every edge segment across an entire chip layer has to be evaluated against its local neighborhood and individually corrected, and as the ratio of feature size to wavelength has become more extreme at advanced nodes, the corrections required have grown more aggressive and more numerous, driving the computational cost of OPC from a relatively light post-processing step in earlier generations to a major driver of mask data preparation time and cost today.
| Printing problem | What OPC adds | Why it is local, not uniform |
|---|---|---|
| Rounded corners | Serifs at corners | Corner rounding severity depends on the corner's specific neighbors |
| Line-width shrinkage | Biased (widened or narrowed) edges | Shrinkage amount depends on local pattern density |
| Line-end shortening | Extended line ends (hammerheads) | End-shortening depends on what's near that specific line end |
This basic form of OPC is the most computationally efficient tool in a larger toolkit — model-based correction, which simulates each feature's actual printing behavior rather than applying fixed correction rules, trades that efficiency for substantially better accuracy, which is the distinction covered next.