@tscircuit/schematic-trace-solver 0.0.48 → 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.
Files changed (162) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +51 -1
  3. package/dist/index.js +730 -43
  4. package/lib/solvers/Example28Solver/Example28Solver.ts +182 -0
  5. package/lib/solvers/Example28Solver/geometry.ts +246 -0
  6. package/lib/solvers/Example28Solver/labelMovement.ts +82 -0
  7. package/lib/solvers/Example28Solver/reroute.ts +368 -0
  8. package/lib/solvers/Example28Solver/types.ts +47 -0
  9. package/lib/solvers/Example28Solver/visualize.ts +96 -0
  10. package/lib/solvers/SchematicTracePipelineSolver/SchematicTracePipelineSolver.ts +16 -0
  11. package/package.json +1 -1
  12. package/site/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.page.tsx +2 -0
  13. package/site/TraceCleanupSolver/TraceCleanupSolver.page.tsx +23 -0
  14. package/site/TraceLabelOverlapAvoidanceSolver/MergedNetLabelObstacles.page.tsx +18 -0
  15. package/site/TraceLabelOverlapAvoidanceSolver/OverlapAvoidanceStepSolver.page.tsx +24 -0
  16. package/site/TraceLabelOverlapAvoidanceSolver/SingleOverlapSolver.page.tsx +10 -0
  17. package/site/TraceLabelOverlapAvoidanceSolver/TraceLabelOverlapAvoidanceSolver.page.tsx +146 -0
  18. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView01.page.tsx +32 -0
  19. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView02.page.tsx +32 -0
  20. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView03.page.tsx +35 -0
  21. package/site/examples/example01.page.tsx +6 -0
  22. package/site/examples/example02.page.tsx +4 -180
  23. package/site/examples/example03.page.tsx +3 -212
  24. package/site/examples/example04.page.tsx +6 -0
  25. package/site/examples/example05.page.tsx +3 -179
  26. package/site/examples/example06.page.tsx +3 -57
  27. package/site/examples/example07.page.tsx +3 -132
  28. package/site/examples/example08.page.tsx +3 -91
  29. package/site/examples/example09.page.tsx +3 -414
  30. package/site/examples/example10.page.tsx +3 -75
  31. package/site/examples/example11.page.tsx +3 -116
  32. package/site/examples/example12.page.tsx +3 -94
  33. package/site/examples/example13.page.tsx +3 -216
  34. package/site/examples/example14.page.tsx +3 -207
  35. package/site/examples/example15.page.tsx +6 -0
  36. package/site/examples/example16.page.tsx +6 -0
  37. package/site/examples/example17.page.tsx +6 -0
  38. package/site/examples/example18.page.tsx +3 -178
  39. package/site/examples/example19.page.tsx +3 -166
  40. package/site/examples/example20.page.tsx +3 -100
  41. package/site/examples/example21.page.tsx +3 -174
  42. package/site/examples/example22.page.tsx +3 -105
  43. package/site/examples/example23.page.tsx +3 -134
  44. package/site/examples/example24.page.tsx +3 -125
  45. package/site/examples/example25.page.tsx +2 -0
  46. package/site/examples/example26.page.tsx +2 -0
  47. package/site/examples/example27.page.tsx +2 -0
  48. package/site/examples/example28.page.tsx +3 -58
  49. package/site/examples/example29.page.tsx +6 -0
  50. package/site/examples/example30.page.tsx +6 -0
  51. package/site/examples/example31.page.tsx +4 -0
  52. package/tests/assets/example01.json +109 -0
  53. package/tests/assets/example02.json +178 -0
  54. package/tests/assets/example03.json +210 -0
  55. package/tests/assets/example04.json +41 -0
  56. package/tests/assets/example05.json +175 -0
  57. package/tests/assets/example06.json +55 -0
  58. package/tests/assets/example07.json +130 -0
  59. package/tests/assets/example08.json +89 -0
  60. package/tests/assets/example09.json +412 -0
  61. package/tests/assets/example10.json +73 -0
  62. package/tests/assets/example11.json +114 -0
  63. package/tests/assets/example12.json +92 -0
  64. package/tests/assets/example13.json +214 -0
  65. package/tests/assets/example14.json +205 -0
  66. package/tests/assets/example15.json +618 -0
  67. package/tests/assets/example16.json +102 -0
  68. package/tests/assets/example17.json +160 -0
  69. package/tests/assets/example18.json +176 -0
  70. package/tests/assets/example19.json +164 -0
  71. package/tests/assets/example20.json +98 -0
  72. package/tests/assets/example21.json +172 -0
  73. package/tests/assets/example22.json +103 -0
  74. package/tests/assets/example23.json +132 -0
  75. package/tests/assets/example24.json +123 -0
  76. package/tests/assets/example25.json +146 -33
  77. package/tests/assets/example26.json +51 -1134
  78. package/tests/assets/example27.json +151 -91
  79. package/tests/assets/example28.json +56 -0
  80. package/tests/assets/example29.json +1206 -0
  81. package/tests/assets/example30.json +168 -0
  82. package/tests/assets/example31.json +46 -0
  83. package/tests/examples/__snapshots__/example01.snap.svg +12 -6
  84. package/tests/examples/__snapshots__/example02.snap.svg +16 -8
  85. package/tests/examples/__snapshots__/example03.snap.svg +36 -18
  86. package/tests/examples/__snapshots__/example04.snap.svg +8 -4
  87. package/tests/examples/__snapshots__/example05.snap.svg +4 -2
  88. package/tests/examples/__snapshots__/example06.snap.svg +4 -2
  89. package/tests/examples/__snapshots__/example07.snap.svg +20 -10
  90. package/tests/examples/__snapshots__/example08.snap.svg +16 -8
  91. package/tests/examples/__snapshots__/example09.snap.svg +80 -40
  92. package/tests/examples/__snapshots__/example10.snap.svg +16 -8
  93. package/tests/examples/__snapshots__/example11.snap.svg +24 -12
  94. package/tests/examples/__snapshots__/example12.snap.svg +16 -8
  95. package/tests/examples/__snapshots__/example13.snap.svg +32 -16
  96. package/tests/examples/__snapshots__/example14.snap.svg +115 -48
  97. package/tests/examples/__snapshots__/example15.snap.svg +36 -18
  98. package/tests/examples/__snapshots__/example16.snap.svg +16 -8
  99. package/tests/examples/__snapshots__/example17.snap.svg +16 -8
  100. package/tests/examples/__snapshots__/example18.snap.svg +20 -10
  101. package/tests/examples/__snapshots__/example19.snap.svg +16 -8
  102. package/tests/examples/__snapshots__/example20.snap.svg +43 -135
  103. package/tests/examples/__snapshots__/example21.snap.svg +34 -18
  104. package/tests/examples/__snapshots__/example22.snap.svg +37 -23
  105. package/tests/examples/__snapshots__/example23.snap.svg +62 -26
  106. package/tests/examples/__snapshots__/example24.snap.svg +50 -28
  107. package/tests/examples/__snapshots__/example25.snap.svg +175 -49
  108. package/tests/examples/__snapshots__/example26.snap.svg +16 -8
  109. package/tests/examples/__snapshots__/example27.snap.svg +24 -12
  110. package/tests/examples/__snapshots__/example28.snap.svg +24 -18
  111. package/tests/examples/__snapshots__/example29.snap.svg +184 -92
  112. package/tests/examples/__snapshots__/example30.snap.svg +48 -24
  113. package/tests/examples/__snapshots__/example31.snap.svg +88 -0
  114. package/tests/examples/example01.test.ts +2 -2
  115. package/tests/examples/example02.test.ts +2 -2
  116. package/tests/examples/example03.test.ts +2 -2
  117. package/tests/examples/example04.test.ts +2 -2
  118. package/tests/examples/example05.test.ts +2 -2
  119. package/tests/examples/example06.test.ts +2 -2
  120. package/tests/examples/example07.test.ts +2 -2
  121. package/tests/examples/example08.test.ts +2 -2
  122. package/tests/examples/example09.test.ts +2 -2
  123. package/tests/examples/example10.test.ts +2 -2
  124. package/tests/examples/{example11.test.tsx → example11.test.ts} +2 -2
  125. package/tests/examples/{example12.test.tsx → example12.test.ts} +2 -2
  126. package/tests/examples/{example13.test.tsx → example13.test.ts} +2 -2
  127. package/tests/examples/example14.test.ts +12 -0
  128. package/tests/examples/example15.test.ts +12 -0
  129. package/tests/examples/example16.test.ts +12 -0
  130. package/tests/examples/example17.test.ts +12 -0
  131. package/tests/examples/example18.test.ts +12 -0
  132. package/tests/examples/example19.test.ts +12 -0
  133. package/tests/examples/example20.test.ts +12 -0
  134. package/tests/examples/example21.test.ts +12 -0
  135. package/tests/examples/example22.test.ts +12 -0
  136. package/tests/examples/example23.test.ts +12 -0
  137. package/tests/examples/example24.test.ts +12 -0
  138. package/tests/examples/example25.test.ts +12 -0
  139. package/tests/examples/example26.test.ts +12 -0
  140. package/tests/examples/example27.test.ts +3 -232
  141. package/tests/examples/example28.test.ts +2 -2
  142. package/tests/examples/example29.test.ts +1 -2
  143. package/tests/examples/example30.test.ts +2 -2
  144. package/tests/examples/example31.test.ts +12 -0
  145. package/site/examples/example01-basic.page.tsx +0 -105
  146. package/site/examples/example04-single-symbol.page.tsx +0 -46
  147. package/site/examples/example15-rp2040-caps.page.tsx +0 -623
  148. package/site/examples/example16-core-repro51.page.tsx +0 -107
  149. package/site/examples/example17-straight-line-trace.page.tsx +0 -165
  150. package/tests/examples/example14.test.tsx +0 -11
  151. package/tests/examples/example15.test.tsx +0 -629
  152. package/tests/examples/example16.test.tsx +0 -113
  153. package/tests/examples/example17.test.tsx +0 -171
  154. package/tests/examples/example18.test.tsx +0 -187
  155. package/tests/examples/example19.test.tsx +0 -175
  156. package/tests/examples/example20.test.tsx +0 -190
  157. package/tests/examples/example21.test.tsx +0 -183
  158. package/tests/examples/example22.test.tsx +0 -109
  159. package/tests/examples/example23.test.tsx +0 -109
  160. package/tests/examples/example24.test.tsx +0 -114
  161. package/tests/examples/example25.test.tsx +0 -143
  162. package/tests/examples/example26.test.tsx +0 -134
