Routing (electronic design automation)

This article is about designing integrated circuits, as part of electronic design automation. For other kinds of routing, see routing (disambiguation).

In electronic design, wire routing, commonly called simply routing, is a step in the design of printed circuit boards (PCBs) and integrated circuits (ICs). It builds on a preceding step, called placement, which determines the location of each active element of an IC or component on a PCB. After placement, the routing step adds wires needed to properly connect the placed components while obeying all design rules for the IC.

The task of all routers is the same. They are given some pre-existing polygons consisting of pins (also called terminals) on cells, and optionally some pre-existing wiring called preroutes. Each of these polygons are associated with a net, usually by name or number. The primary task of the router is to create geometries such that all terminals assigned to the same net are connected, no terminals assigned to different nets are connected, and all design rules are obeyed. A router can fail by not connecting terminals that should be connected (an open), by mistakenly connecting two terminals that should not be connected (a short), or by creating a design rule violation. In addition, to correctly connect the nets, routers may also be expected to make sure the design meets timing, has no crosstalk problems, meets any metal density requirements, does not suffer from antenna effects, and so on. This long list of often conflicting objectives is what makes routing extremely difficult.

Almost every problem associated with routing is known to be intractable. The simplest routing problem, called the Steiner tree problem, of finding the shortest route for one net in one layer with no obstacles and no design rules is NP-hard if all angles are allowed and NP-complete if only horizontal and vertical wires are allowed. Variants of channel routing have also been shown to be NP-complete, as well as routing which reduces crosstalk, number of vias, and so on. Routers therefore seldom attempt to find an optimum result. Instead, almost all routing is based on heuristics which try to find a solution that is good enough.

Design rules sometimes vary considerably from layer to layer. For example, the allowed width and spacing on the lower layers may be four or more times smaller than the allowed widths and spacings on the upper layers. This introduces many additional complications not faced by routers for other applications such as printed circuit board or Multi-Chip Module design. Particular difficulties ensue if the rules are not simple multiples of each other, and when vias must traverse between layers with different rules.

Types of routers

The earliest types of EDA routers were "manual routers" -- the drafter clicked a mouse on the endpoint of each line segment of each net. Modern PCB design software typically provides "interactive routers" -- the drafter selects a pad and clicks a few places to give the EDA tool an idea of where to go, and the EDA tool tries to place wires as close to that path as possible without violating design rule checking (DRC). Some more advanced interactive routers have "push and shove" features in an interactive router; the EDA tool pushes other nets out of the way, if possible, in order to place a new wire where the drafter wants it and still avoid violating DRC. Modern PCB design software also typically provides "autorouters" that route all remaining unrouted connections without human intervention.

The five main types of autorouters are:

How routers work

Many routers execute the following overall algorithm:

For detailed routing, the most common technique is rip-up and reroute:

This process repeats until all nets are routed or the program (or user) gives up.

An alternative approach is to treat shorts, design rule violations, obstructions, etc. on a similar footing as excess wire length—that is, as finite costs to be reduced (at first) rather than as absolutes to be avoided. This multi-pass "iterative-improvement" routing method[5] is described by the following algorithm:

Most routers assign wiring layers to carry predominantly "x" or "y" directional wiring, though there have been routers which avoid or reduce the need for such assignment.[6] There are advantages and disadvantages to each approach. Restricted directions make power supply design and the control of inter-layer crosstalk easier, but allowing arbitrary routes can reduce the need for vias and decrease the number of required wiring layers.

See also

External links

References

Notes:

  1. C.Y. Lee (1961). "An algorithm for path connections and its applications". IRE Trans. Electronic Comput. EC-10 (3): 346–365. doi:10.1109/TEC.1961.5219222.
  2. D.W. Hightower (1969). "A solution to line-routing problems on the continuous plane". DAC’69: Proceedings of the 6th Annual Conference on Design Automation. ACM Press. pp. 1–24. This contains one of the first descriptions of a "line probe router".
  3. J. Reed, A. Sangiovanni-Vincentelli, and M. Santamauro (1985). "A new symbolic channel router: YACR2". IEEE Trans. CAD: 203–219,.
  4. J. Soukup (1979). "Global Router". Proceedings of the 16th Design Automation Conference. San Diego, CA: IEEE Press. pp. 481–489.
  5. F. Rubin (1974). "An iterative technique for printed wire routing". Proc. 11th Design Automation Workshop. pp. 308–13.
  6. R. Linsker (1984). "An iterative-improvement penalty-function-driven wire routing system" (PDF). IBM J. Res. Develop 28 (5): 613–24. doi:10.1147/rd.285.0613.
This article is issued from Wikipedia - version of the Friday, January 01, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.