get_stats
Summarize instance population by model and aggregate register, leaf, sequential, RAM/ROM counts for a design path or the top design; returns flat totals and optional paginated model details.
Instructions
Summarize instance population by model below path or the top design.
Use this for aggregate leaf/sequential/model counts, register bits, and
RAM/ROM counts and capacity; use get_hierarchy for actual child instances
or get_module_card for one model's ports. This
read-only query requires a loaded design. Returns root_model, flat totals,
total_models, and an empty models list by default. Pass limit or the
returned next_cursor to retrieve model details with pagination.
Register bits count modeled flip-flop/latch states, excluding memories;
unknown sequential bit counts are reported separately.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Hierarchical instance path; omit to summarize the top design. | |
| limit | No | Opt into model details with this page size (maximum 200). Omit limit and cursor for summary only; cursor-only pages default to 25. | |
| cursor | No | Opaque next_cursor from the previous response; omit for the first page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |