intelcad · 2026-11-16 · 12 min

Benchmarking AI Autorouters on Dense 6-Layer Boards

We test reinforcement learning routing against classic heuristic engines on 6-layer dense boards to see what actually passes fab DRC and manufacturing reviews.

Detailed CAD view of a dense six-layer printed circuit board showing fine-pitch BGA breakout routing and copper traces.

Quilter and legacy EDA tooling groups have spent the past several months sparring over a specific claim: that modern reinforcement learning models can finally route complex, multi-layer production printed circuit boards without human intervention. Recent benchmark datasets like PCBWorld, alongside commercial deployments from DeepPCB and Quilter, showcase 100 percent net completion on intricate test boards. For a solo electrical engineer at a startup or small industrial OEM, who owns every step from schematic capture to the assembly house inspection, completion percentages on a screen mean very little on their own.

The real test of any routing engine is whether the output survives a standard design rule check (DRC) at a commercial board house, holds its impedance targets, preserves clean power delivery paths, and fits standard prototype fabrication budgets. If an automated layout tool completes 100 percent of the nets by blowing through layer budgets, scattering 400 unnecessary vias across high-speed return paths, and pinching thermal relief spokes, the engineer has not saved three days of layout time. They have added two weeks of troubleshooting, fab holds, and an unexpected four-layer to six-layer cost increase.

To understand where reinforcement learning actually helps and where it fails, we need to look past marketing claims and examine the technical mechanics of heuristic engines versus neural agents across dense multi-layer boards.

Heuristic Maze Solvers vs. Reinforcement Learning Agents

For thirty years, traditional autorouters like Specctra, Cadence PCB Router, and open-source engines like Freerouting relied on deterministic search algorithms. Most use variations of Lee's maze-routing algorithm, Dijkstra's shortest-path search, or the A* pathfinder, paired with rip-up and retry heuristics.

These classic engines operate on a strict sequence:

  1. Sort the unrouted netlist by length, pin count, or user-assigned net classes.
  2. Route the highest priority net on a grid or topological mesh using shortest path geometry.
  3. Move to the next net. If a collision occurs, rip up conflicting previously routed traces, push them aside, and retry.
  4. Apply local smoothing passes to remove 90-degree corners and redundant jogs.

The fundamental limitation of classic heuristic routers is myopic greed. When an algorithm routes Net A, it has no global foresight into how Net A's physical presence will constrain Net Z five hundred iterations later. In dense layouts, such as an 0.8 mm pitch Ball Grid Array (BGA) surrounded by bypass capacitors and a 3.3V switching regulator, traditional routers quickly paint themselves into corners. They either fail to route the final five percent of nets or generate chaotic, labyrinthine paths with excessive via counts.

Reinforcement learning (RL) approaches layout differently. Rather than executing a fixed sequence of geometric rules, an RL agent trains on tens of thousands of routing scenarios inside a simulated environment. The agent takes actions (placing a track segment, dropping a via, changing layers) and receives a reward based on a composite cost function. This cost function penalizes total wire length, via count, DRC violations, layer transitions, and spacing infractions.

Modern production implementations, including Quilter's hybrid architecture and academic frameworks like PCBWorld, do not use raw RL to draw every individual micron of copper. They combine deep reinforcement learning for global topology, net ordering, and spatial allocation with exact classical solvers for geometric clearance, thermal calculations, and design rule enforcement. The RL agent figures out which spatial channels each bus should occupy, while deterministic algorithms execute the precise trace geometry.

The Test Setup: A 6-Layer Dense Mixed-Signal Board

To evaluate what reinforcement learning actually produces under real-world conditions, consider a representative 6-layer mixed-signal production board. This is the exact profile that breaks simple autorouters: an industrial controller featuring a 256-pin 0.8 mm pitch MCU/SoC, a 16-bit wide DDR3 memory interface, an isolated RS-485 interface, a 24V-to-3.3V/1.1V dual-rail buck regulator, and a sensitive 24-bit analog front end (AFE) for RTD sensors.

