Add Domains and Power rails views for functional groups.

Sidebar tabs show routing-first topology from placement_plan/functional_groups, with IC groups and satellite roles highlighted per domain and per supply rail.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-13 17:17:16 +02:00
co-authored by Cursor
parent e124ac2de7
commit fc11df59fc
10 changed files with 553 additions and 48 deletions
+5 -3
View File
@@ -1551,9 +1551,11 @@ def _write_functional_groups(ws: PipelineWorkspace, graph) -> None:
if extracted_dir.is_dir():
cmap = _build_constraints_map(_load_datasheets(extracted_dir))
report = build_functional_groups(graph, cmap)
out = ws.local_path("functional_groups.json")
out.write_text(report.model_dump_json(indent=2) + "\n")
ws._upload_file("functional_groups.json")
payload = report.model_dump_json(indent=2) + "\n"
for name in ("functional_groups.json", "placement_plan.json"):
out = ws.local_path(name)
out.write_text(payload)
ws._upload_file(name)
except Exception:
logger.exception("functional_groups.json write failed — continuing")