Introduction
What is Routing?
Routing is the process of creating physical electrical connections between standard cells and other design components using metal interconnect layers.
After placement, the locations of standard cells are determined, but the connections between them are not yet physically completed. Routing establishes these connections by creating metal wires and vias across the available routing layers.

The primary purpose of routing is to establish all required connections while satisfying design rules, timing requirements, and signal integrity constraints.
Why is Routing Difficult?
Routing is one of the most challenging stages of physical design because of the following factors:
A. Scale
Modern chips contain millions of connections.
Every required net must be physically connected.
Routing all these connections without conflicts is computationally challenging.
B. Geometrical Complexity
Wires must follow valid physical paths across the chip.
Multiple metal layers are available for routing.
Each layer may have different routing directions and characteristics.
Design rules impose restrictions on wire width, spacing, and via placement.
C. Electrical Complexity
Simply connecting two terminals is not sufficient. The routed wires must also satisfy electrical requirements.
Wire Delay: Resistance and capacitance of interconnects affect signal propagation delay.
Crosstalk: Switching activity on one net can affect neighboring nets.
Signal Integrity: Signals must maintain their intended behavior without unacceptable noise or interference.

Objectives of Routing
The major objectives of routing are:
100% Connectivity: Establish all required electrical connections between the terminals of every net.
Minimum Wirelength: Minimize the total length of routed wires to reduce parasitic resistance and capacitance.
Congestion Management: Distribute routing resources efficiently and avoid excessive congestion.
Timing Optimization: Ensure that signal delays meet the required timing constraints.
Signal Integrity: Minimize crosstalk and other unwanted electrical effects.
Design Rule Compliance: Ensure that routed wires and vias satisfy the technology-specific design rules.
What is SPEF?
SPEF stands for Standard Parasitic Exchange Format. It is a standard file format used to represent the parasitic resistance and capacitance of interconnects in a design.
During routing, physical wires are created using metal layers. These wires introduce parasitic resistance and capacitance, which affect signal propagation delay.
SPEF contains the extracted parasitic information associated with the routed interconnects.

Interconnect having parasictic resistance and capacitance.
Why is SPEF required?
Provides parasitic resistance and capacitance information of routed nets.
Helps calculate more accurate interconnect delays.
Used during post-route Static Timing Analysis (STA).
Helps identify timing violations caused by actual routed interconnects.
Important: Before routing, timing analysis may use estimated interconnect parasitics. After routing, actual routing information is extracted and stored in SPEF for more accurate timing analysis.
Routing Flow Overview
The routing process mainly consists of two stages:
1. Global Routing
Determines approximate routing paths and manages congestion.
2. Detailed Routing
Creates actual metal connections and vias.
3. Parasitic Extraction
Extracts interconnect resistance and capacitance into SPEF.
4. Post-Route Timing Analysis
Analyzes timing using extracted parasitics.
The upcoming modules will explain Global Routing and Detailed Routing in detail.
