trace_cone
Trace the combinational fanin or fanout cone of a signal across hierarchy, stopping at flops, ports, and black boxes. Returns node counts and a frontier of boundary elements.
Instructions
Trace the combinational fanin/fanout cone of a term/net via naja's
LogicCone. direction: fanin|fanout. The cone crosses hierarchy and
combinatorial arcs and always stops at flops, top ports, and opaque
black-box cells. Returns node_count, counts_by_kind, counts_by_model, and a
frontier of {flops, ports, blackboxes} with exact counts and lists capped
at max_frontier (<=200) with a truncation marker.
cross_hierarchy groups the flop frontier by top-level submodule and, under
outside_root_subtree, names the frontier registers that live OUTSIDE the
cone root's own subtree (the cross-hierarchy answer) — read it directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| direction | Yes | ||
| max_frontier | No |