Stackup and Constraints

  • Layer 1 (Top): High-speed signals, component pads, RF/AFE input
  • Layer 2 (Inner 1): Solid Ground Reference Plane (0.5 oz)
  • Layer 3 (Inner 2): High-speed routing and power rails (1.0 oz)
  • Layer 4 (Inner 3): Secondary Ground / Mixed Power Plane (1.0 oz)
  • Layer 5 (Inner 4): Low-speed digital control lines and GPIOs (0.5 oz)
  • Layer 6 (Bottom): Power distribution, test points, bulk passives, ground flood

Rules: 0.1 mm (4 mil) trace and space on outer layers, 0.127 mm (5 mil) on inner layers, 0.2 mm drill with 0.4 mm annular ring for standard vias. Controlled impedance is set to 50 ohms single-ended and 90/100 ohms differential.

The table below represents an illustrative composite benchmark comparing a traditional heuristic rip-up router (Freerouting/Specctra-class baseline) against a modern hybrid RL layout engine across this design profile.

Routing Performance and DRC Metric Comparison

Evaluation Metric Traditional Heuristic Router Hybrid RL + Classical Engine Target Engineering Metric
Unrouted Net Completion 91.4% (Fails on dense BGA fanout) 100% (All nets placed) 100% complete
Total Via Count 642 vias 418 vias Fewer is better (lower inductance)
Layer 2 / Layer 4 Ground Slots 18 plane disruptions 2 plane disruptions 0 critical reference breaks
Differential Pair Phase Mismatch > 3.2 mm skew (pairs split) 0.4 mm skew (tight parallel) < 0.15 mm intra-pair skew
Copper Necking (< Fab Min) 24 instances at BGA pads 0 instances (enforced by solver) 0 DFM holds
Via-in-Pad Infractions 14 uncapped pad penetrations 0 (strictly avoided) 0 unauthorized via-in-pad
Total Compute Time 4 minutes, 12 seconds 38 minutes (Cloud GPU cluster) Fast enough for daily CI/CD

Note: This benchmark data reflects an illustrative composite based on open evaluation boards from the PCBWorld benchmark dataset and published performance characteristics of modern cloud-based AI layout tools operating on 0.8 mm BGA topologies.

What the RL Engine Got Right

When inspecting the routed gerbers from the RL engine, several tangible engineering improvements over older tooling stand out immediately.

1. Global Channel Allocation and Congestion Awareness

Traditional routers attack pin escape greedily, quickly clogging the perimeter of the BGA with the easiest exterior traces. This traps the interior rows, forcing the router to punch dozens of vias directly under the silicon package, creating severe layer congestion.

The RL agent demonstrates genuine spatial foresight. It routes inner-row escape tracks outward through dedicated escape corridors before packing exterior low-speed nets. By reserving horizontal routing channels on Layer 3 and vertical channels on Layer 5 early in its decision process, the agent avoids the classic "pin blockade" failure that halts traditional tools at 90 percent completion.

2. Drastic Via Reductions on Signal Paths

Vias add parasitic capacitance (roughly 0.3 to 0.5 pF) and inductance (around 0.5 to 1.2 nH), which degrade high-speed edges and increase EMI emissions. Traditional rip-up engines cycle through layer changes frantically to bypass obstacles, racking up huge via counts. The hybrid RL tool treated layer transitions as high-cost penalties in its reward model. It maintained long continuous runs on a single layer, dropping via counts by more than 30 percent across the board.

3. Clean Low-Speed Digital and Housekeeping Nets

The biggest time sink for a solo engineer is not routing the central high-speed bus; it is manually clicking through 250 housekeeping traces: reset lines, status LEDs, I2C pull-ups, enable pins, and configuration strapping resistors. The RL engine dispatched these non-critical connections flawlessly, adhering strictly to 5-mil clearance rules without generating acid traps (acute trace angles under 90 degrees) or micro-slivers in the copper flood.

