Automated techniques may correct certain rule violations, simplifying and
automating the design layout of an electronic circuit, whether embodied
as a design encoding or as a fabricated electronic circuit. Violations of
enclosure design rules, those specifying the minimum amount that a
geometry on a first layer must overlap a geometry on a second layer of a
design layout, and more specifically, violations of asymmetric enclosure
design rules, may be corrected using a geometric construction algorithm.
This geometric construction algorithm may use the known width of the
geometry on the second layer and a predetermined size factor to determine
other parameters for constructing and placing a patch over a violation,
such as the patch width, the patch length, the patch starting edge, and
the patch direction. Patches may be constructed using different
predetermined size factors when asymmetric enclosure violations are
located on first layer geometries in different width ranges.