Skip to content

Colab test notebook - #15

Merged
xtofalex merged 3 commits into
mainfrom
colab-test-notebook
Sep 28, 2026
Merged

xtofalex merged 3 commits into
mainfrom
colab-test-notebook

Conversation

@xtofalex

Copy link
Copy Markdown
Member

No description provided.

xtofalex and others added 3 commits September 28, 2026 18:43
Escaped Verilog instance names can contain '/', so a path joined with '/'
and split back names the wrong instances. The C++ viewer now keys every
instance by an InstancePath (std::vector<std::string>): selection,
diagnoses, the tree, the layout and all schematic maps. Composite keys
(bus groups, endpoints, pending pin requests, wire ends) are tuples.
displayPath() joins names for display only.

On the wire, expand_instance_terms/load_instance_internals now carry the
box's path as an `instance_path` list (echoed in the reply) instead of a
`path_key` string; both providers echo it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- naja_schematic.show(instance=None, *, height=600, diagnosis=None), so
  show(inst) / show(["u1", "u2"]) work; height and diagnosis are
  keyword-only.
- show_instance() takes a najaeda Instance, a list of names, or a single
  name; strings are never split on "/" (escaped names can contain it).
- Colab notebook: lists for paths, and no diagnosis cells for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xtofalex
xtofalex merged commit 901a9d7 into main Sep 28, 2026
14 checks passed
@xtofalex
xtofalex deleted the colab-test-notebook branch September 28, 2026 16:55
xtofalex added a commit that referenced this pull request Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant