Skip to main content
DeepPCB respects your design constraints throughout the placement and routing process. Every solution it generates is DRC-clean — the AI engine enforces all rules during optimisation, not as a post-processing step. This means you will never receive a routed board that passes visually but fails DRC on import back into your EDA tool. Constraints are treated as hard requirements, not guidelines.

Supported Constraints

DeepPCB supports a broad set of industry-standard design constraints:

Net Clearance Matrices

Variable wire widths and clearances per net class. Define different rules for power nets, high-speed signals, and general routing — the AI engine respects all of them simultaneously.

Differential Pairs

Length matching and gap control for differential pairs. Specify your target length tolerance and intra-pair spacing, and the engine routes both nets together as a coupled pair.

Multi-Plane Support

Dedicated power and ground planes across any layer in your stack-up. The engine handles plane splits, thermal reliefs, and anti-pads automatically.

Signal Integrity Rules

Length constraints, matched-length groups, and impedance-controlled routing rules for high-speed signals.

Via Types

Blind, buried, and at-SMD vias — in addition to standard through-hole vias. Assign a via definition per net class, and order a list of via configurations by priority so the engine prefers one structure and falls back to another.

Layer-Specific Routing Rules

Restrict routing direction, wire width, or clearance on a per-layer basis to match your fabrication process and stack-up requirements.

Board Outline & Keep-Out Zones

Hard keep-out areas, component exclusion zones, and routing keep-outs are fully respected. The engine will not route through or place components inside defined keep-out regions.

Protected Routes

Protect the traces you have already routed and they are preserved exactly as placed. The engine routes around them without modification.

How to Supply Constraints

Most of your constraints arrive with your board file, and DeepPCB reads them automatically.
  • KiCad users export the .kicad_pcb file, which embeds the board’s design rules alongside the layout. DeepPCB reads these rules natively.
  • Altium, EasyEDA, and Zuken native files carry their design rules the same way.
  • Specctra DSN files carry constraint information directly in the file format. If you export a DSN from Cadence Allegro, PADS, or another Specctra-compatible tool, your net classes, clearances, and design rules are included automatically.
On top of that, DeepPCB extracts constraints your board file cannot express: decoupling capacitor rules and a net type classification for every net (power, ground, analog, or by speed). Attaching your schematic on upload improves the accuracy of that classification. You then review and refine all of it in the Board Setup dialog — net classes, layer rules, net types, decoupling capacitor rules, and differential pairs. See Board Setup for a walkthrough of each tab.
Set up your DRC rules completely in your EDA tool before exporting — that is still the cheapest place to get them right. Then use Board Setup to check what survived the export and fill in what the format could not carry.
If you are unsure whether your constraint file is complete, run Cooper after uploading. Cooper will flag any missing, conflicting, or malformed constraint definitions before routing begins.

Protected Routes

You can manually pre-route sensitive nets in your EDA tool and let DeepPCB handle the rest. Lock them there — from KiCad and Specctra DSN they arrive protected — or protect them in the board editor, and the engine will not move, reroute, or modify them. Copper you leave unprotected is fair game for the router. See Keeping Existing Wiring. This approach is recommended for:
  • High-speed differential pairs where you want precise manual control over routing topology
  • Sensitive analog signals that require specific routing paths or shielding
  • Power delivery networks where you have pre-placed wide power traces with specific geometries
  • Critical length-matched groups where you have already verified timing closure manually
Route those nets in your EDA tool first, then protect them in the editor — DeepPCB completes the rest of the board while leaving your protected routes untouched. You can protect individual wires, vias, and planes once the board is open in the editor. See Routing.

Enterprise Custom Constraints

If your constraint file is missing or malformed, Cooper will flag this before routing begins. Review the Cooper report carefully.
On the Enterprise plan, the DeepPCB team works directly with you to add custom constraints specific to your design requirements. This includes support for proprietary design rules, fab-specific manufacturing constraints, custom via structures, and multi-board assembly rules that fall outside standard constraint file formats. Contact the team at deeppcb.com/enterprise to discuss your requirements.