Configures Vivado IP blocks via natural language, generating set_property -dict commands. Uses a two-tier approach: builds config from documentation, then recovers from errors using Vivado feedback.
Ships in AMD Ross Agentic AI Assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
FUNCTIONS.md lists every ipcfg:: helper with its call shape, purpose and
success/failure results, generated from the code and readable without Vivado. In the Vivado
session, ipcfg::help <word> prints the same entry. Use these instead of reading lib/*.tcl. Do not infer a helper's
contract from its name or parse every return as a status line.
Offline scripts: use lib/vivado_python.sh (vivado_python.cmd on Windows).
The skill should try the installed Vivado's bundled Python automatically before
an existing host interpreter. Customers do not need a separate Python installation,
notebook changes, or a mandatory policy flag. Use the active Vivado environment;
the Linux launcher also discovers vivado on PATH. If discovery fails, locate the
installed Vivado and set IPCFG_VIVADO_ROOT to its root, not its executable.
Do not ask customers to install Python as the first remedy.
Do not start Vivado merely to run Python. Inside an already loaded
Vivado session, reuse ipcfg::python_exec; do not build another resolver or use
exec [ipcfg::python_exe] ..., which bypasses the environment wrapper.
Offline Linux invocation (replace both absolute paths; keep the quotes):
/bin/sh "/absolute/workspace/.claude/skills/vivado-ip-configurator/lib/vivado_python.sh" \
"/absolute/workspace with spaces/outputs/check.py" "argument with spaces"
This starts Python, not Vivado. A nonzero child exit remains nonzero. Each shell
invocation probes its runtime afresh; the once-per-process cache below belongs to
the loaded Tcl helper. The offline launchers reject multiple compatible bundles
as ambiguous; choose an approved IPCFG_PYTHON override in that case.
| Existing helper | Return / use |
|---|---|
ipcfg::python_status | PYTHON:OK source=... version=... executable=..., or returned PYTHON_RUNTIME_FAIL:... text; check the prefix, not just Tcl success. |
ipcfg::python_runtime | Dict with executable, root, source, version, score; resolves lazily, then reuses the cache. Raises on resolution failure. |
ipcfg::python_exe | Selected executable path only, not an environment-aware invocation. Raises on resolution failure. |
ipcfg::python_exec args... | Child output as a string; pass the script path and each argument separately. Resolution, import and nonzero-exit failures raise Tcl errors. |
ipcfg::python_script script args... | Preferred script entry point: requires an existing absolute .py path before invoking python_exec. Invalid paths raise PYTHON_SCRIPT_FAIL; child errors remain Tcl errors. |
Once per session, before mutations, record the interpreter and required stdlib imports in the workflow evidence (after loading the helper). The skill performs this preflight; do not add it to the user's notebook or require them to run it:
set python_status [ipcfg::python_status]
puts $python_status
if {![string match {PYTHON:OK *} $python_status]} { error $python_status }
puts [ipcfg::python_exec -c {import argparse, base64, hashlib, json, pathlib, re, sys, typing; print("PYTHON_IMPORTS:OK")}]
Run a script with list-safe arguments and absolute paths, including paths with spaces:
set script {/absolute/workspace/.claude/skills/vivado-spec-generator/scripts/validate_spec.py}
set arguments [list {/absolute/workspace with spaces/outputs/design_spec.json}]
puts [ipcfg::python_script $script {*}$arguments]
Replace example paths with the actual workspace paths. A stdlib preflight does not prove optional packages are installed; add only imports required by the chosen script. Keep errors visible and stop that stage on failure.
The Tcl resolver prefers an explicit IPCFG_PYTHON override, then the newest usable Vivado
bundle, then host python3/python. An invalid override fails, rather than silently
falling back. Set the override to an approved interpreter path before preflight.
The cache key includes platform, IPCFG_PYTHON, IPCFG_VIVADO_ROOT, XILINX_VIVADO,
VIVADO_PATH, PATH and IPCFG_REQUIRE_BUNDLED; unchanged keys reuse the runtime without repeat probes.
IPCFG_REQUIRE_BUNDLED=1 is optional for controlled tests or an explicitly requested
bundle-only policy; do not enable it by default. It disables implicit host fallback,
but an explicit IPCFG_PYTHON override still takes precedence.
Do not routinely call python_reset or re-source libraries to rediscover Python.
The wrapper temporarily clears PYTHONHOME, PYTHONPATH, PYTHONSTARTUP and
PYTHONINSPECT, adjusts the child runtime library path (LD_LIBRARY_PATH on Linux,
PATH on Windows), and restores prior values or absence on success and failure.
Preserve that per-invocation restoration; never permanently unset Vivado's environment.
Keep successful tool responses under roughly 1 KiB of helper-owned text. Do not
print whole CONFIG snapshots, nested PS dictionaries, full configuration diffs,
ownership inventories, caches, or parameter-dependency dumps. Keep them in Tcl
variables and persist large results with ipcfg::write_evidence before returning
only counts, required readbacks, and the evidence receipt. End tool batches with
a short puts, not a set whose return value exposes a large dictionary.
Choose an existing writable evidence directory under the workflow's output directory before mutations. Use a fresh filename for each record:
For MCP sessions, bind the exact log_file from the startup receipt once after
loading the library: set ::ipcfg::native_log_path <absolute-session-log>.
Do not guess a shared vivado.log path. This process-level binding survives project
transitions; never point it at another session. The wrapper preserves each operation's
native log byte range in a new .native.log file and rejects replacement/truncation.
This is required for operations such as validation that can remove earlier messages
from write_messages. Without a bound log, counter/export mismatches fail closed.
Native severity counters are also retained. With a bound log, excess WARNING counts
are recorded as unprinted_warning_count: Vivado validation can increment this counter
without printing a warning. Printed ignored-write warnings still fail; ERROR/CRITICAL
counter discrepancies always fail. Counts cover the current process, not child runs.
Keep capture windows inside one project; closing/reopening resets message history.
set evidence_file [file join $evidence_dir "config.[pid].[clock clicks].tcldict"]
puts [ipcfg::write_evidence $evidence_file $details]
write_evidence {path data} requires an absolute path and refuses to overwrite
existing files. It returns a dict with status RECORDED, bytes, and
evidence_path; the UTF-8 file is a Tcl dict containing schema_version and
the complete data. Read it as data with read/dict get, never source it.
For configuration calls, use automatic capture rather than manually assembling
the evidence. It retains the return value, Tcl catch options, and native output:
set evidence_file [file join $evidence_dir "require.[pid].[clock clicks].tcldict"]
set receipt [ipcfg::capture $evidence_file \
[list ipcfg::require $cell $desired $reason] {REQ:pinned+applied}]
puts $receipt
if {[dict get $receipt status] ne "OK"} {error "CONFIGURE_FAIL:see $evidence_file"}
capture {path script {expect {}}} executes once in the caller's scope. It writes
the full result and -errorinfo/-errorcode automatically, plus immutable
.before.log/.after.log snapshots from write_messages -severity OUTPUT.
The receipt includes status, Tcl code, warning/critical/error counts, paths,
elapsed milliseconds and a short excerpt. Missing capture support, a changed
message history without a bound ::ipcfg::native_log_path, or evidence I/O failure is not
a successful configuration. With the native log bound, messages come from that log's
byte range, so Vivado inserting late messages into its earlier history is recorded as
history_reordered 1, not a failure. When the result misses expect, the excerpt starts
result does not match expected {..}: got '..' - fix the expected prefix or the call.
It never retries the script. An existing evidence file is rejected before execution, so a
rerun needs a new evidence file name.
Supply accepted status prefixes for status-returning calls; the shared
ipcfg::result_status predicate rejects FAIL/PENDING/PARTIAL/malformed results
and accepts NA only when explicitly requested. With no expect, OK describes
Tcl/native-message execution only, not the meaning of an arbitrary return value.
Every new native ERROR or CRITICAL WARNING fails capture, even when Tcl returned
zero. WARNING lines indicating ignored/disabled writes also fail. Ordinary
warnings remain counted and visible. Required hardware readbacks still apply.
Do not wrap expected-failure discovery experiments as successful configuration;
retain their FAIL evidence and interpret it only as probe feedback.
Managed ipiasm::assemble_from_plan calls capture each operation automatically;
do not double-wrap them. Stage results are persisted automatically, including
compiler failures. For standalone configuration, use capture for each meaningful
operation or a driver whose final return is its checked status. Do not fetch or
print entire logs after clean success; the same call supplies counts and paths.
Use source -notrace for helper and generated-script loads in Vivado. This removes
source-code echo, not warnings/errors (AMD AR 62335).
Do not use -quiet, global message suppression, or redirect output to /dev/null
to meet the output budget. Preserve the native Vivado log. capture inspects
native messages without suppressing their console output; use MCP verbosity="digest"
for large native reports and keep the returned log path. write_evidence alone
archives supplied data, not console output. Avoid repeated full rule-registry dumps:
reuse a captured registry for an unchanged session and inspect only the relevant row.
Successful board_bind returns hook and ownership counts; all ownership values
remain available through ipcfg::board_owned. Print only relevant entries on
inspection or archive the full result. Failure diagnostics are not shortened by
the helper.
For real designs, describe a requirements checklist, configuration readback and observed hardware interfaces. Benchmark grades are not design acceptance criteria. When called during system planning, use the assembler's scratch project and preserve its delivery-project boundary. Do not change the target part or create another session.
For each uncertain capability, record the expected observable result before testing. Use the existing creation, automation, parameter-discovery and readback helpers; batch related operations. Check actual interface protocol/direction and pin width as well as CONFIG values. A stored count does not prove a vector grew. For connection-derived properties, make a minimal documented connection and inspect the result after propagation; do not force ownership of a derived property based on a guessed workaround.
Capture defaults before configuration when a before/after comparison is needed. A cell created and configured in one call is already configured, not a default baseline. Defaults that satisfy documented requirements are valid and do not require an artificial change. Scratch success must be rechecked in the delivery design. Allow at most 10 total attempts per IP, including the initial attempt, shared across parameter configuration, automation, stub connections and nested helpers. Do not restart the count on a nested call or resume. Record the attempt count and diagnostic evidence in the run output. After the tenth failed attempt, stop mutating that IP and ask for user intervention before any further attempt.
An explicitly selected external independent-audit controller may supply
ipcfg::repair_guard for bounded corrective transactions after initial construction.
In that mode, allow at most ten persistent corrective transactions per logical IP,
rechecking independent requirements after each and stopping on PASS. The controller
must own the project ledger lock, reserve before mutation, enforce declared operations
and stable identities, and refuse exhausted legacy ledgers without migration approval.
Do not set this hook directly or use it to bypass a refusal. Without that controller,
the legacy mutation-count policy below remains in force.
The configuration helpers use ipcfg::attempt_call and persist counts plus diagnostic
history in <project-directory>/.ipcfg/attempts.tcldict, keyed by BD and full cell path.
Creation/configuration, board binding, parameter repair, automation, stub recovery and
mutating sub-key discovery share a hard limit of ten attempts. Each actual mutation
operation counts, including successful ones and fallback attempts; forwarding calls and
empty/idempotent operations do not add a count. A temporary range probe and its required
restoration form one attempt. Library reload, assembler initialization and a new Tcl
process on the same project do not reset the ledger.
CONFIGURE_FAIL:ATTEMPT_LIMIT requires user intervention, not another recovery path.
An unreadable ledger or existing lock fails closed with ATTEMPT_STATE; preserve the
files and investigate before asking the user to authorize recovery. There is no automatic
reset or budget extension. Preserve the project directory when resuming.
This is helper-level enforcement, not a global Vivado command interceptor. Direct Tcl writes and assembler infrastructure writes outside these helpers are not automatically counted. Do not use those paths to bypass exhaustion. A different project, BD or cell identity has a separate ledger entry; do not rename or recreate context to obtain retries.
This skill configures Vivado IP blocks from natural-language prompts using a two-tier approach that treats Vivado as the source of truth. It does NOT rely on pre-built parameter databases or exhaustive JSON dumps of IP configuration spaces.
Tier 1 — Doc-Driven First Attempt:
set_property -dict from the docsvivado_executeTier 2 — Error-Driven Recovery (only if Tier 1 fails):
set_property -dict-dict and retryKey principle: set_property -dict is atomic for hard errors — if it throws, no
parameters are changed, and the error messages are rich and specific.
Caveat (critical): In IP Integrator (BD) mode, an unknown CONFIG parameter does
not throw. Vivado emits a non-fatal CRITICAL WARNING [BD 41-1276] ... does not exist
(or [IP_Flow 19-7090] Invalid parameter ... Ignoring), catch returns 0, and the script
would falsely report success. Therefore Tier 1 must verify that the parameters actually
took effect (see Step 3, Phase 3 verification) and the agent must scan the execute output
for these warning patterns before declaring SUCCESS — never trust the SUCCESS: line alone.
This skill runs in one of two modes. Choose the mode at the start of the session and keep it.
| Mode | When | Behavior |
|---|---|---|
benchmark (default) | Following execution_protocol.md or any automated/blind run | Deterministic: never ask the user. Must call vivado_execute, write the artifact, then finish. Skip exploratory reads. |
design | Helping a user build a real, working design | May ask clickable clarifying questions when doc search is inconclusive, and proactively uses Block Automation / Configurable Example Designs to flesh out the design. |
If the mode is not stated, infer benchmark when a protocol/blind-run file is driving you;
otherwise assume design. Steps below are tagged (both), (benchmark), or (design)
where the behavior differs. Everything not tagged applies to both.
You MUST tell the user, in plain language, whether the IP was fully parameterized from
the prompt — and if not, exactly which part(s) of the prompt could not be applied, and why.
Never silently grade partial / creation_only / negative.
Drive this from the Step 1.5 requirement ledger. Every atomic requirement ends in one outcome:
applied — set and verified (stuck + intent realized)default — already correct by default (value_src=default, acceptable)unapplied:<reason> — could not be parameterized; <reason> is one of
runtime-register-only, integration-derived, gated-no-enabler, not-a-config-param,
value-out-of-range, wrong-ip-for-capability.Emit the coverage report whenever the result is not fully applied:
puts [ipcfg::coverage_report $ledger] ;# COVERAGE:FULL | COVERAGE:PARTIAL + the unapplied list
Then say to the user, verbatim about the gaps: "I could not fully parameterize <IP> from
the prompt. Applied: . Could NOT apply: '' because ."
Quote the actual prompt fragment for each gap — do not paraphrase it away.
Only THREE tools are needed:
| Tool | Purpose | When |
|---|---|---|
vivado_doc_search | Find IP parameters, valid values, dependencies | Tier 1 (always), Tier 2 (on error) |
vivado_execute | Run set_property -dict and read-back commands | Both tiers |
vivado_log_messages | Additional diagnostics if error string is ambiguous | Tier 2 (rare) |
Many IPs only exist on specific device families. A part swap is destructive to a design-in-progress: existing IP may be incompatible with the new part, will need upgrading, and may then mismatch the original prompts. So treat swapping as opt-in and last-resort, not routine:
ipcfg::vlnv_ok <vlnv>. If the IP is
available, do not swap.ipcfg::ensure_part <part> is guarded: if
other bd_cells already exist it returns WARN:SWAP_BLOCKED:... instead of swapping.
WARN:SWAP_BLOCKED, ask the user (clickable) whether to swap,
warning that existing IP may need upgrading and could mismatch their intent. Only call
ipcfg::ensure_part <part> 1 (force) after they confirm.Step 0a — Doc search for device family (combined with parameter search):
Include device/family keywords in the Tier 1 doc search so a single call covers both part compatibility and CONFIG parameters:
vivado_doc_search("<IP name> supported devices configuration parameters")
From the results, extract:
Step 0b — Determine if a part swap is needed:
If the doc search indicates the IP requires a different device family than the current project part, select a representative part from the static fallback map below. The AI should prefer doc-search results when they name a specific family; the map is a fallback.
Static fallback map (IP -> required part):
| IP | Required Part | Why |
|---|---|---|
processing_system7 | xc7z020clg484-1 | Zynq-7000 PS |
versal_cips | xcvc1902-vsva2197-2MP-e-S | Versal CIPS |
axi_noc | xcvc1902-vsva2197-2MP-e-S | Versal NoC |
mrmac | xcvc1902-vsva2197-2MP-e-S | Versal Multi-Rate MAC |
xdma | xcvu9p-flga2104-2L-e | Needs GT quads (Virtex US+) |
cmac_usplus | xcvu9p-flga2104-2L-e | 100G needs GT quads |
gt_quad_base | xcvc1902-vsva2197-2MP-e-S | Versal GT Quad IP |
hbm | xcvu37p-fsvh2892-2L-e | HBM-equipped Virtex US+ |
rfdc | xczu28dr-ffvg1517-2-e | RFSoC |
axi_ethernet (10G/25G) | xcvu9p-flga2104-2L-e | 10G+ needs GT |
Step 0c — Part swap TCL (inline in the same script):
When a swap is actually warranted (Step 0 guard passed, or user-confirmed in design mode),
it is embedded at the top of the configuration TCL via the guarded ipcfg::ensure_part
(pass 1 to force only after confirmation), and restored after cleanup. See the template
in Step 3.
Step 0d — Capability pre-check (IP vs. intent):
Before building the dict, sanity-check that the chosen IP can actually deliver the
requested capability. Many prompts name a feature that belongs to a different IP, and
the BD will silently ignore the unsupported settings rather than error clearly. When the
doc search shows the requested rate/interface/mode is outside the IP's envelope, do not
attempt a doomed config — instead resolve it as a negative, exactly like a
VALUE_OUT_OF_RANGE recovery:
axi_ethernet,
fall back to 1000BaseX/SGMII when 10G/25G was requested).negative, and in fidelity_note state both the IP's documented limit and the
correct alternative IP for the requested capability.tier2_success: true), not an unrecovered failure — a
provably-impossible-on-the-named-IP request is a legitimate negative, never a fall-through
fail. (If the request becomes impossible only via a Vivado error rather than the doc, the
same resolution applies once the VALUE_OUT_OF_RANGE/PARAM_NOT_FOUND error confirms it.)Note: this path keeps fidelity to the named IP. Substituting a different IP to deliver the capability (e.g.
axi_ethernet→xxv_ethernet) is intentionally out of scope — it would change the IP the user asked for. Only do that if the user explicitly asks to "use whatever IP achieves X."
General signals that the prompt targets the wrong IP:
CONFIG enum but documented as a separate IP or domain.The mapping of which IP provides a capability comes from the doc search, not from a static
table — let the documentation name the right IP, then grade negative with that name in
fidelity_note.
Extract from the user's prompt:
A capability may live in a standalone IP OR be integrated into a larger system IP.
The same feature can be delivered either by a dedicated IP or by a sub-block of a
processing-system / platform IP, configured through a nested *_CONFIG dictionary. Let doc
search name where the capability lives; when both paths exist, prefer the one the
surrounding design / example design actually uses. Picking the standalone IP when the
device delivers the feature inside its system IP (or vice-versa) is an
unapplied:wrong-ip-for-capability outcome — keep the identification doc-grounded, not
name-based.
When to ask the user (design mode): If vivado_doc_search is inconclusive and the
unknown materially changes the IP choice or the configuration (e.g. which IP/sub-block
delivers a capability, or an ambiguous requirement), ask a short clickable question
rather than guessing or emitting a vague/formulaic answer. In benchmark mode, never ask
— make the documented deterministic choice and record the assumption in the ledger.
Before any config, decompose the prompt into a list of atomic requirements — one per named feature, toggle, mode, count, width, rate, or protocol the user asked for. Carry this ledger through Tier 1 and Tier 2 as a coverage contract:
| Requirement (from prompt) | CONFIG param | Doc evidence (why this param) | Expected observable change |
|---|---|---|---|
| "user-data-type filtering on" | CONFIG.<X> | doc line stating X does this | default 0 -> 1 |
| "2 channels" | CONFIG.<Y> | doc line stating Y is channel count | default 1 -> 2 |
Rules:
full
while any requirement is uncovered.Consult the learned cache FIRST (0 MCP calls). Before any doc search, check whether a prior run already discovered where this feature lives:
set hit [ipcfg::cache_get <ip> "<feature phrase>"] ;# "" on miss
On a hit, you get the param, shape, enabler, and value_src that were earned in a
previous run. Do a cheap get_property existence re-verify (the param still exists for this
IP version), then go straight to applying your value — skip the doc search. On a miss,
fall through to the doc search below; once you have confirmed a mapping (it stuck and
verify_intent/audit_intent passed), write it back:
ipcfg::cache_put <ip> "<feature phrase>" CONFIG.<NAME> <scalar|comma-list|nested> \
<enabler_param|null> <user|default> "<doc citation>" <ip_version>
This kills the run-to-run "found-then-lost" variance and cuts repeat doc searches. The cache
stores discovery facts only — never the prompt's expected value (there is no value field;
see cache/README.md), so it is safe to consult and populate during a blind run.
Call vivado_doc_search with a targeted query. Combine part-family and parameter
discovery into a single call when possible:
vivado_doc_search("<IP name> supported devices CONFIG parameters <key feature>")
From the results, identify:
Doc-grounded mapping (anti-synonym guard) — required for every requirement. Pick a parameter because its documented description matches the feature's semantics, NOT because the parameter name looks related. Param names routinely share keywords while implementing different functions, so name pattern-matching silently picks the wrong one (it will set fine and stick, producing a false success that Tier 2 never sees).
When several candidate params share a keyword from the prompt, read each candidate's doc description and choose the one whose description states the requested function.
Record the deciding doc line in the ledger's "Doc evidence" column — if you cannot cite why a param implements the requirement, you have not grounded it yet; search again.
Illustrative (do not generalize the specific names): a phrase like "user-data-type filtering" can collide with distinct params for "embedded non-image data", a "video format / ISP bridge", and an actual "user-data-type filter" — only one matches the intent. Disambiguate by description, not by which name contains "data" or "filter".
Map to the COMPLETE matching set, not the first match. A single requirement is often realized by several sibling params, and missing one silently under-configures the IP. Enumerate the full neighborhood for the feature keyword with the scratch-cell introspection helper, then doc-grant each candidate:
puts [ipcfg::discover_params <vlnv> <keyword>] ;# DISCOVER:CONFIG.<...> CONFIG.<...> ...
Validated: ipcfg::discover_params xilinx.com:ip:mipi_csi2_rx_subsystem lane returns BOTH
CONFIG.CMN_NUM_LANES and CONFIG.C_DPHY_LANES (plus active-lane siblings) — a "N
lanes" requirement must set the ones the docs say apply, not just whichever name you hit
first. Write confirmed discoveries to the learned cache (ipcfg::cache_put).
On Vivado 2026.1+ (VIVADO-23126), prefer native param discovery for FLAT-param IPs.
Gate with ipcfg::has_native dump_param_deps. When 1, replace the per-IP vivado_doc_search
with one ipcfg::param_deps <scratch_ipname> (dump to file) + targeted ipcfg::param_block
reads — this carries explicit Range/Enabled/Disabled per param and cut token footprint ~87%
and MCP round-trips ~30% on the rave2 Versal subset. Always read targeted blocks, never
the whole dump. For PS/CIPS-class IPs (ps_wizard, versal_cips) the actionable params
live in a nested dict (PS11_CONFIG_INTERNAL, PS_PMC_CONFIG); use ipcfg::param_dict to
list sub-keys + current values. dump_param_deps does NOT carry per-sub-key range/gating, so
for the handful of sub-keys a prompt actually touches use the set-and-observe helpers
instead of a doc search: ipcfg::probe_subkey_range (push an out-of-range sentinel — non-destructive,
the customizer auto-restores; run with capture_log=true and parse the legal set with
ipcfg::range_from_log, since the is out of range { ... } text only reaches the log)
and ipcfg::resolve_subkeys (apply legal inputs, read back the resolved *_INTERNAL to see what
was derived/gated). Both are version-INDEPENDENT (customizer feedback, not a 23126 command), so
they are the range/gating fallback on BOTH 2025.2 and 2026.1. When has_native is 0 (2025.2 and
mislabeled builds), keep using discover_params + doc search for discovery unchanged.
Backend resilience: If vivado_doc_search returns a non-JSON / HTML error payload
(e.g. an HTTP 404 page) rather than documentation, treat it as a backend failure, not as
"no parameters found." Retry once against the alternate doc-search server if one is
available; if doc search stays unavailable, fall back to error-feedback-only mode —
attempt a best-effort dict from the prompt and let Tier 2's Vivado error messages drive the
correction. Never grade a prompt down just because the doc backend was unreachable.
All repetitive TCL (part swap, VLNV check, cell creation, dict apply with error
classification, stuck-value verification, value-format introspection, block automation,
stub connections, cleanup) lives in a generic, IP-agnostic helper library shipped with
this skill: lib/ipcfg.tcl. Source it exactly once per Vivado session, after a block
design is open:
vivado_execute("source -notrace <skill_dir>/lib/ipcfg.tcl")
The helpers contain no IP names, VLNVs, or parameter names — every IP-specific value is
passed in by you (discovered from doc search + Vivado feedback). Mutation helpers generally
return status text; queries may return a dict, list, path or multiline display text.
Do not parse every return as a status line or with a universal SUCCESS: parser.
Repeated source is guarded in the current library;
never hot-reload changed code into an older live session. init resets gates and is not a reload check.
| Helper | Purpose |
|---|---|
ipcfg::ensure_part <part> ?force? | Guarded swap (close/reopen bd). Returns SWAP:old->new, NOSWAP:p, or WARN:SWAP_BLOCKED:... when other cells exist; pass force=1 only after user confirmation |
ipcfg::restore_part <orig> | Swap back to the original part |
ipcfg::vlnv_ok <vlnv_prefix> | 1/0 — is the version-free VLNV available for the current part |
ipcfg::create_cell <vlnv> <cell> | Idempotent create_bd_cell with error classification. Checks the ipdef's SUPPORTED_PARTS before creating anything. An IP this part cannot instantiate returns CONFIGURE_FAIL:WRONG_PART:<vlnv> is not supported on <part> ...; same-function IP this part supports: {..} without spending an attempt; pick from that list (create_cell_cfg does the same) |
ipcfg::create_cell_cfg <vlnv> <cell> <dict> | Preferred: create and configure in ONE call via create_bd_cell -set_param (skips init-to-default + separate apply); falls back to create+apply_dict if unsupported |
ipcfg::apply_dict <cell> <dict> | set_property -dict with PARAM_NOT_FOUND/VALUE_OUT_OF_RANGE/READ_ONLY/NOT_SUPPORTED/PARAM_DISABLED classification (use to add/fix params after create_cell_cfg) |
ipcfg::reconcile_disabled <cell> <dict> | For gated/disabled keys: returns OMIT:{...} (current value already equals intent — drop them) and DIFFER:{...} (real problem — only these need an enabler) |
ipcfg::is_system_intent <text> | Heuristic: does the prompt describe a subsystem (integrated MC, PCIe controller, PS PL-clocks/peripherals)? Returns SYSTEM:{reasons} or STANDALONE. A SYSTEM verdict → try automation-first; if no rule + gated params, report integration-derived honestly |
ipcfg::rule_for_vlnv <dump> <vlnv> | Parse a captured ::bd::util_cmd rules dump to get the Designer-Assistance rule for a cell's VLNV → RULE:xilinx.com:bd_rule:<short> desc={...} or RULE:none (version-free or full VLNV ok) |
ipcfg::run_automation <cell> <rule> ?config? ?baseline? | Apply a rule (id xilinx.com:bd_rule:<short> from the dump) and report what it changed: AUTOMATION:OK changed={k old new class ...} added_cells={...} default_options={k v ..}. Before applying it checks <config> against the rule's live option schema (below) without mutating the design: omitted keys are filled with the rule's GUI defaults and listed in default_options; CONFIGURE_FAIL:UNKNOWN_AUTOMATION_KEY:<keys> = keys the rule would silently ignore; CONFIGURE_FAIL:ILLEGAL_AUTOMATION_VALUE:<k=v legal={..}> = value not legal in the current board/design context. Both list the full schema, so one repair can be complete. If the value you need is not in the legal list, this rule cannot provide it here — take another route (e.g. configure the IP directly with board interfaces) instead of retrying. Also classifies MISSING_AUTOMATION_KEY, NEEDS_BOARD_PRESET, PRESET_OVERRIDDEN |
ipcfg::automation_rule_options <cell> <rule> | Preferred schema source. Calls the loaded rule's own get_rule_options (what its GUI shows; no design mutation) → RULE_OPTIONS:keys={..} defaults={k v ..} legal={k {..} ..} schema=<k=default legal=.. [disabled]; ..>. Values are case-sensitive (None, not none/0). Needs the BD open and the target cell created. Measured 2026.1: axi_noc2 keys are num_axi_tg num_aximm_ext pl2noc_psx pl2noc_apm num_axi_bram lpddr5_mc_type num_mc_lpddr5 ddr5_mc_type num_mc_ddr5 noc_clk (no mc_type/num_mc) |
ipcfg::automation_config_schema <rule_file> | Offline fallback when the rule is not loaded: parse a rule's .tcl (+ sibling utils.tcl) for -config keys + defaults → SCHEMA:keys={..} defaults={k v ..} file=<path>. Can be stale or unreadable for newer releases; prefer automation_rule_options |
ipcfg::preset_drift <cell> | Compare a board-bound cell with the registered board's preset → exactly one of PRESET:OK n=<keys> presets=<procs>, PRESET_DRIFT:<n> <key>=<actual>(preset <value>) ..., PRESET_CHECK_ERROR:<why>. Test PRESET:OK*; there is no PRESET_DRIFT:OK |
ipcfg::pinned_reset <cell> | Pinned ipcfg::require values that no longer hold → "" or PINNED_RESET:<n> <key>=<cur>(want <v>) ... restore={k v ..}. board_bind and ipiasm::connect_board_intf append it to their result when a preset overwrote pinned spec values; pass the whole restore dict to ONE ipcfg::require, then audit_requirements |
ipcfg::source_reported <file> | source a stage script. First refuses a script that calls a command that does not exist in this session (SCRIPT_CHECK_FAIL:<file> ... {names}, nothing run); on failure prints SCRIPT_FAIL:<file>: <message> and SCRIPT_TRACE:<file/line trace> before re-raising. Use for every stage/probe script |
ipcfg::script_check <file> | The same unknown-command check without running the script → SCRIPT_CHECK:OK or SCRIPT_CHECK_FAIL |
ipcfg::help ?<word or glob>? | Call shape, purpose and ok:/fail: results of matching ipcfg::/ipiasm:: helpers, generated from the loaded code |
ipcfg::snapshot_all <cell> | Capture the entire CONFIG.* dict in one pass (baseline for config_diff/run_automation) |
ipcfg::config_diff <cell> <baseline> ?reqmap? | Full-config diff after an apply. Requested keys → EXACT/RESOLVED/REVERTED; other moved keys → CHANGED (IP side effect). Returns {key old new class ...} |
ipcfg::export_proven <abs_out_json> <entries> | Record proven cells for replay (role = the binding key in binding_snapshot.json). Each entry is {cell role apply_via create_cell|ps_wizard|board_preset evidence {files} spec_pointers {ptrs}}. Diffs each create_cell cell against a fresh default sibling: user-set keys → requested, other non-default keys → derived, plus board_owned and readback. Writes the JSON (ipcfg.proven/1) and a review-only .tcl; write-once → EXPORT:OK n= json= tcl= or EXPORT_FAIL:<why>. |
ipcfg::classify_change <want> <base> <cur> ?validset? ?tolerance? | One-key verdict: EXACT / RESOLVED (numeric and within the tolerance the requirement supplied: <abs> or <n>%; never without one) / NEAREST (a miss: the IP snapped to a nearby legal value, reported as a diagnostic) / REVERTED (snapped to default/elsewhere); UNCHANGED/CHANGED when want="" |
ipcfg::discover_params <vlnv> <keyword> | Scoped introspection on a throwaway create_ip cell → DISCOVER:CONFIG.<...> ... (the complete param neighborhood matching a feature keyword). The one sanctioned list_property use; maps a requirement to the full sibling set (e.g. CMN_NUM_LANES and C_DPHY_LANES) |
ipcfg::native_caps / ipcfg::has_native <feature> | Version gate (2026.1+). Detects, once per session, whether the native VIVADO-23126 commands exist (by command presence, not version string — some 2026.1_* builds report 2025.2.0). feature = dump_param_deps | can_connect → 0/1. All native helpers below return *_NA when 0 so you fall back to the reactive path |
ipcfg::param_deps <ipname> ?file? | 2026.1+ fast param discovery. ::debug::dump_param_deps (resolved Range/Enabled/Disabled + dependency graph) written to a FILE → PARAM_DEPS:<file>:<bytes> or PARAM_DEPS_NA. For flat-param IPs this REPLACES the per-IP vivado_doc_search (measured ~50–72 KB) — confirmed ~87% fewer tokens on the rave2 subset. ipname must be a managed-IP instance (create_ip first); BD cell names are rejected |
ipcfg::param_block <file> <param> | Targeted read of ONE param's block from a param_deps dump (Range/Enabled/Disabled/Default). ALWAYS use this — never inline the whole dump (172 KB ps_wizard … 665 KB axi_noc); a blanket read is ~2× worse than 2025.2 |
ipcfg::param_dict <file> <dictparam> ?subkey? | Nested-dict introspection for PS/CIPS-class IPs. dump_param_deps exposes the real sub-keys only inside one resolved dict value (ps_wizard PS11_CONFIG_INTERNAL = a ~1315-key flat Tcl dict). subkey=""→PD_KEYS:<all top-level keys>; else PD:<k>=<value>. Recovers sub-key names + current/default values with NO doc search. Limit: per-sub-key valid-range/gating is NOT in the dump → use the two set-and-observe helpers below |
ipcfg::probe_subkey_range <cell> <dictparam> <subkey> ?sentinel? | Per-sub-key RANGE via set-and-observe (fills the gap dump_param_deps leaves). Pushes an out-of-range sentinel for ONE sub-key on a BD cell's dict user-param; the customizer rejects it and auto-restores (non-destructive). Returns PSR_OUT_OF_RANGE:<k> (validated input — the legal set is in the captured log) | PSR_NOTVALIDATED (free-form input, no range) | PSR_NOKEY (derived/ignored, not user-settable) | PSR_ERR. Run with capture_log=true — the legal-set text ("is out of range { ... }") only reaches the message log, NOT $e/errorInfo. Version-independent (2025.2 + 2026.1). Proven on 2026.1 ps_wizard (PS_USE_PMCPL_CLK0 → { 0,1 }) |
ipcfg::range_from_log <console> <subkey> | Parser for the probe_subkey_range companion: scan the capture_log payload for the sub-key's range line → RANGE:<k>={ 0,1 } | RANGE_NONE:<k>. Stateless (same pattern as find_disabled/autofix_apply taking the console) |
ipcfg::resolve_subkeys <cell> <userparam> <override> ?internalparam? ?wantkeys? | Gating/derivation via set-and-observe. Applies a legal {subkey value ...} override, reads back the resolved *_INTERNAL dict → RSK:<k v ...> (or RSK_KEYS:<n>). Shows what an input derives/gates (proven: req 250 MHz → ACT_FREQMHZ 249.997 DIVISOR0 4 SRCSEL NPLL BUF 1). Applies a real config change (snapshot CONFIG.<userparam> first if rollback needed). Version-independent |
ipcfg::coverage_report <ledger> | Build the REQUIRED partial-coverage disclosure from the requirement ledger (`COVERAGE:FULL |
ipcfg::snapshot <cell> <keys> | Capture baseline default values BEFORE config (call right after create); returns {key val ...} for verify_intent |
ipcfg::verify_stuck <cell> <dict> | Returns the list of keys that did not take effect (missing or value-reverted; a *_CONFIG key is compared sub-key by sub-key only when you pass a key/value dict and the readback is one; scalar *_CONFIG params compare as scalars). Empty list = all stuck |
ipcfg::verify_intent <cell> <reqmap> ?flag_no_change? ?tolerances? | Intent audit: given {key want baseline ...}, flags keys that reverted, landed on a nearest-legal value, or are suspect-no-change (value == default). Acceptance is exact; a difference passes only within a tolerance given for that key in tolerances ({key <abs>|<n>% ...}). Pass flag_no_change=0 to return only hard misses once doc grounding confirms a default legitimately satisfies intent (value_src=default). Empty list = intent realized |
ipcfg::audit_intent <cell> <reqmap> ?tolerances? | Reports buckets: EXACT:{...} RESOLVED:{k(=cur,want=w,tolerance=t) ...} BAD:{...}; RESOLVED exists only for keys given a tolerance |
ipcfg::find_disabled <output> | Scans raw execute output for non-fatal disabled parameter/[BD 41-721] warnings (gated params that catch returns 0 for). Returns DISABLED:... or "" |
ipcfg::param_format <cell> <key> | Reads a key back so you can learn its shape (comma list, nested {{...}}, etc.) |
ipcfg::try_automation <cell> <rule> ?config? | Generic apply_bd_automation -rule <rule> (Designer Assistance) |
ipcfg::add_stub <cell> <pin> <intf_vlnv> ?prop? ?val? | Boundary interface port for connection-derived params; mode auto-mirrors the pin |
ipcfg::cleanup <cell> ?orig_part? | Deletes STUB_* ports, the cell, and restores the part if given |
ipcfg::cache_get <ip> <feature> | Consult first (0 MCP calls): returns the earned discovery entry (param/shape/enabler/value_src/doc/version) as JSON, or "" on miss |
ipcfg::cache_put <ip> <feature> <param> <shape> <enabler> <value_src> <doc> <ipver> | Write back a confirmed mapping. Stores discovery facts only — never the prompt's expected value (blind-safe) |
ipcfg::cache_dump | Print the whole learned cache (debug) |
Concise per-prompt template (replaces the verbose phase-by-phase script — the phases below are still the mental model, but the helpers collapse each to one line):
set cell <cell_name>
set orig [get_property PART [current_project]]
# Phase 0: only if vlnv_ok fails on the current part; ensure_part is guarded (see Step 0)
if {![ipcfg::vlnv_ok <vendor:library:name>]} {
puts [ipcfg::ensure_part <required_part>] ;# may return WARN:SWAP_BLOCKED -> confirm in design mode
}
# Phase 1: VLNV check
if {![ipcfg::vlnv_ok <vendor:library:name>]} { puts "CONFIGURE_FAIL:VLNV_NOT_FOUND"; ipcfg::restore_part $orig; return }
# Phase 2+3 in ONE call: create + parameterize (snapshot defaults first for the intent audit)
set d [list CONFIG.PARAM_A {a} CONFIG.PARAM_B {b}]
puts "APPLY:[ipcfg::create_cell_cfg <vendor:library:name> $cell $d]"
set bad [ipcfg::verify_stuck $cell $d]
if {[llength $bad] != 0} {
puts "STUCK_FAIL:$bad"
} else {
puts "READBACK:OK $cell; verify required interfaces and feature behavior before SUCCESS"
}
# Finally, emit coverage from the requirement ledger (REQUIRED when not fully applied):
# ledger = {"<prompt phrase>" CONFIG.PARAM_A applied "<prompt phrase>" CONFIG.PARAM_B unapplied:integration-derived ...}
puts [ipcfg::coverage_report $ledger]
Note: create_cell_cfg is the single-call fast path. When you need ordered/multi-pass
configuration (enablers first — see Phase 3), create with the enabler dict, then use
ipcfg::apply_dict for the dependent pass.
For a default-versus-configured intent audit, create a separate default scratch cell or
capture the baseline before apply_dict, then call verify_intent/audit_intent with
that real baseline. Never use a post-configuration snapshot as defaults.
verify_stuck is strictly stronger than the old existence-only loop: it catches the IPI
silent revert case where a key exists but the value snapped back (e.g. a peripheral
ENABLE that reverts to 0), which a get_property existence check misses. You still scan
the raw output for warning patterns as a backstop, but STUCK_FAIL: is the primary signal.
Intent audit (the non-error failure mode) — required. verify_stuck only proves the
params you chose persisted; it cannot tell whether you chose the right param for a named
feature. The most dangerous benchmark failure is a wrong-but-valid param: it exists, it
accepts your value, it sticks — no error, no STUCK_FAIL, no warning — so error-driven
Tier 2 never fires and the prompt silently scores as a false success. To catch this without
any IP-specific knowledge, snapshot the baseline before configuring, then run
verify_intent after:
suspect-no-change), you almost certainly set the wrong param — the param that truly
implements the feature is still sitting at its default.verify_intent list is a new Tier-2 trigger (INTENT_FAIL) even though
nothing errored: go back to Step 2, re-read the doc descriptions for the suspect
requirement, remap to the correctly-grounded param, and re-apply.The remainder of Step 3 documents the phases the helpers implement, plus the error/format/automation/stub recovery patterns. Use the helpers; drop to raw TCL only for an IP-specific quirk a helper does not cover.
Compose a SINGLE TCL script with four phases: part swap (if needed), VLNV validation,
cell creation, and configuration. Use catch around every mutating command so errors
produce parseable output instead of aborting the script.
# /tmp/configure_<ip_name>.tcl
# --- Phase 0: Part swap (only if IP needs a different device family) ---
# AI: set _need_swap to 1 and _target_part to the required part when
# the doc search or fallback map indicates a part change is needed.
# Omit this entire block when no swap is needed.
set _orig_part [get_property PART [current_project]]
set _target_part "<required_part>"
set _need_swap [expr {$_orig_part ne $_target_part}]
if {$_need_swap} {
close_bd_design [current_bd_design]
set_property PART $_target_part [current_project]
open_bd_design [get_files benchmark_bd.bd]
puts "PART_SWAP:$_orig_part->$_target_part"
}
# --- Phase 1: VLNV pre-validation ---
set _vlnv_matches [get_ipdefs -filter {VLNV =~ "<vendor:library:name>:*"}]
if {$_vlnv_matches eq ""} {
if {$_need_swap} {
close_bd_design [current_bd_design]
set_property PART $_orig_part [current_project]
open_bd_design [get_files benchmark_bd.bd]
}
puts "CONFIGURE_FAIL:VLNV_NOT_FOUND:<vendor:library:name> not available for $_target_part"
return
}
# --- Phase 2: Create cell ---
if {[llength [get_bd_cells <cell_name>]] == 0} {
if {[catch {create_bd_cell -type ip -vlnv <vendor:library:name> <cell_name>} _err]} {
if {$_need_swap} {
close_bd_design [current_bd_design]
set_property PART $_orig_part [current_project]
open_bd_design [get_files benchmark_bd.bd]
}
puts "CONFIGURE_FAIL:CREATE_ERROR:$_err"
return
}
}
# --- Phase 3: Apply configuration with structured error handling ---
set _prop_dict [list \
CONFIG.PARAM_A {value_a} \
CONFIG.PARAM_B {value_b} \
CONFIG.PARAM_C {value_c} \
]
# Empty-dict guard: set_property -dict {} throws "Missing name/value pair".
# For "default settings" prompts where intent == defaults, skip configuration.
if {[llength $_prop_dict] == 0} {
puts "SUCCESS: <cell_name> created with default configuration"
return
}
if {[catch {set_property -dict $_prop_dict [get_bd_cells <cell_name>]} _cfg_err]} {
set _err_type "UNKNOWN"
if {[string match {*does not exist*} $_cfg_err]} {set _err_type "PARAM_NOT_FOUND"}
if {[string match {*is out of the range*} $_cfg_err]} {set _err_type "VALUE_OUT_OF_RANGE"}
if {[string match {*read-only*} $_cfg_err]} {set _err_type "READ_ONLY"}
if {[string match {*It is read-only*} $_cfg_err]} {set _err_type "READ_ONLY"}
if {[string match {*not supported*} $_cfg_err]} {set _err_type "NOT_SUPPORTED"}
puts "CONFIGURE_FAIL:${_err_type}:$_cfg_err"
return
}
# --- Phase 3 verification: catch SILENTLY-IGNORED params (IPI CRITICAL WARNINGs) ---
# In BD mode an unknown CONFIG key emits a non-fatal CRITICAL WARNING and catch returns 0,
# so the dict above can "succeed" without applying. Verify every key actually exists on the
# cell. get_property on a specific, already-set key is verification (not parameter discovery),
# so it does not violate the "no list_property/report_property" rule.
set _missing {}
foreach {_k _v} $_prop_dict {
if {[catch {get_property $_k [get_bd_cells <cell_name>]}]} {
lappend _missing $_k
}
}
if {[llength $_missing] > 0} {
puts "CONFIGURE_FAIL:PARAM_NOT_FOUND:silently ignored (do not exist): $_missing"
return
}
puts "SUCCESS: <cell_name> configured"
Output-scan backstop: Even with the verification loop above, after vivado_execute
returns, scan its full stdout for Cannot set the parameter, does not exist,
Invalid parameter, or Ignoring. If any appear, treat the result as
CONFIGURE_FAIL:PARAM_NOT_FOUND regardless of whether a SUCCESS: line was printed — the
warning may reference a parameter the loop could not catch (e.g. a key inside a nested dict).
Nested-dict params: When a CONFIG value is itself a dictionary (e.g.
CONFIG.CPM_CONFIG {...}, CONFIG.PS_PMC_CONFIG {...}, or a transceiver-wizard config),
invalid sub-keys are silently dropped with [IP_Flow 19-7090] ... Ignoring. The
top-level get_property check above will pass even though sub-keys were ignored.
ipcfg::verify_stuck already inspects *_CONFIG keys sub-key by sub-key, so a non-empty
STUCK_FAIL list names the exact sub-keys that did not apply.
STUCK recovery — value-format introspection (generic, no per-IP table): The most common reason a key reverts (rather than erroring) is that your value shape does not match what the IP expects. This is fully recoverable without any IP-specific knowledge:
ipcfg::param_format <cell> <key> to learn the shape.clk_wizard): CLKOUT_USED reads back as
true,false,false,... and CLKOUT_REQUESTED_OUT_FREQUENCY as a comma list — supply one
comma-separated string per the read-back length, not per-clock keys.versal_cips peripherals): a peripheral
sub-key reads back as {{ENABLE 0} {IO {PS_MIO 0 .. 1}}}. To enable it, re-send the
same structure with ENABLE 1 (keep the read-back IO {...} routing). Sending a
flat {ENABLE 1} is silently rejected.verify_stuck. Only after a format-mirrored retry still fails do you
grade creation_only/partial.This single read-back-then-mirror loop replaces any per-IP value-format table — it works for any param whose value snapped back, because the IP itself tells you the shape it wants.
Exact clock outputs — search, do not hand-tune: When a spec requires exact (integer-Hz,
zero or small tolerance) outputs from a vector-CLKOUT_* clock wizard, call the bounded search
instead of editing requested rates by hand:
ipcfg::search_clock_config <wizard_vlnv> <source_port_or_pin> {
{id <name> hz <exact_hz> nominal_hz <nominal_hz> ?tolerance_hz <n>?} ...
} <absolute_evidence_dir> -max_generators <N allowed by the design> ?-min_attempts 10? ?-max_attempts 24?
It tries at least -min_attempts distinct configurations (every one if fewer exist) before
returning CLOCK_SEARCH:FAIL, varying: PRIM_IN_FREQ propagated vs explicit, grouping of targets
across up to -max_generators wizards, MBUFGCE divided taps for exact ÷2/÷4/÷8 relations,
nominal/exact/kHz requested-rate encoding, output order, and 1×/2× source companions. By default
(-isolate 1) every attempt runs in a temporary block design fed by a port at the live source
rate, so unrelated unconnected or undriven cells in your design cannot fail every candidate; the
temporary design is removed and only the winning configuration is placed in your design, wired
to the real source. Its rates there are proven only after your design validates and propagates:
re-read the placed outputs then. Each attempt uses fresh cells, validates, and reads back
propagated FREQ_HZ; failed cells are deleted (::ipcfg::last_clock_search has the evidence).
Reading the placed clocks back — only after a clean validate. IP integrator propagates
parameters only while validate_bd_design runs (UG994), and a validate that reports errors does
not settle the placed wizards: their input clock keeps FREQ_HZ.VALUE_SRC=DEFAULT (100 MHz) and
every output reads a rate derived from it — a false mismatch, not a bad configuration. Measured
2026.1: outputs off by ~1.5 kHz after a validate that failed on unrelated undriven clocks, exact
after a clean one. So: connect the placed outputs to their consumers (in a scratch probe, drive
every remaining clock input so the design can validate), run validate_bd_design, then
ipcfg::clock_placement_status → CLOCK_PLACEMENT:OK n=<k> {..} |
CLOCK_PLACEMENT:PENDING inputs={..} ... Blocking: <undriven clocks> (not yet propagated: fix the
blockers, never re-search) | CLOCK_PLACEMENT:FAIL <n> {id=<actual>(want <hz>) ..} (propagated and
wrong: a real failure) | CLOCK_PLACEMENT:ERROR:<why>. Do not rerun the search with -isolate 0
to work around a PENDING readback: the caller design's unrelated errors then fail every candidate.
Measured on 2026.1 clkx5_wiz with a non-round source rate: writing PRIM_IN_FREQ explicitly
leaves outputs a few Hz off, while propagation lets the wizard hit exact rates. The search never
widens a tolerance or changes a target; a FAIL under the stated generator limit is evidence
to report, not permission to raise the limit unless the spec allows it.
Board-preset automations must not override the preset: when ipcfg::run_automation
is called with board_preset Yes, it compares the cell against the registered board's
preset.xml (ipcfg::preset_drift <cell>, including hierarchical sub-keys such as
CONFIG.PS11_CONFIG(PS_NUM_FABRIC_RESETS)) and returns CONFIGURE_FAIL:PRESET_OVERRIDDEN if any
preset value changed. Other rule options can shadow preset values: on 2026.1 ps_wizard,
pl_resets/pl_clocks overwrite the preset's fabric reset/clock settings. Those option keys are
required by the rule, so pass the preset's own values (read them from the drift report) rather
than dropping the keys or hand-writing the parameter afterwards.
Apply a board-preset automation once per cell. On 2026.1 ps_wizard, re-running the board
rule on a PS whose preset is already applied changes no parameter but deletes every PS address
space (216 -> 0 on a Versal PS); the loss survives save/reopen, and validation, re-setting the
PS configuration or recreating the PS do not restore it. run_automation therefore returns
SKIP:board automation already applied for a preset-OK cell that has address spaces, and
CONFIGURE_FAIL:ADDRESS_SPACES_LOST if any automation removes spaces. Wire later NoC or PL
interfaces with the connect helpers, not another automation pass.
Exact by default; tolerance only from the requirement: Some params are requests the IP
quantizes to the nearest achievable value (PLL/MMCM frequencies, divider ratios, lane counts
rounded to a legal set). A read-back of 720 for a required 719.98, or 4095 for a required
4096, is a miss (NEAREST), not a pass. Accept a difference only when the DesignSpec
states a tolerance for that value, and pass it explicitly: ipcfg::require $cell $d $reason {CONFIG.<KEY> 0.1%} (or <abs>); audit_requirements then reports RESOLVED within it.
On NEAREST, the achieved value tells you what the IP can do: change the inputs that
quantize it (e.g. the clock search) or escalate. Do not widen a tolerance to make it pass.
Record an accepted in-tolerance value as applied-resolved:<achieved> so request vs achieved
is disclosed. Use a full-config baseline + diff to see
both the resolution and any IP side effects in one shot:
set base [ipcfg::snapshot_all $cell]
ipcfg::apply_dict $cell $d
set diff [ipcfg::config_diff $cell $base $d]
set evidence_file [file join $evidence_dir "diff.[pid].[clock clicks].tcldict"]
puts [ipcfg::write_evidence $evidence_file $diff]
Inspect requested changes and unexpected side effects from diff; do not print
the full value dictionaries. The recording receipt is not an intent verdict.
Automation-first for SYSTEM intent (do this BEFORE fighting gated CONFIG):
Run ipcfg::is_system_intent <prompt> first. If it returns SYSTEM:{...} (integrated
memory controllers, a PCIe controller, PS PL-clocks/peripherals), the prompt describes a
subsystem that Vivado realizes through block automation / a Configurable Example
Design, not through plain standalone CONFIG.*. Fighting the gated CONFIG there wastes
calls (validated: NUM_MC/NUM_MCP on a bare axi_noc2 cell are disabled and every
set_property is silently ignored with [IP_Flow 19-3374] ... disabled parameter ... ignored). Do not hardcode which IPs need it. Instead:
get_bd_automation_rules does not exist, but the internal rule manager does dump the registry). Run, in one execute, the rule dump and read the printed [DBG] RulesMap: block:
::bd::util_cmd rules dump
# prints: "<vlnv>":["<description>", "<rule-short-name>", "<rules.tcl path>"]
The dump is a C-level message (it does not return a value and cannot be captured
in-proc), so read it from the execute output. Find the row whose key matches your
cell's VLNV; the 2nd quoted field is the rule short-name, and the rule id is
xilinx.com:bd_rule:<short> (validated: axi_noc2, ps_wizard, versal_cips,
pcie_versal, microblaze, … all have rules). If you have the dump text in a Tcl var,
ipcfg::rule_for_vlnv $dump <vlnv> extracts the id for you. The 3rd field is the rule's
rules.tcl/bd.tcl path — open it (or vivado_doc_search) to learn the rule's -config
option names. Also check whether the IP ships a Configurable Example Design.apply_bd_automation -rule xilinx.com:bd_rule:axi_noc2 with no
-config leaves NUM_MC at 0; the MC options must be supplied):
set base [ipcfg::snapshot_all $cell]
set automation [ipcfg::run_automation $cell xilinx.com:bd_rule: { ...} $base] set evidence_file [file join $evidence_dir "automation.[pid].[clock clicks].tcldict"] puts [ipcfg::write_evidence $evidence_file $automation] if {![string match AUTOMATION:OK* $automation]} {error [string range $automation 0 799]}
Read the result: the `changed` keys (and any `added_cells`) are what automation set — match
them to the requirement instead of guessing gated CONFIG. (`ipcfg::try_automation` still
exists for a fire-only apply when you do not need the change report.)
3. **(design)** When multiple rules / example designs could apply, ask the user (clickable)
which to apply rather than guessing.
Per the give-up gate, you may not grade a requirement `integration-derived` until **either**
the rule dump shows no rule for the VLNV (and no example design realizes it) **or** the rule
was applied with its options and its reported changes did not produce the value. A `SYSTEM` intent
whose params are disabled with **no** rule/enabler is legitimately integration-derived —
report it via the coverage report, do not fake a value.
For `versal_cips`, note (validated) that PL-clock frequencies, `PS_NUM_FABRIC_RESETS`, and
`PS_USE_PMCPL_CLK*` **do** stick directly inside `CONFIG.PS_PMC_CONFIG`; automation is for
generating the external clk/reset **wiring**, not for setting those values. Always prefer the
direct nested-dict path when `verify_stuck` confirms it stuck, and fall back to automation
(per docs) only for connectivity the dict cannot express.
**Phase 3 procedure — enabler-first, multi-pass (the default, not an exception):**
Treat ordered configuration as the *normal* path, not a special case. Many params are
**gated**: they only become settable once a parent param selects a mode/type/topology or
turns a feature on. Setting a gated child before its enabler makes the child silently
**disabled/ignored** (see `PARAM_DISABLED` recovery in Step 5). So, by default:
1. **Pass 1 — enablers first:** set the params that *select or enable* something —
mode/type/device-selection, topology, channel/controller counts, and feature
`ENABLE` toggles. These are the params other params depend on.
2. **Pass 2 — dependents:** set the params that only make sense once Pass 1 applied.
3. **Verify:** run `verify_stuck` + `verify_intent` after Pass 2.
How to tell which params are enablers (IP-agnostic): the doc lists them as
prerequisites/parents, or the prompt's compound phrase implies a selection before a
detail (e.g. "select device type X, then configure its N controllers" — the device-type
selection is the enabler that un-gates the controller params). When unsure, set the
most "selecting/enabling"-sounding params in Pass 1 and let `find_disabled` /
`PARAM_DISABLED` feedback confirm or correct the ordering.
Concrete IP examples that need this ordering (illustrative, not exhaustive — RFDC mixer
type requires tile/slice enables; `v_tc` generator sizes require `max_lines_per_frame`).
Split Phase 3 into ordered passes within the same script:
```tcl
# --- Phase 3a: Enable parent features first ---
set_property -dict [list \
CONFIG.ENABLE_PARENT {1} \
CONFIG.PARENT_MODE {some_mode} \
] [get_bd_cells <cell_name>]
# --- Phase 3b: Set dependent params (now valid) ---
set _prop_dict [list \
CONFIG.CHILD_PARAM_A {value_a} \
CONFIG.CHILD_PARAM_B {value_b} \
]
if {[catch {set_property -dict $_prop_dict [get_bd_cells <cell_name>]} _cfg_err]} {
# ... error handling as above ...
}
IPs known to require multi-pass ordering:
| IP | Pass 1 (enables) | Pass 2 (dependent) |
|---|---|---|
rfdc | Tile enable, slice enable, sampling rate | Mixer type, NCO freq, decimation |
Note: v_tc GEN_* timing parameters (VACTIVE, HACTIVE, frame sizes) are
runtime AXI-Lite register values programmed by the VTC driver, not design-time
CONFIG properties. Only enable_generation and max_lines_per_frame are
design-time params.
Phase 4 — Stub connections for connection-derived params (generic): Some parameters are
read-only in BD because their value propagates from an interface connection, not
set_property. After Phases 1-3 succeed, attach a boundary interface port with
ipcfg::add_stub — it auto-detects the pin's interface VLNV requirement (you pass the VLNV)
and mirrors the pin's mode (an external port attached to a Slave pin must itself be a
Slave port; passing the wrong mode yields [BD 41-172] modes ... do not match):
puts [ipcfg::add_stub $cell <pin_name> <intf_vlnv> ?<CONFIG_prop> <val>?]
# e.g. drive an AXI-Stream slave input so the cell adopts the connected width:
puts [ipcfg::add_stub $cell S_AXIS xilinx.com:interface:axis_rtl:1.0 TDATA_NUM_BYTES 8]
Important nuance (validated): for many AXI-Stream receive inputs the width parameter is
read-only on the boundary port too ([BD 41-737] ... TDATA_NUM_BYTES ... read-only) —
the width is inherited from whatever master is connected at integration time, and a bare
boundary port has no master to define it. add_stub tolerates this (the property set is
wrapped in catch): the connection still elaborates, but you cannot force the width
standalone. When the target width param is still wrong after the stub, that feature is
genuinely integration-derived — grade partial and record the param in runtime_params,
do not keep fighting it. Use stubs to enable elaboration / drive settable port widths, not
to fake values the datapath must supply.
ipcfg::cleanup <cell> ?orig_part? removes all STUB_* ports (and their nets), deletes the
cell, and restores the part if you pass the original — so a single call replaces the manual
stub/port/part teardown.
When no part swap is needed, omit Phase 0 entirely and remove the _need_swap
restore blocks — the script simplifies to Phases 1-3 (and optionally Phase 4) only.
Cleanup TCL (always runs after recording results):
# One call deletes STUB_* ports + the cell, and restores the part if it was swapped.
# Pass $orig only when a swap happened; omit (or pass "") otherwise.
puts [ipcfg::cleanup <cell_name> $orig]
This replaces the manual delete_bd_objs / part-restore blocks. It is safe to call even when
no stubs or swap were used (the port/part steps are no-ops).
Execute:
vivado_execute("source -notrace /tmp/configure_<cell_name>.tcl")
Parse the output line. Possible prefixes:
| Output Prefix | Meaning | Next Step |
|---|---|---|
SUCCESS: | All parameters applied | Run the self-audit below before reporting |
STUCK_FAIL:... | A key reverted / was silently ignored | Tier 2: format-mirror retry or PARAM_DISABLED recovery |
INTENT_FAIL:... | A key is suspect-no-change (likely wrong param) | Tier 2: remap via doc descriptions, re-apply |
CONFIGURE_FAIL:VLNV_NOT_FOUND:... | IP not available even after part swap | Record failure — no retry |
CONFIGURE_FAIL:<err_type>:... | Configuration error | Enter Tier 2 using <err_type> |
Note: PART_SWAP: lines are informational — record the target part in results as
part_swapped.
Self-audit before declaring SUCCESS (required): A SUCCESS: line is necessary but
not sufficient. Before reporting, confirm all of:
ipcfg::verify_stuck returned empty (no revert).ipcfg::verify_intent flagged no hard reverts. A suspect-no-change (value already
equalled the default) is a soft flag, not an automatic failure: re-read the doc
description for that requirement. If the param you set is the doc-correct one and its
default legitimately satisfies the intent, accept it and record value_src=default
in the ledger (a user/answer not changing a param does not make the default wrong). Only
treat it as INTENT_FAIL when a competing param better matches the doc description —
then remap and re-apply. (Re-run verify_intent with flag_no_change=0 once you have
confirmed the grounding, so only hard reverts remain.)ipcfg::find_disabled <raw_output> returned "" (no non-fatal gated-param warning).full.The CONFIGURE_FAIL line contains a classified error type. Each type has a
different recovery strategy:
| Error Type | Vivado Message Pattern | Recovery |
|---|---|---|
VLNV_NOT_FOUND | IP unavailable after part swap | Try doc search for correct part, swap again if plausible; otherwise record failure |
PARAM_NOT_FOUND | [BD 41-1276] Cannot set the parameter X ... does not exist (hard error) or the non-fatal [BD 41-1276] ... does not exist / [IP_Flow 19-7090] Invalid parameter ... Ignoring caught by the Phase 3 verification loop / output scan | Drop unknown params; doc-search for correct names; rebuild dict |
VALUE_OUT_OF_RANGE | [IP_Flow 19-3461] Value 'V' is out of the range ... Valid values are - A, B, C | Parse valid values from the error text; pick closest match; rebuild dict |
READ_ONLY | [BD 41-737] Cannot set the parameter X ... It is read-only | Strip read-only params and re-run — no doc search needed (saves 1 MCP call) |
NOT_SUPPORTED | [BD 5-683] VLNV ... is not supported for the current part | Record failure — feature unavailable on this part |
PARAM_DISABLED | disabled parameter ... ignored / [BD 41-721] (often non-fatal — caught by ipcfg::find_disabled or the output scan, not a thrown error) | Not terminal, not creation_only. Find + set the gating parent first, then re-apply (see below) |
INTENT_FAIL | No Vivado message — verify_intent flagged a hard revert, or a suspect-no-change that doc re-check shows a competing param better matches | Re-read doc descriptions; remap the suspect requirement to the correctly-grounded param and re-apply. If the param is doc-correct and the default satisfies intent, accept as value_src=default (not a failure) |
UNKNOWN | Anything else | Call vivado_log_messages for detail, then doc-search |
For VLNV_NOT_FOUND after no part swap was attempted: The IP may need a
different device family. Use vivado_doc_search("<ip_name> supported devices") to
find the correct family, select a part from the fallback map, and retry with a part
swap. This is the one case where Tier 2 can recover from a VLNV failure.
For READ_ONLY errors: The read-only parameter often already has the desired
default value (e.g., C_EXT_RESET_HIGH defaults to active-low). Drop it from the
dict and retry immediately — no doc search, no wasted MCP call:
# Tier 2 retry — read-only params stripped
set_property -dict [list \
CONFIG.PARAM_A {value_a} \
CONFIG.PARAM_C {value_c} \
] [get_bd_cells <cell_name>]
puts "SUCCESS: <cell_name> configured (read-only params skipped)"
For VALUE_OUT_OF_RANGE errors: Vivado's error text includes the valid set, so this
is the default zero-doc-search recovery — never spend an MCP doc call here. Parse the
list directly:
Valid values are - 6, 8, 10, 12
Then decide deterministically:
full.negative,
recording the valid set in fidelity_note.For PARAM_DISABLED errors (gated parameter) — reconcile first, then find the enabler:
A disabled/ignored parameter means the param is real but currently gated. This is
recoverable and must never be graded creation_only on first sight. Recovery
(IP-agnostic):
catch returns 0. Always run
ipcfg::find_disabled <raw_output> (and the output scan) after apply; a DISABLED:...
result is the trigger, not just a thrown CONFIGURE_FAIL:PARAM_DISABLED.ipcfg::reconcile_disabled <cell> <dict>:
OMIT:{...} — these gated keys already hold the value you wanted (the read-only /
gated value equals your intent). Drop them and move on — no enabler search, no
re-apply. This saves MCP calls and is the common case.DIFFER:{...} — only these are genuine problems (gated value ≠ intent). Continue
to step 3 for the DIFFER set only.vivado_doc_search("<IP name> <gated_param_or_feature> prerequisite enable depends on")
Look for the parent param that selects the mode/type/device/topology which un-gates it.# Pass 1: the enabler the doc named (mode/type/device-selection/feature toggle)
puts "ENABLER:[ipcfg::apply_dict $cell [list CONFIG.<ENABLER> {<value>}]]"
# Pass 2: re-apply the DIFFER params (now valid)
puts "GATED:[ipcfg::apply_dict $cell [list CONFIG.<GATED_A> {a}]]"
puts "STUCK:[ipcfg::verify_stuck $cell [list CONFIG.<GATED_A> {a}]]"
verify_stuck + verify_intent. Only if a DIFFER param still will
not take after the enabler is confirmed set do you grade partial (see the tightened
give-up gate in Step 4), and record that exact prompt fragment as unapplied:gated-no-enabler.This generalizes the validated "live inputs only appear once an IO-type selector is set" case and any "device-type selection un-gates the controller/channel params" pattern — the agent discovers the specific enabler from docs, the procedure stays IP-independent.
For PARAM_NOT_FOUND errors: This is the main case requiring a doc search.
The parameter name in the error is the one to search for:
vivado_doc_search("<ip_name> <param_from_error> valid parameter names")
For PARAM_NOT_FOUND in BD — standalone IP fallback: Some CONFIG params
exist in standalone mode (create_ip) but are hidden in BD mode (create_bd_cell).
When a PARAM_NOT_FOUND error occurs for a param that doc search confirms is
valid for the IP, try the standalone path as a validation mechanism:
# Tier 2 fallback: standalone IP validation
create_ip -vlnv <vlnv> -module_name <name>_standalone -dir /tmp
set_property -dict [list \
CONFIG.PARAM_A {value_a} \
CONFIG.PARAM_B {value_b} \
] [get_ips <name>_standalone]
puts "STANDALONE_OK:<id>"
# Cleanup standalone IP
remove_files [get_files /tmp/<name>_standalone/<name>_standalone.xci]
file delete -force /tmp/<name>_standalone
Testing showed that originally hypothesized BD-restricted params
(axi_timer C_ONE_TIMER_ONLY, axis_interconnect ARB_ALGORITHM,
axis_switch DECODER_BASE) are actually not configurable in ANY mode
for current IP versions. The standalone fallback remains available for
future cases where a param genuinely exists in standalone but not BD.
The fidelity grade for standalone-validated configs is full_standalone.
For runtime-only features — annotation instead of failure: Some requested features are controlled by software register writes, not design-time CONFIG properties. When doc search returns a register map instead of CONFIG params, emit a structured annotation:
RUNTIME_CONFIG:<id>:<feature>=<value>:<register>[<bits>]@<offset>
Examples:
RUNTIME_CONFIG:60:CPOL=1,CPHA=1:SPICR[4:3]@0x60RUNTIME_CONFIG:100:SPEED_P0=100G,FEC=RS-FEC:PORT0_CONFIGURATION_REV1[7:0]@0x0100The benchmark result gets a runtime_params field:
{
"runtime_params": {
"CPOL": {"value": 1, "register": "SPICR", "bit": 3, "offset": "0x60"},
"CPHA": {"value": 1, "register": "SPICR", "bit": 4, "offset": "0x60"}
}
}
IPs with known runtime-only features:
| IP | Runtime Feature | Register | Notes |
|---|---|---|---|
axi_quad_spi | CPOL, CPHA | SPICR (0x60) | SPI clock polarity/phase |
mrmac | Port speed, FEC, PTP | Per-port config registers | All port config is runtime |
axi_ethernet | DMA enable | External — DMA is a separate IP | Not a register; requires companion IP |
v_tc | GEN_* timing params | Generation registers (0x60-0x84) | 1080p60 timing is set by VTC driver |
When runtime params are identified, the design-time CONFIG params that ARE
available should still be set via set_property -dict. The fidelity grade
becomes full (with runtime_params populated) since the design-time config
is complete and the runtime portion is documented.
Give-up gate — do NOT grade creation_only/partial prematurely. You may never
conclude a parameter is integration-derived, connection-derived, gated, or runtime-only
from reasoning alone. Before downgrading a requirement, you MUST have evidence of all:
set_property and it failed/reverted.
A param you merely assumed is derived does not count. In particular:
CONFIG.<X> even when per-port CONFIG.<Sn>_<X>
keys are read-only (e.g. a NoC data width applied once globally rather than per slave
port). Attempt the global key before declaring the value connection-derived.verify_stuck to confirm it genuinely reverted, not that you skipped it.PARAM_DISABLED
reconciliation (below) and, for any DIFFER key, doc-searched + set the gating parent
first — and the child still would not take.ipcfg::is_system_intent and, if SYSTEM, enumerated the loaded rules with
::bd::util_cmd rules dump (→ ipcfg::rule_for_vlnv) and either no rule exists for the
VLNV (and no example design realizes it) or ipcfg::run_automation was applied
with the rule's options and its reported changes did not realize the value. Integration-derived
is only valid after automation could not deliver it.If any of 1–4 is missing, continue evidence-driven recovery only while the shared attempt
budget remains. Budget exhaustion takes precedence over this give-up gate: preserve the
unresolved evidence and ask for user intervention rather than claiming a proven limitation.
Whatever you finally cannot apply MUST appear in the Step 1.5 ledger as unapplied:<reason>
and in the ipcfg::coverage_report output (see "Always report coverage").
Maximum total attempts per IP: 10, including the initial attempt. Share the count across all recovery paths. After the tenth failed attempt, stop changes to that IP, report the attempt history and diagnostics, and ask for user intervention.
| Metric | Target |
|---|---|
| Tier 1 success rate (easy prompts) | >90% |
| Tier 1 success rate (medium prompts) | >70% |
| Tier 1 success rate (hard prompts) | >40% |
| Tier 2 recovery rate (when Tier 1 fails) | >80% |
| True fidelity rate (full + full_standalone) | >90% |
| Total MCP calls (Tier 1, no part swap) | 2-3 |
| Total MCP calls (Tier 1, with part swap) | 3-4 |
| Total MCP calls (Tier 2 recovery) | 4-6 |
| Total MCP calls (Phase 4 stub connections) | +1 (added to Tier 1 or 2) |
| Total MCP calls (standalone fallback) | +1 (Tier 2 only) |
| Grade | Meaning |
|---|---|
full | CONFIG params match prompt intent; runtime params documented if applicable |
full_standalone | Config validated via create_ip (standalone); param unavailable in BD mode |
partial | IP configured but some features not settable via CONFIG or connections |
negative | Prompt asked for values outside Vivado's valid range |
creation_only | IP created but key requested features aren't CONFIG properties |
set_property -dict for batch opsipcfg::discover_params <vlnv> <keyword> on a throwaway scratch cell, used to map a requirement to its COMPLETE sibling
set. That is targeted neighborhood discovery, not a blind full dump, and is the only
permitted list_property use.set_property calls for each parameter — one -dict, one callcatch of 0 (or a SUCCESS: line) alone in BD mode — unknown params
emit non-fatal CRITICAL WARNINGs; always run the Phase 3 verification loop and scan outputnegative and name the correct IP instead of forcing an ignored settingVALUE_OUT_OF_RANGE error — the valid set is in
the error text; parse it directlyipcfg::* helpers from lib/ipcfg.tcl (sourced once per session); drop to raw
TCL only for a quirk no helper coverscatch in BD mode — a non-empty STUCK_FAIL list
from ipcfg::verify_stuck means a key reverted; recover before grading fullipcfg::param_format
and mirror the structure (comma list / nested {{...}}) instead of a per-IP format tablepartial and record it in runtime_paramsVALUE_SRC=PROPAGATED afterwards).
Before then they read back as defaults, so pinning one "passes" only when the default happens
to match, and validation overwrites it later. ipcfg::require refuses a PROPAGATED key.
Check the IP's product guide for "propagated" or "generated by the master". For example, a
memory behind a BRAM controller gets its size and widths from the controller's width and
address range (PG326), and a reset's polarity comes from its input's driver. Set the source
of the value, then read the value back after validationverify_intent flags it suspect-no-change; it usually means you set the wrong paramcreation_only on a disabled/ignored param before running the
PARAM_DISABLED reconciliation (ipcfg::reconcile_disabled; only DIFFER keys need an
enabler — OMIT keys already hold the wanted value)SUCCESS: line alone — also require empty
verify_intent (hard reverts), empty find_disabled, and full Step 1.5 ledger coverageset_property (including the global/top-level key form), enumerated the
loaded automation rules (::bd::util_cmd rules dump → ipcfg::rule_for_vlnv), and a doc
citation first (see the give-up gate)ipcfg::ensure_part is guarded; on
WARN:SWAP_BLOCKED confirm with the user (design mode) before forcingsuspect-no-change as an automatic failure — a doc-correct param whose
default satisfies intent is value_src=default, which is acceptableipcfg::coverage_report and tell the user the exact prompt fragment(s) you could not
apply and whyipcfg::create_cell_cfg (single create_bd_cell -set_param); fall back to two-step only
when needed for ordered/multi-pass configFUNCTIONS.md (opens in a new tab)README.md (opens in a new tab)REFERENCE.md (opens in a new tab)cache/README.md (opens in a new tab)cache/learned_params.json (opens in a new tab)lib/clock_search.tcl (opens in a new tab)lib/ipcfg.tcl (opens in a new tab)lib/ipcfg_cache.py (opens in a new tab)lib/preset_drift.tcl (opens in a new tab)lib/rule_options.tcl (opens in a new tab)lib/vivado_python.cmd (opens in a new tab)lib/vivado_python.sh (opens in a new tab)skill-card.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/amd-ross-agentic-ai-assistant:vivado-ip-configuratorfrom AMD Ross Agentic AI Assistant
npx claudepluginhub xilinx/ross-ai-assistant --plugin amd-ross-agentic-ai-assistant50 skills in this plugin
/hls-architectConvert input code to a multi-stage HLS dataflow, validate with the other hls skills, then hand off to optimize./hls-array-to-streamAnalyze whether a given C/C++ code snippet follows the recommended coding style for array-to-stream conversion in Vitis HLS. Keywords: array, stream, HLS, pragma, ap_fifo, axis, interface/hls-burst-inferenceAnalyze whether burst inference optimization can be applied to a given C/C++ code snippet in Vitis HLS. Keywords: burst, HLS, pragma, m_axi, AXI, memory, optimization/hls-component-basic-infoGet Vitis HLS component basic informations for a given HLS component. The basic informations includes component name, source files, testbench files, include paths and top function/hls-cosim-reportGet Vitis HLS cosimulation report information for a given HLS component./hls-dataflowAnalyze whether a given C/C++ code snippet contains a canonical dataflow region for Vitis HLS. Keywords: dataflow, HLS, pragma, canonical, stream, PIPO, hls::taskOther plugins' skills for the same job