1. A system for routing an electronic design, comprising: a computer readable medium comprising a copy of a layout for an electronic design that is to undergo routing; a model related to a manufacturing process to manufacture the electronic design, wherein the model comprises a database of patterns; and a router to implement routing for the layout, the router having an integrated module for performing pattern matching using the database of patterns.