@tscircuit/schematic-trace-solver 0.0.47 → 0.0.49
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 +1 -1
- package/dist/index.d.ts +51 -1
- package/dist/index.js +750 -49
- package/lib/solvers/Example28Solver/Example28Solver.ts +182 -0
- package/lib/solvers/Example28Solver/geometry.ts +246 -0
- package/lib/solvers/Example28Solver/labelMovement.ts +82 -0
- package/lib/solvers/Example28Solver/reroute.ts +368 -0
- package/lib/solvers/Example28Solver/types.ts +47 -0
- package/lib/solvers/Example28Solver/visualize.ts +96 -0
- package/lib/solvers/NetLabelPlacementSolver/NetLabelPlacementSolver.ts +2 -0
- package/lib/solvers/NetLabelPlacementSolver/SingleNetLabelPlacementSolver/SingleNetLabelPlacementSolver_visualize.ts +12 -0
- package/lib/solvers/SchematicTracePipelineSolver/SchematicTracePipelineSolver.ts +16 -0
- package/package.json +1 -1
- package/site/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.page.tsx +2 -0
- package/site/TraceCleanupSolver/TraceCleanupSolver.page.tsx +23 -0
- package/site/TraceLabelOverlapAvoidanceSolver/MergedNetLabelObstacles.page.tsx +18 -0
- package/site/TraceLabelOverlapAvoidanceSolver/OverlapAvoidanceStepSolver.page.tsx +24 -0
- package/site/TraceLabelOverlapAvoidanceSolver/SingleOverlapSolver.page.tsx +10 -0
- package/site/TraceLabelOverlapAvoidanceSolver/TraceLabelOverlapAvoidanceSolver.page.tsx +146 -0
- package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView01.page.tsx +32 -0
- package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView02.page.tsx +32 -0
- package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView03.page.tsx +35 -0
- package/site/examples/example01.page.tsx +6 -0
- package/site/examples/example02.page.tsx +4 -180
- package/site/examples/example03.page.tsx +3 -212
- package/site/examples/example04.page.tsx +6 -0
- package/site/examples/example05.page.tsx +3 -179
- package/site/examples/example06.page.tsx +3 -57
- package/site/examples/example07.page.tsx +3 -132
- package/site/examples/example08.page.tsx +3 -91
- package/site/examples/example09.page.tsx +3 -414
- package/site/examples/example10.page.tsx +3 -75
- package/site/examples/example11.page.tsx +3 -116
- package/site/examples/example12.page.tsx +3 -94
- package/site/examples/example13.page.tsx +3 -216
- package/site/examples/example14.page.tsx +3 -207
- package/site/examples/example15.page.tsx +6 -0
- package/site/examples/example16.page.tsx +6 -0
- package/site/examples/example17.page.tsx +6 -0
- package/site/examples/example18.page.tsx +3 -178
- package/site/examples/example19.page.tsx +3 -166
- package/site/examples/example20.page.tsx +3 -100
- package/site/examples/example21.page.tsx +3 -174
- package/site/examples/example22.page.tsx +3 -105
- package/site/examples/example23.page.tsx +3 -134
- package/site/examples/example24.page.tsx +3 -125
- package/site/examples/example25.page.tsx +2 -0
- package/site/examples/example26.page.tsx +2 -0
- package/site/examples/example27.page.tsx +2 -0
- package/site/examples/example28.page.tsx +6 -0
- package/site/examples/example29.page.tsx +6 -0
- package/site/examples/example30.page.tsx +6 -0
- package/site/examples/example31.page.tsx +4 -0
- package/tests/assets/example01.json +109 -0
- package/tests/assets/example02.json +178 -0
- package/tests/assets/example03.json +210 -0
- package/tests/assets/example04.json +41 -0
- package/tests/assets/example05.json +175 -0
- package/tests/assets/example06.json +55 -0
- package/tests/assets/example07.json +130 -0
- package/tests/assets/example08.json +89 -0
- package/tests/assets/example09.json +412 -0
- package/tests/assets/example10.json +73 -0
- package/tests/assets/example11.json +114 -0
- package/tests/assets/example12.json +92 -0
- package/tests/assets/example13.json +214 -0
- package/tests/assets/example14.json +205 -0
- package/tests/assets/example15.json +618 -0
- package/tests/assets/example16.json +102 -0
- package/tests/assets/example17.json +160 -0
- package/tests/assets/example18.json +176 -0
- package/tests/assets/example19.json +164 -0
- package/tests/assets/example20.json +98 -0
- package/tests/assets/example21.json +172 -0
- package/tests/assets/example22.json +103 -0
- package/tests/assets/example23.json +132 -0
- package/tests/assets/example24.json +123 -0
- package/tests/assets/example25.json +146 -33
- package/tests/assets/example26.json +51 -1134
- package/tests/assets/example27.json +151 -91
- package/tests/assets/example28.json +56 -0
- package/tests/assets/example29.json +1206 -0
- package/tests/assets/example30.json +168 -0
- package/tests/assets/example31.json +46 -0
- package/tests/examples/__snapshots__/example01.snap.svg +12 -6
- package/tests/examples/__snapshots__/example02.snap.svg +16 -8
- package/tests/examples/__snapshots__/example03.snap.svg +36 -18
- package/tests/examples/__snapshots__/example04.snap.svg +8 -4
- package/tests/examples/__snapshots__/example05.snap.svg +4 -2
- package/tests/examples/__snapshots__/example06.snap.svg +4 -2
- package/tests/examples/__snapshots__/example07.snap.svg +20 -10
- package/tests/examples/__snapshots__/example08.snap.svg +16 -8
- package/tests/examples/__snapshots__/example09.snap.svg +80 -40
- package/tests/examples/__snapshots__/example10.snap.svg +16 -8
- package/tests/examples/__snapshots__/example11.snap.svg +24 -12
- package/tests/examples/__snapshots__/example12.snap.svg +16 -8
- package/tests/examples/__snapshots__/example13.snap.svg +32 -16
- package/tests/examples/__snapshots__/example14.snap.svg +115 -48
- package/tests/examples/__snapshots__/example15.snap.svg +36 -18
- package/tests/examples/__snapshots__/example16.snap.svg +16 -8
- package/tests/examples/__snapshots__/example17.snap.svg +16 -8
- package/tests/examples/__snapshots__/example18.snap.svg +20 -10
- package/tests/examples/__snapshots__/example19.snap.svg +16 -8
- package/tests/examples/__snapshots__/example20.snap.svg +43 -135
- package/tests/examples/__snapshots__/example21.snap.svg +34 -18
- package/tests/examples/__snapshots__/example22.snap.svg +37 -23
- package/tests/examples/__snapshots__/example23.snap.svg +62 -26
- package/tests/examples/__snapshots__/example24.snap.svg +50 -28
- package/tests/examples/__snapshots__/example25.snap.svg +175 -49
- package/tests/examples/__snapshots__/example26.snap.svg +16 -8
- package/tests/examples/__snapshots__/example27.snap.svg +24 -12
- package/tests/examples/__snapshots__/example28.snap.svg +29 -189
- package/tests/examples/__snapshots__/example29.snap.svg +184 -92
- package/tests/examples/__snapshots__/example30.snap.svg +48 -24
- package/tests/examples/__snapshots__/example31.snap.svg +88 -0
- package/tests/examples/example01.test.ts +2 -2
- package/tests/examples/example02.test.ts +2 -2
- package/tests/examples/example03.test.ts +2 -2
- package/tests/examples/example04.test.ts +2 -2
- package/tests/examples/example05.test.ts +2 -2
- package/tests/examples/example06.test.ts +2 -2
- package/tests/examples/example07.test.ts +2 -2
- package/tests/examples/example08.test.ts +2 -2
- package/tests/examples/example09.test.ts +2 -2
- package/tests/examples/example10.test.ts +2 -2
- package/tests/examples/{example11.test.tsx → example11.test.ts} +2 -2
- package/tests/examples/{example12.test.tsx → example12.test.ts} +2 -2
- package/tests/examples/{example13.test.tsx → example13.test.ts} +2 -2
- package/tests/examples/example14.test.ts +12 -0
- package/tests/examples/example15.test.ts +12 -0
- package/tests/examples/example16.test.ts +12 -0
- package/tests/examples/example17.test.ts +12 -0
- package/tests/examples/example18.test.ts +12 -0
- package/tests/examples/example19.test.ts +12 -0
- package/tests/examples/example20.test.ts +12 -0
- package/tests/examples/example21.test.ts +12 -0
- package/tests/examples/example22.test.ts +12 -0
- package/tests/examples/example23.test.ts +12 -0
- package/tests/examples/example24.test.ts +12 -0
- package/tests/examples/example25.test.ts +12 -0
- package/tests/examples/example26.test.ts +12 -0
- package/tests/examples/example27.test.ts +3 -232
- package/tests/examples/example28.test.ts +1 -2
- package/tests/examples/example29.test.ts +1 -2
- package/tests/examples/example30.test.ts +2 -2
- package/tests/examples/example31.test.ts +12 -0
- package/site/examples/example01-basic.page.tsx +0 -105
- package/site/examples/example04-single-symbol.page.tsx +0 -46
- package/site/examples/example15-rp2040-caps.page.tsx +0 -623
- package/site/examples/example16-core-repro51.page.tsx +0 -107
- package/site/examples/example17-straight-line-trace.page.tsx +0 -165
- package/tests/examples/example14.test.tsx +0 -11
- package/tests/examples/example15.test.tsx +0 -629
- package/tests/examples/example16.test.tsx +0 -113
- package/tests/examples/example17.test.tsx +0 -171
- package/tests/examples/example18.test.tsx +0 -187
- package/tests/examples/example19.test.tsx +0 -175
- package/tests/examples/example20.test.tsx +0 -190
- package/tests/examples/example21.test.tsx +0 -183
- package/tests/examples/example22.test.tsx +0 -109
- package/tests/examples/example23.test.tsx +0 -109
- package/tests/examples/example24.test.tsx +0 -114
- package/tests/examples/example25.test.tsx +0 -143
- package/tests/examples/example26.test.tsx +0 -134
|
@@ -1,128 +1,6 @@
|
|
|
1
1
|
import { PipelineDebugger } from "site/components/PipelineDebugger"
|
|
2
|
-
import
|
|
2
|
+
import inputProblem from "../../tests/assets/example24.json"
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
chips: [
|
|
6
|
-
{
|
|
7
|
-
chipId: "schematic_component_0",
|
|
8
|
-
center: {
|
|
9
|
-
x: -3,
|
|
10
|
-
y: 0,
|
|
11
|
-
},
|
|
12
|
-
width: 2.4000000000000004,
|
|
13
|
-
height: 1,
|
|
14
|
-
pins: [
|
|
15
|
-
{
|
|
16
|
-
pinId: "U1.1",
|
|
17
|
-
x: -1.8,
|
|
18
|
-
y: -0.30000000000000004,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
pinId: "U1.2",
|
|
22
|
-
x: -4.2,
|
|
23
|
-
y: -0.30000000000000004,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
pinId: "U1.3",
|
|
27
|
-
x: -1.8,
|
|
28
|
-
y: 0.09999999999999998,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
pinId: "U1.4",
|
|
32
|
-
x: -4.2,
|
|
33
|
-
y: 0.30000000000000004,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
pinId: "U1.5",
|
|
37
|
-
x: -4.2,
|
|
38
|
-
y: 0.10000000000000003,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
pinId: "U1.6",
|
|
42
|
-
x: -4.2,
|
|
43
|
-
y: -0.09999999999999998,
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
pinId: "U1.7",
|
|
47
|
-
x: -1.8,
|
|
48
|
-
y: -0.10000000000000003,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
pinId: "U1.8",
|
|
52
|
-
x: -1.8,
|
|
53
|
-
y: 0.30000000000000004,
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
chipId: "schematic_component_1",
|
|
59
|
-
center: {
|
|
60
|
-
x: 3,
|
|
61
|
-
y: 0,
|
|
62
|
-
},
|
|
63
|
-
width: 2.2,
|
|
64
|
-
height: 0.8,
|
|
65
|
-
pins: [
|
|
66
|
-
{
|
|
67
|
-
pinId: "J1.1",
|
|
68
|
-
x: 1.9,
|
|
69
|
-
y: 0.2,
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
pinId: "J1.2",
|
|
73
|
-
x: 1.9,
|
|
74
|
-
y: 0,
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
pinId: "J1.3",
|
|
78
|
-
x: 1.9,
|
|
79
|
-
y: -0.2,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
chipId: "schematic_component_2",
|
|
85
|
-
center: {
|
|
86
|
-
x: 0,
|
|
87
|
-
y: 1, // Moved down so component body doesn't block horizontal traces
|
|
88
|
-
},
|
|
89
|
-
width: 1,
|
|
90
|
-
height: 1,
|
|
91
|
-
pins: [
|
|
92
|
-
{
|
|
93
|
-
pinId: "U2.3",
|
|
94
|
-
x: -0.4,
|
|
95
|
-
y: 0.5, // Bottom pin
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
pinId: "U2.4",
|
|
99
|
-
x: 0.4,
|
|
100
|
-
y: 0.5,
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
directConnections: [],
|
|
106
|
-
netConnections: [
|
|
107
|
-
{
|
|
108
|
-
netId: "SIGNAL1",
|
|
109
|
-
pinIds: ["U2.3"],
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
netId: "SIGNAL2",
|
|
113
|
-
pinIds: ["U2.4"],
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
netId: "SSH",
|
|
117
|
-
pinIds: ["U1.1", "J1.3"],
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
netId: "BHH",
|
|
121
|
-
pinIds: ["J1.1", "U1.3"],
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
availableNetLabelOrientations: {},
|
|
125
|
-
maxMspPairDistance: 6.5,
|
|
126
|
-
}
|
|
4
|
+
export { inputProblem }
|
|
127
5
|
|
|
128
|
-
export default () => <PipelineDebugger inputProblem={inputProblem} />
|
|
6
|
+
export default () => <PipelineDebugger inputProblem={inputProblem as any} />
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chips": [
|
|
3
|
+
{
|
|
4
|
+
"chipId": "U1",
|
|
5
|
+
"center": {
|
|
6
|
+
"x": 0,
|
|
7
|
+
"y": 0
|
|
8
|
+
},
|
|
9
|
+
"width": 1.6,
|
|
10
|
+
"height": 0.6,
|
|
11
|
+
"pins": [
|
|
12
|
+
{
|
|
13
|
+
"pinId": "U1.1",
|
|
14
|
+
"x": -0.8,
|
|
15
|
+
"y": 0.2
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"pinId": "U1.2",
|
|
19
|
+
"x": -0.8,
|
|
20
|
+
"y": 0
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"pinId": "U1.3",
|
|
24
|
+
"x": -0.8,
|
|
25
|
+
"y": -0.2
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"pinId": "U1.4",
|
|
29
|
+
"x": 0.8,
|
|
30
|
+
"y": -0.2
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"pinId": "U1.5",
|
|
34
|
+
"x": 0.8,
|
|
35
|
+
"y": 0
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"pinId": "U1.6",
|
|
39
|
+
"x": 0.8,
|
|
40
|
+
"y": 0.2
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"chipId": "C1",
|
|
46
|
+
"center": {
|
|
47
|
+
"x": -2,
|
|
48
|
+
"y": 0
|
|
49
|
+
},
|
|
50
|
+
"width": 0.5,
|
|
51
|
+
"height": 1,
|
|
52
|
+
"pins": [
|
|
53
|
+
{
|
|
54
|
+
"pinId": "C1.1",
|
|
55
|
+
"x": -2,
|
|
56
|
+
"y": 0.5
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"pinId": "C1.2",
|
|
60
|
+
"x": -2,
|
|
61
|
+
"y": -0.5
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"chipId": "C2",
|
|
67
|
+
"center": {
|
|
68
|
+
"x": -4,
|
|
69
|
+
"y": 0
|
|
70
|
+
},
|
|
71
|
+
"width": 0.5,
|
|
72
|
+
"height": 1,
|
|
73
|
+
"pins": [
|
|
74
|
+
{
|
|
75
|
+
"pinId": "C2.1",
|
|
76
|
+
"x": -4,
|
|
77
|
+
"y": 0.5
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"pinId": "C2.2",
|
|
81
|
+
"x": -4,
|
|
82
|
+
"y": -0.5
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"directConnections": [
|
|
88
|
+
{
|
|
89
|
+
"pinIds": ["U1.1", "C1.1"],
|
|
90
|
+
"netId": "VCC"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"pinIds": ["U1.2", "C2.1"],
|
|
94
|
+
"netId": "EN"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"netConnections": [
|
|
98
|
+
{
|
|
99
|
+
"pinIds": ["U1.3", "C2.2", "C1.2"],
|
|
100
|
+
"netId": "GND"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"availableNetLabelOrientations": {
|
|
104
|
+
"VCC": ["y+"],
|
|
105
|
+
"EN": ["x+", "x-"],
|
|
106
|
+
"GND": ["y-"]
|
|
107
|
+
},
|
|
108
|
+
"maxMspPairDistance": 5
|
|
109
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chips": [
|
|
3
|
+
{
|
|
4
|
+
"chipId": "schematic_component_0",
|
|
5
|
+
"center": {
|
|
6
|
+
"x": -1.9145832999999999,
|
|
7
|
+
"y": 0.5512093000000002
|
|
8
|
+
},
|
|
9
|
+
"width": 0.5291665999999999,
|
|
10
|
+
"height": 1.0583333000000001,
|
|
11
|
+
"pins": [
|
|
12
|
+
{
|
|
13
|
+
"pinId": "C6.1",
|
|
14
|
+
"x": -1.9148566499999995,
|
|
15
|
+
"y": 1.1024186000000005
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"pinId": "C6.2",
|
|
19
|
+
"x": -1.9143099500000003,
|
|
20
|
+
"y": 0
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"chipId": "schematic_component_1",
|
|
26
|
+
"center": {
|
|
27
|
+
"x": -4.1729164999999995,
|
|
28
|
+
"y": 0.5512093
|
|
29
|
+
},
|
|
30
|
+
"width": 0.5291665999999999,
|
|
31
|
+
"height": 1.0583333000000001,
|
|
32
|
+
"pins": [
|
|
33
|
+
{
|
|
34
|
+
"pinId": "C1.1",
|
|
35
|
+
"x": -4.173189849999999,
|
|
36
|
+
"y": 1.1024186000000002
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"pinId": "C1.2",
|
|
40
|
+
"x": -4.17264315,
|
|
41
|
+
"y": -2.220446049250313e-16
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"chipId": "schematic_component_2",
|
|
47
|
+
"center": {
|
|
48
|
+
"x": -3.0437499,
|
|
49
|
+
"y": 0.5512093
|
|
50
|
+
},
|
|
51
|
+
"width": 0.5291665999999999,
|
|
52
|
+
"height": 1.0583333000000001,
|
|
53
|
+
"pins": [
|
|
54
|
+
{
|
|
55
|
+
"pinId": "C2.1",
|
|
56
|
+
"x": -3.0440232499999995,
|
|
57
|
+
"y": 1.1024186000000002
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"pinId": "C2.2",
|
|
61
|
+
"x": -3.0434765500000003,
|
|
62
|
+
"y": -2.220446049250313e-16
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"chipId": "schematic_component_3",
|
|
68
|
+
"center": {
|
|
69
|
+
"x": 1.9145832999999999,
|
|
70
|
+
"y": -0.4512093000000006
|
|
71
|
+
},
|
|
72
|
+
"width": 0.5291665999999999,
|
|
73
|
+
"height": 1.0583333000000001,
|
|
74
|
+
"pins": [
|
|
75
|
+
{
|
|
76
|
+
"pinId": "C5.1",
|
|
77
|
+
"x": 1.9143099500000003,
|
|
78
|
+
"y": 0.09999999999999964
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"pinId": "C5.2",
|
|
82
|
+
"x": 1.9148566499999995,
|
|
83
|
+
"y": -1.0024186000000008
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"chipId": "schematic_component_4",
|
|
89
|
+
"center": {
|
|
90
|
+
"x": 0,
|
|
91
|
+
"y": 0
|
|
92
|
+
},
|
|
93
|
+
"width": 1.2000000000000002,
|
|
94
|
+
"height": 0.8,
|
|
95
|
+
"pins": [
|
|
96
|
+
{
|
|
97
|
+
"pinId": "U1.1",
|
|
98
|
+
"x": -1,
|
|
99
|
+
"y": 0.2
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"pinId": "U1.2",
|
|
103
|
+
"x": -1,
|
|
104
|
+
"y": 0
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"pinId": "U1.3",
|
|
108
|
+
"x": -1,
|
|
109
|
+
"y": -0.2
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"pinId": "U1.4",
|
|
113
|
+
"x": 1,
|
|
114
|
+
"y": -0.1
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"pinId": "U1.5",
|
|
118
|
+
"x": 1,
|
|
119
|
+
"y": 0.1
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"directConnections": [
|
|
125
|
+
{
|
|
126
|
+
"pinIds": ["U1.1", "C6.1"],
|
|
127
|
+
"netId": "group.voltage_regulator > chip.U1 > port.VIN to C6.1"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"pinIds": ["U1.1", "C1.1"],
|
|
131
|
+
"netId": "group.voltage_regulator > chip.U1 > port.VIN to C1.1"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"pinIds": ["U1.1", "C2.1"],
|
|
135
|
+
"netId": "group.voltage_regulator > chip.U1 > port.VIN to C2.1"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"pinIds": ["U1.2", "C6.2"],
|
|
139
|
+
"netId": "group.voltage_regulator > chip.U1 > port.GND to C6.2"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"pinIds": ["U1.2", "C1.2"],
|
|
143
|
+
"netId": "group.voltage_regulator > chip.U1 > port.GND to C1.2"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"pinIds": ["U1.2", "C2.2"],
|
|
147
|
+
"netId": "group.voltage_regulator > chip.U1 > port.GND to C2.2"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"pinIds": ["U1.3", "U1.1"],
|
|
151
|
+
"netId": "group.voltage_regulator > chip.U1 > port.EN to U1.1"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"pinIds": ["U1.5", "C5.1"],
|
|
155
|
+
"netId": "group.voltage_regulator > chip.U1 > port.VOUT to C5.1"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"netConnections": [
|
|
159
|
+
{
|
|
160
|
+
"netId": "VSYS",
|
|
161
|
+
"pinIds": ["C6.1", "C1.1", "C2.1", "U1.1", "U1.3"]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"netId": "GND",
|
|
165
|
+
"pinIds": ["C6.2", "C1.2", "C2.2", "C5.2", "U1.2"]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"netId": "V3_3",
|
|
169
|
+
"pinIds": ["C5.1", "U1.5"]
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"maxMspPairDistance": 2,
|
|
173
|
+
"availableNetLabelOrientations": {
|
|
174
|
+
"VSYS": ["y+"],
|
|
175
|
+
"GND": ["y-"],
|
|
176
|
+
"V3_3": ["y+"]
|
|
177
|
+
}
|
|
178
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chips": [
|
|
3
|
+
{
|
|
4
|
+
"chipId": "schematic_component_0",
|
|
5
|
+
"center": {
|
|
6
|
+
"x": -3,
|
|
7
|
+
"y": 1.5
|
|
8
|
+
},
|
|
9
|
+
"width": 1.0011537820000012,
|
|
10
|
+
"height": 0.44923699999999833,
|
|
11
|
+
"pins": [
|
|
12
|
+
{
|
|
13
|
+
"pinId": "PIN1_PIN2.1",
|
|
14
|
+
"x": -3.4724184500000006,
|
|
15
|
+
"y": 1.4489565000000004
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"pinId": "PIN1_PIN2.2",
|
|
19
|
+
"x": -3.4724184500000006,
|
|
20
|
+
"y": 1.4489565000000004
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"pinId": "PIN1_PIN2.3",
|
|
24
|
+
"x": -2.5275815499999994,
|
|
25
|
+
"y": 1.4485175000000003
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"pinId": "PIN1_PIN2.4",
|
|
29
|
+
"x": -2.5275815499999994,
|
|
30
|
+
"y": 1.4485175000000003
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"chipId": "schematic_component_1",
|
|
36
|
+
"center": {
|
|
37
|
+
"x": 0,
|
|
38
|
+
"y": 1.5
|
|
39
|
+
},
|
|
40
|
+
"width": 1.0011537820000012,
|
|
41
|
+
"height": 0.44923699999999833,
|
|
42
|
+
"pins": [
|
|
43
|
+
{
|
|
44
|
+
"pinId": "PIN1_PIN3.1",
|
|
45
|
+
"x": -0.4724184500000006,
|
|
46
|
+
"y": 1.4489565000000004
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"pinId": "PIN1_PIN3.2",
|
|
50
|
+
"x": -0.4724184500000006,
|
|
51
|
+
"y": 1.4489565000000004
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"pinId": "PIN1_PIN3.3",
|
|
55
|
+
"x": 0.4724184500000006,
|
|
56
|
+
"y": 1.4485175000000003
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"pinId": "PIN1_PIN3.4",
|
|
60
|
+
"x": 0.4724184500000006,
|
|
61
|
+
"y": 1.4485175000000003
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"chipId": "schematic_component_2",
|
|
67
|
+
"center": {
|
|
68
|
+
"x": 3,
|
|
69
|
+
"y": 1.5
|
|
70
|
+
},
|
|
71
|
+
"width": 1.0011537820000012,
|
|
72
|
+
"height": 0.44923699999999833,
|
|
73
|
+
"pins": [
|
|
74
|
+
{
|
|
75
|
+
"pinId": "PIN1_PIN4.1",
|
|
76
|
+
"x": 2.5275815499999994,
|
|
77
|
+
"y": 1.4489565000000004
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"pinId": "PIN1_PIN4.2",
|
|
81
|
+
"x": 2.5275815499999994,
|
|
82
|
+
"y": 1.4489565000000004
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"pinId": "PIN1_PIN4.3",
|
|
86
|
+
"x": 3.4724184500000006,
|
|
87
|
+
"y": 1.4485175000000003
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"pinId": "PIN1_PIN4.4",
|
|
91
|
+
"x": 3.4724184500000006,
|
|
92
|
+
"y": 1.4485175000000003
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"chipId": "schematic_component_3",
|
|
98
|
+
"center": {
|
|
99
|
+
"x": -3,
|
|
100
|
+
"y": -1.5
|
|
101
|
+
},
|
|
102
|
+
"width": 1.0011537820000012,
|
|
103
|
+
"height": 0.44923699999999833,
|
|
104
|
+
"pins": [
|
|
105
|
+
{
|
|
106
|
+
"pinId": "PIN2_PIN3.1",
|
|
107
|
+
"x": -3.4724184500000006,
|
|
108
|
+
"y": -1.5510434999999996
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"pinId": "PIN2_PIN3.2",
|
|
112
|
+
"x": -3.4724184500000006,
|
|
113
|
+
"y": -1.5510434999999996
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"pinId": "PIN2_PIN3.3",
|
|
117
|
+
"x": -2.5275815499999994,
|
|
118
|
+
"y": -1.5514824999999997
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"pinId": "PIN2_PIN3.4",
|
|
122
|
+
"x": -2.5275815499999994,
|
|
123
|
+
"y": -1.5514824999999997
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"chipId": "schematic_component_4",
|
|
129
|
+
"center": {
|
|
130
|
+
"x": 0,
|
|
131
|
+
"y": -1.5
|
|
132
|
+
},
|
|
133
|
+
"width": 1.0011537820000012,
|
|
134
|
+
"height": 0.44923699999999833,
|
|
135
|
+
"pins": [
|
|
136
|
+
{
|
|
137
|
+
"pinId": "PIN2_PIN4.1",
|
|
138
|
+
"x": -0.4724184500000006,
|
|
139
|
+
"y": -1.5510434999999996
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"pinId": "PIN2_PIN4.2",
|
|
143
|
+
"x": -0.4724184500000006,
|
|
144
|
+
"y": -1.5510434999999996
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"pinId": "PIN2_PIN4.3",
|
|
148
|
+
"x": 0.4724184500000006,
|
|
149
|
+
"y": -1.5514824999999997
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"pinId": "PIN2_PIN4.4",
|
|
153
|
+
"x": 0.4724184500000006,
|
|
154
|
+
"y": -1.5514824999999997
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"chipId": "schematic_component_5",
|
|
160
|
+
"center": {
|
|
161
|
+
"x": 3,
|
|
162
|
+
"y": -1.5
|
|
163
|
+
},
|
|
164
|
+
"width": 1.0011537820000012,
|
|
165
|
+
"height": 0.44923699999999833,
|
|
166
|
+
"pins": [
|
|
167
|
+
{
|
|
168
|
+
"pinId": "PIN3_PIN4.1",
|
|
169
|
+
"x": 2.5275815499999994,
|
|
170
|
+
"y": -1.5510434999999996
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"pinId": "PIN3_PIN4.2",
|
|
174
|
+
"x": 2.5275815499999994,
|
|
175
|
+
"y": -1.5510434999999996
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"pinId": "PIN3_PIN4.3",
|
|
179
|
+
"x": 3.4724184500000006,
|
|
180
|
+
"y": -1.5514824999999997
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"pinId": "PIN3_PIN4.4",
|
|
184
|
+
"x": 3.4724184500000006,
|
|
185
|
+
"y": -1.5514824999999997
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"directConnections": [],
|
|
191
|
+
"netConnections": [
|
|
192
|
+
{
|
|
193
|
+
"netId": "PIN1",
|
|
194
|
+
"pinIds": ["PIN1_PIN2.1", "PIN1_PIN3.1", "PIN1_PIN4.1"]
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"netId": "PIN2",
|
|
198
|
+
"pinIds": ["PIN1_PIN2.2", "PIN2_PIN3.2", "PIN2_PIN4.2"]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"netId": "PIN3",
|
|
202
|
+
"pinIds": ["PIN1_PIN3.3", "PIN2_PIN3.3", "PIN3_PIN4.3"]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"netId": "PIN4",
|
|
206
|
+
"pinIds": ["PIN1_PIN4.4", "PIN2_PIN4.4", "PIN3_PIN4.4"]
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"availableNetLabelOrientations": {}
|
|
210
|
+
}
|