Design Rule Check (DRC)

Find layout errors while you design, before you send the board to the fabricator.

Ask Flux to fix design rule errors

Ask Flux to run the design rule check, fix the reported layout errors, and report any issues that remain.

Run the design rule check. Fix the clearance and overlapping-copper errors, then report the remaining violations.
Find the unrouted nets and route the connections that fit the current board rules.
Fix the floating copper on GND and run the design rule check again.

Flux uses the latest check results to choose a fix for each violation. It runs another check after a change and reports the results.

Design rule checking for a PCB.

Flux’s layout rules do a great job of eliminating unnecessary mistakes, but certain types of violations require additional checking. Such violations include overlapping traces, unrouted nets, missing footprints, etc.

In Flux, DRCs run in real-time, and their results can be accessed from the messages menu.


Stackup Areas

On a flex or rigid-flex board, the Review panel shows the flex design checks in the Stackup Areas category. The checks find parts on bare flex, vias and holes in bare flex, pads and holes near rigid-to-flex boundaries, traces that do not cross a boundary at 90°, sharp trace corners and solid pours in bare flex, missing teardrops in bare flex, coverlay issues, and bend radius information. The checks also find a bend radius that is smaller than the minimum for the flex stackup, with a larger minimum for repeated bending. They find a twist length that is shorter than the minimum for the width of the tail. They find parts, pads, vias, and holes in a bend or twist zone, traces that do not cross a bend at 90°, and bend and twist zones that overlap.

Run the design checks and list the Stackup Areas issues near the rigid-to-flex boundaries.

For the full list, see Flex and Rigid-Flex Boards.

Electrical rule check

The electrical rule check (ERC) finds schematic issues before you lay out the board. ERC finds unconnected power pins, missing decoupling capacitors, missing I2C pull-up resistors, and nets with only one pin.

Ask Flux to run ERC and fix the errors it finds.

Run the electrical rule check and fix the errors you find.
Run ERC on the sensor circuit. Add the missing decoupling capacitors and I2C pull-up resistors.
Run ERC again and report the errors and warnings that remain.

Flux connects unconnected power pins, adds and places missing decoupling capacitors and pull-up resistors, and connects or removes single-pin nets. Then it runs ERC again and reports the remaining errors and warnings.

Overlapping Traces

Triggers a DRC violation when two traces from different nets overlap each other.


Missing Footprints

Triggers a DRC violation when a component from the schematic does not have a footprint. This rule does not apply if the component has the property "Exclude from PCB".


Airwires

Triggers a DRC violation when there are existing airwires that remain on the board. Airwires show connections from the schematic that do not have copper on the board yet. An airwire shows that terminals are not connected correctly. Only a connection to the center of a pad is a valid connection. Other tools call airwires a ratsnest.


Invalid Layer

Ask Flux to find and fix nodes that use a layer that is not in the stack-up.

Fix the invalid layer errors. Move each node to a layer that exists in the stack-up.
I added a 4-layer module to this 2-layer board. Fix the invalid layer DRC errors.

Triggers a DRC violation when nodes that are assigned to a layer do not exist in the layout stack up. This occurs frequently when you add a module that has more layers than the project. Ensure that each node is assigned to an existing layer.

Component Overrides

This rule is triggered when a component has been modified using the “!important” flag.

Board Layer with Multiple Copper Fills

Ask Flux to fix the copper fills that share a layer.

Fix the DRC error for multiple copper fills on the same layer.
Check the Connected Layers rule of each net with a fill, and correct it so that each layer has one fill.

This rule triggers when copper fills of different nets are on the same layer. Make sure that the Connected Layers rule value of each Net object with fills is correct. In Flux, each copper fill connects to one layer. Place fills for different nets on separate layers.


Floating Copper

Ask Flux to find and remove floating copper.

Find all floating copper and fix it.
Remove the floating vias and traces, and add stitching vias to the isolated ground fill islands.
Fix the copper fill islands near U3 with a keep-out rule.

Detects any via, trace or copper fill island that is not connected to any net.

This rule triggers for any area of copper that does not connect to a pad. This includes copper fill islands, floating vias, floating traces, and floating connected components. This rule also triggers when a copper fill island has a stitching via but is isolated from the larger ground plane.

To clear this DRC violation, make sure that your vias are connected and that all traces and components connect to their nets. For isolated copper fill islands:

  1. If there is sufficient space, put stitching vias in the island.

  2. If there is not sufficient space, add a keep out rule that moves the copper farther from the components or nets around it, so that the island does not form.