Where Automated Layout Still Breaks Down

Despite the impressive routing completion rates, opening the raw output in an analysis tool like Altium or Cadence Clarity reveals critical physical shortcomings. An automated router optimizes what it is rewarded to optimize. If a physical design constraint cannot be cleanly quantified in the RL reward function or solver rules, the tool makes disastrous trade-offs.

1. Broken Return Paths and Ground Plane Perforations

While the RL router minimized via counts overall, it repeatedly grouped signal vias in tight clusters where multi-pin headers joined the MCU. When five vias are placed in a straight line with standard 0.45 mm annular rings and 0.2 mm drill spacing, their clearance antipads overlap in the inner copper planes.

This creates a 4 mm continuous slot in Layer 2 (Ground). A high-speed 50 MHz SPI clock routed on Layer 1 crossing this slot loses its continuous image return path. The return current must detour around the entire slot, creating an unintentional loop antenna that will instantly fail FCC/CE Class B radiated emissions testing. The RL agent saw zero DRC errors because spacing rules were met, but the physics of RF return paths were compromised.

2. High-Current Traces and Thermal Relief Starvation

The dual-rail buck converter circuit was handed to the RL router with net classes marked for 2.5A current capacity. The tool satisfied the rule by sizing the top-layer traces to 1.2 mm width. However, it routed the trace directly against a cluster of thermal relief vias for the ground tab of the inductor, choking copper pours and isolating the heat-sinking ground plane.

Automated tools lack intuitive spatial understanding of thermal spreading. They treat copper pours as fill-in geometry rather than primary heat dissipation structures. In production, this would cause thermal throttling on the PMIC during sustained 60-degree ambient operation.

3. Fine-Pitch BGA Solder Mask and Acid Traps

On 0.8 mm pitch BGAs, breakout routing requires strict adherence to dog-bone fanout geometries to prevent solder bridging during surface-mount reflow. The RL router occasionally utilized diagonal escape paths between adjacent solder pads that created 3-mil acute copper wedges where tracks joined circular pads.

Board fabricators flag these acute junctions as acid traps because etching chemicals get trapped during manufacturing, eroding the trace and causing intermittent open circuits in the field. A human designer instinctively exits pads perpendicularly before turning 45 degrees; the RL model frequently missed this manufacturing detail unless explicitly forbidden by complex custom DRC scripts.

The Real Economic Trade-Off: Layer Counts and Fab Costs

Hardware founders and engineering leads often ask: if an AI tool can route our board in an hour, does it lower our bill of materials? The answer is tied directly to layer stackups and fabrication capabilities.

When an engineer lays out a board by hand, they deliberately push the layout to fit the most economical layer count. If a 4-layer board with 0.5 mm pitch parts can be routed with tight dog-bone fanouts, the startup pays standard 4-layer pooling prices (roughly $15 to $25 per board at low volumes with quick turnaround).

Automated routing engines often achieve 100 percent completion by recommending or requiring an expanded layer stack. If an AI engine demands a 6-layer stackup with blind and buried microvias (HDI Type I or II) to guarantee routing convergence, prototype costs jump from $250 for a batch of five boards to over $1,200, with lead times stretching from 48 hours to 10 working days at typical domestic fab shops.

Using an AI autorouter to compensate for poor component placement or to bypass careful floorplanning is an expensive engineering mistake. The layout engine cannot fix a chaotic component placement; it simply burns copper layers and vias to connect poorly placed nodes.

