@tscircuit/schematic-trace-solver 0.0.173 → 0.0.174
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/dist/index.js +5 -0
- package/lib/solvers/AvailableNetOrientationSolver/AvailableNetOrientationSolver.ts +12 -1
- package/package.json +1 -1
- package/site/bug-reports/bug-report-20260831T133233Z.page.tsx +4 -0
- package/tests/bug-reports/bug-report-20260721T221026Z/__snapshots__/bug-report-20260721T221026Z.snap.svg +18 -18
- package/tests/bug-reports/bug-report-20260831T133233Z/__snapshots__/bug-report-20260831T133233Z.snap.svg +85 -0
- package/tests/bug-reports/bug-report-20260831T133233Z/bug-report-20260831T133233Z.json +172 -0
- package/tests/bug-reports/bug-report-20260831T133233Z/bug-report-20260831T133233Z.test.ts +25 -0
- package/tests/repros/__snapshots__/repro-bq40z60-current-sense.snap.svg +94 -0
- package/tests/repros/__snapshots__/repro-pmp11282-isolated-dcdc.snap.svg +10 -10
- package/tests/repros/__snapshots__/repro-ti-power-output-section.snap.svg +87 -87
- package/tests/repros/__snapshots__/repro-tida-01389-hbridge.snap.svg +47 -153
- package/tests/repros/__snapshots__/repro-tida010076-page02.snap.svg +1625 -1625
- package/tests/repros/assets/repro-bq40z60-current-sense.input.json +158 -0
- package/tests/repros/assets/repro-tida-01389-hbridge.input.json +67 -657
- package/tests/repros/repro-bq40z60-current-sense.test.ts +18 -0
- package/tests/repros/repro-tida-01389-hbridge.test.ts +27 -6
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chips": [
|
|
3
|
+
{
|
|
4
|
+
"chipId": "C26",
|
|
5
|
+
"symbolName": "capacitor_down",
|
|
6
|
+
"center": { "x": -9.7675, "y": -7.3 },
|
|
7
|
+
"width": 1.165,
|
|
8
|
+
"height": 0.76,
|
|
9
|
+
"pins": [
|
|
10
|
+
{
|
|
11
|
+
"pinId": "C26.1",
|
|
12
|
+
"displayName": "1",
|
|
13
|
+
"x": -9.9,
|
|
14
|
+
"y": -6.92,
|
|
15
|
+
"_facingDirection": "y+"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"pinId": "C26.2",
|
|
19
|
+
"displayName": "2",
|
|
20
|
+
"x": -9.9,
|
|
21
|
+
"y": -7.68,
|
|
22
|
+
"_facingDirection": "y-"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"chipId": "C36",
|
|
28
|
+
"symbolName": "capacitor_down",
|
|
29
|
+
"center": { "x": -8.5675, "y": -7.3 },
|
|
30
|
+
"width": 1.165,
|
|
31
|
+
"height": 0.76,
|
|
32
|
+
"pins": [
|
|
33
|
+
{
|
|
34
|
+
"pinId": "C36.1",
|
|
35
|
+
"displayName": "1",
|
|
36
|
+
"x": -8.7,
|
|
37
|
+
"y": -6.92,
|
|
38
|
+
"_facingDirection": "y+"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"pinId": "C36.2",
|
|
42
|
+
"displayName": "2",
|
|
43
|
+
"x": -8.7,
|
|
44
|
+
"y": -7.68,
|
|
45
|
+
"_facingDirection": "y-"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"chipId": "R43",
|
|
51
|
+
"symbolName": "boxresistor_up",
|
|
52
|
+
"center": { "x": -12.465, "y": -7.4 },
|
|
53
|
+
"width": 0.97,
|
|
54
|
+
"height": 0.6,
|
|
55
|
+
"pins": [
|
|
56
|
+
{
|
|
57
|
+
"pinId": "R43.1",
|
|
58
|
+
"displayName": "1",
|
|
59
|
+
"x": -12.5,
|
|
60
|
+
"y": -7.1,
|
|
61
|
+
"_facingDirection": "y+"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"pinId": "R43.2",
|
|
65
|
+
"displayName": "2",
|
|
66
|
+
"x": -12.5,
|
|
67
|
+
"y": -7.7,
|
|
68
|
+
"_facingDirection": "y-"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"chipId": "R38",
|
|
74
|
+
"symbolName": "boxresistor_right",
|
|
75
|
+
"center": { "x": -11.3, "y": -7 },
|
|
76
|
+
"width": 0.6,
|
|
77
|
+
"height": 0.68,
|
|
78
|
+
"pins": [
|
|
79
|
+
{
|
|
80
|
+
"pinId": "R38.1",
|
|
81
|
+
"displayName": "1",
|
|
82
|
+
"x": -11,
|
|
83
|
+
"y": -7,
|
|
84
|
+
"_facingDirection": "x+"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"pinId": "R38.2",
|
|
88
|
+
"displayName": "2",
|
|
89
|
+
"x": -11.6,
|
|
90
|
+
"y": -7,
|
|
91
|
+
"_facingDirection": "x-"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"chipId": "R44",
|
|
97
|
+
"symbolName": "boxresistor_right",
|
|
98
|
+
"center": { "x": -11.3, "y": -8 },
|
|
99
|
+
"width": 0.6,
|
|
100
|
+
"height": 0.68,
|
|
101
|
+
"pins": [
|
|
102
|
+
{
|
|
103
|
+
"pinId": "R44.1",
|
|
104
|
+
"displayName": "1",
|
|
105
|
+
"x": -11,
|
|
106
|
+
"y": -8,
|
|
107
|
+
"_facingDirection": "x+"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"pinId": "R44.2",
|
|
111
|
+
"displayName": "2",
|
|
112
|
+
"x": -11.6,
|
|
113
|
+
"y": -8,
|
|
114
|
+
"_facingDirection": "x-"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"directConnections": [],
|
|
120
|
+
"netConnections": [
|
|
121
|
+
{
|
|
122
|
+
"netId": "GND",
|
|
123
|
+
"isGround": true,
|
|
124
|
+
"netLabelText": "GND",
|
|
125
|
+
"netLabelWidth": 0.42,
|
|
126
|
+
"netLabelHeight": 0.48,
|
|
127
|
+
"pinIds": ["R43.1", "R38.2"]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"netId": "PGND",
|
|
131
|
+
"isGround": true,
|
|
132
|
+
"netLabelText": "PGND",
|
|
133
|
+
"netLabelWidth": 0.42,
|
|
134
|
+
"netLabelHeight": 0.6,
|
|
135
|
+
"pinIds": ["R43.2", "R44.2"]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"netId": "U2_SRP",
|
|
139
|
+
"netLabelText": "U2_SRP",
|
|
140
|
+
"netLabelWidth": 0.84,
|
|
141
|
+
"pinIds": ["R38.1", "C26.1", "C36.1"]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"netId": "U2_SRN",
|
|
145
|
+
"netLabelText": "U2_SRN",
|
|
146
|
+
"netLabelWidth": 0.84,
|
|
147
|
+
"pinIds": ["R44.1", "C26.2", "C36.2"]
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"availableNetLabelOrientations": {
|
|
151
|
+
"GND": ["y-"],
|
|
152
|
+
"PGND": ["y-"],
|
|
153
|
+
"U2_SRP": ["y+"],
|
|
154
|
+
"U2_SRN": ["x+"]
|
|
155
|
+
},
|
|
156
|
+
"maxMspPairDistance": 2.4,
|
|
157
|
+
"_hideRatsNet": false
|
|
158
|
+
}
|