The present invention provides a method for performing design rule check
(DRC) of an integrated circuit. A design layout of the integrated circuit
is provided. The integrated circuit includes a complex circuit. A DRC
tool is used to compare a portion of the design layout with a reference
layout containing an accurate implementation of the complex circuit. The
portion of the design layout corresponds to the complex circuit.