Some embodiments of the invention provide a method of routing nets in a region
of an integrated-circuit ("IC") layout. The method selects a net that has several
routable elements. It then defines a route for the net. To define the route, the
method uses a wiring model that specifies preferred non-Manhattan wiring directions.
It also uses a manufacturing grid as the only grid for constraining the location
of interconnect lines for connecting the net's routable elements.