@@ -1,623 +0,0 @@
1
- import { PipelineDebugger } from "site/components/PipelineDebugger"
2
- import type { InputProblem } from "lib/types/InputProblem"
3
-
4
- const inputProblem: InputProblem = {
5
- chips: [
6
- {
7
- chipId: "schematic_component_0",
8
- center: {
9
- x: 0.79,
10
- y: 0,
11
- },
12
- width: 3.8,
13
- height: 8.400000000000004,
14
- pins: [
15
- {
16
- pinId: "U3.1",
17
- x: -1.1099999999999999,
18
- y: 1.2000000000000015,
19
- },
20
- {
21
- pinId: "U3.2",
22
- x: -1.1099999999999999,
23
- y: -1.8000000000000007,
24
- },
25
- {
26
- pinId: "U3.3",
27
- x: -1.1099999999999999,
28
- y: -2.000000000000001,
29
- },
30
- {
31
- pinId: "U3.4",
32
- x: -1.1099999999999999,
33
- y: -2.200000000000001,
34
- },
35
- {
36
- pinId: "U3.5",
37
- x: -1.1099999999999999,
38
- y: -2.4000000000000012,
39
- },
40
- {
41
- pinId: "U3.6",
42
- x: -1.1099999999999999,
43
- y: -2.6000000000000014,
44
- },
45
- {
46
- pinId: "U3.7",
47
- x: -1.1099999999999999,
48
- y: -2.8000000000000016,
49
- },
50
- {
51
- pinId: "U3.8",
52
- x: -1.1099999999999999,
53
- y: -3.0000000000000018,
54
- },
55
- {
56
- pinId: "U3.9",
57
- x: -1.1099999999999999,
58
- y: -3.200000000000002,
59
- },
60
- {
61
- pinId: "U3.10",
62
- x: -1.1099999999999999,
63
- y: 1.0000000000000013,
64
- },
65
- {
66
- pinId: "U3.11",
67
- x: -1.1099999999999999,
68
- y: -3.400000000000002,
69
- },
70
- {
71
- pinId: "U3.12",
72
- x: -1.1099999999999999,
73
- y: -3.6000000000000023,
74
- },
75
- {
76
- pinId: "U3.13",
77
- x: -1.1099999999999999,
78
- y: -3.8000000000000025,
79
- },
80
- {
81
- pinId: "U3.14",
82
- x: -1.1099999999999999,
83
- y: -4.000000000000002,
84
- },
85
- {
86
- pinId: "U3.15",
87
- x: 2.69,
88
- y: -0.5000000000000009,
89
- },
90
- {
91
- pinId: "U3.16",
92
- x: 2.69,
93
- y: -0.7000000000000011,
94
- },
95
- {
96
- pinId: "U3.17",
97
- x: 2.69,
98
- y: -0.9000000000000012,
99
- },
100
- {
101
- pinId: "U3.18",
102
- x: 2.69,
103
- y: -1.1000000000000014,
104
- },
105
- {
106
- pinId: "U3.19",
107
- x: 2.69,
108
- y: -1.3000000000000014,
109
- },
110
- {
111
- pinId: "U3.20",
112
- x: 2.69,
113
- y: -1.9000000000000015,
114
- },
115
- {
116
- pinId: "U3.21",
117
- x: 2.69,
118
- y: -2.1000000000000014,
119
- },
120
- {
121
- pinId: "U3.22",
122
- x: -1.1099999999999999,
123
- y: 0.8000000000000012,
124
- },
125
- {
126
- pinId: "U3.23",
127
- x: -1.1099999999999999,
128
- y: 2.8000000000000016,
129
- },
130
- {
131
- pinId: "U3.24",
132
- x: 2.69,
133
- y: -2.7000000000000015,
134
- },
135
- {
136
- pinId: "U3.25",
137
- x: 2.69,
138
- y: -2.9000000000000012,
139
- },
140
- {
141
- pinId: "U3.26",
142
- x: 2.69,
143
- y: -3.1000000000000014,
144
- },
145
- {
146
- pinId: "U3.27",
147
- x: 2.69,
148
- y: 0.0999999999999992,
149
- },
150
- {
151
- pinId: "U3.28",
152
- x: 2.69,
153
- y: 0.2999999999999994,
154
- },
155
- {
156
- pinId: "U3.29",
157
- x: 2.69,
158
- y: 0.49999999999999956,
159
- },
160
- {
161
- pinId: "U3.30",
162
- x: 2.69,
163
- y: 0.6999999999999997,
164
- },
165
- {
166
- pinId: "U3.31",
167
- x: 2.69,
168
- y: 0.8999999999999995,
169
- },
170
- {
171
- pinId: "U3.32",
172
- x: 2.69,
173
- y: 1.0999999999999996,
174
- },
175
- {
176
- pinId: "U3.33",
177
- x: -1.1099999999999999,
178
- y: 0.600000000000001,
179
- },
180
- {
181
- pinId: "U3.34",
182
- x: 2.69,
183
- y: 1.2999999999999998,
184
- },
185
- {
186
- pinId: "U3.35",
187
- x: 2.69,
188
- y: 1.5,
189
- },
190
- {
191
- pinId: "U3.36",
192
- x: 2.69,
193
- y: 1.7000000000000002,
194
- },
195
- {
196
- pinId: "U3.37",
197
- x: 2.69,
198
- y: 1.9000000000000004,
199
- },
200
- {
201
- pinId: "U3.38",
202
- x: 2.69,
203
- y: 2.500000000000001,
204
- },
205
- {
206
- pinId: "U3.39",
207
- x: 2.69,
208
- y: 2.700000000000001,
209
- },
210
- {
211
- pinId: "U3.40",
212
- x: 2.69,
213
- y: 2.9000000000000012,
214
- },
215
- {
216
- pinId: "U3.41",
217
- x: 2.69,
218
- y: 3.1000000000000014,
219
- },
220
- {
221
- pinId: "U3.42",
222
- x: -1.1099999999999999,
223
- y: 0.4000000000000008,
224
- },
225
- {
226
- pinId: "U3.43",
227
- x: -1.1099999999999999,
228
- y: -1.6000000000000005,
229
- },
230
- {
231
- pinId: "U3.44",
232
- x: -1.1099999999999999,
233
- y: 2.0000000000000018,
234
- },
235
- {
236
- pinId: "U3.45",
237
- x: -1.1099999999999999,
238
- y: 1.8000000000000016,
239
- },
240
- {
241
- pinId: "U3.46",
242
- x: -1.1099999999999999,
243
- y: -1.4000000000000004,
244
- },
245
- {
246
- pinId: "U3.47",
247
- x: -1.1099999999999999,
248
- y: -1.2000000000000002,
249
- },
250
- {
251
- pinId: "U3.48",
252
- x: -1.1099999999999999,
253
- y: -1,
254
- },
255
- {
256
- pinId: "U3.49",
257
- x: -1.1099999999999999,
258
- y: 0.20000000000000062,
259
- },
260
- {
261
- pinId: "U3.50",
262
- x: -1.1099999999999999,
263
- y: 2.600000000000002,
264
- },
265
- {
266
- pinId: "U3.51",
267
- x: -1.1099999999999999,
268
- y: 3.0000000000000018,
269
- },
270
- {
271
- pinId: "U3.52",
272
- x: -1.1099999999999999,
273
- y: 3.200000000000002,
274
- },
275
- {
276
- pinId: "U3.53",
277
- x: -1.1099999999999999,
278
- y: 3.4000000000000017,
279
- },
280
- {
281
- pinId: "U3.54",
282
- x: -1.1099999999999999,
283
- y: 3.600000000000002,
284
- },
285
- {
286
- pinId: "U3.55",
287
- x: -1.1099999999999999,
288
- y: 3.8000000000000016,
289
- },
290
- {
291
- pinId: "U3.56",
292
- x: -1.1099999999999999,
293
- y: 4.000000000000002,
294
- },
295
- {
296
- pinId: "U3.57",
297
- x: -1.1099999999999999,
298
- y: -0.39999999999999947,
299
- },
300
- ],
301
- },
302
- {
303
- chipId: "schematic_component_1",
304
- center: {
305
- x: -1.5675,
306
- y: 5.955000000000002,
307
- },
308
- width: 0.53,
309
- height: 1.0999999999999996,
310
- pins: [
311
- {
312
- pinId: "C12.1",
313
- x: -1.5675,
314
- y: 6.505000000000002,
315
- },
316
- {
317
- pinId: "C12.2",
318
- x: -1.5675,
319
- y: 5.405000000000002,
320
- },
321
- ],
322
- },
323
- {
324
- chipId: "schematic_component_2",
325
- center: {
326
- x: -0.6374999999999998,
327
- y: 5.955000000000002,
328
- },
329
- width: 0.53,
330
- height: 1.0999999999999996,
331
- pins: [
332
- {
333
- pinId: "C14.1",
334
- x: -0.6374999999999998,
335
- y: 6.505000000000002,
336
- },
337
- {
338
- pinId: "C14.2",
339
- x: -0.6374999999999998,
340
- y: 5.405000000000002,
341
- },
342
- ],
343
- },
344
- {
345
- chipId: "schematic_component_3",
346
- center: {
347
- x: -2.4975,
348
- y: 5.955000000000002,
349
- },
350
- width: 0.53,
351
- height: 1.0999999999999996,
352
- pins: [
353
- {
354
- pinId: "C8.1",
355
- x: -2.4975,
356
- y: 6.505000000000002,
357
- },
358
- {
359
- pinId: "C8.2",
360
- x: -2.4975,
361
- y: 5.405000000000002,
362
- },
363
- ],
364
- },
365
- {
366
- chipId: "schematic_component_4",
367
- center: {
368
- x: 0.2925000000000004,
369
- y: 5.955000000000002,
370
- },
371
- width: 0.53,
372
- height: 1.0999999999999996,
373
- pins: [
374
- {
375
- pinId: "C13.1",
376
- x: 0.29250000000000037,
377
- y: 6.505000000000002,
378
- },
379
- {
380
- pinId: "C13.2",
381
- x: 0.2925000000000005,
382
- y: 5.405000000000002,
383
- },
384
- ],
385
- },
386
- {
387
- chipId: "schematic_component_5",
388
- center: {
389
- x: 1.2225000000000006,
390
- y: 5.955000000000002,
391
- },
392
- width: 0.53,
393
- height: 1.0999999999999996,
394
- pins: [
395
- {
396
- pinId: "C15.1",
397
- x: 1.2225000000000006,
398
- y: 6.505000000000002,
399
- },
400
- {
401
- pinId: "C15.2",
402
- x: 1.2225000000000006,
403
- y: 5.405000000000002,
404
- },
405
- ],
406
- },
407
- {
408
- chipId: "schematic_component_6",
409
- center: {
410
- x: 2.1525000000000007,
411
- y: 5.955000000000002,
412
- },
413
- width: 0.53,
414
- height: 1.0999999999999996,
415
- pins: [
416
- {
417
- pinId: "C19.1",
418
- x: 2.1525000000000007,
419
- y: 6.505000000000002,
420
- },
421
- {
422
- pinId: "C19.2",
423
- x: 2.1525000000000007,
424
- y: 5.405000000000002,
425
- },
426
- ],
427
- },
428
- {
429
- chipId: "schematic_component_7",
430
- center: {
431
- x: -4.6850000000000005,
432
- y: 3.218333333333335,
433
- },
434
- width: 0.53,
435
- height: 1.1000000000000005,
436
- pins: [
437
- {
438
- pinId: "C18.1",
439
- x: -4.6850000000000005,
440
- y: 3.7683333333333353,
441
- },
442
- {
443
- pinId: "C18.2",
444
- x: -4.6850000000000005,
445
- y: 2.668333333333335,
446
- },
447
- ],
448
- },
449
- {
450
- chipId: "schematic_component_8",
451
- center: {
452
- x: -3.7550000000000003,
453
- y: 3.218333333333335,
454
- },
455
- width: 0.53,
456
- height: 1.1000000000000005,
457
- pins: [
458
- {
459
- pinId: "C7.1",
460
- x: -3.7550000000000003,
461
- y: 3.7683333333333353,
462
- },
463
- {
464
- pinId: "C7.2",
465
- x: -3.7550000000000003,
466
- y: 2.668333333333335,
467
- },
468
- ],
469
- },
470
- {
471
- chipId: "schematic_component_9",
472
- center: {
473
- x: -6.415,
474
- y: 3.2183333333333355,
475
- },
476
- width: 0.53,
477
- height: 1.0999999999999996,
478
- pins: [
479
- {
480
- pinId: "C9.1",
481
- x: -6.415,
482
- y: 3.7683333333333353,
483
- },
484
- {
485
- pinId: "C9.2",
486
- x: -6.415,
487
- y: 2.6683333333333357,
488
- },
489
- ],
490
- },
491
- {
492
- chipId: "schematic_component_10",
493
- center: {
494
- x: -2.025,
495
- y: 1.450000000000001,
496
- },
497
- width: 0.53,
498
- height: 1.1,
499
- pins: [
500
- {
501
- pinId: "C10.1",
502
- x: -2.025,
503
- y: 2.000000000000001,
504
- },
505
- {
506
- pinId: "C10.2",
507
- x: -2.025,
508
- y: 0.900000000000001,
509
- },
510
- ],
511
- },
512
- {
513
- chipId: "schematic_component_11",
514
- center: {
515
- x: -2.025,
516
- y: -2.1500000000000004,
517
- },
518
- width: 0.53,
519
- height: 1.1,
520
- pins: [
521
- {
522
- pinId: "C11.1",
523
- x: -2.025,
524
- y: -1.6000000000000003,
525
- },
526
- {
527
- pinId: "C11.2",
528
- x: -2.025,
529
- y: -2.7,
530
- },
531
- ],
532
- },
533
- ],
534
- directConnections: [
535
- {
536
- pinIds: ["U3.1", "C12.1"],
537
- netId: "chip.U3 > port.IOVDD1 to C12.pin1",
538
- },
539
- {
540
- pinIds: ["U3.10", "C14.1"],
541
- netId: "chip.U3 > port.IOVDD2 to C14.pin1",
542
- },
543
- {
544
- pinIds: ["U3.22", "C8.1"],
545
- netId: "chip.U3 > port.IOVDD3 to C8.pin1",
546
- },
547
- {
548
- pinIds: ["U3.33", "C13.1"],
549
- netId: "chip.U3 > port.IOVDD4 to C13.pin1",
550
- },
551
- {
552
- pinIds: ["U3.42", "C15.1"],
553
- netId: "chip.U3 > port.IOVDD5 to C15.pin1",
554
- },
555
- {
556
- pinIds: ["U3.49", "C19.1"],
557
- netId: "chip.U3 > port.IOVDD6 to C19.pin1",
558
- },
559
- {
560
- pinIds: ["U3.23", "C18.1"],
561
- netId: "chip.U3 > port.DVDD1 to C18.1",
562
- },
563
- {
564
- pinIds: ["U3.50", "C7.1"],
565
- netId: "chip.U3 > port.DVDD2 to C7.1",
566
- },
567
- {
568
- pinIds: ["C10.1", "U3.44"],
569
- netId: "capacitor.C10 > port.pin1 to U3.VREG_VIN",
570
- },
571
- {
572
- pinIds: ["C11.1", "U3.43"],
573
- netId: "capacitor.C11 > port.pin1 to U3.ADC_AVDD",
574
- },
575
- ],
576
- netConnections: [
577
- {
578
- netId: "V3_3",
579
- pinIds: [
580
- "U3.1",
581
- "U3.10",
582
- "U3.22",
583
- "U3.33",
584
- "U3.42",
585
- "U3.49",
586
- "C12.1",
587
- "C14.1",
588
- "C8.1",
589
- "C13.1",
590
- "C15.1",
591
- "C19.1",
592
- ],
593
- },
594
- {
595
- netId: "V1_1",
596
- pinIds: ["U3.23", "U3.50", "C18.1", "C7.1", "C9.1"],
597
- },
598
- {
599
- netId: "GND",
600
- pinIds: [
601
- "C12.2",
602
- "C14.2",
603
- "C8.2",
604
- "C13.2",
605
- "C15.2",
606
- "C19.2",
607
- "C18.2",
608
- "C7.2",
609
- "C9.2",
610
- "C10.2",
611
- "C11.2",
612
- ],
613
- },
614
- ],
615
- availableNetLabelOrientations: {
616
- V3_3: ["y+"],
617
- V1_1: ["y+"],
618
- GND: ["y-"],
619
- },
620
- maxMspPairDistance: 2.4,
621
- }
622
-
623
- export default () => <PipelineDebugger inputProblem={inputProblem} />
@@ -1,107 +0,0 @@
1
- import { PipelineDebugger } from "site/components/PipelineDebugger"
2
- import type { InputProblem } from "lib/types/InputProblem"
3
-
4
- const inputProblem: InputProblem = {
5
- chips: [
6
- {
7
- chipId: "schematic_component_0",
8
- center: {
9
- x: 0,
10
- y: 0,
11
- },
12
- width: 2.4000000000000004,
13
- height: 1,
14
- pins: [
15
- {
16
- pinId: "U1.1",
17
- x: 1.2000000000000002,
18
- y: -0.30000000000000004,
19
- },
20
- {
21
- pinId: "U1.2",
22
- x: -1.2000000000000002,
23
- y: -0.30000000000000004,
24
- },
25
- {
26
- pinId: "U1.3",
27
- x: 1.2000000000000002,
28
- y: 0.09999999999999998,
29
- },
30
- {
31
- pinId: "U1.4",
32
- x: -1.2000000000000002,
33
- y: 0.30000000000000004,
34
- },
35
- {
36
- pinId: "U1.5",
37
- x: -1.2000000000000002,
38
- y: 0.10000000000000003,
39
- },
40
- {
41
- pinId: "U1.6",
42
- x: -1.2000000000000002,
43
- y: -0.09999999999999998,
44
- },
45
- {
46
- pinId: "U1.7",
47
- x: 1.2000000000000002,
48
- y: -0.10000000000000003,
49
- },
50
- {
51
- pinId: "U1.8",
52
- x: 1.2000000000000002,
53
- y: 0.30000000000000004,
54
- },
55
- ],
56
- },
57
- {
58
- chipId: "schematic_component_1",
59
- center: {
60
- x: 2.7,
61
- y: 1.9049999999999998,
62
- },
63
- width: 2.2,
64
- height: 0.8,
65
- pins: [
66
- {
67
- pinId: "J1.1",
68
- x: 1.6,
69
- y: 2.105,
70
- },
71
- {
72
- pinId: "J1.2",
73
- x: 1.6,
74
- y: 1.9049999999999998,
75
- },
76
- {
77
- pinId: "J1.3",
78
- x: 1.6,
79
- y: 1.7049999999999998,
80
- },
81
- ],
82
- },
83
- ],
84
- directConnections: [],
85
- netConnections: [
86
- {
87
- netId: "GND",
88
- pinIds: ["U1.1", "J1.3"],
89
- },
90
- {
91
- netId: "OUT",
92
- pinIds: ["U1.3", "J1.2"],
93
- },
94
- {
95
- netId: "VCC",
96
- pinIds: ["U1.8", "J1.1"],
97
- },
98
- ],
99
- availableNetLabelOrientations: {
100
- VCC: ["y+"],
101
- OUT: ["x-", "x+"],
102
- GND: ["y-"],
103
- },
104
- maxMspPairDistance: 2.4,
105
- }
106
-
107
- export default () => <PipelineDebugger inputProblem={inputProblem} />