+-------------------------------------------------------------------------+
|                   THE SOLO ENGINEER ROUTING TRIAGE                      |
+-------------------------------------------------------------------------+
| 1. LOCK DOWN MANUALLY (Never trust to an autorouter):                   |
|    - Power supply switching loops (FETs, inductors, catch diodes)       |
|    - Sensitive analog front-ends (Kelvin connections, guard rings)      |
|    - High-speed differential pairs (USB 3.0, PCIe, MIPI, Ethernet)      |
|    - BGA fanout dog-bones and critical ground stitch arrays             |
|                                                                         |
| 2. SET UP HARD CONSTRAINTS (Before invoking automated routing):         |
|    - Define keepouts around RF antennas, crystals, and inductors        |
|    - Lock all component placements and decoupling capacitor loops       |
|    - Specify maximum via counts on impedance-controlled net classes    |
|    - Draw ground return plane keep-ins to prevent antipad slotting      |
|                                                                         |
| 3. LET THE AI ROUTER RUN:                                               |
|    - Non-speed-critical GPIOs, status lines, configuration straps       |
|    - Static digital buses (SPI, I2C, UART, parallel display buses)      |
|    - Low-speed peripheral interconnects and pull-up arrays              |
|                                                                         |
| 4. POST-ROUTING AUDIT CHECKLIST:                                        |
|    - Verify solid reference plane under every high-speed trace          |
|    - Inspect ground pours for thermal throttling choke points           |
|    - Run fab DFM check for acid traps, solder mask slivers, via-in-pad  |
+-------------------------------------------------------------------------+

Practical Rules for Hardware Startups

If you are integrating modern AI routing tools into your engineering workflow, follow these operational rules to prevent expensive board respins:

  1. Component Placement Determines 90% of Routing Success. Never run an autorouter on an unoptimized placement. Spend the required time placing bypass capacitors directly adjacent to power pins, orienting ICs to minimize cross-board rat's nests, and grouping functional sub-circuits. If the placement is bad, no RL agent will create a production-worthy board.

  2. Manually Route Critical Loops First, Then Lock Them. Hand-route the high-frequency switching loop of your buck/boost converters, the differential impedance pairs, crystal oscillator traces, and the analog sensor front end. Once these traces are verified for return paths and parasitic capacitance, lock them in place so the automated engine cannot move or rip them up.

  3. Restrict Automated Routing to Specific Net Classes. Do not hit "Route All." Isolate the non-critical digital domain, GPIO lines, sensor interrupt signals, pull-up resistors, display interfaces, and debug headers, and feed only those net classes to the automated engine. This captures 80 percent of the mechanical routing time savings while keeping total control over critical signal integrity paths.

  4. Never Skip the 3D and Plane Integrity Audit. After the automated tool completes, turn off all trace layers and inspect Inner Layer 2 and Layer 4 ground floods. Look specifically for swiss-cheese antipad perforation around via clusters. If you see narrow copper necks or isolated ground islands, manually reroute the offending vias to restore the return plane.

What this means for IntelCAD

At IntelCAD (intelcad.ai), we build design automation around the reality of physical manufacturing, not theoretical completion percentages on an abstract canvas. Real hardware engineering requires a layout system that understands return paths, thermal dissipation, fabricator DFM rules, and real-time component availability simultaneously.

Automating the tedious aspects of board layout, like routing hundreds of non-critical traces or verifying netlist equivalence, only delivers value when the generated copper complies with both electrical physics and your manufacturing partner's rule deck on the first spin. Production readiness requires linking physics-aware geometric routing directly to active component supply chains and real fab tolerances.

Looking Ahead

Reinforcement learning has decisively solved the old mathematical dead-end of heuristic autorouting. It provides global spatial routing awareness that legacy tools never achieved. But an algorithm that generates 100 percent net completion without understanding RF return paths, thermal dissipation, and fab panelization is only half a tool.

Watch how autorouting benchmarks evolve over the coming year. The metrics that matter are shifting away from raw completion speed toward post-layout signal integrity compliance, automated return-path verification, and zero-hold manufacturing yields. Treat AI routing as a powerful sub-system assistant: lock down your physics, let the engine route the bulk digital connections, and maintain strict manual sign-off on your copper.

Sources

More IntelCAD Insight

PCB DesignAutoroutingReinforcement LearningDFMHardware Startups