shinei-nouzen-arch/fpga-agent/vivado-tcl
Claude Code and agent skill by shinei-nouzen-arch/fpga-agent
- community
Checking that the SKILL.md file is still in the repository.
Generate, review, explain, and execute Vivado/Vitis TCL scripts for FPGA design flows, and verify their execution results. Covers project and non-project flows, synthesis, implementation, simulation, constraints, IP integration, and hardware programming. Use for explicit TCL requests or when scripting is needed to complete an already-authorized FPGA task; the user need not name TCL again. For pure report interpretation, strategy selection, constraint theory, or debug planning, use the relevant analysis, synthesis, implementation, constraints, or debug skill as the primary guide. Combine those skills with this one when execution and verification are needed.
Install
npx vskill@latest install shinei-nouzen-arch/fpga-agent/vivado-tclSKILL.md
Vivado TCL Script Generation Guide
Overview
This skill generates and reviews Vivado TCL scripts and, when execution is part of the user's request, runs them via vivado -mode batch and verifies the results. It covers project creation, synthesis, implementation, bitstream generation, hardware programming, IP integration, debug, and simulation. For the complete command reference, see REFERENCE.md.
Critical Rules
- NEVER mix Project Mode and Non-Project Mode commands — they are incompatible flows
- Project Mode: uses
create_project,add_files,launch_runs,wait_on_run,open_run - Non-Project Mode: uses
read_verilog,synth_design,opt_design,place_design,route_design - Determine the mode from existing evidence first: inspect the project, scripts, configuration, and prior user instructions. Preserve an established flow. For a new flow, choose a suitable mode and state the assumption unless the choice materially changes the requested deliverable or execution scope. Ask only for consequential information that cannot be established from available evidence; do not re-ask answered questions or invent a target device needed for execution.
- Verify execution as part of this skill: inspect exit status, run status, relevant logs/reports, and requested artifacts. Use vivado-analysis or other relevant skills for deeper design decisions while continuing the same task; switching skills does not require the user to repeat authorization.
- Match the requested action: review or script generation ends with the requested analysis or checked script, not an automatic execution. An execution or fix request includes its necessary in-scope validation and follow-up. Existing authorization remains valid; skill selection does not authorize additional design changes, hardware programming, or hardware writes.
Execution Model
How to run a TCL script
Key output files
vivado.log— full session logvivado.jou— journal of TCL commands (reusable as script)*.dcp— design checkpoints (snapshots of design state)*.bit— bitstream files*.xsa— hardware platform for Vitis*.ltx— debug probes file
Quick Reference: Project Mode Flow
Inspect the run status and reports against the task's acceptance criteria before the output stage. When bitstream generation is in scope and those checks pass, continue without another confirmation:
Quick Reference: Non-Project Mode Flow
After the applicable acceptance checks pass, generate a bitstream if requested. For unattended automation, encode the checks as failure conditions before this output block; merely producing reports is not verification.
IP Integrator (Block Design)
When a Vitis platform export is requested, first build the design and verify its applicable acceptance criteria and required bitstream using the relevant flow above. Then export to the selected output path:
Hardware Programming
Debug Core Insertion (ILA)
TCL Syntax Tips
Object queries
Bus indexing
Error handling
Propagate an unhandled stage failure to the batch caller; logging an error alone must not allow dependent stages to appear successful. When a fix is in scope, inspect the failure and make a relevant correction before retrying.
Workflow Guidelines
- For batch execution, write TCL to a `.tcl` file first, then run it with
vivado -mode batch -source. For generation or review only, deliver the checked script or findings without executing the flow. - Include `file mkdir` for output directories to avoid errors
- Use `write_checkpoint` at key stages in Non-Project Mode for recovery
- Verify the stages actually run: check run status and relevant logs, reports, and artifacts. Include
report_timing_summaryafter synthesis and routing when those stages are in scope. Apply the full timing acceptance criteria before claiming timing closure; otherwise report the validation appropriate to the requested stage. - Limit `-force` to replaceable task outputs or already-authorized overwrites. Establish ownership and replaceability from the task context, file provenance, and output paths; this is an evidence check, not a per-run user confirmation. Use a fresh output path for other existing files. Ask only when an overwrite is necessary and not already authorized. All
-forceexamples here and in REFERENCE.md assume this output ownership check has been made. - For IP Integrator flows, always
validate_bd_designbefore proceeding - When programming hardware, always check device connection before programming
- Complete the requested outcome: a script launch, successful process exit, or generated report alone is not proof of success. Continue necessary authorized work; if a required step cannot be completed, identify the specific missing result and finish unaffected work without claiming the whole task is complete.
Common Part Numbers (examples)
| Family | Part Example | |
|---|---|---|
| Kintex-7 | xc7k70tfbg484-2 | |
| Zynq-7000 | xc7z020clg484-1 | |
| Artix-7 | xc7a35tcpg236-1 | |
| Kintex UltraScale+ | xcku5p-ffvb676-2-e | |
| Zynq UltraScale+ | xczu9eg-ffvb1156-2-e | |
| Versal | xcvm1802-vsva2197-2MP-e-S |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvivado-tcl/SKILL.md
Popularity
- Repository stars
- 132
- Repository forks
- 16
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shinei-nouzen-arch/fpga-agent/vivado-tcl)