/fpga:fpga-project-analyzerfrom fpga
Analyzes and explains AMD/Xilinx FPGA projects including Vivado block designs, Verilog/VHDL, PYNQ overlays, HLS C, device trees, and build reports. Builds interactive diagrams and detects bugs like clock-domain crossings, unconstrained I/O, and address map issues.
Ships in fpga. 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; scripts run unread.
Scripts read the project; you read their compact output. Do not open .bd/.hwh/.xpr/report files directly.
FPA below stands for python3 <this skill's directory>/scripts/fpa.py; type the full command each time
(a shell variable does not word-split in zsh). Outputs go to <project>/.fpa/.
FPA build <project> - extracts everything, runs the checks, prints a ~40-line summary
(blocks, clock domains, streams, AXI-MM, IRQ -> GIC/DT numbers, address map, software refs, reports, findings).
Repo with several boards/builds or a Makefile flow: point it at the build's own lists instead of scanning,
e.g. --src sim/plps.d --src sim/psbd.d (make .d / .f / .lst files, dirs or globs; repeatable).FPA show <project> <block> one block (/ = top, /stream_proc/scaler_0 = nested): pins, peers,
net names, clock domains, address, registers, software refs, src file:line; add --nets to list the
nets inside the block as level|net keysFPA findings <project> all findings with detail and fixFPA logs <file> failed build: grouped errors (Vivado, HLS, PetaLinux/Yocto task logs, gcc)FPA reports <dir> timing / utilization / DRC / methodology facts from existing .rpt filesshow gives, only to confirm a finding or a block's role.<project>/.fpa/overlay.json (schema below): a role note for each key block, 1-2 flows, and review findings.FPA view <project> -> .fpa/design.html (offline, single file); it warns about overlay paths or nets that do
not resolve. Deep links: design.html#/hier/block, ?issues=1 (issue list), ?sel=/hier/block (block panel),
?theme=dark. The viewer's Export menu saves the current level as SVG/PNG.FPA doc <project> -> .fpa/design.md with SVG diagrams and tables."by":"lint") are candidates; confirm with show and the source before calling them bugs.
Lint is structural; it cannot see functional bugs such as pipeline misalignment or protocol violations.references/review.md once and check the RTL it points to.{"notes": {"/axi_dma_0": "DDR <-> stream mover"},
"flows": [{"name": "sample path", "nets": ["|axi_dma_0_M_AXIS_MM2S", "/stream_proc|S_AXIS_1"]}],
"findings": [{"sev": "high|med|low|info", "path": "/stream_proc/stream_scaler_0", "title": "...",
"detail": "...", "fix": "...", "src": {"file": "rtl/x.v", "line": 19},
"net": "gain_q", "level": "/stream_proc/stream_scaler_0"}]}
Flow nets are <level path>|<net name> exactly as show <project> <level> --nets prints them; the top level is
the empty path (|net). net + level on a finding draws that wire red.
FPA deep <project> --top <module>: Vivado-elaborated netlist (RTL_REG, RTL_MUX, operators) for the
lowest level; merged on the next build. Use when the user wants gate/RTL-cell detail.FPA vivado-reports <run.dcp|project.xpr>: runs report_cdc, clock interaction, timing, DRC, methodology.FPA build <project> --vivado on: sources the project's BD Tcl in Vivado for exact pins. This executes
project code - ask the user before using it on a repository they did not write.Light RTL parsing (no Vivado) evaluates VHDL generics and if/case ... generate conditions (a
condition it cannot evaluate keeps its branch), draws a for ... generate once, and does not evaluate
Verilog generates; when hierarchy looks wrong, say so and offer deep. BD Tcl that relies on apply_bd_automation is only partly readable
without Vivado (the summary says so).
references/review.md (opens in a new tab)scripts/fpa.py (opens in a new tab)scripts/fpalib/__init__.py (opens in a new tab)scripts/fpalib/assets/vendor/ELK-LICENSE.md (opens in a new tab)scripts/fpalib/assets/viewer.html (opens in a new tab)scripts/fpalib/bdjson.py (opens in a new tab)scripts/fpalib/bdtcl.py (opens in a new tab)scripts/fpalib/build.py (opens in a new tab)scripts/fpalib/cli.py (opens in a new tab)scripts/fpalib/doc.py (opens in a new tab)scripts/fpalib/hdl.py (opens in a new tab)scripts/fpalib/hwh.py (opens in a new tab)scripts/fpalib/lint.py (opens in a new tab)scripts/fpalib/mcp.py (opens in a new tab)scripts/fpalib/model.py (opens in a new tab)scripts/fpalib/refs.py (opens in a new tab)scripts/fpalib/reports.py (opens in a new tab)scripts/fpalib/summary.py (opens in a new tab)scripts/fpalib/viewer.py (opens in a new tab)scripts/fpalib/vivado.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub al-nafisah/fpga-project-analyzer --plugin fpga4 skills in this plugin
/debugFind why an FPGA build failed (Vivado, HLS, PetaLinux) and how to fix it./explainExplain an FPGA project (Vivado, Zynq, PYNQ) with an interactive drill-down diagram./reviewReview an FPGA project for hardware bugs - clock-domain crossings, pins, resets, address map, PYNQ overlay mistakes.Other plugins' skills for the same job