@tscircuit/capacity-autorouter 0.0.740 → 0.0.741

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -86,12 +86,24 @@ interface SimpleRouteBus {
86
86
  busId: string
87
87
  connectionNames: string[] // Ordered SimpleRouteConnection names
88
88
  maxLengthSkew?: number // Maximum routed-length difference in millimeters
89
+ traceWidth?: number // Resolved copper width in millimeters
90
+ allowedLayers?: string[] // Legal routing layers, including terminal layers
91
+ }
92
+
93
+ interface DifferentialPair {
94
+ connectionNames: [string, string]
95
+ lengthTolerance: number // Maximum pair skew in millimeters
96
+ traceGap?: number // Resolved edge-to-edge copper gap in millimeters
97
+ maxUncoupledLength?: number // Maximum uncoupled length in millimeters
89
98
  }
90
99
  ```
91
100
 
92
101
  `maxLengthSkew` records the maximum permitted routed-length difference for the
93
102
  bus. Bus metadata is preserved in the output so routing implementations can
94
103
  apply the constraint without losing the original membership or ordering.
104
+ `traceWidth`, `traceGap`, and `allowedLayers` are resolved routing geometry;
105
+ stackup-aware impedance targets should be converted to these dimensions before
106
+ creating SimpleRouteJson.
95
107
 
96
108
  Via-in-pad repair is disabled by default because it generally requires filled
97
109
  and capped vias. Set `allowViaInPad: true` only when the fabrication process
package/dist/index.d.ts CHANGED
@@ -135,7 +135,12 @@ interface SimpleRouteJson {
135
135
  }
136
136
  interface DifferentialPair {
137
137
  connectionNames: [string, string];
138
+ /** Maximum permitted routed-length difference in millimeters. */
138
139
  lengthTolerance: number;
140
+ /** Resolved edge-to-edge copper gap in millimeters. */
141
+ traceGap?: number;
142
+ /** Maximum permitted length routed without pair coupling, in millimeters. */
143
+ maxUncoupledLength?: number;
139
144
  }
140
145
  interface SimpleRouteBus {
141
146
  busId: BusId;
@@ -143,6 +148,10 @@ interface SimpleRouteBus {
143
148
  connectionNames: string[];
144
149
  /** Maximum permitted routed-length difference in millimeters. */
145
150
  maxLengthSkew?: number;
151
+ /** Resolved copper width in millimeters for members without an override. */
152
+ traceWidth?: number;
153
+ /** Layers on which this bus may be routed, including its terminal layers. */
154
+ allowedLayers?: string[];
146
155
  }
147
156
  interface Obstacle {
148
157
  obstacleId?: string;
@@ -5829,7 +5838,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
5829
5838
  strawSolver?: StrawSolver;
5830
5839
  deadEndSolver?: DeadEndSolver;
5831
5840
  traceSimplificationSolver?: TraceSimplificationSolver;
5832
- postProcessingSolver?: PostProcessingSolver;
5841
+ lengthMatchingPostProcessingSolver?: PostProcessingSolver;
5833
5842
  powerTraceExpansionSolver?: PowerTraceExpansionSolver;
5834
5843
  availableSegmentPointSolver?: AvailableSegmentPointSolver;
5835
5844
  portPointPathingSolver?: TinyHypergraphPortPointPathingSolver;
@@ -6051,7 +6060,7 @@ declare class AutoroutingPipelineSolver9_PreloadedTraceGraph extends BaseSolver
6051
6060
  strawSolver?: StrawSolver;
6052
6061
  deadEndSolver?: DeadEndSolver;
6053
6062
  traceSimplificationSolver?: TraceSimplificationSolver;
6054
- postProcessingSolver?: PostProcessingSolver;
6063
+ lengthMatchingPostProcessingSolver?: PostProcessingSolver;
6055
6064
  availableSegmentPointSolver?: AvailableSegmentPointSolver;
6056
6065
  portPointPathingSolver?: TinyHypergraphPortPointPathingSolver;
6057
6066
  multiSectionPortPointOptimizer?: MultiSectionPortPointOptimizer;