Some embodiments of the invention provide a method of routing. The method
selects a net with a set of routable elements in a multi-layer layout
region. In some embodiments, the method identifies a route for the net
based on different congestion goals on different layers. In other
embodiments, the method identifies a route for the net based on different
congestion goals between different layer pairs. In some embodiments, the
method identifies a route for the net based on both the different
congestion goals on different layers and between different layer pairs.