Bird
0
0
PCB Designbi_tool~10 mins

Route planning for two-layer board in PCB Design - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows two nets to be routed on a two-layer PCB. Each net has start and end coordinates (X,Y) and the layer (Top or Bottom) where the route should be planned.

CellValue
A1Net
B1Start X
C1Start Y
D1End X
E1End Y
F1Layer
A2Net1
B22
C23
D27
E23
F2Top
A3Net2
B35
C31
D35
E36
F3Bottom
Formula Trace
RouteLength = ABS(D2 - B2) + ABS(E2 - C2)
Step 1: ABS(7 - 2)
Step 2: ABS(3 - 3)
Step 3: 5 + 0
Cell Reference Map
    A      B      C      D      E      F
1 | Net  | StartX| StartY| EndX  | EndY  | Layer |
2 | Net1 |   2   |   3   |   7   |   3   | Top   |
3 | Net2 |   5   |   1   |   5   |   6   | Bottom|
The formula references cells B2, C2, D2, and E2 to calculate the route length for Net1.
Result
    A      B      C      D      E      F      G
1 | Net  | StartX| StartY| EndX  | EndY  | Layer | RouteLength |
2 | Net1 |   2   |   3   |   7   |   3   | Top   |     5      |
3 | Net2 |   5   |   1   |   5   |   6   | Bottom|             |
The RouteLength column shows the calculated route length for Net1 as 5 units, which is the sum of horizontal and vertical distances between start and end points on the Top layer.
Sheet Trace Quiz - 3 Questions
Test your understanding
What is the horizontal distance calculated for Net1?
A5
B0
C3
D7
Key Result
RouteLength = ABS(EndX - StartX) + ABS(EndY - StartY) calculates Manhattan distance for routing on a layer.