Module 9: GDSII Generation and Tapeout · 9.2 KLayout Review

Cross-Probing Between Layout and Netlist

In the previous article, we inspected physical process layers individually. In this article, we follow a single electrical signal across multiple interconnect layers. In Module 8, Netgen confirmed that layout connectivity matches the post-route netlist. Automated LVS approval confirms topological equivalence, but manual cross-probing provides visual confirmation that critical wires route correctly through expected physical channels. Cross-probing also provides essential debugging assistance when automated LVS reports an open circuit or short circuit.

Tracing Nets in KLayout

KLayout includes an integrated net tracing utility (Tools > Trace Net). Clicking on any metal polygon prompts the tracer to follow physical connections through adjacent polygons and via cuts across all metal layers. The tool highlights the complete contiguous electrical net. The tracer relies on technological layer connectivity definitions. Load the SkyWater 130 nm technology configuration as demonstrated in the previous article. If a custom technology file lacks connectivity definitions, configure the layer stack table manually in the tracer settings.

Trace the signal baud_div_out, which we analyzed during the LVS debugging lab. Click on the output pin of the baud rate divider flip-flop. The tracer highlights the contiguous metal path through met1, met2, met3, and intervening vias. The highlighted net concludes at the input pins of all load cells, including the GATE pin of the clock-gating cell. Figure 1 illustrates a highlighted net trace.

A traced net highlighted in the layout
Figure 1: Tracing baud_div_out highlights every connected shape, from the divider flop's output to each load pin

Locating Nets by Name in OpenROAD GUI

The KLayout net tracer operates strictly on physical geometry and lacks netlist name annotations. To locate physical wires by netlist name, use the OpenROAD graphical interface with the routed database:

openroad -gui
read_lef $PDK_ROOT/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd__nom.tlef
read_lef $PDK_ROOT/sky130A/libs.ref/sky130_fd_sc_hd/lef/sky130_fd_sc_hd.lef
read_def runs/uart_full/results/routing/uart_top.eco.def

Open the search dialog (Ctrl+F), enter baud_div_out, and select the net. OpenROAD highlights the complete routing path and lists all connected instance pins in the inspector panel. Comparing this pin list with the Verilog netlist and the KLayout polygon trace constitutes direct cross-probing.

Visual Signatures of Net Defects

A correct net appears as a contiguous geometric structure: overlapping metal traces joined by vias, connecting the driver pin exclusively to defined receiver pins. Visual signatures identify layout defects:

  • Open Circuit: The trace highlights two or more disconnected polygon islands that do not touch.
  • Short Circuit: The trace extends into unexpected cells or connects two logically independent nets.

Visual cross-probing isolates the physical location of an LVS discrepancy quickly. However, manual tracing cannot replace automated LVS. Automated LVS evaluates the complete design graph systematically. Use manual cross-probing for visual verification and localized diagnostic analysis.

Practice Exercise

You trace baud_div_out in KLayout. The highlighted net includes an isolated metal polygon adjacent to a standard cell filler, without visible connection to the main wire. However, signoff LVS from Module 8 reports a clean match. Identify the most probable explanation and determine whether to trust the LVS report.

Solution

First, verify layer visibility. The net tracer follows physical connectivity through all layers. An isolated highlighted polygon must connect through an active layer that is currently hidden in the display, such as a via or li1 segment. Enable all process layers and re-examine the connection. Standard cell fillers contain only n-wells, implants, and power rails. A signal net cannot connect through a filler cell, but metal signal routes routinely pass over filler cells on upper layers.

If the polygon remains physically disconnected after enabling all layers, the tracer connectivity table is misconfigured. Automated LVS extracts the entire physical netlist using verified foundry rules. Trust the clean LVS signoff result. Re-verify the KLayout technology connectivity setup.

In the next article, we examine the engineering rationale for verifying layout geometry using independent secondary DRC engines.

← Layer-by-Layer Visualization in KLayout Why an Independent Second Tool Matters Here →