mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
DRC rules. The substitutions are specified by "%d" for the main rule distance, "%c" for the corner rule distance (sometimes interpreted differently; e.g., as width in the widespacing rule), and "%a" for rule area (e.g., maxarea rule). In addition to simplifying the process of writing rule violation strings, the benefits are twofold: (1) The output is in meaningful physical units, but in the case of SCMOS technology, will scale properly depending on the selected GDS output style, and in the case of all technologies, will scale properly with internal grid division; and (2) when using lambda, but where rules are given in vendor minimum dimensions, the rules will be based on the lambda rule approximation (that is, distances will be rounded to the nearest lambda but reported in microns). Behavior is unchanged from previous versions for "why" strings not using the defined substitution sequences.