Module 8: Physical Verification · 8.2 Layout vs. Schematic

Why a DRC-Clean Layout Can Still Be Functionally Wrong

In Section 8.1, we repaired the UART layout to achieve zero DRC violations. Every geometric feature satisfies width, spacing, and enclosure rules. However, a DRC-clean layout can still fail completely during functional operation. This article explains the fundamental operational differences between DRC and Layout Versus Schematic (LVS) verification.

Geometric Verification vs Electrical Equivalence

Design Rule Checking (DRC) evaluates physical geometries exclusively. A DRC engine measures the dimensions of shapes and the clearances between separate polygons on each layer. It has no knowledge of electrical net names, pin connections, or logical circuit schematics.

DRC cannot identify whether two touching metal polygons belong to the same logical net or to different nets. When two distinct metal shapes touch or overlap, the DRC engine merges them into a single continuous polygon. Because no edge-to-edge gap remains, spacing rules report zero errors.

Two nets as separate shapes and as one merged polygon
Figure 1: Separate shapes are checked for spacing; once a jog joins them, DRC sees a single legal polygon

Figure 1 illustrates this geometric behavior:

  • Separate polygons trigger spacing violations if the clearance is below the minimum threshold.
  • Touching polygons merge into a single wide metal shape, eliminating the gap and passing DRC.

A Real Circuit Failure Scenario

Consider two parallel signal traces in the UART design:

  • Net baud_tick on met2 routing baud generator pulses.
  • Net tx_shift_reg[3] on met2 carrying serialized transmitter data.

During manual layout editing or automated jog creation, a metal polygon connects the two parallel traces. The signals are now shorted together. When simulated in silicon, both output drivers fight each other, corrupting data transmission and causing high leakage current.

However, DRC reports zero violations. The combined metal meets minimum width rules and maintains legal clearances to neighboring tracks. DRC validates manufacturability, but it cannot validate circuit connectivity.

The Role of Layout Versus Schematic (LVS)

Physical verification requires two complementary verification steps:

  1. DRC: Validates that layout shapes comply with foundry manufacturing tolerances.
  2. LVS: Extracts the physical circuit schematic from layout geometries and verifies 1-to-1 equivalence with the synthesized netlist.

A design must pass both checks before tapeout. A layout with zero DRC errors that fails LVS will fabricate into defective silicon.

Practice Exercise

Two met1 polygons from different electrical nets share an edge at coordinate $x = 12.500\ \mu\text{m}$. Does this configuration trigger a DRC spacing error? Explain your reasoning.

Solution

No. The configuration does not trigger a DRC spacing error.

DRC measures clearance between separate polygons. When two shapes touch, the layout engine merges them into a single polygon. The DRC engine evaluates the single merged polygon against width rules. The tool cannot detect that two unrelated electrical nets have shorted together. Only LVS extracts device connectivity to detect the short.

DRC checks geometry, while LVS verifies electrical topology. The next article executes Netgen to extract circuit netlists and verify schematic equivalence on the UART design.

← Fixing a Real DRC Violation Running Netgen: Extracting a Netlist From Layout →